/**
 * Created on : 08.11.2015, 16:16:38
 * @author    : Pavel Khoroshkov aka pgood
 */

 .bg_slider{
	margin: 90px 0 0 0;
	padding: 0 15px 0 15px;
}
.bg_slider figure{
	position: relative;
	text-align: center;
	width: 100%;
	overflow: hidden;
	height: 500px;
	max-height: 500px;
	margin: 0px;
	border-radius : 7px;
}
.text_figure{
	position: relative;
	z-index: 99;
	padding: 10px;
	top: 40%;
	left: 50%;
	margin-left: -250px;
	max-width: 500px;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.6);
	color: #FFFFFF;
	font-size: 30px;
	border-radius: 10px;
	text-decoration: none;
}
.bg_slider a{
	text-decoration: none;
}
.bg_slider figure img{
	position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
	margin: auto;
	border-radius : 7px;
	width: 100%;
	object-fit: cover;
	text-decoration: none;
	
}
.bg_slider > figure{
	visibility: hidden;
}
.bg_slider > figure:first-child{
	visibility: visible;
}
.bg_slider figure > figcaption{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,.5);
	padding: 20px;
	color: #FFFFFF;
}
pre.prettyprint.prettyprinted{
	padding: 10px 20px;
	border: 1px solid #ccc;
	margin:0 0 40px;
}
.slider-buttons{
	margin: 0 0 40px;
}
.material-icons{
	vertical-align: text-bottom;
}
.loopslider-pagination{
	position: absolute;
	text-align: center;
	width: 100%;
	margin-top: -55px;
	margin-left: -20px;
	z-index: 8;
}
.bg-nav-item{
	width: 90%;
}
.loopslider-page-nav-item{
	background-color: #E6E7E8;
	width:15px;
	height:15px;
	border-radius:50%;
}
.loopslider-page-nav-item.loopslider-active,
.loopslider-page-nav-item:hover{
	background:#a53b85;
}
.container_cat_home{
	/* display: none; */
	position: absolute;
	width: 100%;
	margin: 0px;
	margin-top: -210px;
	text-align: center;
}
.container_cat_home .row{
	margin: 0px;
}
.bg_cat_slide{
	padding-left: 150px;
	padding-right: 150px;
	text-align: center;
}
.main_cat_slide{
	float: left;
	width: 100%;
	/* margin-left: 25%; */
	height: 350px;
	text-align: center;
	/* background:#a53b85; */
}
.row_cat_slide{
	float: left;
	width: 18.5%;
	padding: 7.5px;
	margin-top: 50px;
}
.row_cat_slide.center_float{
	float: left;
	width: 26%;
	padding: 7.5px;
	margin-top: 0px;
}
.row_cat_slide.edge_float{
	margin-top: 100px;
}
.row_cat_slide .cat_slide{
	height: 250px;
	border-radius: 10px;
	background:#FFFFFF;
	-webkit-box-shadow: 0 0 11px rgba(33,33,33,0.3);
}
.row_cat_slide.edge_float .cat_slide{
	height: 150px;
}
.row_cat_slide.center_float .cat_slide{
	height: 350px;
}
.row_cat_slide .cat_slide img{
	border-radius: 10px;
	width: 100%;
	height: 250px;
    object-fit: cover;
}
.row_cat_slide.edge_float .cat_slide img{
	border-radius: 10px;
	width: 100%;
	height: 150px;
    object-fit: cover;
}
.row_cat_slide.center_float .cat_slide img{
	border-radius: 10px;
	width: 100%;
	height: 350px;
    object-fit: cover;
}

.bg_welcome_home.create{
	/* margin-top: 170px; */
}

.bg_singel_page{
    /* background-color: #A4508E; */
	/* color: #FFFFFF; */
	margin-top: 90px;
	margin-bottom: 10px;
	padding-top: 20px;
	padding-bottom: 20px;
}
.bg_singel_page .text p{
	font-size: 14px;
}


@media all and (max-width: 1100px){
	.container_cat_home{
		display: none;
	}
	.bg_welcome_home.create{
		margin-top: auto;
	}
}
@media all and (max-width: 970px){
    .bg_slider figure{
		height: 300px;
		width: auto;
	}
	.text_figure{
		margin-left: -250px;
		font-size: 16px;
	}
}
@media all and (max-width: 770px){
    .bg_slider figure{
		height: 200px;
		width: auto;
	}
	.bg_slider{
		margin-top: 90px;
	}
}
@media all and (max-width: 640px){
    .header-slider figure{
		height: 150px;
		width: auto;
	}
	.text_figure{
		max-width: 300px;
		margin-left: -150px;
		font-size: 16px;
	}
	.bg_slider{
		margin-top: 80px;
	}
	.loopslider-pagination{
		display: none;
		margin-top: -95px;
		margin-left: 10px;
	}
	.loopslider-page-nav-item{
		width:10px;
		height:10px;
	}
}