/* == Основное == */
body, #menu-wrap {max-width: 600px; min-width: 235px;}
body {display: flex; flex-direction: column; position: relative; height: 100vh; margin: auto; padding: 0 7px; color: #BBBBBB;
 font: 13px 'Verdana', sans-serif; background: #002D5F; word-wrap: break-word;}
header, section, footer {padding: 7px; background: #001B39; border: 1px solid #8F8F8F; box-shadow: 0 0 4px 2px rgba(7, 137, 159, 0.5);}
header {border-top: none; border-radius: 0 0 7px 7px;}
section {flex-grow: 1; margin-bottom: 8px; padding-bottom: 10px; border-radius: 7px;}
section:first-of-type {margin-top: 8px;}
footer {font-size: 10px; text-align: center; border-bottom: none; border-radius: 7px 7px 0 0;}
a {text-decoration: none; outline: none;}
a:link, a:active, a:visited {color: #009EFF;}
a:hover {color: #FFF;}
h1 {text-align: center; font-size: 1.5em;}
h2 {margin: 5px 0px; font-size: 1.3em;}
img, iframe {max-width: 100%;}
table {display: block; overflow: auto; max-width: 100%;}
h1, h2, h3, h4, h5, h6, div[id*="entryID"] > em, .entry > em, .gTableTop {font-family: 'Georgia', 'Times New Roman', serif;}
textarea, input {resize: none; max-width: 98%;}
.f-news {display: none;}
.disclaimer {display: none;}

/* == Меню == */
#menu-wrap {position: fixed; top: 0; bottom: 0; left: 0; right: 0; margin: auto; pointer-events: none;}
#menu-wrap[data-active] {background: rgba(255, 255, 255, 0.75); pointer-events: auto; z-index: 999;}
.menu-buttons div, #menu-butt {width: 32px; height: 32px; background: rgba(0, 0, 0, 0.25) no-repeat 4px 4px / 24px 24px;}
.menu-buttons div {position: absolute; top: 8px;}
#menu-butt {float: right; margin: 8px 15px 0 0; background-image: url('/pda_res/menu.png'); opacity: 0.4; pointer-events: auto;}
#menu-butt:hover, #menu-butt[data-active] {opacity: 1;}
#menu-butt[data-active] {background-image: url('/pda_res/close.png');}
#menu-user, #menu-register {left: 15px;}
#menu-user {background-image: url('/pda_res/user.png');}
#menu-user[style] {background-position: 50% 50%; background-size: contain;}
#menu-register {background-image: url('/pda_res/register.png');}
#menu-login, #menu-logout {left: 51px;}
#menu-login {background-image: url('/pda_res/login.png');}
#menu-logout {background-image: url('/pda_res/logout.png');}
#menu-up {right: 87px; background-image: url('/pda_res/up.png');}
#menu-down {right: 51px; background-image: url('/pda_res/down.png');}
#menu-cont {display: none;}
#menu-cont[data-active] {display: block;}
#menu-cont a:hover {color: #000;}
#menu-flex {display: flex; flex-direction: column; position: absolute; top: 40px; bottom: 8px; left: 8px; right: 8px; color: #333;}
#menu-flex > div {margin-top: 8px; padding: 7px; background: rgba(255, 255, 255, 0.85);}
#menu-js-h {overflow: auto;}
.uMenuV .uMenuItemA {font-weight: bold;}
.uMenuV > ul {margin: 0; padding: 0 !important;}
.uMenuV ul {display: inline-block; padding-left: 25px;}
.uMenuV li {display: inline; list-style: none; font-size: 16px;}
.uMenuV li::before {content: '►'; padding: 2px 10px 2px 0;}
.uMenuV li::after {display: block; content: '';}
.uMenuV a, .uMenuV .uWithSubmenu > span {display: inline-block; margin: 2px 0; padding: 2px 1px;}
.uMenuV .uWithSubmenu::before {content: '▼';}
.uMenuV .uWithSubmenu > ul {display: none;}
.uMenuV .uWithSubmenu[data-active]::before {content: '▲';}
.uMenuV .uWithSubmenu[data-active] > ul {display: block;}

/* == Материалы == */
div[id*="entryID"]:nth-child(n+3) {padding-top: 15px;}
div[id*="entryID"] > div, .entry > div {margin-top: 7px;}
div[id*="entryID"] > em, .entry > em {font-size: 12px;}
.eQuote {padding: 0px 0px 5px 50px; color:#6998b8; font-style: italic;}
.ePadding {padding: 0px 0px 0px 50px;}
.ePreview, eVideo {margin: 7px; float: left; width: 85px; height: 55px; border-radius: 5px; position: relative;}
.ePoster {margin: 7px; float: left; width: 85px; height: 115px; border-radius: 5px;}
.entDots {display:none;}

/* == Форум == */
.ThrForumBarTbl, .gDivBottomRight + br, .gDivBottomRight + hr, .gDivBottomRight ~ br, .FrmForumBarTbl, #frmButns83 ~ hr, .ThrForumBarTbl + hr,
 form[name="navigation"], table[height="27"], .userRights, .fFastSearchTd, .forumNamesBar, .postSeparator, .FrmTopButtonsTbl + hr,
 table[border="0"] + hr {display: none;}

.gTable {background: initial; border: 1px solid; border-collapse: collapse; margin: 4px 0px;}
.gTable, .gTable tbody, .gTable tr, .gTable td {display: block;}
.gTable td {padding: 3px 5px;}
.gTableTop {font-size: 16px; font-weight: bold;}
#frmButns83 {margin-bottom: 7px;}
.gTable:last-of-type .gTableBody1 {font-size: 11px;}
.forum_post, .forum_post > div {margin-top: 5px;}
.forum_post div + div {clear: both;}
.forum_avatar {margin: 0px 5px 3px 0px; float: left; height: 36px;}
.forum_nick {font-size: 14px; font-weight: bold;}
.forum_nick + br + em {font-size: 11px;}
.forum_nick + br + em + br {clear: both;}
.edited {font-size: 9px; color: #626262;}
.f_descr {position: relative; top: -10px; text-align: center;}
.f_post_icons {text-align: right;}
.searchSubmitFl {margin-bottom: 7px;}
.bbQuoteBlock {margin: 5px 0;}
.bbQuoteName {visibility: hidden; font: italic 12px 'Georgia', serif !important;}
.bbQuoteName * {visibility: visible;}
.bbQuoteName b {font-weight: normal;}
.qName {font-weight: bold;}
.qAnchor {vertical-align: 1px; margin-left: -5px;}
.qAnchor img {display: none;}
.qAnchor a::before {content: '►';}
.quoteMessage {margin-top: 3px; padding: 3px; border-style: solid !important; background: #001A2F;}
form[name="addform"] .gTable {margin-top: 7px;}
.forumStat {margin-left: 4px;}

/* == Разное == */
.statusOnline {color: #61df14;}
.statusOffline {color: #FF0000;}
a.group2 {color: #00FF00;}
a.group3 {color: #912CEE;}
a.group4 {color: #FF0000;}
a.group5 {color: #FF8C00;}
.uf-tooltip {width: auto !important;}
.uf-tooltip::after {content: none !important;}

/* ===== Downloads ===== */

.dTableAll {border-collapse: collapse; width:100%; text-align:center; display: table !important;}
.dTableTop {padding:2px !important; background-color: #1a4f81; color:#FFFFFF; font-weight:bold; height:35px; font-size:15px;}
table.dTableAll tbody td {border: 1px #009eff solid; padding: 3px;}
.dTableHead {font-weight: bold;}

/* ====== Tabs ====== */
.tabs {list-style-type: none; padding: 0; margin: 0; position: relative;}
.tabs:after {content: ""; clear: both; display: block; height: 370px;}
.tabs li {float: left; width: calc(100% / 3); text-align: center; background-color: grey;}
.tabs li > input {display: none;}
.tabs li > label {display: inline-block; height: 37px; line-height: 30px; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; color: #ffffff !important; font-weight: bold !important;}
.tabs li:last-child > label {border-right-width: 1px;}
.tabs .tab-content {display: none; position: absolute; left: 0; border: 0; height: 90%; overflow-y: auto; width: 100%;}
 
/* Функциональность: */
.tabs li > input:checked + label {background-color: #1a4f81; width: 100%;}
.tabs li > input:checked ~ .tab-content {display: block;}

.noselect {
 -moz-user-select: none;
 -webkit-user-select: none;
 -webkit-touch-callout: none; 
 -ms-user-select: none;
 -o-user-select: none;
 user-select: none;
 -khtml-user-select: none;
}