/* 13.09.2016 
Баннер на главной */

.slider-item .content .col{
	width:100%;
	height:200px;
}

.slider-item-text{
	margin-top:0px;
	background:none;
	padding: 20px 40px 40px;
}

.slider-item .h1{
	height:auto;
}

.slider-item-description{
	min-height:auto;
}

.mb0{
	margin-top:20px;
}

.useful{
	margin-left:80px;
}

.useful_img{
	margin-left: 25px;
}







/* custom styles */
/* Left menu*/
ul.left-menu
{
	list-style:none;
	margin:0; padding:0;
	margin-bottom:8px;
	position: relative; /*IE bug*/
}

ul.left-menu li
{
	padding: 10px 16px;
	background:#F5F5F5 url(../images/left_menu_bg.gif) top repeat-x;
}

ul.left-menu li a
{
	font-size:100%;
	color:#BC262C;
	font-weight:bold;
	text-decoration:none;
}

ul.left-menu li a:visited
{
	color:#BC262C;
}

ul.left-menu li a:hover
{
	color:#BC262C;
}


ul.left-menu li a.selected:link,
ul.left-menu li a.selected:visited,
ul.left-menu li a.selected:active,
ul.left-menu li a.selected:hover
{
	color:#FC8D3D;
}



/* галерея на главной */

.gallery {
	background-image:url(/../../images/gallery_background.jpg);
	background-position:center;
	background-size:cover;
}

.gallery_containter:after {
	content: '';
	display: block;
	width: 100%;
	clear: both;
}

.gallery_header{
	margin-bottom: 0;
	font-size: 30px;
	color: rgb(255, 255, 255);
	line-height: 1.2;
}

.gallery_image {
	position: relative;
	padding-top: 60%;
	width: 100%;
    height: auto;
    background: no-repeat center;
	background-size: cover;
    border: 3px solid white;
    border-radius: 4px;
}
.gallery_image .fancybox-images {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
    height: 100%;
}
.gallery_image .fancybox-images:hover {
	background: url(/../images/plus.png) no-repeat center rgba(0,0,0,0.4);
}
.mainpage-banners {
	text-align: center;
	margin-bottom: -60px;
}
.footer-banners  {
	margin-top: -40px;
	text-align: center;
	margin-bottom: 40px;
	display: inline-block;
	width: 100%;
}

.header-info-block {
	margin-top: 5px;
	width: 100%!important;
}

.useful_header {    margin-bottom: 0;
    font-size: 30px;
    color: #333333;
    line-height: 1.2;
}
.useful_slider {
	box-sizing: border-box;
	margin: 20px 0;
	padding: 0 30px;
}
.useful_slider .item {
	margin: 0 10px;
	text-align: center;
	font-size: 0;
}
.useful_slider .item a {
	display: inline-block;
	background: no-repeat center;
	background-size: contain;
	margin: 10px 0 5px;
	padding-top: 55%;
	width: 100%;
	max-width: 250px;
	height: auto;
	
	-webkit-transition: transform 0.6s;
	-moz-transition: transform 0.6s;
	transition: transform 0.6s;
}
.useful_slider .item a:hover {
	-webkit-transform: scale(1.05);
	-moz-transform: scale(1.05);
	transform: scale(1.05);
}
.useful_slider.owl-theme .owl-controls .owl-buttons .owl-prev,
.useful_slider.owl-theme .owl-controls .owl-buttons .owl-next {
	position: absolute;
	top: 50%;
	background: url(../images/all-icons.png) no-repeat #a42338;
    background-size: 225px;
	opacity: 0;
	margin-top: -15px;
	padding: 0;
    height: 30px;
    width: 30px;
	
	-webkit-transition: opacity 0.3s;
	-moz-transition: opacity 0.3s;
	transition: opacity 0.3s;
}
.gallery_image_slider.useful_slider.owl-theme .owl-controls .owl-buttons .owl-prev,
.gallery_image_slider.useful_slider.owl-theme .owl-controls .owl-buttons .owl-next { background-color: #16381d; }
.useful_slider.owl-theme:hover .owl-controls .owl-buttons .owl-prev,
.useful_slider.owl-theme:hover .owl-controls .owl-buttons .owl-next {
	opacity: 0.5;
}
.useful_slider.owl-theme .owl-controls .owl-buttons .owl-prev:hover,
.useful_slider.owl-theme .owl-controls .owl-buttons .owl-next:hover {
	opacity: 1;
}
.useful_slider.owl-theme .owl-controls .owl-buttons .owl-prev {
    left: 0;
	background-position: -109px 4px;
}
.useful_slider.owl-theme .owl-controls .owl-buttons .owl-next {
	right: 0;
	background-position: -107px -18px;
}

.main-primary-border-box {overflow: hidden;}
.gallery_containter-main .gallery_image_wrapper p {height:40px; max-height: 40px; overflow: hidden;}