.sl-slider-wrapper {
	width: 800px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

.sl-slider {
	position: absolute;
	top: 0;
	left: 0;
}

/* Slide wrapper and slides */

.sl-slide,
.sl-slides-wrapper,
.sl-slide-inner {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
} 

.sl-slide {
	z-index: 1;
}

/* The duplicate parts/slices */

.sl-content-slice {
	overflow: hidden;
	position: absolute;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	background: #fff;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	opacity : 1;
}

/* Horizontal slice */

.sl-slide-horizontal .sl-content-slice {
	width: 100%;
	height: 50%;
	left: -200px;
	-webkit-transform: translateY(0%) scale(1);
	-moz-transform: translateY(0%) scale(1);
	-o-transform: translateY(0%) scale(1);
	-ms-transform: translateY(0%) scale(1);
	transform: translateY(0%) scale(1);
}

.sl-slide-horizontal .sl-content-slice:first-child {
	top: -200px;
	padding: 200px 200px 0px 200px;
}

.sl-slide-horizontal .sl-content-slice:nth-child(2) {
	top: 50%;
	padding: 0px 200px 200px 200px;
}

/* Vertical slice */

.sl-slide-vertical .sl-content-slice {
	width: 50%;
	height: 100%;
	top: -200px;
	-webkit-transform: translateX(0%) scale(1);
	-moz-transform: translateX(0%) scale(1);
	-o-transform: translateX(0%) scale(1);
	-ms-transform: translateX(0%) scale(1);
	transform: translateX(0%) scale(1);
}

.sl-slide-vertical .sl-content-slice:first-child {
	left: -200px;
	padding: 200px 0px 200px 200px;
}

.sl-slide-vertical .sl-content-slice:nth-child(2) {
	left: 50%;
	padding: 200px 200px 200px 0px;
}

/* Content wrapper */
/* Width and height is set dynamically */
.sl-content-wrapper {
	position: absolute;
}

.sl-content {
	width: 100%;
	height: 100%;
	background: #fff;
}

/* Default styles for background colors */
.sl-slide-horizontal .sl-slide-inner {
	background: #ddd;
}

.sl-slide-vertical .sl-slide-inner {
	background: #ccc;
}
/* custom */

.demo-2 .sl-slider-wrapper {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.demo-2 .bg-img {
	padding: 0px;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	-webkit-background-size: 100%;
	-moz-background-size: 100%;
	background-size: 100%;
	background-position: center center;
}

/* Custom navigation dots */

.nav-dots {
	text-align: center;
	position: absolute;
	bottom: 2%;
	height: 30px;
	width: 100%;
	left: 0;
	z-index: 1000;
}

.nav-dots span {
	display: inline-block;
	position: relative;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	margin: 3px;
	background: #ddd;
	background: rgba(150,150,150,0.4);
	cursor: pointer;
	box-shadow: 
		0 1px 1px rgba(255,255,255,0.4), 
		inset 0 1px 1px rgba(0,0,0,0.1);
}

.demo-2 .nav-dots span {
	background: rgba(150,150,150,0.1);
	margin: 6px;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-ms-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
	box-shadow: 
		0 1px 1px rgba(255,255,255,0.4), 
		inset 0 1px 1px rgba(0,0,0,0.1),
		0 0 0 2px rgba(255,255,255,0.5);
}

.demo-2 .nav-dots span.nav-dot-current,
.demo-2 .nav-dots span:hover {
	box-shadow: 
		0 1px 1px rgba(255,255,255,0.4), 
		inset 0 1px 1px rgba(0,0,0,0.1),
		0 0 0 5px rgba(255,255,255,0.5);
}

.nav-dots span.nav-dot-current:after {
	content: "";
	position: absolute;
	width: 10px;
	height: 10px;
	top: 3px;
	left: 3px;
	border-radius: 50%;
	background: rgba(255,255,255,0.8);
}


/* BG slide */

.demo-2 .bg-img-1 {
	background-image: url(../photos/n-photo1-600.jpg);
	background-repeat: no-repeat;
}
.demo-2 .bg-img-2 {
	background-image: url(../photos/n-photo2-600.jpg);
	background-repeat: no-repeat;
}
.demo-2 .bg-img-3 {
	background-image: url(../photos/n-photo3-600.jpg);
	background-repeat: no-repeat;
}

@media screen and (max-width: 320px) {
	.sl-slider-wrapper {
		height: 140px;
	}
    .demo-2 .bg-img-1 {
    	background-image: url(../photos/n-photo1-350.jpg);
    	background-repeat: no-repeat;
    }
    .demo-2 .bg-img-2 {
    	background-image: url(../photos/n-photo2-350.jpg);
    	background-repeat: no-repeat;
    }
    .demo-2 .bg-img-3 {
    	background-image: url(../photos/n-photo3-350.jpg);
    	background-repeat: no-repeat;
    }
}
@media screen and (min-width: 321px) and (max-width: 639px) {
	.sl-slider-wrapper {
		height: 200px;
	}
    .demo-2 .bg-img-1 {
    	background-image: url(../photos/n-photo1-350.jpg);
    	background-repeat: no-repeat;
    }
    .demo-2 .bg-img-2 {
    	background-image: url(../photos/n-photo2-350.jpg);
    	background-repeat: no-repeat;
    }
    .demo-2 .bg-img-3 {
    	background-image: url(../photos/n-photo3-350.jpg);
    	background-repeat: no-repeat;
    }
}
@media screen and (min-width: 640px) and (max-width: 1023px) {
	.sl-slider-wrapper {
		height: 250px;
	}
}
@media screen and (min-width: 1024px) and (max-width: 1199px) {
	.sl-slider-wrapper {
		height: 400px;
	}
}
@media screen and (min-width: 1199px) and (max-width: 1599px) {
	.sl-slider-wrapper {
		height: 450px;
	}
}
@media screen and (min-width: 1600px) {
    .sl-slider-wrapper {
    	height: 580px;
    }
    .demo-2 .bg-img-1 {
    	background-image: url(../photos/n-photo1.jpg);
    	background-repeat: no-repeat;
    }
    .demo-2 .bg-img-2 {
    	background-image: url(../photos/n-photo2.jpg);
    	background-repeat: no-repeat;
    }
    .demo-2 .bg-img-3 {
    	background-image: url(../photos/n-photo3.jpg);
    	background-repeat: no-repeat;
    }
}
