/*Основные цвета: #243e99 (тёмно-синий)*/
body{
	padding:0 !important;
	font-family:'Roboto',Arial,Helvetica,sans-serif !important;
}
.allsite{
	background: #FFF;
}



/* ================ head_firstline (верхняя чёрная полоса) ============================== */

.head_firstline{color:#DDEEF5; font-size:14px; overflow:hidden; font-weight: 300; padding-bottom:10px !important;}
.head_firstline A{color:#b3c3df !important; font-weight: 300;}
.head_firstline A:hover{color:#FFF !important; text-decoration:none;}
.head_firstline .rss{float:left; margin: 0 5px;}
.head_firstline .rss A .description{
	font-style:italic;
	font-size:13px;
	font-family:'PT Serif Italic';
	color: #b3c3d6 !important;
    display: inline-block;
    margin: 2px 0 0 10px;
    vertical-align: top;
    transition: color 0.7s ease;
}
.head_firstline .social .description{
	font-style:italic;
	font-family: Roboto;
    font-size: 13px;
    font-style: normal;
	color: #b3c3d6 !important;
    display: inline-block;
    margin: 3px 0 0 0;
    vertical-align: top;
}
.head_firstline .rss A:hover .description{
	color: #fff !important;
}

.head_firstline .social{float:left; margin: 0 5px; font-family:'PT Serif Italic'; color: #b3c3d6; font-style:italic;}
.head_firstline .social A:hover{text-decoration:none;}

.head_firstline .rss img,
.head_firstline .another_sites img,
.head_firstline .registration img,
.head_firstline .registration #logout_input,
.head_firstline .social img{
	vertical-align: middle;width:20px; height: 20px;
}
.head_firstline A>img:hover{
	/*box-shadow: 0 0 5px rgba(255,255,255,0.5);*/
	opacity:0.7;
}

.head_firstline .another_sites{float:right; margin: 0 5px;}
.head_firstline .another_sites DIV{display:inline-block; margin-right:10px;}
.head_firstline .another_sites DIV.last_site{margin-right:0;}
.head_firstline .another_sites A .descr,
.head_firstline .registration A .descr
{
	display:inline-block;
	margin: 2px 0 0 0;
    vertical-align: top;
    color: #b3c3d6 !important;
    transition: color 0.7s ease;
}
.head_firstline .another_sites A:hover .descr,
.head_firstline .registration A:hover .descr
{
	color: #fff !important;
}
.head_firstline .another_sites A .spb_mitr_fulltitle{display:inline-block !important;}
.head_firstline .another_sites A .spb_mitr_shorttitle{display:none !important;}

.head_firstline .vertical_line{
    background: #757580;
    float: left;
    height: 22px;
    margin: 0 5px;
    width: 1px;
}
.head_firstline #vertical_line_3{float:left;display:none;}
.head_firstline .registration{float:left; margin-right:10px;}

/* ================ head_whiteblock (белый блок с логотипом, меню и ссылками) ============= */

.head_whiteblock{
	overflow: hidden;
	padding-bottom:10px !important;
}

.globus_head{
	float:left;
	width:277px;
	height:106px;
}
.globus_head a{
	display:block;
	background: transparent url("/images/logo_globus_mitropolii.png");
	float:left;
	width:277px;
	height:106px;
	max-width:100%;
}

.head .globus_head h1,.head .globus_head h2{
	visibility:hidden;
}

.head .mainmenu {
    float: left;
    margin-left: 10%;
    padding: 1px 0 0;
    text-align: center;
    width: 385px;
}
.head .mainmenu li:last-child A{
	padding-left:30px;
	padding-right: 10px;
}
.head .mainmenu UL.horizontal-multilevel-menu{
	width:auto;
	float:none;
}
.left_links{
	float:right;
	width: 167px;
	padding: 23px 8px 10px 0;
	text-align: right;
}
.left_links div{
	margin-bottom:5px;
}
.left_links a{
	color: #5A90BB !important;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration:none;
}
.left_links A .descr
{
	display:inline-block;
	margin: 4px 0 0 0;
    vertical-align: top;
    color: #5A90BB !important;
    transition: color 0.7s ease;
}
.left_links A:hover .descr{
	color: #000 !important;
}

.left_links a:hover{
	color: #000;
	text-decoration:none;
}
.left_links img{
	vertical-align: middle;

}
.search_block{
	margin:0;
	padding: 0;
	background: #555 url("/images/background-church.png") bottom no-repeat;
	color: #fff;
	height: 90px;
}
.search_block2 {
    background: transparent url("/images/background-transparent2.png") repeat;
    color: #fff;
    height: 50px;
    margin: 0 auto;
    position: relative;
    top: 20px;
    width: 850px;
}
.search_block2 .search-input {
    background: transparent none repeat scroll 0 0;
    border: 0 none;
    color: #fff !important;
    display: block;
    float: left;
    font-size: 13px;
    font-style:italic;
    font-family:"Roboto Italic","Roboto",sans-serif;
    height: 100%;
    margin: 0;
    padding: 16px 33px;
    width: 415px;
}
.search_block .main-icons-find{
	float: left;
	padding: 14px 8px;
	cursor: pointer;
}
.search_block2 .main-icons-find .search-button {
    background: transparent none repeat scroll 0 0;
    border: 0 none;
    color: #fff;
    display: inline-block;
    vertical-align: top;
    font-size: 16px;
    font-weight:bold;
    margin: 0;
    position:relative;
    left:-30px;
    padding-left: 30px;
}

.search_block2 .search-button:hover{
	color:#EEE;
	cursor:pointer;
}
.search_block2 #select-where-button{
    float: left;
    padding: 16px 0;
}



.search_block2 #select-where {
    background: rgba(0,0,0,0);
    border: 0;
    color: white;
    display: inline-block;
    width:190px;
    position:relative;
    padding-right:40px;
    vertical-align:top;
    text-align:right;
    font-weight:bold;
    font-size:13px;
    -webkit-appearance: none; /*for WebKit*/
    -o-appearance:none;
    -moz-appearance: none; /* for FF */
     text-indent: 0.01px; /* for FF */
     text-overflow: ''; /* for FF */
     -ms-appearance: none; /* for IE */
     appearance: none!important; /* for IE */
}
.search_block2 #select-where OPTION{
	text-align:left;
	background:#555;
}
.search_block2 #select-where::-ms-expand {
  display: none;
}
.search_block2. ui-selectmenu-button{

}
.search_block2 .ui-selectmenu-button span.ui-selectmenu-text{
	padding:0 5px;
	text-align:right;
	display:inline-block;
}


.search_block2 .ui-icon-triangle-1-s{
	background-image: url('/images/icons/2015/main_icons.png') !important;
	width: 22px;
    height: 22px;
    background-position: -487px -5px;
    margin-top: -12px !important;
}
.search_block2 .ui-state-default{
	background:none;
	border:0;
	color: white;
	font-weight:bold;
    font-size:13px;
    font-family:'Roboto';
}



.search_block .vertical_line{
    background: #AAA;
    float: left;
    height: 30px;
    margin: 10px 20px;
    width: 1px;
}


/* ---- input placeholder---------------- */

::-webkit-input-placeholder { /* Chrome и Safari */
    color: #CCC;
}
input[placeholder]{
	color: #CCC !important;
    text-overflow:ellipsis;
    opacity: 1; transition: opacity 0.7s ease;
}

:-moz-placeholder { /* Firefox 18- */
    color: #CCC !important;
    text-overflow:ellipsis;
    opacity: 1; transition: opacity 0.7s ease;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #CCC !important;
    text-overflow:ellipsis;
    opacity: 1; transition: opacity 0.7s ease;
}

:-ms-input-placeholder { /* IE10 */
    color: #CCC !important;
    text-overflow:ellipsis;
    opacity: 1; transition: opacity 0.7s ease;
}

.placeholder { /* IE7 - IE9 */
    color: #CCC;
}
input:focus::-webkit-input-placeholder {opacity: 0; transition: opacity 0.7s ease;}
input:focus::-moz-placeholder          {opacity: 0; transition: opacity 0.7s ease;}
input:focus:-moz-placeholder           {opacity: 0; transition: opacity 0.7s ease;}
input:focus:-ms-input-placeholder      {opacity: 0; transition: opacity 0.7s ease;}


/*  */
.main-icons .img{
    background-image: url('/images/icons/2015/main_icons.png');
    background-repeat: no-repeat;
    display: inline-block;
    position: relative;
    opacity:1;
    transition: opacity 0.4s ease-out 0s;
    filter: alpha(opacity=100);
    max-width:none;

}
.main-icons .img SPAN{
	opacity:0;
	transition: opacity 0.5s ease-out 0s;
	background-image: url('/images/icons/2015/main_icons.png');
    background-repeat: no-repeat;
    display: inline-block;
    bottom: 0;
    left: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    top: 0;
}
.main-icons:hover .img{

}
.main-icons:hover .img SPAN{
	opacity:1;
	filter: alpha(opacity=100);

}
.main-icons-rss .img{
    width: 22px;
    height: 22px;
    background-position: -397px -5px;
}

.main-icons-rss .img SPAN{
	width: 22px;
    height: 22px;
    background-position: -397px -39px;

}

.main-icons-vk .img{
    width: 22px;
    height: 22px;
    background-position: -461px -5px;
}
.main-icons-vk .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -461px -39px;
}
.main-icons-facebook .img{
    width: 22px;
    height: 22px;
    background-position: -37px -5px;
}
.main-icons-facebook .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -37px -39px;
}

.main-icons-book_blue .img{
    width: 22px;
    height: 22px;
    background-position: -5px -5px;
}
.main-icons-book_blue .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -5px -39px;
}

.main-icons-find .img{
    width: 22px;
    height: 22px;
    background-position: -69px -4px;
}
.main-icons-find .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -69px -38px;
}

.main-icons-flickr .img{
    width: 22px;
    height: 22px;
    background-position: -101px -5px;
}
.main-icons-flickr .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -101px -39px;
}

.main-icons-instagram .img{
    width: 22px;
    height: 22px;
    background-position: -133px -5px;
}
.main-icons-instagram .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -133px -39px;
}

.main-icons-key_24x20 .img{
    width: 24px;
    height: 20px;
    background-position: -165px -5px;
}
.main-icons-key_24x20 .img SPAN{
    width: 24px;
    height: 20px;
    background-position: -165px -39px;
}


.main-icons-like_orange .img{
    width: 24px;
    height: 24px;
    background-position: -199px -5px;
}
.main-icons-like_orange .img SPAN{
    width: 24px;
    height: 24px;
    background-position: -199px -39px;
}

.main-icons-lock .img{
    width: 22px;
    height: 22px;
    background-position: -233px -5px;
}
.main-icons-lock .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -233px -39px;
}

.main-icons-logout .img{
    width: 22px;
    height: 22px;
    background-position: -265px -5px;
}
.main-icons-logout .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -265px -39px;
}

.main-icons-mitropolia .img{
    width: 22px;
    height: 22px;
    background-position: -297px -5px;
}
.main-icons-mitropolia .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -297px -39px;
}

.main-icons-people .img{
    width: 22px;
    height: 22px;
    background-position: -331px -5px;
}
.main-icons-people .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -331px -39px;
}

.main-icons-phone .img{
    width: 24px;
    height: 24px;
    background-position: -363px -5px;
}
.main-icons-phone .img SPAN{
    width: 24px;
    height: 24px;
    background-position: -363px -39px;
}

.main-icons-twitter .img{
    width: 22px;
    height: 22px;
    background-position: -429px -5px;
}
.main-icons-twitter .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -429px -39px;
}
.main-icons-arrow .img{
    width: 22px;
    height: 22px;
    background-position: -487px -5px;
}
.main-icons-arrow .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -487px -39px;
}

.main-icons-youtube .img{
    width: 22px;
    height: 22px;
    background-position: -517px -5px;
}
.main-icons-youtube .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -517px -39px;
}

.main-icons-dzen .img{
    width: 22px;
    height: 22px;
    background-position: -545px -5px;
}
.main-icons-dzen .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -545px -39px;
}

.main-icons-rutube .img{
    width: 22px;
    height: 22px;
    background-position: -568px -5px;
}
.main-icons-rutube .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -568px -39px;
}

.main-icons-telegram .img{
    width: 22px;
    height: 22px;
    background-position: -588px -5px;
}
.main-icons-telegram .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -588px -39px;
}

.main-icons-ydisk .img{
    width: 22px;
    height: 22px;
    background-position: -609px -5px;
}
.main-icons-ydisk .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -609px -39px;
}

.main-icons-ok .img{
    width: 22px;
    height: 22px;
    background-position: -629px -5px;
}
.main-icons-ok .img SPAN{
    width: 22px;
    height: 22px;
    background-position: -629px -39px;
}



@media only screen and (max-width: 1450px){
	
	/* Уменьшаются отступы сайта справа и слева */
	.lwpadding{
	padding-left:6% !important;
	padding-right:6% !important;
	}
	.lwblock{
		margin:0 6% !important;
	}

}
@media only screen and (max-width: 1330px){
	/*Немного уменьшаем отступ меню слева, чтобы оно было по центру */
	.head .mainmenu {margin-left: 9%;}

}
@media only screen and (max-width: 1260px){
	/*Немного уменьшаем отступ меню слева, чтобы оно было по центру */
	.head .mainmenu {margin-left: 7%;}

	/* Уменьшаются отступы сайта справа и слева */
	.lwpadding{
	padding-left:5% !important;
	padding-right:5% !important;
	}
	.lwblock{
		margin:0 5% !important;
	}
}
@media only screen and (max-width: 1200px){
	/*Немного уменьшаем отступ меню слева, чтобы оно было по центру */
	.head .mainmenu {margin-left: 5%;}
}
@media only screen and (max-width: 1180px){
	/*Немного уменьшаем отступ меню слева, чтобы оно было по центру */
	.head .mainmenu {margin-left: 3%;}
}	

@media only screen and (max-width: 1100px){	
	/*Убираются подсказки*/
	.head_firstline .description{display:none !important;}
}

@media only screen and (max-width: 1020px){
	/*Немного уменьшаем отступ меню слева, чтобы оно было по центру */
	.head .mainmenu{margin-left: 2%;}

}
@media only screen and (max-width: 980px){
	/* Ссылки справа уезжают вниз, ставятся в одну строчку */
	.left_links{padding: 4px 8px 3px 0; width:420px;}
	.left_links div{display:inline-block;}
	
	/*Уменьшаем размер формы поиска*/
	.search_block2{width: 700px;}
	.search_block2 .search-input {width:265px;}
}

@media only screen and (max-width: 950px){
	/*Cсылки на сайты (.another_sites) переезжают вверх, подсказки возвращаем*/
	.head_firstline .another_sites{float:none; padding-bottom:3px; text-align:right;}
	.head_firstline #vertical_line_3{display:none;}
	.head_firstline #vertical_line_2{display:none;}
	.head_firstline .registration{float:right;}
	.head_firstline .description{display:inline;}

	/* Уменьшаются отступы сайта справа и слева */
	.lwpadding{
		padding-left:2% !important;
		padding-right:2% !important;
	}
	.lwblock{
		margin:0 2% !important;
	}

	/*Уменьшаем размер формы поиска*/
	.search_block2{width: 750px;}
	.search_block2 .search-input {width:315px;}
}


@media only screen and (max-width: 750px){
	/*Уменьшаем размер формы поиска*/
	.search_block2{width: 660px;}
	.search_block2 .search-input {width:215px;}
	
	
}

@media only screen and (max-width: 690px){
	/*Подсказки снова убираем*/
	.head_firstline .description{display:none !important;}

	/* Уменьшаются отступы сайта справа и слева */
	.lwpadding{
		padding-left:1% !important;
		padding-right:1% !important;
	}
	.lwblock{
		margin:0 1% !important;
	}
	

	/*Уменьшаем размер формы поиска*/
	.search_block2{width: 600px;}
	.search_block2 .search-input {width:215px; padding:16px 1px 16px 16px;}
	.search_block2 #select-where {width:170px;}




}
@media only screen and (max-width: 640px){

	/*Уменьшаем размер формы поиска*/
	.search_block2{width: 498px;}
	.search_block2 .search-input {width:170px;}
	.search_block .main-icons-find{padding: 14px 2px 14px 10px;}
	.search_block2 .vertical_line_search{margin:10px 5px;}


}
@media only screen and (max-width: 540px){
	/* Ccылки справа уходят под меню и становятся в одну строчку */
	.left_links{padding: 3px 8px 3px 0; width:330px;}

	/* Убираем слово "Поиск" из формы поиска*/
	.search_block2{width: 413px;}
	.search_block2 .main-icons-find{max-height:30px;}
	.search_block2 .main-icons-find .search-button{display:none;}
	.search_block .main-icons-find{padding: 14px 2px; width:26px;}
	.search_block .main-icons-find-container{width:26px; overflow: hidden;}
}

@media only screen and (max-width: 490px){
	/*Меняем название сайта СМ с длинного на короткое*/
	.head_firstline .another_sites A .spb_mitr_shorttitle{display:inline-block !important;}
	.head_firstline .another_sites A .spb_mitr_fulltitle{display:none !important;}
	.head_firstline .another_sites{float:none; padding-bottom:3px; text-align:left;}

	/*.search_block{height:140px;}
	.search_block2 {height:100px; width:90%;}
	.search_block2 .search-input {width: 90%;}
	.search_block .vertical_line{display:none;}
	.search_block .main-icons-find {float:right;  margin-right: 10px;}
	.search_block2 .main-icons-arrow{float:left;}*/

	.search_block2	{width:90%;}
	.search_block2 .search-input {width: 80%;}
	.search_block2 #select-where-button,.search_block2 #select-where {display:none;}
	.search_block .main-icons-find-container{width: 10%;}



}
@media only screen and (max-width: 400px){
	.head .mainmenu{margin-left: 0;}
	.head .horizontal-multilevel-menu li a.root-item,
	.head .horizontal-multilevel-menu li a.root-item-selected{
		padding:5px 25px 5px 5px !important;
	}
}	
@media only screen and (max-width: 390px){
	/*Регистрацию в отдельную строчку внизу */
	.head_firstline .registration{padding-top:3px;}
	.head_firstline .social {
    	float: none;
    	margin: 0 5px;
    	text-align: left;
	}
	.left_links{width:auto;}

	.search_block2 .search-input {width: 75%;}
	

}
@media only screen and (max-width: 350px){

	/*Меняем название сайта СМ с короткого на длинное*/
	.head_firstline .another_sites A .spb_mitr_fulltitle{display:inline-block !important;}
	.head_firstline .another_sites A .spb_mitr_shorttitle{display:none !important;}
	
	.head .mainmenu{
		width:auto;
		
	}
}