/* Custom Elastislide Styling */
*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.js .fixed-bar {
	position: fixed;
	width: 100%;
	left: 0;
	bottom: 0;
}

.js .gallery {
	width: 100%;
	max-width: 450px;
	margin: 0 auto;
	border-radius: 20px;
	position: relative;
	background-color: rgba(56,11,97, .6);
	/* background: #000 url(../images/black_denim.png);
	box-shadow: 0 2px 1px rgba(255,255,255,0.9), 0 -2px 1px rgba(255,255,255,0.9); */
}

.lt-ie8 .elastislide-list {
	display: none;
}

@media screen and (max-width: 690px) {
	.codrops-demos {
		float: left;
		clear: both;
	}
}


}

.elastislide-horizontal {
	background-color: transparent;
	border-radius: 20px 20px 0 0;
}

.elastislide-horizontal.elastislide-loading {
	background-image: url(../images/loading_dark.gif);
}

.elastislide-carousel ul li a{
	padding: 2px;
}

.elastislide-carousel ul li a img {
	border-radius: 10px;
	border: none;
	box-shadow: 0 1px 2px #000;
}

.elastislide-wrapper nav span {
	background-color: #666;
	/* box-shadow: inset 0 1px 1px rgba(0,0,0,0.2); */
}

.image-preview img {
	border-radius: 20px;
	max-width: 100%; 
	display: block;
	margin-left:auto;
margin-right:auto;
}



.elastislide-carousel ul li.current-img a img {
	box-shadow: 0 0 3px 2px rgba(62,235,255,0.8);
}

@media screen and (max-width: 460px) {
	.demo-3 .elastislide-horizontal {
		padding: 10px 40px;
	}
}
