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; vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

body { line-height: 1; }

ol, ul { list-style: none; }

blockquote, q { quotes: none; }

blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }

table { border-collapse: collapse; border-spacing: 0; }

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }

* { -webkit-box-sizing: border-box; box-sizing: border-box; }

html, body { position: relative; }

body { 
    width: 100%; 
    background: url(../images/fon-bg.jpg?v=1) center top no-repeat; 
    background-color: #231b18; 
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif; 
    font-size: 11px; 
    color: #776f64; 
    height: auto; /* ИЗМЕНЕНО: было min-height: 90vh; */
    min-height: 100vh; /* ДОБАВЛЕНО */
}

a { -webkit-transition: all 0.3s ease; transition: all 0.3s ease; color: #ffe794; text-decoration: none; }

a:hover { text-decoration: none; }

p { margin-bottom: 20px; }

h1, h2, h3 { color: #b69b7e; margin-bottom: 20px; line-height: 1.2; }

h1 { font-size: 18px; }

h2 { font-size: 16px; }

h3 { font-size: 14px; }

table { width: 100%; }
table td { border-collapse: collapse; padding: 12px 9px; }
table td:last-child { text-align: right; }
table td a { color: #af9d77; }
table thead { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
table thead td { color: #9c9483; font-size: 10px; font-weight: bold; font-family: TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif; text-transform: uppercase; }
table tbody tr:nth-child(odd) { background: #2e2420; }
table tbody td { color: #d3cdc1; }

img { max-width: 100%; }

caption { margin-bottom: 15px; }

select { width: 308px; height: 71px; border: 1px solid rgba(201, 170, 113, 0); color: #ffbd63; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; margin-bottom: 15px; font-size: 11px; padding: 0px 40px 18px 55px; position: relative; -webkit-appearance: none; background-image: url(../images/input-bg.png); background-repeat: no-repeat; background-color: #261e1b; -moz-appearance: none; text-indent: 0.01px; text-overflow: ''; -ms-appearance: none; appearance: none !important; }

input, textarea { background: url(../images/input-bg.png) no-repeat; border: none; color: #ffbd63; position: relative; font-size: 11px; width: 308px; height: 71px; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; padding: 0px 40px 18px 55px; }

.input-small { background: url(../images/input-small-bg.png) no-repeat; width: 160px; }

.input-rotate { background: url(../images/input-small-bg-rotate.png) no-repeat; padding: 0px 40px 18px 45px; }

button, .button { -webkit-transition: all 0.3s ease; transition: all 0.3s ease; cursor: pointer; background: url(../images/button-small.png) no-repeat; height: 53px; width: 146px; border: none; color: #afa716; font-weight: bold; position: relative; z-index: 1; font-size: 14px; text-align: center; text-transform: uppercase; font-family: TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif; }
button:hover, .button:hover { -webkit-filter: brightness(120%); filter: brightness(120%); }

.button { display: inline-block; text-decoration: none; line-height: 53px; }

.button-big { background: url(../images/button-big.png) no-repeat; width: 234px; }

:focus { outline: none; }

::-webkit-input-placeholder { color: #433934; }

::-moz-placeholder { color: #433934; }

:-moz-placeholder { color: #433934; }

:-ms-input-placeholder { color: #433934; }

.wrapper { width: 1200px; margin: 0 auto; position: relative; }

.flex { display: -webkit-box; display: -ms-flexbox; display: flex; }

.flex-c { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }

.flex-s { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; }

.flex-s-c { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }

.flex-c-c { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }

.bright:hover { -webkit-filter: brightness(120%); filter: brightness(120%); }

header { position: relative; height: 700px; }

.logo { position: absolute; text-align: center; top: 0px; left: 0px; width: 100%; }
.logo a:hover { -webkit-filter: brightness(120%); filter: brightness(120%); }

aside { width: 370px; position: relative; }

main { width: 550px; position: relative; }

nav { position: absolute; width: 100%; top: 35px; }
nav ul li { margin-bottom: 20px; text-align: center; }
nav ul li a { color: #ffe794; text-transform: uppercase; text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.5); }
nav ul li a:hover { color: #fff; }

.container-checkbox { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; position: relative; padding-left: 35px; cursor: pointer; font-size: 10px; color: #a38620; font-weight: bold; text-transform: uppercase; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }

.container-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }

.checkmark { position: absolute; top: -7px; left: 0; height: 21px; width: 21px; background-color: #241a17; border-radius: 50%; border-bottom: 1px solid #632416; }

.checkmark:after { content: ""; position: absolute; display: none; }

.container-checkbox input:checked ~ .checkmark:after { display: block; }

.container-checkbox .checkmark:after { left: 7px; top: 1px; width: 5px; height: 12px; border: solid #ffa200; border-width: 0 3px 3px 0; -webkit-transform: rotate(45deg); transform: rotate(45deg); }

.login { position: absolute; top: 365px; }

.sidebar-title { padding-left: 34px; margin-bottom: 15px; }
.sidebar-title span { font-size: 12px; font-weight: bold; background: -webkit-gradient(linear, left top, left bottom, from(#efac5c), to(#674624)); background: linear-gradient(#efac5c, #674624); -webkit-background-clip: text; color: transparent; text-transform: uppercase; }

.icon { display: inline-block; position: relative; }

.icon:after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-repeat: no-repeat; }

.icon-lock { width: 15px; height: 18px; margin-right: 5px; top: -2px; }
.icon-lock:after { background-image: url(../images/lock-icon.png); -webkit-filter: drop-shadow(0px 0px 10px #ff6600); filter: drop-shadow(0px 0px 10px #ff6600); }

.login-fields input { margin: 0px 4px; }

.login-buttons { width: 290px; position: relative; margin-left: 30px; margin-top: -10px; z-index: 2; }

.forum { position: absolute; top: 700px; }

.forumBlock { margin-bottom: 15px; }
.forumBlock_ava { margin-right: 15px; width: 40px; height: 40px; }
.forumBlock_ava img { border-radius: 50%; width: 40px; height: 40px; border: 2px solid #493832; }
.forumBlock_text { width: 180px; padding-top: 4px; }
.forumBlock_text-title a { color: #b9a88b; font-size: 11px; font-weight: bold; display: inline-block; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 150px; }
.forumBlock_text-title a:hover { color: #fff; }
.forumBlock_text-number { border-radius: 50%; background: #3b362f; width: 18px; height: 18px; color: #cf8f20; font-weight: bold; font-size: 10px; position: relative; margin: -5px 0px 0px 17px; }
.forumBlock_text-info a { color: #fe8441; display: inline-block; margin: 0px 10px 0px 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 90px; }
.forumBlock_text-info span { display: inline-block; margin: 0px 0px 0px 10px; }

.forum-container { width: 235px; position: relative; margin-left: 35px; }

.forum-button { text-align: center; padding-top: 15px; }
.forum-button a { display: inline-block; background: url(../images/forum-button.png) no-repeat; width: 196px; height: 47px; line-height: 45px; }
.forum-button a span { font-weight: bold; font-size: 13px; background: -webkit-gradient(linear, left top, left bottom, from(#e4af5a), to(#626231)); background: linear-gradient(#e4af5a, #626231); -webkit-background-clip: text; color: transparent; font-family: TimesNewRoman,Times New Roman,Times,Baskerville,Georgia,serif; text-transform: uppercase; }
.forum-button a:hover { -webkit-filter: brightness(120%); filter: brightness(120%); }

.start-game { position: absolute; top: 76px; right: 88px; width: 130px; height: 130px; border-radius: 50%; }
.start-game:hover { -webkit-transform: scale(1.1); transform: scale(1.1); }

.status { position: absolute; top: 388px; left: 104px; width: 215px; }
.status_title { font-size: 17px; text-transform: uppercase; text-align: center; background: -webkit-gradient(linear, left top, left bottom, from(#b7dcfe), to(#484c75)); background: linear-gradient(#b7dcfe, #484c75); -webkit-background-clip: text; color: transparent; }
.status_online { font-family: TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif; color: #66f8ff; font-size: 11px; text-transform: uppercase; text-shadow: 0px 0px 15px #001eff; position: absolute; top: 62px; left: 50px; width: 125px; text-align: center; }
.status_on { position: absolute; width: 150px; top: 90px; left: 67px; }
.status_bar { position: absolute; width: 111px; left: 60px; top: 120px; border-radius: 10%; }
.status_bar span { width: 100%; display: block; background: url(../images/progress-bar.png) repeat-x; height: 24px; opacity: 0.8; }

.on { display: inline-block; position: relative; text-align: center; font-size: 10px; color: #02e83f; text-shadow: 0px 0px 10px #02e83f, 0px 0px 10px #000; text-transform: uppercase; background: rgba(0, 0, 0, 0.5); border-radius: 50%; margin-right: 18px; font-family: TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif; }
.on:after { content: ""; position: absolute; background: url(../images/status-icon.png) no-repeat; width: 57px; height: 53px; left: -20px; top: -23px; z-index: -1; }

.rait { font-family: TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif; color: #ffd3ac; font-size: 11px; text-shadow: 0px 0px 15px #ff5a00, 0px 0px 7px #ff5a00; text-transform: uppercase; }

.rank {
    position: absolute;
    width: 250px;
    top: 600px;
    left: 95px;
}
.rank table thead { border-bottom: 0px; }
.rank table thead td { font-size: 11px; }
.rank table thead td:nth-child(1) { color: #e0a969; text-shadow: 0px 0px 12px #e79b39; }
.rank table thead td:last-child { color: #e19f00; text-shadow: 0px 0px 12px #e79b39; text-align: right; }
.rank table tbody tr:nth-child(odd) { background: none; }
.rank table tbody tr:first-child td { color: #ff3e03; }
.rank table tbody td { color: #aa967f; font-size: 12px; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; padding: 6px; }
.rank table tbody td span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; max-width: 120px; bottom: -2px; position: relative; }
.rank table tbody td:last-child { text-align: right; }

.icon-list { width: 14px; height: 12px; }
.icon-list:after { background-image: url(../images/list-icon.png); }

.fill_list { padding: 20px 0px 0px 10px; }
.fill_list a { color: #ba6845; font-size: 12px; text-decoration: underline; margin-left: 5px; }
.fill_list a:hover { text-decoration: none; }

.video { display: block; position: absolute; right: -23px; top: 1110px; background: url(../images/video-bg.png) bottom right no-repeat; width: 269px; height: 215px; text-align: center; }

.video span {
    color: gold;
    text-shadow: 0px 0px 15px brown;
    font-size: 12px;
    font-family: arial;
    text-transform: uppercase;
}

.title { background: url(../images/title-bg.png) center bottom no-repeat; text-align: center; padding-bottom: 35px; margin-bottom: 25px; }
.title span { background: linear-gradient(#f4dd2f 1px, #8a5907, #4c392e 80%); -webkit-background-clip: text; color: transparent; text-transform: uppercase; font-size: 20px; letter-spacing: 1px; font-weight: bold; }

.content { 
    position: relative; 
    min-height: auto; /* ИЗМЕНЕНО: было min-height: auto; */
    height: auto; /* ДОБАВЛЕНО */
    padding: 90px 30px 30px 50px; 
    line-height: 1.4; 
}

.center { text-align: center; }

.formGroup { margin-bottom: 10px; }

.rank-tabs { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; margin-bottom: 40px; }
.rank-tabs li { cursor: pointer; background: url(../images/tab-button.png) no-repeat; width: 105px; height: 40px; line-height: 40px; text-align: center; color: #cfba8d; font-family: TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif; font-size: 10px; font-weight: bold; margin: 4px; -webkit-box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.4); box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.4); -webkit-transition: 0.3s; transition: 0.3s; }
.rank-tabs li:hover { -webkit-filter: brightness(120%); filter: brightness(120%); }

.tabs-content { display: none; }
.tabs-content.active { display: block; }

.pagination { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; position: absolute; bottom: 0px; left: 18px; width: 100%; }
.pagination a { display: block; color: #a08c85; margin: 0px 3px; }
.pagination a.active { color: #fff; }
.pagination a:hover { color: #fff; }
.pagination span { display: block; color: #a08c85; margin: 0px 3px; }

.tab-table { max-height: 600px; }

.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { background-color: #463833; }

.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar { background-color: #5c4b44; }

.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar, .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar { background-color: #463833; }

.downloadBlock { text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 40px; }
.downloadBlock p { color: #6d6b60; font-size: 11px; font-family: TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif; margin-bottom: 40px; }

.downloadButton { background: url(../images/download-button.png) no-repeat; width: 167px; height: 64px; display: block; text-align: center; color: #6d6b60; font-size: 11px; font-family: TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif; margin: 0 auto; margin-bottom: 40px; -webkit-box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.4); box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.4); padding-top: 20px; position: relative; }
.downloadButton span { display: block; text-align: center; color: #ffcc5e; font-size: 12px; font-family: TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif; font-weight: bold; }
.downloadButton:after { content: ""; background: url(../images/download-button-hover.png) no-repeat; width: 94px; height: 58px; position: absolute; top: 50%; margin-top: -29px; left: -80px; opacity: 0; -webkit-transition: 0.3s; transition: 0.3s; }
.downloadButton:hover { -webkit-filter: brightness(130%) contrast(120%); filter: brightness(130%) contrast(120%); }
.downloadButton:hover:after { opacity: 1; left: -50px; -webkit-filter: brightness(90%) contrast(90%); filter: brightness(90%) contrast(90%); }

.downloadText { color: #ab9478; font-size: 12px; line-height: 1.3; }
.downloadText p { text-align: center; }

.pageBlock { max-height: none; } /* ИЗМЕНЕНО: было max-height: 850px; */

.news { position: relative; margin-bottom: 25px; }
.news_title { position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 10px; }
.news_title a { color: #b69b7e; font-size: 12px; position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: inline-block; padding-bottom: 10px; bottom: -1px; }
.news_title a:hover { color: #fff; }
.news_title span { position: absolute; right: 0; bottom: -1px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); color: #88796a; }
.news_title span b { color: #b69b7e; font-weight: normal; }
.news_text { margin-bottom: 10px; }
.news_info { color: #514c45; font-size: 11px; }
.news_info a { color: #a8814f; }
.news_info span { color: #676159; }

.list { padding-left: 20px; }
.list li { padding: 2px 0px; list-style: circle; }

.fire { position: absolute; width: 700px; height: 700px; top: 0px; left: 50%; margin-left: -350px; }

.fire_1 { position: absolute; background: url(../images/fire_1.png) no-repeat; width: 641px; height: 629px; top: 0px; left: 20px; -webkit-transform: scale(0.8); transform: scale(0.8); opacity: 0; -webkit-animation: fire 3s linear infinite; animation: fire 3s linear infinite; }

.fire_2 { position: absolute; background: url(../images/fire_2.png) no-repeat; width: 596px; height: 596px; top: -12px; left: 44px; -webkit-transform: scale(0.8); transform: scale(0.8); opacity: 0; -webkit-animation: fire 3s linear infinite; animation: fire 3s linear infinite; -webkit-animation-delay: 1s; animation-delay: 1s; }

.fire_3 { position: absolute; background: url(../images/fire_3.png) no-repeat; width: 603px; height: 603px; top: -8px; left: 40px; -webkit-transform: scale(0.8); transform: scale(0.8); opacity: 0; -webkit-animation: fire 3s linear infinite; animation: fire 3s linear infinite; -webkit-animation-delay: 2s; animation-delay: 2s; }

@-webkit-keyframes rotate { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }

@keyframes rotate { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); } }
@-webkit-keyframes fire { 0% { -webkit-transform: scale(0.8); transform: scale(0.8); opacity: 0; }
  25% { -webkit-transform: scale(0.9); transform: scale(0.9); opacity: 1; }
  50% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
  75% { -webkit-transform: scale(1.1); transform: scale(1.1); opacity: 0.5; }
  100% { -webkit-transform: scale(1.2); transform: scale(1.2); opacity: 0; } }
@keyframes fire { 0% { -webkit-transform: scale(0.8); transform: scale(0.8); opacity: 0; }
  25% { -webkit-transform: scale(0.9); transform: scale(0.9); opacity: 1; }
  50% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
  75% { -webkit-transform: scale(1.1); transform: scale(1.1); opacity: 0.5; }
  100% { -webkit-transform: scale(1.2); transform: scale(1.2); opacity: 0; } }
  
  .modal_div {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
  opacity: 0;
  z-index: 999;
}

.modal-div {
  background: #0c0c0c;
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 100%;
  min-height: 470px;
  position: relative;
}

.modal_div .modal_close {
  font-size: 24px;
  color: #fff;
  position: absolute;
  top: 8px;
  right: 10px;
  cursor: pointer;
}

#overlay {
  z-index: 998;
  position: fixed;
  background-color: #0f0f0f;
  opacity: 0.8;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  display: none;
}

.button {
	width: 100%;
    height: 50px;
    background: black;
    color: white;
    box-shadow: 0px 0px 5px #333;
    border: 1px solid #393939;
    transition: .2s all ease;
    font-weight: bold;
    font-size: 15px;
    font-family: "Timeless";
}

.modalTitle {
  border-bottom: 1px solid #292929;
  padding: 45px 15px;
}
.modalTitle h2 {
  color: #e1e1e2;
  font-size: 22px;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
  margin: 0;
}

.modal-form {
  padding: 30px 55px 0px 55px;
}

.modal-form p {
  position: relative;
}
.modal-form input{
  width: 100%;
  background: #333;
  box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #fff;
  font-size: 16px;
  padding: 22px 30px;
  margin-bottom: 1rem;
  border: none;
}

.modal-form input::-webkit-input-placeholder {
  color: #fff;
}
.modal-form input::-moz-placeholder {
  color: #fff;
}
.modal-form input:-moz-placeholder {
  color: #fff;
}
.modal-form input:-ms-input-placeholder {
  color: #fff;
}

.enter-button {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.enter-button button:hover {
  -webkit-filter: brightness(140%); 
  filter: brightness(140%); 
}

.form-links {
  text-align: center;
  font-size: 18px;
  color: #fff;
  padding: 0px 55px 20px 55px;
}

.ranking-table td {
    vertical-align: middle;
}

.form-links .rules {
  color: #0b94ff;
  text-decoration: underline;
}

.button-btn {
  position: relative;
  z-index: 3;
  display: none;
}
.button-btn span {
  display: block;
  width: 30px;
  height: 3px;
  background: rgba(255, 255, 255, 0.9);
  margin: 5px 0px;
}
footer.footer {
    position: absolute;
    bottom: -2rem;
    text-align: center;
    width: 100%;
    padding-left: 3rem;
}

/* ===== ТОЛЬКО ФИКСЫ ДЛЯ СКРОЛЛА И ВЫСОТЫ ===== */
html {
    height: auto;
    min-height: 100vh;
}

#box1, #content, .news-block {
    height: auto;
    min-height: auto;
}

.news, .news_text {
    height: auto;
    min-height: auto;
    overflow: visible !important;
}

.tab-table {
    max-height: none;
    height: auto;
}



/* ИСПРАВЛЕНИЯ ДЛЯ РАСТЯГИВАНИЯ САЙТА */
body {
    height: auto !important;
    min-height: 100vh;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container.flex {
    flex: 1;
    position: relative;
}

.content {
    height: auto !important;
    min-height: auto !important;
}

.pageBlock.tab {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
}

.mCSB_container {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
}

.mCustomScrollBox {
    overflow: visible !important;
}

.news, .news_text {
    min-height: auto;
    height: auto;
    overflow: visible !important;
}

#content, #box1, .news-block {
    height: auto;
    min-height: auto;
}

footer.footer {
    position: relative !important;
    bottom: auto !important;
    margin-top: auto;
}