								@charset "UTF-8";

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

body {
    width: 100%;
  background: url(../images/bg-top.jpg) center top no-repeat, url(../images/bg-bottom.jpg) center bottom no-repeat, url(../images/bg-middle.jpg) center top repeat-y;
    font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #230707;
  line-height: 1;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #1d140d;
}

a {
  transition: all 0.3s ease;
  color: #bf5252;
  text-decoration: none;
}

p {
  margin-bottom: 15px;
}

h1,
h2,
h3 {
  color: #230707;
  margin-bottom: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 600;
}

h1 {
  font-size: 20px;
}

h2 {
  font-size: 18px;
}

h3 {
  font-size: 16px;
}

.top-menu {
  width: 100%;
  position: absolute;
  top: 0px;
  background: url(../images/top-menu.png) repeat-x;
  border-bottom: 1px solid #542a0c;
  z-index: 10;
}

.flex-n {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-s {
  display: flex;
  justify-content: space-between;
}

.menu li a:before {
  content: "";
  position: absolute;
  background: url(../images/menu-sep.png) no-repeat;
  height: 23px;
  width: 4px;
  left:-10px;
  top: 22px;
}

.menu li:first-child a:before{
  display: none;
}

.menu {
  height: 66px;
}

.menu li {
  margin: 0px 8px;
}

.menu a {
  color: #e9dd46;
  font-size: 14px;
  text-transform: uppercase;
  padding: 0px 26px;
  font-weight: 600;
  display: block;
  height: 66px;
  line-height: 66px;
  position: relative;
}

.menu a:after {
  content: "";
  transition: 0.3s;
  height: 0px;
  width: 0px;
}

.menu a:hover {
  color: #fbf6b6;
}

.menu a:hover:after {
  content: "";
  height: 1px;
  width: 100%;
  bottom: -1px;
  left: 0px;
  position: absolute;
  background: #f0d85f;
}

.menu .active a {
  color: #fbf6b6;
  border-bottom: 1px solid #f0d85f;
  bottom: 0px;
}

.wrapper {
  width: 1200px;
  margin: 0 auto;
  position: relative;
}

.header {
  height: 480px;
  position: relative;
}

.content-cont {
  min-height: 1300px;
  display: flex;
  position: relative;
}

.sidebar {
  width: 285px;
  padding-top: 90px;
}

.side-left {
  width: 285px;
  padding-top: 90px;
}

.down-btn a {
  background: url(../images/down-btn.png) center;
  height: 90px;
  font-size: 20px;
  color: #fff;
}

.down-btn a:hover {
  -webkit-filter: brightness(120%);
  filter: brightness(120%);
}

.down-btn a span {
  padding-left: 50px;
}

.webs-btn a {
  background: url(../images/webs-btn.png) center;
  height: 90px;
  font-size: 20px;
  color: #fff;
}

.webs-btn a:hover {
  -webkit-filter: brightness(120%);
  filter: brightness(120%);
}

.webs-btn a span {
  margin-left: -50px;
}

.market-btn a {
  background: url(../images/market-btn.png) center;
  height: 90px;
  font-size: 20px;
  color: #fff;
}

.market-btn a:hover {
  -webkit-filter: brightness(120%);
  filter: brightness(120%);
}

.market-btn a span {
  padding-left: 80px;
}

.forum-btn a {
  background: url(../images/forum-btn.png) center;
  height: 90px;
  font-size: 20px;
  color: #fff;
}

.forum-btn a:hover {
  -webkit-filter: brightness(120%);
  filter: brightness(120%);
}

.forum-btn a span {
  padding-left: 80px;
}

.contr {
  padding: 5px;
  padding-bottom: 40px;
  padding-top: 31px;
  min-height: 205px;
}

.contr-title {
  text-transform: uppercase;
  font-weight: 600;
  color: #ffde00;
  font-size: 14px;
  margin-bottom: 28px;
  position: relative;
  text-shadow: 1px 3px 3px rgba(25, 23, 23, 0.85);
  padding-left:15px;
  padding-right:15px;
}

.contr-title a:hover {
  text-decoration: underline;
}

.contr-title span {
  display: block;
  margin-top: 9px;
}

.contr-img1:after {
  content: "";
  background: url(../images/c-title-img1.png) center right no-repeat;
  width: 117px;
  height: 69px;
  position: absolute;
  right: -2px;
  top: -26px;
}

.contr-img2:after {
  content: "";
  background: url(../images/c-title-img2.png) center right no-repeat;
  width: 117px;
  height: 69px;
  position: absolute;
  right: -2px;
  top: -26px;
}

.contr-img3:after {
  content: "";
  background: url(../images/c-title-img3.png) center right no-repeat;
  width: 117px;
  height: 69px;
  position: absolute;
  right: -2px;
  top: -26px;
}

.contr-img4:after {
  content: "";
  background: url(../images/c-title-img4.png) center right no-repeat;
  width: 117px;
  height: 69px;
  position: absolute;
  right: -2px;
  top: -26px;
}

.contr-img5:after {
  content: "";
  background: url(../images/c-title-img5.png) center right no-repeat;
  width: 117px;
  height: 69px;
  position: absolute;
  right: -2px;
  top: -26px;
}

.contr-img6:after {
  content: "";
  background: url(../images/c-title-img6.png) center right no-repeat;
  width: 117px;
  height: 69px;
  position: absolute;
  right: -2px;
  top: -26px;
}

.contr-img7:after {
  content: "";
  background: url(../images/c-title-img7.png) center right no-repeat;
  width: 117px;
  height: 69px;
  position: absolute;
  right: -2px;
  top: -26px;
}

.contr-img8:after {
  content: "";
  background: url(../images/c-title-img8.png) center right no-repeat;
  width: 117px;
  height: 69px;
  position: absolute;
  right: -2px;
  top: -26px;
}

.contr-title:after {
  content: "";
  width: 117px;
  height: 69px;
  position: absolute;
  right: -2px;
  top: -26px;
}

.contr-title span,
.contr-title a {
  text-transform: none;
  font-size: 12px;
  color: #b4a814;
  font-weight: 400;
}

.login-bg {
  background: url(../images/login-top.png) center top no-repeat, url(../images/login-bottom.png) center bottom no-repeat, url(../images/login-middle.png) center repeat-y;
}

.include-bg {
  background: url(../images/include-top.png) center top no-repeat, url(../images/include-bottom.png) center bottom no-repeat, url(../images/include-middle.png) center repeat-y;
}

.content { 
  width: 630px;
  line-height: 1.3;
  background: url(../images/content-bg.png) repeat-y;
  position: relative;
}

.content a {
  text-decoration: underline;
}

.content-page {
  min-height: 50px;
  padding: 20px;
}

.content-title{
  background: url(../images/content-title-bg.png) no-repeat;
  height: 74px;
  position: relative;
  z-index: 2;
  padding: 19px 39px 0px 39px;
}

.content-title a{
  color: #fff;
  font-size: 12px;
}

.content-title h1,
.content-title h2,
.content-title h3 {
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0px;
  font-weight: 400;
}

.content-bottom {
  background: url(../images/content-bottom.png)center bottom no-repeat;
  display: flex;
  justify-content: center;
  height: 65px;
  padding-top: 25px;
  position: absolute;
  bottom: -55px;
  width: 630px;
}

.footer {
  height: 310px;
  position: relative;
}

.footer:after {
  content: "";
  position: absolute;
  width: 1200px;
  left: 0;
  top: 73px;
}

#l-over {
  position: fixed;
  z-index: 9998;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background: #000;
  display: none;
}

.login-inp {
  background: url(../images/login-inp-bg.png) no-repeat;
}

.pass-inp {
  background: url(../images/password-inp-bg.png) no-repeat;
}

.log-input {
  width: 235px;
  height: 44px;
  border: none;
  padding: 7px 60px 15px 50px;
  position: relative;
}

.log-input input {
  background: none;
  border: none;
  padding: 5px 15px;
  width: 170px;
  color:white;
}

.buttons {
  margin-top: -10px;
}

.login-b p {

  margin-bottom: -10px;

}

.login-b a:hover {
  text-decoration: underline;
}

.login-b .lost a {
  color: #fff;
  font-size: 12px;
  line-height: 18px;
}

.button {
  transition: all 0.3s ease;
  cursor: pointer;
  background: url(../images/login-button.png);
  border-radius: 5px;
  border: none;
  color: #fff;
  font-size: 11px;
  position: relative;
  z-index: 1;
  padding: 12px 28px;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0em 0.5em 10px rgba(31, 29, 29, 0.7);
}

.button:hover {
  box-shadow: 0em 0.1em 10px rgba(131, 129, 129, 0.7);
}

.nav-menu {
  padding-left:20px;
  padding-right:20px;
  width: 230px;
}

.main-m, .submenu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-m a {
  display: block;
  text-decoration: none;
  -webkit-transition: all 0.7s ease-in;
  color: #a5b23d;
  font-size: 13px;
  padding: 0px 26px;
  display: block;
  height: 25px;
  line-height: 25px;
  position: relative;
}

.main-m a:after {
  content: "";
  transition: 0.3s;
  height: 0px;
  width: 0px;
}

.main-m a:hover {
  color: #fbf6b6;
  text-decoration: none;
}

.main-m a:hover:after {
  content: "";
  height: 1px;
  width: 100%;
  bottom: -1px;
  left: 0px;
  position: absolute;
  background: #f0d85f;
}

.icon-img {
  position:absolute;
  margin-top:5px;
  width:15px;
  height:15px;
}	

/* Desktop artwork positions; kept here so responsive rules can override them. */
.logo { position: absolute; top: 40px; left: 788px; }
.logoRem { position: absolute; top: 200px; left: 155px; }
.bright:hover, .brightRem:hover { filter: brightness(120%); }
.mobile-shortcuts { display: none; }
/* Keep the generated counter in flow even when zoom crosses a breakpoint. */
.theme-countdown { display: block; max-width: 630px; margin: 12px auto; padding: 0 10px; text-align: center; box-sizing: border-box; }
.theme-countdown > div { position: static !important; inset: auto !important; width: auto !important; max-width: 100%; margin: 0 auto !important; transform: none !important; box-sizing: border-box; }
.theme-countdown .mvc-h1 { overflow-wrap: anywhere; }
.theme-countdown #mvcclockdiv { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }

/* Switch before the fixed 1200px desktop columns exceed the viewport. */
@media screen and (max-width: 1239px) {
  body { overflow-x: auto; }
  .wrapper { width: auto; max-width: 630px; margin: 0 auto; padding: 0 10px; }
  .top-menu { position: relative; flex-direction: column; background-color: #25180e; }
  .menu { height: auto; flex-wrap: wrap; width: 100%; padding: 4px 0; }
  .menu li { margin: 0 2px; }
  .menu a { height: auto; min-height: 44px; line-height: 44px; padding: 0 12px; }
  .menu li a:before { display: none; }
  .top-menu > .server-time { position: static !important; padding: 8px; text-align: center; }
  .header { height: 0; }
  .header-spacer { display: none; }
  .logo, .logoRem { position: relative; top: auto; left: auto; width: 100%; text-align: center; margin: 12px 0; }
  .logo img { width: min(100%, 350px) !important; height: auto; }
  .logoRem img { width: 100% !important; height: auto; }
  .mobile-shortcuts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0; }
  .mobile-shortcuts a { padding: 14px 16px; background: #25180e; color: #e9dd46; border: 1px solid #755324; border-radius: 4px; }
  .content-cont { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 16px; min-height: 0; align-items: start; }
  .content { grid-column: 1 / -1; grid-row: 1; width: 100%; min-width: 0; background-size: 100% auto; }
  .side-left, .sidebar { width: 285px; max-width: 100%; min-width: 0; padding-top: 0; justify-self: center; }
  .login-bg, .include-bg { background-size: 100% auto, 100% auto, 100% auto; }
  .contr { box-sizing: border-box; width: 100%; }
  .side-left table, .sidebar table { width: 100%; }
  .side-left iframe, .sidebar iframe { max-width: 100%; }
  .content-title { height: auto; min-height: 74px; box-sizing: border-box; padding: 19px 24px; background-size: 100% 100%; }
  .content-page { padding: 12px; overflow-x: auto; overflow-wrap: break-word; -webkit-overflow-scrolling: touch; }
  .content-page img { max-width: 100%; height: auto; }
  .content-page iframe { max-width: 100%; }
  .content-page input, .content-page select, .content-page textarea { max-width: 100%; box-sizing: border-box; font-size: 16px; }
  .content-page .mvc-textarea-style { box-sizing: border-box; }
  .content-page .pagination { display: flex; flex-wrap: wrap; justify-content: center; }
  .content-bottom { position: relative; bottom: auto; width: 100%; background-size: 100% 100%; box-sizing: border-box; }
  .theme-slider { width: 100% !important; height: auto !important; padding: 7px !important; box-sizing: border-box; background-size: 100% 100% !important; }
  #NMWslideshow, #slideshowEmpt { width: 100% !important; height: auto !important; aspect-ratio: 616 / 188; }
  #NMWslideshow > div, #slideshowEmpt > div { width: 100%; height: 100%; }
  #NMWslideshow img, #slideshowEmpt img { width: 100% !important; height: 100% !important; object-fit: cover; }
  .login-b .log-input { box-sizing: border-box; padding-right: 10px; height: 54px; }
  .login-b .log-input input { box-sizing: border-box; max-width: 100%; font-size: 16px; }
  .nav-menu { width: auto; }
  .main-m a { height: auto; min-height: 44px; line-height: 1.4; padding: 12px 0 12px 26px; box-sizing: border-box; }
  .main-m .icon-img { margin-top: 14px; }
  .footer { height: auto; padding: 35px 0; line-height: 1.6; }
  .footer > center { padding-top: 0 !important; }
  .footer:after { width: 100%; }
  .theme-countdown { display: block; max-width: 630px; margin: 12px auto; padding: 0 10px; text-align: center; }
  .theme-countdown > div { position: static !important; width: auto !important; max-width: 100%; margin: 0 auto !important; transform: none !important; }
  #mvcclockdiv { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
  #mvcclockdiv div > span { padding: 12px; }
  .cookiealert { box-sizing: border-box; max-width: 100%; line-height: 1.5; }
}

@media screen and (max-width: 639px) {
  .content-cont { grid-template-columns: minmax(0, 1fr); }
  .side-left, .sidebar { grid-column: 1; width: 100%; }
  .login-b .log-input { width: auto; margin-right: 20px; background-size: 100% 44px; }
  .login-b .log-input input { width: 100% !important; }

  .logo img { max-width: 260px; }
}

/* Sidebar artwork must grow with its mobile panel, without tiling.
   Extra specificity also wins over the status styles inside index.php. */
@media screen and (max-width: 1239px) {
  .sidebar .status-block {
    box-sizing: border-box;
    width: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
  .down-btn a, .webs-btn a, .market-btn a, .forum-btn a {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 90px;
    aspect-ratio: 285 / 90;
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
}

/* Desktop announcement: over the left side of the hero artwork.
   Keep the single existing counter in its original mobile document position. */
@media screen and (min-width: 1240px) {
  .theme-countdown {
    position: absolute;
    top: 150px;
    left: calc(50% - 600px);
    width: 440px;
    max-width: 440px;
    margin: 0;
    padding: 0 10px;
    z-index: 2;
  }
}
/* Config-driven countdown: presentation only; retain generated IDs and timer. */
.theme-countdown > div {
  padding: 20px 18px !important;
  background: linear-gradient(145deg, rgba(44,30,23,.97), rgba(19,15,14,.97)) !important;
  border: 1px solid #b48a49;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,230,177,.15);
  color: #f7e6bd;
}
.theme-countdown > div:empty { display: none; }
.theme-countdown > div > div {
  background: transparent !important;
  padding: 0 !important;
}
.theme-countdown .mvc-h1 {
  color: #f4d58f !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px !important;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .5px;
  padding: 0 !important;
  margin: 0 0 16px !important;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
}
.theme-countdown .mvc-h1:last-child { margin-bottom: 0 !important; }
.theme-countdown #mvcclockdiv {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 8px;
  width: 100%;
  color: #fff0cf;
  font-family: Arial, Helvetica, sans-serif;
}
.theme-countdown #mvcclockdiv > div {
  min-width: 0;
  padding: 8px 3px 9px !important;
  border: 1px solid rgba(198,153,78,.42);
  border-radius: 8px;
  background: linear-gradient(180deg,#493423,#251c17) !important;
  box-shadow: inset 0 1px 0 rgba(255,236,190,.08);
}
.theme-countdown #mvcclockdiv div > span {
  display: block;
  padding: 5px 0 7px !important;
  background: transparent !important;
  color: #fff0cf !important;
  font-size: clamp(24px,3vw,32px);
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.theme-countdown #mvcclockdiv .mvc-smalltext {
  padding-top: 0;
  color: #cfb98f !important;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .6px;
  text-transform: uppercase;
}
@media screen and (max-width: 399px) {
  .theme-countdown > div { padding: 16px 12px !important; }
  .theme-countdown .mvc-h1 { font-size: 17px !important; }
  .theme-countdown #mvcclockdiv { gap: 5px; }
}
