/* GVME Global Style */
body {
background:#2d2d2d url(images/bg-dark.png);
font-size: 0.80rem;
font-family: 'Verdana'; 
color:#E2E2E2;
margin-top:20px; }
a {color: #9fd7ff;text-decoration: none;}
a:hover {color: #eaf7ff;text-decoration: underline;}
p {padding:2px;margin:0px}
.alt a {color: #ff7200;text-decoration: none;}
.alt a:hover {color: #ffb67b;text-decoration: underline;}
.altg a {color: #ccc;text-decoration: none;}
.altg a:hover {color: #eaf7ff;text-decoration: underline;}
a.pgitem:link {font-weight:bold}
.pointer,.pointer a,.pointer a:hover {cursor: pointer;}
.width {border:1px solid #0d0e0f; margin: 0 auto;max-width: 1200px;}
.site-content {background:#181818;padding:2px;border:1px solid #3f4142;}
.page-content {background:#4a4945;padding:4px;}
textarea,
select,
input {
      background:#444;
      color:#fff;
      padding: 2px 4px;
      font-size: 14px;
      border:2px solid #555;
    }
input::placeholder {
  opacity: 0.5;
  color: white;
}
blockquote {
  border-left: 4px solid #f6ff00;
  padding: 4px 12px;
  margin: 5px 0;
  color: #fff;
  font-style: italic;
  background-color: #595a40;
}
button, .member-bar .button, input[type=button], input[type=submit], input[type=reset] {
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
border: 2px outset #4fc3f7; 
-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
background: #333;
color: #4fc3f7;
font-family:  arial,helvetica,sans-serif;
font-size: 14px;
font-weight: bold;
padding: 2px;
text-decoration: none;
cursor: pointer;
transition: all 0.5s ease-out;
    }
button:hover,.member-bar .button:hover, input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
color:#fff;background:#202020}

  .fade-gray {
    width: 14px;
    height: 14px;
    fill: #aaa; /* Silver-gray */
    display: inline-block;

    /* Apply fade only to the icon shape */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-type: alpha;
    -webkit-mask-type: alpha;

    background-color: transparent; /* ensure no background */
  }
.row1 {background:#2c2c2c;}
.row2 {background:#363636;}
.rowbox {background:#363636;padding:8px;margin:8px;}
.rowbox2 {background:#363636;padding:8px;margin:8px 0 0 0;display:inline-block;width:auto;border:1px solid #000;}
.row_border {border: 1px solid #31302e}
.box {border:1px solid #2c2c2c; padding:3px; background:#1e1e1e;}
.box2 {border:1px solid #2c2c2c; padding:3px; background:#1e1e1e;margin-top:6px;margin-bottom:6px;}
.maintitle {background:#2c2c2c url(images/maintitle.png) repeat-x top left;}
.maintitle-twoside {display: flex;justify-content: space-between;align-items: center;width: 100%;}
.maintitle-left {flex: 1;}
.maintitle-right {white-space: nowrap;margin-left: 6px;}
.subtitle {background:#1e1e1e url(images/subtitle.png) repeat-x top left;}
.subtitlebg {background:#1e1e1e;}
.maintitle h2 {font:14px 'Arial';font-weight:bold;margin:0;padding:0;}
.subtitle h3, .subtitle h2 {font-size:12px;font-weight:100;margin:0;padding:0;}
.box_title .maintitle {padding:10px 7px 10px 7px}
.box_title2 .maintitle {padding:5px 3px 5px 3px}
.desc {font-size:14px}
.tsmall{font:9px 'Verdana'}
.tmid {font:12px 'Verdana'}
.tlarge {font:16px 'Verdana'}
.tstrong {font:14px 'Arial'}
.tbig {font:24px 'Arial'}
.thuge {font:2.5em 'Arial'}
.bold {font-weight:bold}
.hp {cursor:help}
.underline {text-decoration:underline;text-decoration-color: #bcbcbc;}
.pa2 {padding:2px;}
.pa4 {padding:4px;}
.pa8 {padding:8px;}
.pa12 {padding:12px;}
.pa16 {padding:16px;}
.pb4 {margin-bottom:4px}
.pb10 {margin-bottom:10px}
.pb15 {margin-bottom:15px}
.white{color:#fff;}
.gold{color:#FFD800}
.grey{color:#8D8D8D}
.greylight{color:#b5b5b5}
.red{color:#FF4E4E}
.redlight {color:#ff7979}
.red2{color:red}
.green{color:#6EE16C}
.green2{color:#8bc53f}
.blue{color:#6CB1E1}
.orange{color:#FF7238}
.purple{color:#e16cbe}
.form_blue {border:2px solid #6CB1E1; background-color:#18151A; padding:5px; margin:0}
.form_green {border:2px solid #6EE16C; background-color:#18151A; padding:5px; margin:0}
.form_red {border:2px solid #FF4E4E; background-color:#18151A; padding:5px; margin:0}
img.inline-img {
  display: inline-block; 
  vertical-align: middle; 
}
img.inline-img2 {
  float:left;
  vertical-align: middle;margin-right:4px; 
}
.active_tab {border-left: 1px solid #1b1b1b; border-right: 1px solid #1b1b1b}
/* header */
.topbar {
  background: linear-gradient(to bottom, #414141, #303030);
  color: white;
  padding: 5px 10px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between; /* separates left and right sides */
  border-top:1px solid #545454;
  border-bottom:1px solid #202020;
}
.menu {
  display: flex;
  align-items: left;
  flex-wrap: wrap;
}
    .menu > div,
    .rightmm a,
    .menu > a {
      position: relative;
      color: #e2e2e2;
      text-decoration: none;
      cursor: pointer;
      font-weight:bold;
    }

    .menu > a:hover,
    .rightmm a:hover,
    .menu > div:hover {
      color: #eaf7ff;
      text-decoration:underline;
    }
    .menu-sep {display:inline;color:#8D8D8D;margin-right:6px;margin-left:6px;}
    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #1a1a1a;
      min-width: 160px;
      z-index: 1000;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    }

    .dropdown-content a {
      display: block;
      padding: 6px 10px;
      color: white;
      text-decoration: none;
      white-space: nowrap;
    }

    .dropdown-content a:hover {
      background-color: #333;
    }

    .dropdown:hover .dropdown-content {
      display: block;
    }
/* resp */
.menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px 10px;
  color: white;
}

.menu-toggle {
  display: none;
}

.menu-container {
  display: flex;
  justify-content: space-between;
  align-items: left;
  flex-wrap: wrap;
  width: 100%;
}

/* bottom bar start */
/* header */
.botbar {
  color: white;
  padding: 5px 10px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between; /* separates left and right sides */
}
.botmenu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
    .botmenu > div{
      position: relative;
      color: #e2e2e2;
      text-decoration: none;
      cursor: pointer;
      font-weight:bold;
    }

    .botmenu > div:hover {
      color: #eaf7ff;
      text-decoration:underline;
    }
    .botdropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #1a1a1a;
      min-width: 160px;
      z-index: 1000;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    }

    .botdropdown-content a {
      display: block;
      padding: 6px 10px;
      color: white;
      text-decoration: none;
      white-space: nowrap;
    }

    .botdropdown-content a:hover {
      background-color: #333;
    }

    .botdropdown:hover .botdropdown-content {
      display: block;
    }
/* bottom bar end */
.rightmm {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rightmm .mm {
  color: orange;
}
    .navbar {
      background-color: #181818;
      color: white;
      padding: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top:4px;margin-bottom:4px;
    }

    .logo-area {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo-area img {
      height: 60px;
    }

    .help-wanted {
      color: white;
      font-size: 12px;
    }

    .member-bar {
      align-items: center;
      gap: 5px;
    }
    .member-bar a,.member-bar p{
    margin:8px 4px 0px 0px;color:#999;
    }

    .search-bar select,
    .search-bar input {
      background:#444;
      color:#fff;
      padding: 4px;
      font-size: 14px;
      border:2px solid #555;
    }

    .search-bar button {
      padding: 4px 10px;
      background-color: #333;
      color: white;
      border: none;
      cursor: pointer;
    }

    .search-bar button:hover {
      background-color: #555;
    }
/* body content */
.body-content {
  margin-top: 8px;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  width: 100%;
  color: #E2E2E2;
  gap: 6px;
}
.body-contentbg {
  background: #1a1a1a;
  display: flex;
  flex-wrap: nowrap;       /* ensures all blocks stay on one row */
  align-items: flex-start;  /* <- this allows each block to grow independently */
  gap: 6px; /* ? this adds 10px between each .block */
}
.body-fullcontent {
  margin-top:8px;
  width: 100%;
  color: white;
  gap: 6px; 
}

.navigation {
  display: flex;
  justify-content: space-between;
  padding:6px 5px 6px 10px;
  font-family: Arial;
  color: #c9c9c9;
}
.navi-text {font-size:22px;}
.navi-right h2{font-size:20px;color:#555;text-shadow: 1px 1px 1px black;font-weight:bold;margin:0;padding:0;}

.block {
margin:0;
}
.sub-block {
  margin-bottom:10px;
  padding: 0px;
  border:1px solid #2c2c2c;
}

/* Set custom widths (can be %, px, rem, etc.) */
.block1 { width: 224px; }
.block2 { width: 224px; }
.block3 { width: 390px; }
.block4 { width: 330px; }
.blockfull { width: 100%; flex: 0 0 auto;display: block;}
.blockcat1 {
  width: 850px;
  flex: 0 0 auto;
  display: block;
}

.blockcat2 {
  width: 330px;
  flex: 0 0 auto;
  display: block;
}
/* Responsive: stack blocks vertically on small screens */
@media (max-width: 768px) {
  .body-content {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px; /* slightly more spacing on mobile */
  }

  .blockcat1,
  .blockcat2 {
    width: 100%;
  }
}

/* Layout for entry inside blocks */
.entry {
padding:2px;
}
/* block content-style 1 */
.entry-header {
  display: flex;
  justify-content: space-between;
  background:#2c2c2c url(images/maintitle.png) repeat-x top left;
  padding:7px 7px 7px 7px;
  font-size:16px;
  font-family: Arial;
  font-weight: bold;
  color: #fff;
}
.entry-header-small {
  display: flex;
  justify-content: space-between;
  background:#2c2c2c url(images/maintitle.png) repeat-x top left;
  padding:10px 7px 10px 7px;
  font-size:12px;
  font-family: Arial;
  font-weight: bold;
  color: #ccc;
}
.entry-header-clean {
  display: flex;
  justify-content: space-between;
}

.title-left {color:#ccc;}
/ * block content-style-2 * /
.entry {padding:2px;}
.content-box {
  background-color: #1d1d1d;
  color: white;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}
.field { padding:4px;}
.field2 {padding:4px;border: 1px solid #444;}
.field:nth-child(odd),.field2:nth-child(odd){background-color: #2c2c2c;}
.field:nth-child(even),.field2:nth-child(even){background-color: #363636;}

.entry-bar {
  display: flex;
  align-items: flex-start;
  border: 1px solid #444;
}
.entry-bar2 {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 5px;
}
    .entry-bar:nth-child(odd) {
      background-color: #2c2c2c;
    }

    .entry-bar:nth-child(even) {
      background-color: #363636;
    }
.entry-avatar {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border:1px solid #444;
}
.entry-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.entry-thumb {
  width: 100px;
  height: 65px;
  flex-shrink: 0;
  border:1px solid #444;
}

.entry-text-wrap {
  display: flex;
  flex-direction: column;
  padding:2px 4px;
}
.entry-text-wrap2 {
  flex: 1; 
}
.entry-title {
  font-weight: bold;
  color: #ffcc00;
  line-height: 1.2;
  font-size:10px;
  margin-bottom:2px;
}

.entry-sub {
  color: #aaa;
  line-height: 1.2;
  font-size:10px;
}
.entry-title-big, .entry-sub-big {font-weight: bold;
  font-size:12px;
}
.preview-image {
  width: 100%;
  height: 124px;
  display: block;
  border: 1px solid #555;
  margin-bottom: 4px;
}
.preview-image:hover,.entry-thumb:hover {
  border: 1px solid #567d8f;
}

/* Games list block */
    .game-list {
      width: 100%;
    }

    .game-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 4px 4px;
      border:1px solid #4a4945;
    }

    .game-left {
      display: flex;
      align-items: center;
    }

    .game-left img {
      width: 24px;
      height: 24px;
      margin-right: 10px;
    }

    .game-title {
      font-weight: bold;
    }
    .game-title2 {
    font-size:13px;
    }

    .game-right {
      font-weight: bold;
    }

    .game-item:nth-child(odd) {
      background-color: #2c2c2c;
    }

    .game-item:nth-child(even) {
      background-color: #363636;
    }

/* footer start */
.footer {
  background-color: #333;
  color: #ccc;
  font-family: Arial, sans-serif;
}
.footer-sep {color:#aeaeae;}
.footer-top {
  padding: 10px;
      background: linear-gradient(to bottom, #050505, #1e1e1e);
  text-align: left;
  border-top:1px solid #1e1e1e;
  border-bottom:2px solid #000;
}
.footer-bottop {
flex: 1 1 auto;
  padding: 10px;
      background: linear-gradient(to bottom, #1e1e1e, #050505);
  text-align: left;
  border-top:1px solid #000;
  border-bottom:1px solid #1e1e1e;

}

.footer-links a {
  margin: 0 8px;
}

.footer-middle {
  display: flex;
  justify-content: space-between;
  padding: 0px 10px;
      background: linear-gradient(to bottom, #202020, #2c2c2c);
}

.footer-column {
  flex: 1;
  margin: 0 10px;
}

.footer-column h3 {
  color: #ed5b1b;
  font-size: 14px;
  margin-bottom: 6px;
  border-bottom:1px solid #363636;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-column ul li a {
  color: #b8b8b8;
}

.story {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.story img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  margin-right: 10px;
  border: 1px solid #555;
}

.story a {
  color: #ededed;
  font-size: 13px;
}

.footer-bottom {
flex: 1 1 auto;
  border-top:1px solid #333;
      background: #202020;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 4px 10px;
  font-size: 11px;
  flex-wrap: wrap;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  max-width: 70%;
}

.footer-popular {
  margin-bottom: 2px;
  white-space: nowrap; /* ?? Force everything on one line */
}
.footer-cbs-links {
  margin-bottom: 6px;
  white-space: normal; /* ?? Default behavior for normal wrapping */
}
.footer-copyright {
  margin-bottom: 6px;
}

.footer-bottom-right {
  text-align: right;
}

.footer-select-site select {
  padding: 2px 5px;
  margin-left: 5px;
}

.footer-select-site button {
  padding: 2px 10px;
  margin-left: 5px;
  background-color: #ff6600;
  color: white;
  border: none;
  cursor: pointer;
}
/* alerts message */
.alert {
  padding: 15px 20px;
  margin: 10px 0;
  border-radius: 8px;
  font-family: sans-serif;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.alert.success {
  background-color: #008820; /* green */
border:2px solid #00ff3c;
}

.alert.warning {
  background-color: #9a7505; /* yellow */
border:2px solid #ffd907;color:#fff;
}

.alert.danger {
  background-color: #b50000; /* red */
border:2px solid #ff2626;
}
/* member sidebar */
    .membersb {
      position: fixed;
      top: 15%;
      left: 0;
      width: 34px;
      background-color: #333;
      color: white;
      overflow: hidden;
      transition: width 0.3s ease;
      z-index: 1000;
      border:1px solid #4a4945;border-left: none;
    }
    .membersb a {
text-decoration:none;
    }

    .membersb:hover {
      width: 180px;
    }

    .menusb-item {
      display: flex;
      align-items: center;
      padding: 5px;
      white-space: nowrap;
      text-decoration: none;
      color: white;
      transition: background 0.2s ease;
      font-family: Arial, sans-serif;
      font-size: 14px;
      background:#151515;
    }

    .menusb-item:hover {
      background-color: #444;
    }

.menusb-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  display: flex;             /* <-- Flexbox for vertical centering */
  align-items: center;       /* <-- Center icon vertically */
  justify-content: center;   /* <-- Center icon horizontally (optional) */
  flex-shrink: 0;
  background: #000;
}
.menusb-icon img {
  width: 14px;
  height: 14px;
  padding: 4px;
  border: 2px solid #555;
  display: block;            /* <-- Add this */
  margin: auto;              /* <-- Center vertically */
}
.menusb-icon img:hover {
  border: 2px solid #4fc3f7;
}
    .menusb-label {
      opacity: 0;
      transition: opacity 0.2s ease;
    }

    .membersb:hover .menusb-label {
      opacity: 1;
    }
/* blink pm */
@keyframes blink-animation {
  0%   { opacity: 1; }
  50%  { opacity: 0.3; }
  100% { opacity: 1; }
}

.blink img {border:2px solid red;
  animation: blink-animation 1.5s infinite;
}
/* header welcome message */
.header-user {
    display: flex;
    align-items: center; /* Center vertically */
}

.user-avatar {
    width: 32px; /* Set the size of the avatar */
    height: 32px;
    border-radius: 50%; /* Make it circular */
    margin-left: 4px; /* Space between avatar and text */
}

.user-welcome p {
    color:#999;
    margin: 0; /* Remove default margin */
    font-size: 12px; /* Customize text size */
}
    .tooltip-img {
      width: 50px;
      height: 50px;
      cursor: pointer;
      margin: 5px;
      border:1px solid #141414;
    }

    #tooltip {
      position: absolute;
      display: none;
      background:#2c2c2c url(images/maintitle.png) repeat-x top left;
      color: #cdcdcd;
      padding: 10px;
      box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.5);
      z-index: 9999;
      font-size: 14px;
      width: 200px;
      line-height: 1.4;
      border:1px solid #141414;
    }

/* responsive style */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .menu-container{
    display: none;
    flex-direction: column;
    width: 100%;
    background: #2b2b2b;
    margin-top: 5px;
    padding: 10px 0;
  }
  .menu-container a{
    display: block;
    width: 90%;
    padding: 8px 12px;
    border-bottom: 1px solid #444;
    text-align: left;
  }
  .menu-toggle:checked + .menu-icon + .menu-container {
    display: flex;
  }

  .menu {
    flex-direction: column;
    width: 100%;
    gap: 6px;
  }

  .rightmm {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    gap: 6px;
  }

  .menu-sep {
    display: none;
  }
  .dropdown,  .botdropdown {margin-left:12px;}
  .dropdown-content a,.botdropdown-content a {
    padding-left: 16px;
  }

  .dropdown:hover .dropdown-content,  .botdropdown:hover .botdropdown-content  {
    display: block;
  }

  body, .width, .topbar, .site-content, iframe {width:100%;margin:0;padding:0;font-size:1rem;}
  a {font-size:1rem} 
  .col-screenshot img, .thumb {width: 100%;height: auto;max-width: 100%;}
  .navbar {flex-direction: column;align-items: flex-start;}
  .navi-right h2 {display: none;} .help-wanted, .logo-area {width: 100%;display: block;margin-bottom: 10px;}
  .member-bar, .member-bar input {width: 98%;display: block;margin:8px 4px;padding:0}
  .footer-links a, .footer-cbs-links a, .footer-copyright a {display:block;font-size:16px;padding:6px;} .footer-sep {display:none;}
}
