/*Слайдер*/
.hc_slider_tovar{
	max-width: 500px;
	margin: 0 auto;
	padding-bottom: 20px;
}
.hc_visible_cont{
	position: relative;
	border:solid 15px #fefbf4;
	border-radius: 8px;
	box-shadow: 0 0 13px rgba(0,0,0,0.14);
}
.hc_visible_box{
	overflow: hidden;
	position: relative;
	background: #fefbf4;
}
.hc_visible_slide{
	cursor: -webkit-zoom-in;
	cursor: zoom-in;
	padding-top:100%;
}
.hc_slide_next,
.hc_slide_prev,
.hc_thumb_next,
.hc_thumb_prev{
    cursor:pointer;
    position: absolute;
    top:0;
    bottom:0;
    background:url(../img/hc-left-sl.png)no-repeat center;
    display: none;
    transition: background-color 0.3s;
    z-index: 1;
}
.hc_slide_next,
.hc_slide_prev{
    width: 50px;
    background-size: 40px;
}
.hc_thumb_next,
.hc_thumb_prev{
    width: 30px;
    background-size: 30px;
}
.hc_slide_next:hover,
.hc_slide_prev:hover,
.hc_thumb_next:hover,
.hc_thumb_prev:hover{
	/*background-color: rgba(0,0,0,0.3);*/
}
.hc_slide_prev,
.hc_thumb_prev{
	left:0;
}
.hc_slide_next,
.hc_thumb_next{
	right:0;
	-webkit-transform:rotate(180deg);
	    -ms-transform:rotate(180deg);
	        transform:rotate(180deg);
}
.hc_thumbnail_cont{
	position: relative;
	margin-top:10px;
}
.hc_thumbnail_box{
	position: relative;
	overflow: hidden;
	display: none;
}
.hc_thumbnail_container{
	padding-top: 10px;
	padding-bottom: 10px;
	position: relative;
	left:0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: calc(100% + 10px);
	-webkit-transition:left 0.3s;
	-o-transition:left 0.3s;
	transition:left 0.3s;
}
.hc_thumbnail_parent{
	min-width:calc(25% - 10px);
	margin-right:10px;
	border:solid 5px #fefbf4;
	border-radius: 3px;
	box-shadow: 0 0 10px rgba(0,0,0,0.18);
	overflow: hidden;
	cursor: pointer;
	background: white;
	opacity: 1;
}
.hc_thumbnail_parent:last-child{
    margin-right: 0;
}
.hc_thumbnail_parent.active{
    opacity: 0.7;
}
.hc_thumbnail{
    padding-top: 100%;
}
/*Карусели*/
.hc_carousel{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	padding-bottom: 10px;
}
.hc_carousel_box{
	overflow: hidden;
	max-width: 100%;
}
.hc_carousel_container{
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	top:0;
	left:0;
	padding: 20px 0;
}
.hc_carousel_next,
.hc_carousel_prev{
	cursor:pointer;
	min-width: 30px;
	width: 30px;
	background: url(../img/hc-left-sl.png)no-repeat center center;
	background-size: contain;
	display: none;
	transition: background-color 0.3s;
}
.hc_carousel_next{
	transform: rotate(180deg);
}
.hc_carousel_next:active,
.hc_carousel_prev:active{
	/*background-color: rgba(0,0,0,0.3);*/
}
.hc_carousel_slide{
	padding: 0 15px;
}
.hc_body_slide{
	border:solid 15px #fefbf4;
	border-radius: 8px;
	box-shadow: 0 0 13px rgba(0,0,0,0.14);
}
.hc_carousel_img{
	padding-top: 80%;
	cursor: pointer;
}
.sertificates_box .hc_carousel_img{
	padding-top: 150%;
}
/*Плитки*/
.hc_cont_img{
	max-width: 500px;
	margin: 0 auto 30px;
	border:solid 15px #fefbf4;
	border-radius: 8px;
	box-shadow: 0 0 18px rgba(0,0,0,0.14);
}
.hc_gallery_tile{
	padding-top: 75%;
	cursor: pointer;
}
/*fancybox*/
.hc_gallery_view_box{
	position: fixed;
	top:0;
	left: 0;
	right: 0;
	bottom: 0;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
	z-index: 3000;
	display: none;
	user-select:none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.img_gallery_container{
	position: relative;
	border:10px solid white;
	border-radius: 5px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	line-height: 0;
	display: none;
}
.hc_gallery_plen{
	position: absolute;
	top:0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.5);
}
.hc_close_gallery{
	cursor: pointer;
	position: absolute;
	width: 36px;
	height: 36px;
	top:-25px;
	right:-25px;
	opacity: 1;
	background: url(../img/hc_gallery_box_sprite.png);
	background-position: -1px 0;
}
.hc_gal_next,
.hc_gal_prev{
	cursor: pointer;
	position: absolute;
	width: 30%;
	bottom: 0;
	top:0;
	display: none;
}
.hc_gal_next{
	right:0px;
}
.hc_gal_prev{
	left:0px;
}
.hc_gal_next:after,
.hc_gal_prev:after{
	content:'';
	position: absolute;
	width: 36px;
	height: 36px;
	background: url(../img/hc_gallery_box_sprite.png);
	margin:0 10px;
	top: calc(50% - 18px);
}
.hc_gal_next:after{
	right: 0;
    background-position: 1px -71px;
}
.hc_gal_prev:after{
	left: 0;
	background-position: 0px -35px;
}
.sl_load{
	width: 50px;
	height: 50px;
	position: absolute;
	top: calc(50% - 25px);
	left: calc(50% - 25px);
	background: rgba(0,0,0,0.5);
	border-radius: 5px;
	background:rgba(0,0,0,0.7) url(../img/loading.gif)no-repeat center;
	background-size:30px;
	display: none;
}