body, html {
    height: 100%;
}

body {
  counter-reset: section;
}

body {
	font-family: Tahoma,Verdana,Segoe,sans-serif;
    font-size: 10pt;
    color: #306A82;
	background-color:#e5e5e5;
}
.h1, h1 {
    font-size: 1.8rem;
}

.h2, h2 {
    font-size: 1.2rem;
}
h4	{
	font-size:16px;
	margin-bottom:5px;
	margin-top:5px;
	color:#306a82;
	font-weight:bold;
}

.container {max-width:1440px;margin:0 auto; padding:0}
.container-fluid {
    width: 100%;
    padding-right: 5px;
    padding-left: 5px;
    margin-right: auto;
    margin-left: auto;
}

.xcol-2 {width: 240px}
.xcol-8 {width: 960px}
.header {
	background: linear-gradient(#cccccc, #efefef);
	height: 190px;
	width: 100%;
}

.brand {
    width: 325px;
    height: 180px;
    background-image: url(../images/logo.png);
    background-position: center;
    background-repeat: no-repeat;
}
.brand-new-year {
    width: 325px;
    height: 180px;
    background-image: url(../images/logo-new-year.png);
    background-position: center;
    background-repeat: no-repeat;
}

.snowguy {
    width: 250px;
    height: 200px;
    background-image: url(../pic/snowguy.png);
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 99999;
    top: 30px;
    right: 0px;
}

/*
.block__title {
	padding:6px 10px;
	text-align:center;
	background-color: #1692C5;
	border-top-right-radius: 12px;
	border-top-left-radius: 12px;
	height: 23px;
	border-color: #3782b7;
	background-image: url(../images/blockimg.png);
	text-shadow: 0px 1px 1px #175c77;
	color: #daeff7;
}
*/

.block__title {
  padding:5px 10px;
  text-align:center;
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
  height: 23px;
  border-color: #3782b7;
  border-top: 1px solid #9db5c1;
  border-left: 1px solid #9db5c1;
  border-right: 1px solid #9db5c1;
  background: linear-gradient(0deg, rgb(18, 147, 189) 44%, rgb(58, 161, 204) 48%, rgb(127, 191, 219) 81%);
  text-shadow: 0px 1px 1px #175c77;
  color: #daeff7;
}

.block__title a {color: #fff;}

.comm__title {
	height: 25px;
	background-image: url(../images/header_reliz.png);
	text-shadow: 0px 1px 1px #397fb6;
	border-color: #3782b7;
	background-color: #419ADF;
	color: #ECF6FA;
}
.comm__title a {color: #fff;}
.comm__title img {
	height: 11px;
	width: 11px;
}
.comm__title h3 {
	font-weight: bold;
	font-size: 8pt;
	margin: 0;
	text-align: right;
	padding: 6px;
	color: #ECF6FA;
	text-shadow: 0px 1px 1px #397fb6;
}
.comm__content {
	width: 100%;
	background-color: #F4F5F9;
	margin-bottom: 25px;
	padding:  15px;
	border-left: 1px solid #E5E5E5;
    border-right: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
	display: inline-block;
}


/* Размер стрелочек для сворачивания/разворачивания блоков */
.block__title img {
	height: 11px;
	width: 11px;
}
.block__title h3 {
	font-weight: bold;
	font-size: 8pt;
	margin:0;
}

.block__content {
	width: 100%;
	background-color: #efefef;
	margin-bottom: 15px;
	padding:  10px;
	border-left: 1px solid #9db5c1;
    border-right: 1px solid #9db5c1;
    border-bottom: 1px solid #9db5c1;
	border-bottom-right-radius: 12px;
	border-bottom-left-radius: 12px;
	display: inline-block;
}
/* Меню по мотивам оригинального Клабовского */
ul.nav {
	background: linear-gradient(#f4f4f4, #c7c7c7);
	margin-bottom: 15px;
	padding:3px;
	height: 39px;
	background: url(../images/main_cellpic.png) repeat-x;
}
ul.nav {
	font-size: 8pt;
	list-style: none;
	padding: 0 0px;
}

ul.nav a {
	position: relative;
	top: 12px;
	color: #31669b;
	text-decoration: none;
	font-size: 9pt;
}

ul.nav > li {
	float: left;
	height: 39px;
	margin-top: 0pt;
	margin-bottom: 0pt;
	position: relative;
	background: url(../images/vhr.jpg) no-repeat left bottom;
	padding: 0 5px;
}

ul.nav > li > a {
	text-shadow: 0 1px 2px #fff;
	font-weight: 700;
	padding: 0px 7px 0px 7px;
	display: block;
	color: #5B5B5B;
}

ul.nav > li > a:hover {
	color: #1582b0;
}

ul.nav > li > a:hover span {
	border-bottom: 1px dotted #1582b0;
}

ul.nav > li > ul {
	position: absolute;
	top: 39px;
	left: -20px;
	width: 405px;
	border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	-webkit-border-radius: 0 0 4px 4px;
	border-left: 1px solid #cecece;
	border-right: 1px solid #cecece;
	border-bottom: 1px solid #cecece;
	padding: 10px 10px 10px 17px;
	display: none;
	background: #f6f6f6;
	z-index: 1000;
}

ul.nav > li:hover {
	background: url(../images/menuh.png) no-repeat left;
}

ul.nav > li:active {
	background: url(../images/menuha.png) no-repeat left;
}


/* Текст в .block__title у админов. Создание новости, опроса прямо в блоке */
.small a{
	text-decoration: underline;
}
.small a:hover {
	text-decoration: none;
}
.small .altlink{
	color: #fff;
}
/* Когда пришло сообщение - правка с закосом на клуб */
#message_box{z-index:10;background:darkred;padding:10px;border:1px solid #E0E0E0;text-align:center;width:50%;margin: 10px auto;}
#message_box font {color:#fff;}
#close_message {position: relative;bottom: 8px;left: 8px;width: 12px;height: 12px;}

.pagination {margin: 1rem 0;}

td.rowhead {padding:5px 10px 5px 0px; width:25%}

.news-head {
    color: #2a2a2a;
    font-weight: bold;
    border: 1px solid #c3cbd1;
    border-left: 3px solid #c3cbd1;
    padding: 3px;
    background: #e9e9e6;
    cursor: pointer
}

.news-body {
    border: 1px solid #c3cbd1;
    border-left: 3px solid #c3cbd1;
    border-top: none;
    padding: 5px 10px;
    display: none;
    background: #f5f5f5
}

.inner-box a {overflow: hidden;}

#moderated, #unmoderated {cursor:pointer;}

/* Второе меню, над центральным блоком - !Нужна помощь с адаптивом!*/
td.main2_l {
    background: #E5E5E5 url(../images/menu3_sprite.png) no-repeat 0 -84px;
    border: none;
    width: 9px;
    height: 28px;
}
td.main2_space {
    background: #c7c7c7 url(../images/menu3_sprite.png) repeat-x;
    border: none;
}
td.main2_cellpic {
    background: #c7c7c7 url(../images/menu3_sprite.png) repeat-x;
    border: none;
    text-align: center;
    color: #626262 !important;
    vertical-align: middle;
}
td.main2_cellpic {
    text-align: center;
    color: #626262 !important;
}
a.lnk-m2 {
    text-shadow: 0 1px 2px white;
    position: relative;
    top: 2px;
    font-size: 8pt;
    font-weight: bold;
}
td.main2_r {
    background: #E5E5E5 url(../images/menu3_sprite.png) no-repeat 0 -112px;
    border: none;
    width: 9px;
    height: 28px;
}
/* скролл наверх*/
#scroll {
    position:fixed;
    right:50px;
    bottom:50px;
    cursor:pointer;
    width:50px;
    height:50px;
    background-color:#3498db;
    text-indent:-9999px;
    display:none;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
}
#scroll span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    border:8px solid transparent;
    border-bottom-color:#ffffff
}
#scroll:hover {
    background-color:#6c757d;
    opacity:1;
    filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}

#compose .btn {
    width: 200px;
    margin: 10px calc(50% - 100px);
}
.input-group-sm>.form-control.search:not(textarea) {
    height: calc(1em + .5rem + 2px);
}

.input-group-append.search {
    margin-left: -1px;
    margin-top: -3px;
}

.fas {  margin-bottom: 5px;margin-right: 5px;}

.releases__title {
    padding: 6px 10px;
    text-align: center;
    background-color: #419ADF;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-color: #3782b7;
    background-image: url(../images/header_reliz.png);
    text-shadow: 0px 1px 1px #397fb6;
    color: #ECF6FA;
}
.releases__title a {
    color: #ecf6fa !important;
    font-weight: bold;
    text-decoration: none;
}
.releases__title h2 {
    font-family: "tahoma";
    font-weight: bold;
    font-size: 10pt;
    margin: 0;
}
.releases__title h3 {
    font-family: "tahoma";
    font-weight: bold;
    font-size: 8pt;
    margin: 0;
}
.releases__content {
    width: 100%;
    margin-bottom: 15px;
    padding: 15px;
    display: inline-block;
    background-color: #F4F5F9;
    font-family: tahoma;
    font-size: 8pt;
    text-align: justify;
    border: 1px solid #E5E5E5;
}

 .btn_sml {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    /* vertical-align: middle; */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    /* padding: .375rem .75rem; */
    font-size: 0.9rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

table.brd td {font-size: 8pt; }

table.brd li {margin: 6pt 10pt;}

td.comment_head {
    background: #d5d5d5 url(../images/comment_head_bg.jpg) repeat-x;
    border: 1px solid #c0c0c0;
    padding: 0px 7px 0px;
    font-weight: bold;
    font-size: 11px;
	height: 24px;
}
td.comment_footer {
    background: #ededef url(../images/comment_bottom_bg.jpg) repeat-x;
    border: 1px solid #e5e7e6;
    color: #666666;
    font-size: 11px;
	line-height: 1;
	height: 22px

}
table.maibaugrandcom {font-family: Tahoma;font-size: 8pt; border: 1px solid #E5E5E5; background-color:#EFEFEF;}

a.altlink_white:link, a.altlink_white:visited {
		font-weight: bold;
		color: #666666;

}

a.altlink_white:hover {
		text-decoration: underline;
}
.small_com { font-size: 7pt; padding-right: 10px;}
a.reliz-lnk {
    color: #ecf6fa !important;
    font-weight: bold;
    text-decoration: none;
}

.table td, .table th {
    padding: .4rem .4rem;
    vertical-align: top;

}
td.fpost {	word-break: break-word;}

label {
    display: inline-block;
    margin-bottom: .2rem;
}

.table-responsive table td {padding: 2px 10px;}

.read__full {
    font-size: 14px;
    color: #5b5b5b;
    font-weight: bold;
}
.release__descr {min-height:420px;}
.h-btn {cursor:pointer;}

button[data-toggle]:hover{color:rgba(255,23,0,1.0)}


span.sections::before {
  counter-increment: section;
  content: "#" counter(section) ": ";
}

.badgget {
	position:relative;
	margin: 0 5px;
}
.badgget.seeder:after {
	content:'';
	position:absolute;
	font-size:.7em;
	color:white;
	background:green;
	width:18px;height:18px;
	text-align:center;
	line-height:18px;
	border-radius:50%;
	box-shadow:0 0 1px #333;
}
.badgget.leecher:after {
	content:'';
	position:absolute;
	font-size:.7em;
	color:white;
	background:yellow;
	width:18px;height:18px;
	text-align:center;
	line-height:18px;
	border-radius:50%;
	box-shadow:0 0 1px #333;
}
.nobrk {display: inline-block;}


.card-body {
    word-break: break-word;
}

.float-left {
	width: 90%;
}

.ratings img {
    margin-right:4px;
}
.add-bookmark {
	display: block;
	width: 32px;
	height: 32px;
	background-image: url(../pic/ab.png);
}
.del-bookmark {
	display: block;
	width: 32px;
	height: 32px;
	background-image: url(../pic/rb.png);
}
tr.bonus th { font-weight:normal; }
tr.bonus td { text-align:center; white-space:nowrap; }
td.bns_his { white-space:nowrap; text-align:right; }
