body {
	margin:0 auto;
	padding:0;
	max-width:1300px;
	font-family:Arial,Helvetica,Verdana,sans-serif;
	font-size:16px;
	background-color:white;
	line-height:1.5;
	color:#1d1d1f;
	}
img {border:0;}
.bold, #header-center span {font-weight:bold;}
.italic {font-style:italic;}
.inline, #header-logo, #header-center, #header-right, #left, #right, #center  { display:inline-block; }
div.display-table {display:table;}
h1, h2, h3, h4, .center, p.foto, div.img-right, div.imgimg-left, table.td-center td,
#header-logo, #header-center, #header-right { text-align:center; }
img.foto, p.center img {margin:2px;}
p {margin-top:12px;margin-bottom:12px;}
.middle, #header-logo, #header-center, #header-right  {vertical-align:middle;}
#header-logo { width:150px; }
#header-right, #right, #left { width:300px; } 
#header-center {
	padding:0 10px;
	font-size:16px;
}
@media screen and (max-width:900px) {
	#right, #header-right, .comp {display:none;}
	#header-center, #header-logo, #center {width:calc(100% - 20px);}
}

@media screen and (min-width:901px) and (max-width:1099px) {
	#header-right, .comp {display:none;}
	#header-center, #center { width:calc(100% - 330px); }
	p, li, td {font-size:16px;line-height:1.6;}

}
@media screen and (min-width:1100px) {
	#menu-line, .mobile {display:none;}
	#header-center { width:calc(100% - 480px); }
	#center { width:calc(100% - 330px); }
	p, li, td {font-size:16px;line-height:1.6;}
	}
@media screen and (min-width:641px) {
	.col-2 { width:calc(50% - 15px); padding-right:10px; }
	.col-1-3 { width:calc(33% - 15px); padding-right:10px; }
	.col-2-3 { width:calc(66% - 15px); padding-right:10px; }
	.col-3 { width:calc(33% - 15px); padding-right:10px; }
	.col-4 { width:calc(25% - 15px); padding-right:10px; }
	.border-hover div.col-2 {width:calc(50% - 50px);}
	.border-hover div.col-3 {width:calc(33% - 45px);}
}
@media screen and (max-width:640px) {
	.col-2, .col-3, .col-4 {width:90%;}
	#header-logo {display:none;}
}
.max-width {width:100%;}
.max-width-video {max-width:800px;}
p.right, td.right {text-align:right;}
.margin-0-auto {margin:0 auto;}
.margin-10-auto {margin:12px auto;}

img.right {margin:7px 0 5px 10px;}


.margin-10-0 {margin:10px 0;}
.margin-0-10 {margin:0 10px;}
.sup {vertical-align: super;}
.sub {vertical-align: sub;}

h1, h2, h3, #header-center span {color:#494848;}
h1 {
	font-size:27px;
	margin-top:23px;
	}
h2 {
	font-size:20px;
	margin-top:18px;
	}

h3 {
	font-size:18px;
	margin-top:16px;
	}	
h1, h2, h3 {margin-bottom:6px;}	
a:link, a:hover, a:visited, .likeurl {
	color:#004d99;
	font-family:Arial, Tahoma;
}
a:link, a:visited { text-decoration:none; }
.likeurl {cursor: pointer;}
a:hover, .likeurl:hover {text-decoration:underline; }

img {
	max-width:100%;
	height:auto;
	/* width:auto; */
}
.max-width {max-width:100%;}
.background-gray {background-color:#F1F1F1;}
.top, #left, #center, #right {vertical-align:top;}
div.right, img.right {float:right;}

#header { width:100%; }

#left ul, #menu-line ul {
	list-style-type:none;
	margin:0;
	padding:0;
	font-size:16px;}
#left li, #menu-line li {
	padding:5px;
	background-color:#F1F1F1; 
	border:2px solid white;
	}
#menu-line a:link, #menu-line a:visited,
#left a:link, #left a:visited {
	color:#474D54;
	text-decoration:none;
	}
#left a:link, #left a:visited { 
	display:block;
	font-weight:normal;
	}
#left a:hover, 	#menu-line a:hover {
	text-decoration: underline;
	color:#004d99;
	}
#menu-line li {
	display:inline;
	padding:5px 10px;
	line-height:34px;
	white-space:nowrap;
}
#center {
	padding:0 10px;
	background-color:white;
	min-height:400px;}
div.footer-line {
	background:url(/template/i/bbg.gif) repeat-x;
	height:17px;
	}
div.left, img.left, img.left4nav {float:left;}
img.left {margin:7px 10px 5px 0;} 
img.left4nav {margin:7px 10px 23px 0;} 
ul {
	margin-left:10px;
	padding-left:10px;
}
ol {
	margin-left:20px;
	padding-left:10px;
}
.clear {clear:both;}
.nowrap, #header-center a {white-space:nowrap;}

	
@media screen and (min-width:361px) {
	div.img-right {float:right;}
	div.img-right {margin:5px 0 5px 10px;}
	div.img-left {float:left;}
	div.img-left {margin:5px 10px 5px 0;}
	}
	
@media screen and (max-width:360px) {
	div.img-right, div.img-left {width:100%;}
	}

hr { color:#dedede; }

.border-hover div {border:1px solid #dedede; margin:10px; padding:10px;}
.border-hover div:hover {border:1px solid #DC423B;}
.border-hover p, margin0 {margin:0;}

.table-adaptive {overflow:auto;}
table.table, table.td-center {
	padding:5px;
	border: 1px double #EAEAEA
	}
table.td-center th, table.table th {
	padding:2px 10px;
	background-color:#EAEAEA;
	border: 1px solid #999999;
	}
table.table tr:hover {background-color: #F9E8A8;}
table.td-border td {border: 1px double #EAEAEA;}
table.td-center td, table.table td {
	padding:2px 10px;
	vertical-align:top;
	}
table.td-center td.left, table.result td.left {text-align:left;}
tr.gray td, tr td.gray, table.gray tr:nth-child(2n) {background-color:#EAEAEA;}
.padding5 {padding:5px;}
.size125 {font-size:125%;}
.size150 {font-size:150%;}
.size200, #header-center span {font-size:200%;}
.margin-top-0 {margin-top:0;}
.margin-bottom-0 {margin-bottom:0;}
.block {
 text-decoration:none;
 background-color:#FFF;
 border:1px solid #999;
 padding:5px;
 margin-top:5px;
 font-size:16px;
}

div.img img {max-width:250px;max-height:200px;width:auto;height:auto;}
div.img, div.about {display:inline-block;vertical-align:top;}
div.img {width:250px;height:200px;text-align:center;}
div.about {max-width:600px;}
/* Код для адаптации видео */
.video-adaptive {
position:relative;
height:0;
overflow:hidden;
margin:10px auto;
}
.video-adaptive  { padding-bottom:56.25%; }
.video-adaptive iframe,
.video-adaptive object,
.video-adaptive embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/* Конец кода для адаптации видео */
.youtube, .video_ext {
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: all 200ms ease-out;
    cursor: pointer;
}
.youtube .play, .img-play, .video_ext .play {
    background: url('/template/i/youtube-play-btn.png') no-repeat;
    background-position: 0 -50px;
    -webkit-background-size: 100% auto;
    background-size: 100% auto;
    position: absolute;
    height: 50px;
    width: 69px;
    transition: none;
    top:0;
    left:0;
    right:0;
    bottom:0;
    margin:auto;
}
.youtube:hover .play, .video_ext:hover .play {
    background-position: 0 0;
}
div.youtube img, .full-width {width:100%;}
.red, a.red {color:red;}
p.gray {color:#494848;}