body {
	margin: 0;
	padding: 0;
	background: #fafbe9 URL('images/back.jpg') top repeat-x;
	font-family: Tahoma;
}

table, td {
	border-collapse: collapse;
}

.logoblock {
	background: URL('images/logo.jpg') top center no-repeat;
}

.osnovnayatablica {
	background: #eeeeee URL('images/backblack.jpg') top center no-repeat;
	width:1000px;
	height:100%;
	margin: auto;
}

.shapka {
	background: URL('images/head.jpg') top center no-repeat;
	margin: 15px 0 0 0;
	width: 969px;
	height: 239px;
}

.shapkacontent {
	width: 334px;
	height: 239px;
	padding: 0 10px 5px 10px;
}

.fontopmenu {
	background: URL('images/backgeneral.jpg') repeat-x;
}

.content {
	padding: 10px 10px 10px 15px;
	width: 664px;
	height: 100px;
	background-color: #ffffff;
	font-family: Tahoma;
}

.fonmenu {
	background: URL('images/backmenu.jpg') repeat-y;
}

.caption {
	font-family: Tahoma;
	font-size: 1.5em;
}

.smalltextblack {
	font-family:Tahoma;
	font-size:0.7em;
	color:#47484A;
	line-height: 1em;
}

.smalltextwhite {
	font-family:Tahoma;
	font-size:0.7em;
	color:#eeeeee;
	line-height: 1em;
}

.block {
	border-radius: 10px;
	border: solid #acacac 1px;
	padding: 10px 10px 15px 10px;
}

.news_image {
	float: left;
	margin: 5px 5px 5px 0px;
}

a.bottom {
	color: #ffffff;
}


/* SEARCH BOX CSS */
#table-search-container {
    position: relative;
    margin:10px auto 10px auto;
    width: 260px;
    height: 50px;
    padding: 5px;
    text-align: center;
    background: #fff;
    border: solid 1px #e4e2e2;
}
.sitesearch {
    width: 200px;
    text-align: right;
    float: right;
    margin-right: 20px;
    margin-top: 4px;
}

#table-search-container .search-form {
    display: inline-block;
    width: 180px;
    margin: 0 auto;
    padding: 5px 10px;
    font-size: 12px;
    color: #47484A;
    /* background-color: #87C6F1; */
    background-color: #fafafa;
    border: solid 1px #e2e1e1;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.search-form:focus {
    background-color: #FFFFFF;
    border: 1px #F0F0F0 solid;
}
.search-submit {
    display: inline-block;
    background: url(images/search-icon.png) no-repeat 0px 0px;
    padding: 8px 5px ;
    height: 24px;
    width: 24px;
    border: 0px none;
    color: #FFFFFF;
    font-weight: bold;
    cursor:pointer;
}

.sidebar-box {
    border: solid 1px #e4e2e2;
}

.tbox.chatbox {
	width: 88%;
	margin-left: auto;
	margin-right: auto;
}

.fborder {
	border: #f3f3f3 1px solid;
}

.forumheader, .nforumcaption{
	background-color: #f3f3f7;
	font: 12px verdana, tahoma, arial, helvetica, sans-serif;
	color:#000;
	padding: 4px;
	background-image : url(images/forumheader.png);
	border-top: 1px solid #becde0;
	border-bottom: 1px solid #e2e9f1;
	border-left: 0;
	border-right: 0;
	height: 20px;
}

.finfobar{
	background-color: #CCC8C8;
	color:#000;
	padding: 4px;
	border: 1px solid #C3BDBD;
	text-align: left;
	background-image : url(images/forumheader.png);
	font: 11px verdana, tahoma, arial, helvetica, sans-serif;
}

.forumheader2{
	background-color: #f4f6fb;
	font: 12px verdana, tahoma, arial, helvetica, sans-serif;
	color:#000;
	padding: 4px;
	border: #f4f6fb 1px solid;
}

.forumheader3{
	background-color: #f1f4fd;
	font: 11px verdana, tahoma, arial, helvetica, sans-serif;
	color:#000;
	padding: 4px;
	border: #f1f4fd 1px solid;
}

.forumheader3_alt{
	background-color: #f0f0f0;
}

.forumborder{
	border: #000080 1px solid;
}

.fcaption {
	border-bottom: 1px solid #becde0;
	border-top: 1px solid #e2e9f1;
	border-left: 0;
	border-right: 0;
	background-image : url(images/fcaption.png);
	padding: 2px 0 2px 4px;
	background-color: #f9fafb;
	font: 9pt verdana, tahoma, arial, helvetica, sans-serif;
	color:#616060;
	height: 25px;
}


.smallblacktext, .defaulttext {
	font: 8pt tahoma, verdana, arial, helvetica, sans-serif;
	color:#32475f;
}

.linkspage_button{
	vertical-align: middle;
	border:0px;
}

.mainbox {
	border: 1px solid #879397;
	background-color: #fff;
	color: #000;
}

.td-menu {
    display: block;
    margin-left: -10px; 
}

/* Reset */
.menu,
.menu ul,
.menu li,
.menu a {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
}

/* Menu */
.menu {	
	height: 40px;
	width: 664px;	
}

.menu li {
	position: relative;
	list-style: none;
	float: left;
	display: block;
	height: 40px;
}

/* Links */

.menu li a {
	display: block;
	padding: 0 14px;
	margin: 6px 0;
	line-height: 28px;
	text-decoration: none;
	
	border-left: 1px solid #fff;

	font-family: Tahoma;
	font-size: 17px;

	color: #FFFFFF;

	-webkit-transition: color .2s ease-in-out;
	-moz-transition: color .2s ease-in-out;
	-o-transition: color .2s ease-in-out;
	-ms-transition: color .2s ease-in-out;
	transition: color .2s ease-in-out;
}

.menu li:first-child a { border-left: none; }
.menu li:last-child a{ border-right: none; }

.menu li:hover > a { color: #FFF08A; }

/* Sub Menu */
.menu ul {
    position: absolute;
	top: 40px;
	left: 0;
    opacity: 0;
    z-index: 1;
    width: 220px;
	background: #008FFF;
	-webkit-transition: opacity .25s ease .1s;
	-moz-transition: opacity .25s ease .1s;
	-o-transition: opacity .25s ease .1s;
	-ms-transition: opacity .25s ease .1s;
	transition: opacity .25s ease .1s;
}

.menu ul li {
    display: block;
    max-height: 0px;
    height: auto;
	visibility: hidden;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #FFFFFF;
	-webkit-transition: max-height .25s linear .1s;
	-moz-transition: max-height .25s linear .1s;
	-o-transition: max-height .25s linear .1s;
	-ms-transition: max-height .25s linear .1s;
	transition: max-height .25s linear .1s;
}

.menu ul li:last-child {
    border: none;
}

.menu li:hover > ul { 
    opacity: 1;
    z-index: 1;
}

.menu li:hover > ul li {
    height: auto;
    max-height: 60px;
    width: 100%;
	visibility: visible;
	padding: 0 0 0 0;
}

.menu ul li a {
    border: none;
    font-size: 15px;
}

.menu ul li:last-child a { border: none; }

#main-nav {
    display: inline-block;
    position: absolute;
    height: 50px;
    width: 960px;
    background: URL('images/backgeneral.jpg') repeat-x;
}

.top-menu-cell {
    position: relative;
}

#switchMode {
    display: block;
    position: absolute;
    top: 5px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: url(images/eye_large.svg) no-repeat center;
}

div.caption {
    margin-left: 0px !important;
}

div.caption::first-letter {
    text-transform: uppercase;
}

.cpage_body p {
    text-align: left !important;
}

/**
 *  Стили кастомного баннера
 */
.custom-banner {
	display: block;
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: 100;
	background: #bcd5eae8;
}

.banner-body {
	position: relative;
	display: table;
	margin: 0 auto;
	width: 50%;
	height: 100%;
}

.banner-content {
	display: table-cell;
	vertical-align: middle;
	color: #000000ba;
	padding: 15px;
}

.accept-cookie-btn {
	display: block;
	float: right;
	border-radius: 2px;
	padding: 10px;
	border: none;
	color: #fff;
	background: #2a4a61ad;
}

.banner-row {
	display: block;
	min-height: 40px;
}

.banner-row > p {
	text-align: justify;
}
