/*
Theme Name: GHA
Theme URI: http://dha.gov.by/
Author: Andrei
Author URI: http://ivanou89@ya.ru/
Description: topic for site gha.by
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
*{
	margin: 0;
	padding: 0;
}

html, body{
	font-family: Open Sans;
	font-size: 100%;
	height: 100%;
}
h1,h2,h3,h4,h5,h6{
	color: #1d2f5e;
}

@font-face{
font-family: Gaviar Dreams;
src: url(fonts/Gaviar-Dreams.ttf);
}

@font-face{
font-family: Gaviar Dreams Bold;
src: url(fonts/Gaviar-Dreams-Bold.ttf);
}

@font-face{
font-family: Open Sans;
src: url(fonts/Open-Sans.ttf);
}

@font-face{
font-family: Open Sans light;
src: url(fonts/Open-Sans_light.ttf);
}

@font-face{
font-family: Proxima Nova light;
src: url(fonts/Proxima-Nova_light.ttf);
}

@font-face{
font-family: Icoomon;
src: url(fonts/icomoon.ttf);
}

header{
	width: 100%;
	background-color: #fff;
	
}

#header{
	background-color: #fff;
	/*height: 294px;*/
	background: url(images/header_img.png) no-repeat right bottom;

	/*text-align: center;*/
}



#header, #content_aside_wrap{
	width: 90%;
	max-width: 1400px;
	margin: 0 auto;
}

#header_top{
	display: table;
	width: 100%;
	min-height: 44px;
	background-color: #37425e;
	/*text-align: right;*/
}

#header_top_left{
	display: table-cell;
	width: 50%;
	font-size: 16px;
	padding-left: 1.875em;
	vertical-align: middle;
	color: #fff;
	height: 44px;
	text-align: left;
}

#header_top_left p{
	float: left;
	display: inline-block;
}

#header_top_left ul{
	display: inline-block;
	list-style-type: none;
	margin-left: 10px;
}

#header_top_left ul li{
	display: inline-block;
	margin-left: 5px;
}

#header_top_left a{
	color: #fff;
	text-decoration: none;
}


#header_top_right{
	display: table-cell;
	text-align: right;
	vertical-align: middle;
	padding-right: 30px;
	width: 50%;
}

#header_top form input[type="search"]{
	min-width: 270px;
	height: 26px;
	padding-left: 5%;
	border: 0;
	border-radius: 8px;
	background: url(images/lupa.png) no-repeat  2% 50% #fff;
}

#header_bottom{
	position: relative;
	width: 100%;
	height: 250px;
}

#header_left{
	float: left;
	position: relative;
	font-size: 16px;
	width: calc(30%-1.875em);
	padding-left: 1.875em;
	padding-top: 0.938em;
	
}

img#knopka_zapis{
	/*margin-left: 7%;*/
	text-align: left;
	width: 100%;
}

#header_contact{
	display: inline-block;
	text-align: right;
	letter-spacing: 0.05em;
}



#header_left p{
	line-height: 1.5em;
	margin-bottom: 0em;
}

#header_left p:nth-child(2){
	margin-top: 0.5em;
}

#header_left p:nth-child(2)~p{
	text-align: right;
}

#canz{
	margin-bottom: 0;
}

#canz {
	font-weight: bold;
	display: inline-block;
	margin-bottom:  1.25em;
}

#priem{
	margin-top: -0.8em;
	margin-bottom: 0;
}

#priem span{
	font-weight: bold;
	display: inline-block;
	margin-top: 0.62em;
	margin-bottom:  1.25em;
}

#header_center{
	display: inline-block;
	position: relative;
	font-size: 16px;
	width: 60%;
	height: 100%;
	text-align: center;
	background-color: hsla(0,0%,100%, 0.1);
}

#header h1{
	font-size: 1.25em;
	font-family: Gaviar Dreams Bold;
}

#header h2{
	font-size: 0.875em;
	font-family: Gaviar Dreams;
	color: #26469a;
	margin-bottom: 5px;
}

img#gerb{
	margin-top: -20px;
	background-color: #fff;
	padding: 15px;
	border-radius: 50%;
}

#hours{ /*Блок время работы*/
	position: absolute;
	font-size: 16px;
	right: 5%;
	top: 10%;
}

#hours p{
	text-align: left;
}

#header_smart{
	display: none;
	font-size: 18px;
	padding-left: 1.875em;
}

#header_smart #hours{
	position: static;
	display: inline-block;
}

#header_smart h2, #header_smart h1{
	margin-bottom: 0.5em;
	margin-top: 0.5em;
	text-align: center;
}

#header_smart h1{
	margin-bottom: 1.5em;
}

#header_smart p{
	margin-bottom: 0.5em;

}

#header_smart img#knopka_zapis{
	width: 180px;
}

.clear{
	width: 100%;
	clear: both;
}

#fon_wrap{
	background: url(images/fon.png) repeat;
}

#content_aside_wrap{
	position: relative;
	padding: 44px 0;
}

#content{
	margin-left: 360px;
	padding: 20px;
	padding-top: 5px;
}

#content p{
	margin-top: 10px;
}

#content a{
	color: green;
}

#content h1{
	margin-bottom: 1em;
}

#content h2 a{
	color: #37425e;
}

/*#content p:first-child{
	margin-top: 10px;
}*/

#content article{
	margin-bottom: 50px;
}

ul.last_news {
	list-style-type: none;
}

ul.last_news li{
	margin-bottom: 0px;
}

ul.last_news li:nth-child(3n+3){
	margin-bottom: 20px;
}

#content .as_button{
	/*display: inline-block;*/
	width: 200px;
	padding: 5px 0px;
	text-align: center;
}

#content  a.as_button{
	color: #fff;
}

aside{
	float: left;
	width: 340px;
	text-align: center;
}

#accordeon_menu{
	text-align: left;
}

.as_block{
	background-color: #949db3;
	margin-top: 40px;
	padding: 15px;
	color: 	#fff;
}

.as_block h4{
	color: #fff;
	/*font-size: 20px;*/
	font: 24px Gaviar Dreams;
	text-align: center;
	font-weight: bold;
	margin-bottom: 10px;
}

.as_block>div{
	background-color: #fff;
	color: 	#1d2f5e;
	padding: 20px;
}

.as_block>div img{
	float: left;
	margin-right: 15px;
}

.as_block>div h5{
	font-size: 20px;
	font-family: Impact;
}

.as_block>div p{
	clear: both;
	text-align: center;
	font-size: 24px;
}

.as_block span{
	font-size: 14px;
	font-weight: bold;
}

 div.as_button{
	text-align: center;
}

a.as_button{
	display: inline-block;
	background-color: #007621;
	padding: 5px 0;
	border-radius: 10px;
    text-decoration: none;
    color: #fff;
    margin-top: 15px;
    width: 100%;
}
/*Блок "Наши партнеры"*/
#partners{
	margin-top: 40px;
	text-align: left;
}

#partners p{
	margin-top: 10px;
	width: 30%;
	float: left;
	margin-right: 5%;
}

#partners a{
	color: #000;
}

.h_bb{/*Нижнее подчеркивание для заголовков*/
	border-bottom: 1px solid #1e1d1d;
	padding-bottom: 7px;
	margin-bottom: 17px;
}

.mail_bb{/*Нижнее подчеркивание для email*/
	/*display: inline-block;
	border-bottom: 1px solid #bcbcbc;*/
	background: linear-gradient(#bcbcbc, #bcbcbc) no-repeat;
	background-size: 100% 1px;
	background-position: 0 1.2em;
	text-shadow: .05em 0 #fff, -.05em 0 #fff;

}

#content .h_bb{
	display: inline-block;
	padding-right: 40px;
	margin-bottom: 40px;
	font-family: Caviar Dreams;
	font-size: 24px;
}

/*Стили для слайдера Slick*/
.slider {
        margin: 0px auto;
        overflow:hidden;
    }

    .slick-slide {
    	margin: 0px 20px;
    }

    .slick-slide img {
    	width: 90%;
    }

    .slick-prev:before,
    .slick-next:before {
      color: black;
    }

    .slick-slide {
      transition: all ease-in-out .3s;
      opacity: .2;
    }
    
    .slick-active {
      /*opacity: .5;*/
      opacity: 1;

    }

    .slick-current {
      opacity: 1;
    }

    .slick-prev::before, .slick-next::before{
    	color: #fff;
    }

    .slick-prev::before{
    	content: '\e903';
    	font-family: Icoomon;
    	color: #fff;
		height: 20px;
	    width: 30px;
	    background-color: #999;
    }

    .slick-next::before{
    	content: '\e902';
    	font-family: Icoomon;
		color: #fff;
	    width: 30px;
	    height: 20px;
	    background-color: #999;
    }

    .slick-prev{
    	/*background: rgba(0, 0, 0, 0) url("images/prev.png") no-repeat;*/
    	background-color: #e3e5e8;
    	left: 0;	
    }
    .slick-next{
    	/*background: rgba(0, 0, 0, 0) url("images/next.png") no-repeat;*/
    	right: 0;
    }

    .slick-prev:hover{
    	background: rgba(0, 0, 0, 0) url("images/prev_hover.png") no-repeat;
    	color: green;
    }

    .slick-prev:hover::before{
		color: green;
    }
    .slick-next:hover::before{
		color: green;
    }

    .slick-next:hover{
    	background: rgba(0, 0, 0, 0) url("images/next_hover.png") no-repeat;
    }
    .slick-dots li{
    	color: #000;
    }

/*Стили для блоков в слайдер*/
.slider_block{
	display: inline-block;
	float: left;
	text-align: left;
	background-color: #fff;
	/*max-width: 210px;*/
	width: 15%;
	margin-right: 0.5%;
	min-height: 260px;
	padding: 20px 0px;
	padding-left: 0.5%;
	font-size: 12px;
}

.slider_block h3{
	color: #007621;
}

.slider_block p{
	padding:20px 0px 0px 20px;
	margin: 0;
}

.slider_block .icon:before{
	margin-left: -20px;
}


.clear{
	clear: both;
}

footer{
	width: 100%;
}

#footer_top{
	/*height: 165px;*/
	background-color: #fff;
	text-align: center;
}

#footer_top div{
	display: inline-block;
	font-size: 16px;
	margin: 3.5em 0.94em;
	padding: 0.19em;
}

#footer_top div:last-child{
	margin-right: 0;
}

div.banner:hover{
	background-color: #ebebeb;
}


#footer_center{
	position: relative;
	height: 570px;
}

#contact_footer{
	position: absolute;
	top: 20px;
	right: 13%;
	width: 400px;
	height: 500px;
	padding: 15px 20px;
	background-color: #fff;
	z-index: 3000;
}

.ta-l{
	text-align: right;
}
.ta-r{
	text-align: left;
}
.ta-c{
	text-align: center;
}

.icon_location:before{
	content: "";
    float: left;
    height: 19px;
    width: 12px;
    margin: 6px 0 0 -25px;
    background: rgba(0, 0, 0, 0) url("images/icon_location.png") no-repeat;
}

.icon_mail:before{
	content: "";
    float: left;
    height: 18px;
    width: 28px;
    margin: 8px 0 0 -25px;
    background: rgba(0, 0, 0, 0) url("images/icon_mail.png") no-repeat;
}

.icon_phone:before{
	content: "";
    float: left;
    height: 28px;
    width: 27px;
    margin: 5px 0 0 -25px;
    background: rgba(0, 0, 0, 0) url("images/icon_phone.png") no-repeat;
}


#contact_footer p{
	margin-top: 15px;
	padding-left: 60px;
	font-size: 20px;
}

#contact_footer p#canz2{
	margin-top: 0;
	padding-right: 20px;
	text-align: right;
}


#contact_footer h4{
	color: #26469a;
	font-family: Gaviar Dreams;
	font-size: 28px;
}

#contact_footer h4 span{
	font-family: Gaviar Dreams Bold;
	font-size: 18px;
}

#contact_footer h5{
	color: #1d2f5e;
	font-family: Gaviar Dreams;
	font-size: 20px;
	margin-top: 20px;
}

#contact_text{
	position: relative;
}

#contact_footer img{
	display: block;
	position: absolute;
	right: 0;
	bottom: 0;
	width: 33%;
}

#contact_footer .block_left{
	width: 60%;
}

#contact_footer a.as_button{
	margin-top: 20px;
}

#footer_bottom{
	padding: 1em calc(50%-700px);
	width: 100%;
	font-size: 16px;
	padding-bottom: 3em;
	background-color: #1d2f5e;
}

#footer_bottom>*{
	/*display: table-cell;*/
	display: inline-block;
	width: 40%;
	font-size: 16px;
	padding-top: 2em;
	padding-left: 5%;
	color: #fff;
	
}

#footer_bottom p a{
	color: #fff;
}

p.fbb{
	
}

.error-404 .page-content img{
	margin: 30px 0;
}

#sitemap{

}

#sitemap>ul{
	margin-top: 1em;
}

#sitemap ul{
	list-style-type: none;
}

#sitemap ul ul{
	margin-left: 1em;
}

.pagination ul{
	list-style-type: none;
}
.pagination ul li{
	display: inline-block;
	margin: 10px;
}
.search_words{
	color: green;
}

li.doc{
	list-style-type: none;
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 	20px;

}
li.doc a,
#content li.doc a{
		color: #37425e;
		text-transform: capitalize;
}

@media screen and (max-width:1200px){
	#contact_footer{
		display: none;
	}
}

@media screen and (max-width:1000px){
	#header_top>div{
		display: inline-block;
		width: 100%;
		text-align: left;
		box-sizing: padding-box;
		padding-left: 1.875em;
	}
		#header_top{
		padding: 1em 0;
	}
	#header_bottom{
		background-color: hsla(0,0%,100%, 0.5);
	}
	#hours{ /*Блок время работы*/
	right: 0%;
	top: 10%;
}
}
@media screen and (max-width:900px){

	#footer_bottom>*{
		display: inline-block;
		width: 90%;
		text-align: left;
		box-sizing: padding-box;
		padding-left: 1.875em;
		padding-right: 0.125px;
	}
	
	#hours{

	}
	#partners{
		display: none;
	}
	aside{
		width: 100%;
	}

	.as_block{
		display: inline-block;
		width: 40%;
		margin: 1em;

	}
	#content{
		margin-left: 0;
	}

	#contact_footer{
		display: none;
	}
}

@media screen and (max-width:820px){
	#header_center{
		font-size: 0.9em;
		width: 55%;
	}
	#gerb{
		width: 30%;
		margin-bottom: 1em;
	}
	#hours{
		top: -35%;
		right: 5%;
		color: #fff;
	}

}




@media screen and (max-width:800px){
	#footer_top div{
		width: 40%;
		margin: 1em 0.94em; 
	}
}

@media screen and (max-width:720px){
	.as_block{
		display: none;
	}
}

@media screen and (max-width:720px){
	#header_center{
		font-size: 0.8em;
		width: 50%;
	}
	#hours{
		top: -35%;
		right: 0%;
	}
}

@media screen and (max-width:650px){
	#header_center{
		width: 46%;
		font-size: 0.9em;
	}
	#header_center h1, #header_center h2{
		margin-bottom: 1em;
		text-align: center;

	}
	#header_center h2{
		margin-top: 8em;
	}
	#gerb{
		display: none;
	}
	#hours{
		top: 5%;
		right: 4%;
		color: #000;
	}

}

@media screen and (max-width:600px){

	#header_bottom{
		display: none;
	}
	#header_smart{
		display: block;
	}
	#header{
	background: url(images/header_img.png) no-repeat right bottom;
}
	aside{
		padding-left: 0.5em;
		padding-right: 0.5em;
	}
	#header, #content_aside_wrap{
		width: 95%;
	}
	#accordeon_menu{
		padding: 0 1em;
		width:90%;
	}

}


.fc-event .fc-bg{
	background: #37425e !important;
}

.ya-share2 .ya-share2_inited{
	display: none !important;
	bottom:0 !important;
}