*{
  margin:0;
  padding:0;
  border-collapse:collapse;
}
html{
	background: #fff;
}
body{
	max-width:1600px;
  margin:0 auto;
  background:#fff;
  background:url('../img/right.gif') no-repeat 100% calc(100% - 120px) #fff;
	color: #000;
}
table, td{
	text-align: left;
	border-collapse: collapse;
	vertical-align:top;
}
fieldset{
  border:none;
}
h1{
	font-family: 'Georgia', serif;
	font-size: 200%;
        font-weight:normal;
	padding: 0;
	line-height: 110%;
        color:#7F69B6;
}
h2, .h2{
	font-family: 'Verdana', sans-serif;
	font-size: 115%;
	color: #000;
    padding: 8px 0;
    font-weight:bold;
	line-height: 140%;
}
h4.term{
  clear:both;
  margin:1em 0;
  padding:20px 0 0;
  font-size:110%;
  background:url('/images/term.gif') repeat-x;
}
h4.border{
  margin:20px 0 0;
  padding:20px 0 0;
  font-size:100%;
  border-top:2px dotted #7F69B6;
}
h5{
  font-size:100%;
}
img{
  border:none;
  margin:0;
}
hr{
	height: 1px;
	color: #ff8000;
	background:#ff8000;
	margin: 14px 0 4px;
	clear:both;
}
a, a:link, a:visited{
	color: #ff8000;
	font-family: 'Tahoma', 'Verdana', sans-serif;
}
a.resp{
	font-size: 90%;
	font-family: Georgia, Times, serif; margin:0;
}
a.resp:visited{
	color: #909090;
	font-size: 90%;
	font-family: Georgia, Times, serif;
}
table.photo{
	text-align: left;
	vertical-align: bottom;
	margin: 16px 0 5px;
	background-color: #fff;
	width:100%;
  background:url('/images/term.gif') repeat-x 0 100%;
}
table.photo td{
  padding:0 0 35px;
}
table.photo td p{
  margin-left:0;
  padding-left:0;
}
table.form{
	text-align: left;
	border: 0px;
	border-collapse: collapse;
	margin-top: 4px;
	margin-bottom: 4px;
	background-color: white;
}
img.pre{
	border: 5px solid #edefa4;
	margin: 8px 8px 0 0;
	display:block;
}
/*to mobile*/
#sidebar{
	float:left;
	width:251px;
	padding:6px 5px 10px 5px;
	vertical-align:top;
	background:#fff;
}
#left{
	position:relative;
  width:250px;
  padding:15px 0 20px;/*
  background:url('../img/menu_top.gif') no-repeat 15px 20px;*/
  overflow:hidden;
}
#left a{
  color:#000;
}
#left b{
  color:#707070;
}
#left iframe{
  max-width:250px;
}
.menu{
  width:243px;
  padding:20px 5px 20px 0;
	list-style:none;/*
  background:url('../img/menu_bg.gif') repeat-y;*/
	border-radius:10px;
	border:1px solid #7F69B6;
}
#left .leftmenu, #left .leftmenu_a{
	padding:0 5px 12px 32px;
	font-size:14px;
	font-family:Georgia, Times, serif;
	background: url('../img/left_menu_bg.gif') no-repeat 12px 0.3em;
}
#left .leftmenu a, #left .leftmenu a:visited{
	font-family: 'Georgia', 'Times', serif;
	text-decoration:underline;
	color:#000;
}
#left .leftmenu_a a, #left .leftmenu_a a:visited{
	font-family: 'Georgia', 'Times', serif;
	text-decoration:underline;
	color:#3f6cca;
}
.leftmenu span{
  color:#3f6cca;
}
#left img{
  display:block;
}
#main{
	float:right;
	width:70%;
	width:calc(100% - 265px) !important;
	width:-moz-calc(100% - 265px) !important;
	width:-webkit-calc(100% - 265px) !important;
	background:#fff;
}
#content{
	position:relative;/*
	float:right;*/
	font-family: 'Tahoma', sans-serif;
	font-size: 90%;
	line-height: 130%;
	padding:15px 258px 40px 25px;
	overflow:hidden;
	background:#fff;
}
#content table.photo img.photo{
	border: 5px solid #edefa4;
	background-color: #edefa4;
	margin:0 16px 0 0;
}
.intro{
	font-family: Tahoma, Verdana, sans-serif;
	font-size: 100%;
	font-weight: normal;
	line-height: 140%;
	padding-bottom: 15px;
}
p{
	margin-top: 4px;
	margin-bottom: 4px;
}
#content p{
	font-size: 105%;
	text-align: justify;
	margin:0 0 16px;
}
#content img{
	margin:10px;
}
form{
	padding-bottom: 25px;
	padding-top:20px;
}
/*to mobile*/
#content form img{
	margin:0;
	vertical-align:middle;
}
/**/
p.ist{
	font-size: 80%;
	font-style:italic;
	padding-bottom:0px;
}
.ist em{
  display:block;
  padding: 0 0 5px 0;
  font-size: 120%;
}
.ist span{
  color:#ff8000;
}
.ist a{
  display:block;
  text-align:right;
  margin-top:-3.6ex;
}
/*to mobile*/
#container{
	position: relative;
	width:100%;
	table-layout:fixed;
	background:#fff;
}
.form{
	border: 1px solid #7f69b6;
	background-color: transparent;
}
.button{
  padding:0 5px 2px;
	background-color: #7f69b6;
	border: 1px solid #b4b4b4;
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-weight: bold;
	color: #fff;
}
#nav{
	position: absolute;
	top:0;
	right: 0;
	margin-top: 0;
	margin-left: 0;
}
/*to mobile*/
#nav ul{
	display:table;
	margin:0;
	padding:0;
}
#nav li{
	display:table-cell;
	vertical-align:top;
	list-style:none;
	border-right:1px solid #FFF69D;
	background:#FFF69D;
}
#nav li:last-child{
	border-right:none;
}
#nav img{
	vertical-align:text-bottom;
}

#header{
	position: relative;
	background: url('../img/bg_header.jpg') repeat-x 990px 2px #edefa3;
}
/*to mobile*/
#header img{display:block;}

#logo{
	display:block;
}
#logo img{
	vertical-align:text-bottom;
}
@media(max-width:980px) and (min-width:720px){
	#logo img{
		width:100%;
		height:auto;
	}
}
#hamburger{
	position:absolute;
	top:50%;
	right:15px;
	margin-top:-12px;
}
#hamburger a{
	padding:5px 5px 5px 39px;
	font-size:18px;
	font-family:Tahoma, sans-serif;
	text-decoration:none;
	border:3px solid #476ec4;
	border-radius:5px;
	background:url('/images/hamburger.png') no-repeat 5px 50%;
	color:#476ec4;
}
#left h5{
  font-size:1em;
  color:#3f6cca;
  padding:5px 0 0;
}
#banners a img{
	margin:0 0 10px 0;
}
#rss{
  overflow:hidden;
  width:223px;
}
#rss li{
  padding:15px 0 0;
  list-style:none;
  font-size:80%;
  width:225px;
}
#rss li.all_messages a{
  font-size:120%;
  color:#ff8000;
}
#rss strong{
  display:block;
}
.bottom_banner{
	display:inline-block;
	max-width:100%;
	clear:both;
	margin-top:20px !important;
	padding:0 20px 20px 300px;
	text-align:center;
}
.bottom_banner img{
	width:100%;
	margin:0 !important;
}
#banner{
	position: absolute;
	left: 12px;
	top: 376px;
	width: 250px;
	background: none;
}

.banners{
  margin-top:30px;
  margin-bottom:32px;
  width:184px;
}
.banners td{
  white-space:normal;
  overflow:hidden;
}
p.newsheader{
	font-family: Verdana, Tahoma, Arial, sans-serif;
	background: url('../img/news.gif') no-repeat #7f69b6;
	font-size: 84%;
	font-weight: bold;
	color: #fff;
	padding: 8px;
	padding-left: 16px;
	margin-top: 36px;
	margin-bottom:18px;
}
#right{
	position:absolute;
	top:0;
	right:0;
	z-index:100;
  width:228px;
  padding:45px 0 100px;
}
#right li, #mobilemenu li{
	list-style:none;
}
#right a{
  display:block;
  margin:0 0 15px 0;
  font:17px 'Georgia', serif;
  color:#3f6cca;
}
#right h4, #mobilemenu h4{
  margin:0 0 15px 0;
  font-family: 'Georgia', serif;
  font-weight:bold;
  color:#7f69b6;
}
#right .banners_r img{
  width:183px;
  height:83px;
}
#right .banners img, #right .banners a{
  margin:0;
  padding:0;
}
.banners_r{
  padding:25px 0 0 0;
}
.banners_r a{
  margin:0 0 25px 0;
}
#footer{
	text-align: center;
	vertical-align: middle;
	min-height: 21px;
	background: #ff8000;
	padding-bottom: 10px;
	padding-top: 10px;
	font-family:'Tahoma', sans-serif;
	color:#fcc630;
}
#footer a, #footer a:visited{
	color:#fff;
	font-size:15px;
	text-decoration:none;
	white-space:nowrap;
	line-height:2;
}
#footer a strong{
	font-weight:normal;
  color:#3f6cca;
}
div.clear{
	height: 11px;
	clear: both;
	overflow: hidden;
}
.copy{
	font-family: 'Tahoma', 'Verdana', sans-serif;
	font-size: 70%;
	text-align: center;
	color: #707070;
	line-height: 140%;
	padding-bottom: 10px;
	padding-top: 10px;
}
#content input[type="text"], textarea{
	width:350px !important;
	margin:0 0 5px;
}
#content .recaptchatable #recaptcha_response_field{
	width: 153px !important;
}
#content input[name="code"]{
	width:180px !important;
	vertical-align:middle;
}
.st{
  padding:0 0 50px 2em;
}
.st h5{
  font-weight:normal;
  font-size:125%;
  color:#7f69b6;
  padding:5px 0 10px 0;
}
div.st p{/*
  white-space:pre;*/
  font-family: 'Georgia', serif;
  font-size:2.4ex;
  line-height:1.3;
  margin:0 0 8px 0;
  width:450px;
}
.st address{
  color:#3f6cca;
}
.pager{
  text-align: center;
  font-size:110%;
}
.pager a, .pager span{
  padding:0 3px 0 0;
}
#content .prev{
  float:left;
  padding:0 0 0 30px;
  background:url('/images/prev.gif') no-repeat 0 60%;
}
#content .next{
  float:right;
  padding:0 30px 0 0;
  background:url('/images/next.gif') no-repeat 100% 60%;
}
.news{
  padding:15px 0;
  border-bottom:2px dotted #7F69B6;
}
.news p{
 margin:0;
}
:lang(ru) > .news{
  overflow:hidden;
}
.news img{
  margin:5px 10px 0 0;
	border: 5px solid #edefa4;
}
#content .adminComm{
  margin:0 0 0 45px;
  padding:5px 10px 3px;
  font-size:85%;
  background:#bacef9;
}
#content .adminComm address{
  padding:0;
  font-weight:bold;
  background:none;
}
.razdel_link{
  display:block;
  margin:5px 0 0;
  font-family: 'Georgia', serif;
  font-size: 120%;
  font-weight:normal;
  background:#BACEF9;
  color: #fff !important;
  padding:3px 10px 5px;
  line-height: 110%;
}
/*врезки*/
#content blockquote{
  position:relative;
  margin:0 0 20px;
  padding:20px 0 7px;
  line-height:1.2;
  font-size:160%;
  background:url('/images/diagonal.gif') repeat-x 0 0;
}
#content blockquote:after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:6px;
  background:url('/images/diagonal.gif') repeat-x 0 0;
}
/*Лучшее и важное*/
#best-wrapper{
  padding:0 258px 0 25px;
}
#best-important{
	display:table;
	margin:25px 0 10px 0;
	text-align:left;
	table-layout:fixed;
}
#important, #best-news{
  display:table-cell;
  width:50%;
}
#important h3, #best-news h3{
  padding:5px 14px;
  font:normal normal 20px 'Tahoma', serif;
  color:#fff;
}
#important a, #best-news a{
  text-decoration:none;
  color:#363636;
}
#important a:hover, #best-news a:hover{
  text-decoration:underline;
  color:#444242;
}
#important{
  padding:0 12px 0 0;
}
#important h3{
  background:#7f69b6;
}
#important .anonse{
  margin:10px 0 0;
  padding:10px 0 1px;
}
#best-news{
  background:#fff2e5;
}
#best-news h3{
  background:#ff8000;
}
#best-news .anonse{
  margin:10px 10px 0;
  padding:10px 0 1px;
}
#best-important .anonse{
  background:url('../img/best-delim.png') repeat-x;
}
#best-important h3+.anonse{
  background:none;
}
#best-important h5{
  margin:5px 0 10px;
  line-height:1.2;
  font-size:12px;
  color:#7d7d7d;
}
#best-important h5 a, #best-important h5 a:hover{
  color:#7d7d7d;
}
#best-important .anonse address{
  display:table-cell;
  vertical-align:middle;
  font:normal bold 18px 'Tahoma', sans-serif;
  color:#ff8000;
}
#best-important img{
  margin:5px 10px 5px 0;
}
#best-important h4{
  clear:both;
  padding:0 0 10px;
  font-size:18px;
  color:#363636;
}
#best-important h4 a, #best-important h4 a:hover{
  font-family:'Tahoma', serif;
  color:#363636;
}
#best-important .anonse p{
  clear:both;
  margin:0 0 10px;
  text-align:left;
  line-height:1.2;
  font-size:16px;
}


.cleaner{
	clear:both;
	margin:0 !important;
}


/*#donate{
  text-align:center;
}
#donate iframe{
  max-width:100%;
}*/

.video-container{
    position: relative;
    padding-bottom: 48.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.table{
	display:table;
}
.tr{
	display:table-row;
}
.td{
	display:table-cell;
	padding:0 5px 0 0;
	vertical-align:top;
}
.mobile, #header .mobile{
	display:none !important;
}
	object, embed{
		width:95% !important;
	}
#scrolltoTop{
	display:none;
	position:fixed;
	right:20px;
	bottom:100px;
	z-index:10000;
	width:73px;
	height:73px;
	width:45px;
	height:45px;
	cursor:pointer;
	opacity:.8;
	background:url('../images/scrolltoTop.png') no-repeat;
	background-size:cover;
}
#scrolltoTop:hover{
	opacity:1;
}
#lovetest h4{
	font-size:1.2em;
}
#lovetest ul{
	margin:10px 0 15px;
}
#lovetest li{
	min-height:25px;
	margin:0 0 3px;
	list-style:none;
}
#lovetest input[type="radio"]{
	display:none;
}
#lovetest label{
	position:relative;
	padding:3px 0 3px 30px;
}
#lovetest label:before{
	content:'';
	position:absolute;
	top:0;
	left:0;
	width:21px;
	height:21px;/*
	border:2px solid #3f3f3f;
	border-radius:16px;*/
	background:url('/images/radio-empty.gif') no-repeat 0 0;
}
#lovetest input:checked+label:before{
	background:url('/images/radio-checked.gif') no-repeat 0 0;
}

#ya-site-form0 .ya-site-form__form .ya-site-form__input-text{
	padding:5px 6px 5px 10px !important;
}
@media(max-width:1023px){
	body, #header, #logo, #container{
		width:auto;
	}
	#content{
		padding-right:30px;
	}
	#right{
		position:relative;
		padding-top:0;
		padding-left:5px;
		background:none;
	}
	#best-wrapper{
		padding:0;
	}
	#best-important{
		float:none;
		margin:0 30px 0 25px;
	}
	#deskmenu li{
		display:none;
	}
	#deskmenu li:nth-child(n+4){
		display:block;
	}
	#mobilemenu{
		display:block;
		padding:0 0 20px;
	}/*
	#mobilemenu li{
		display:none;
	}
	#mobilemenu li:nth-child(1), #mobilemenu li:nth-child(2), #mobilemenu li:nth-child(3), #mobilemenu li:nth-child(4){
		display:block;
	}*/
	#bottom{
		padding:5px 20px 5px;
		text-align:center;
	}
	#footer{
		padding-right:20px;
	}
	object, embed{
		width:95%;
	}
	#content img{
		max-width:95%;
	}
	.td{
		display:block;
	}
	input[type="text"], textarea{
		margin-left:0;
	}
	#best-important .anonse address{
		display:block;
		margin-bottom:10px;
	}
}
@media(min-width:960px){
	#scrolltoTop{
		display:none;
	}
}
@media(max-width:960px) and (min-width:720px){
	#best-important{
		display: -moz-flex; 
		display: -o-flex; 
		display: -webkit-flex; 
		display: flex;
		flex-direction:column-reverse;
	}
	#important, #best-news{
		display:block;
		width:auto;
		margin-bottom:20px;
		padding-right:0;
	}
}
@media(max-width:800px){
	.bottom_banner{
		padding-left:15px;
	}
}
@media(max-width:720px){
	#header{
		margin:0;
		background-image:none;
	}
	.desktop{
		display:none !important;
	}
	.mobile, #header .mobile{
		display:block !important;
	}
	#logo{
		display:inline-block;
		width:100%;
	}
	#logo img{
		display:none;
		width:auto;
		max-width:100%;
		height:auto;
		margin:0 auto;
	}
#logo img.mobile{
	display:inline !important;
	vertical-align:text-bottom !important;
}
	#nav{
		position:static;
	}
	#main{
		float:left;
		float:none;
		width:100% !important;
		max-width:100%;
	}
	#main.start{
		display: -moz-flex; 
		display: -o-flex; 
		display: -webkit-flex; 
		display: flex;
		flex-direction:column-reverse;
	}
	#main, #best-important{
		float:none;
		max-width:auto;
	}
p{
  text-align:left;
}
	.nomobile{
		display:none !important;
	}
	#sidebar{
		float:none;
		display:table;
		table-layout:fixed;
	}
	#left, #right{
		display:table-cell;
		vertical-align:top;
	}
	#right{
		padding-left:30px;
	}
	#best-important{
		float:none;
		max-width:100% !important;
	}
	#best-wrapper{
		width:100% !important;
		max-width:100% !important;
	}
	#best-important{
		margin:25px 10px 10px 10px;
	}
	#content{
		float:none;
		width:auto;
		max-width:auto;
		margin:0;
		padding:26px 10px 30px 10px;
	}
	#banners{/*
		display:table-cell;
		padding:0;
		vertical-align:top;*/
	}
	table.banners{
		position:static;
	}
	#bottom{
		display:none;
	}
	#footer{
		line-height:2.5;
	}
	#aksSearch label{
		display:block;
	}
	.td{
		display:table-cell;
	}
}
@media(max-width:680px){
	#best-important{
		display: -moz-flex; 
		display: -o-flex; 
		display: -webkit-flex; 
		display: flex;
		flex-direction:column-reverse;
	}
	#important, #best-news{
		display:block;
		width:auto;
		margin-bottom:20px;
		padding-right:0;
	}
	#scrolltoTop{
		bottom:100px;
	}
}
@media(max-width:540px){
	#sidebar, #left, #right, .menu{
		display:block;
		width:auto;
	}
	#nav li{
		display:inline-block;
		margin:0;
		padding:0;
		border-bottom:2px solid #FFF69D;
	}
	#nav li:last-child{
		border-right:1px solid #FFF69D;
	}
	#rss, #rss li{
		width:auto;
	}
	.banner a{
		display:inline-block;
	}
	.table{
		display:block;
	}
	.tr{
		display:block;
	}
	.td{
		display:block;
	}
	.td input[type="text"], .td textarea{
		width:95% !important;
	}
}
@media(max-width:480px){
	#important, #best-news{
		display:block;
		width:auto;
	}
}

/*Блок "Помогите нам"*/
#rate{
	max-width:317px;
	margin:50px auto 25px;
}
#donate-block{
	max-width:347px;
	margin:20px auto;
	padding:10px 0;
	text-align:center;
	border:2px solid #edefa4;
}
#donate-block p{
	padding-left:px;
	padding-right:10px;
	text-align:center;
	font-size:140%;
}
#donate-title{
	margin:0 0 5px;
	padding:0 15px 10px !important;
	text-align:center;
	line-height:120%;
	font-size:180% !important;
	border-bottom:2px solid #edefa4;

}
#donate-link{
	display:block;
	width:200px;
	height:157px;
	margin:0 auto;
	background:url('/images/donate.jpg') no-repeat 100% 0;
	background-size:cover;
}
#donate-link:hover{
	background-position:0 0;
}
#article-share{
	padding:20px 15px 20px;
	border-top:2px solid #edefa4;

}
#article-share>table, #article-share>div{
	display:inline-block;
	margin:0 5px 5px 0;
	vertical-align:top;
}
.fb_iframe_widget span{
	vertical-align:top !important;
}
#vkshare0 td:first-child a div{
	margin:4px 0 2px !important;
}
#vkshare0 td:nth-child(2) a{
	height:14px !important;
}
#vkshare0 td:nth-child(3) a{
	line-height:14px !important;
}
#donate-text-link{
	margin:0 !important;
	padding:20px 15px;
	text-align:center;
	font-size:140%;
	border-top:2px solid #edefa4;
}
