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

.bg_slider{
	margin: 0px;
	padding: 0px;
}
.bg_slider figure{
	position: relative;
	text-align: center;
	width: 100%;
	overflow: hidden;
	height: 500px;
	max-height: 500px;
	margin: 0px;
}
.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;
	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;
	width: 100%;
	margin-top: -40px;
	z-index: 8;
}
.loopslider-page-nav-item{
	background-color: #E6E7E8;
	width:13px;
	height:13px;
	border-radius:50%;
}
.loopslider-page-nav-item.loopslider-active,
.loopslider-page-nav-item:hover{
	background:#DA251E;
}
@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;
	}
}
@media all and (max-width: 640px){
    .header-slider figure{
		height: 150px;
		width: auto;
	}
	.text_figure{
		max-width: 300px;
		margin-left: -150px;
		font-size: 16px;
	}
}