@import url(http://fonts.googleapis.com/css?family=Varela+Round);
/*
html, body { background: #333 url("http://codepen.io/images/classy_fabric.png"); }
*/
.slides {
    padding: 0;
    width: 660px;
    min-height: 590px/*555px*/;
	height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
	list-style:none;
}

@media screen and (min-height: 770px) {
	.slides{
		width: 840px;
		min-height: 740px;
	}
}

@media screen and (min-height: 920px) {
	.slides{
		width:1000px;
		min-height:800px;
	}
}

.slides * {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.slides input { display: none; }

.slide-container { display: block; }

.slide {
    top: 0;
    opacity: 0;
    width: 660px;
    height: 495px;
    display: block;
    position: absolute;
	
	
    transform: scale(0);

    transition: all .7s ease-in-out;
	
}

@media screen and (min-height: 770px) {
	.slide{
		width: 850px;
		height: 637.5px;
	}
}

@media screen and (min-height: 920px) {
	.slide{
		width:1000px;
		height:750px;
	}
}

.slide img {
    /*width: 100%;*/
    height: 100%;
}

.nav label {
    width: 100px;
    height: 495px;
    display: none;
    position: absolute;

	opacity: 0;
    z-index: 9;
    cursor: pointer;

    transition: opacity .2s;

    color: #FFF;
    font-size: 80pt;
    text-align: center;
    line-height: 495px;/*380px;*/
    font-family: "Varela Round", sans-serif;
    /*background-color: rgba(255, 255, 255, .3);*/
    text-shadow: 0px 0px 15px rgb(119, 119, 119);
	padding-top:200px;
}

@media screen and (min-height: 770px) {
	.nav label{
		height:637.5px;
		width:150px;
		font-size:118px;
	}
}

@media screen and (min-height: 920px) {
	.nav label{
		height:750px;
		width:200px;
		font-size:156px;
	}
}

.slide:hover + .nav label { opacity: 0.8 /*0.5*/; }

.nav label:hover { opacity: 1; /* 0.7 */}

.nav .next { right: 0; }

input:checked + .slide-container  .slide {
    opacity: 1;

    transform: scale(1);

    transition: opacity 1s ease-in-out;
}

input:checked + .slide-container .nav label { display: block; }

.nav-dots {
	width: 100%;
	top: 505px;
	/*height: 11px;*/
	height:auto;
	display: block;
	position: absolute;
	text-align: center;
	list-style: none;
	/*overflow: auto;
    overflow-x: hidden;
    overflow-y: hidden;*/
}

@media screen and (min-height: 770px) {
	.nav-dots{
		top: 647.5px;
	}
	
	.nav label{
		line-height:637.5px;
		
	}
}

@media screen and (min-height: 920px) {
	.nav-dots{
		top: 760px; 

	}
	.nav label{
		line-height:750px;
		
	}
}

.nav-dots .nav-dot {
	top: -5px;
	/*width: 11px;
	height: 11px;*/
	margin: 0 4px;
	position: relative;
	border-radius: 100%;
	display: inline-block;
	background-color: rgba(0, 0, 0, 0.3);
	list-style:none;
	opacity: 0.7;
}

.nav-dots .nav-dot:hover {
	cursor: pointer;
	/*background-color: rgba(0, 0, 0, 0.8);*/
	opacity: 0.7;
}

input#img-1:checked ~ .nav-dots label#img-dot-1,
input#img-2:checked ~ .nav-dots label#img-dot-2,
input#img-3:checked ~ .nav-dots label#img-dot-3,
input#img-4:checked ~ .nav-dots label#img-dot-4,
input#img-5:checked ~ .nav-dots label#img-dot-5,
input#img-6:checked ~ .nav-dots label#img-dot-6, 
input#img-7:checked ~ .nav-dots label#img-dot-7,
input#img-8:checked ~ .nav-dots label#img-dot-8,
input#img-9:checked ~ .nav-dots label#img-dot-9,
input#img-10:checked ~ .nav-dots label#img-dot-10,
input#img-11:checked ~ .nav-dots label#img-dot-11,
input#img-12:checked ~ .nav-dots label#img-dot-12,
input#img-13:checked ~ .nav-dots label#img-dot-13,
input#img-14:checked ~ .nav-dots label#img-dot-14,
input#img-15:checked ~ .nav-dots label#img-dot-15,
input#img-16:checked ~ .nav-dots label#img-dot-16, 
input#img-17:checked ~ .nav-dots label#img-dot-17,
input#img-18:checked ~ .nav-dots label#img-dot-18,
input#img-19:checked ~ .nav-dots label#img-dot-19,
input#img-20:checked ~ .nav-dots label#img-dot-20

{

	background: rgba(0, 0, 0, 0.8);
	opacity: 1;
}

.prevArrow:after {
	content:url("/images/prev_gray80px.png");
	padding: 207px 50px 0px 0px;
	margin:  0;
}

.nextArrow:before {
	content:url("/images/next_gray80px.png");
	padding: 207px 0 0 50px;
	margin:  0;
}

label.prev, label.next{
	width:  100px;
	height: 495px;
	padding: 0;
}


@media screen and (min-height: 770px) {
	.prevArrow:after {
	content:url("/images/prev_gray102px.png");
	padding: 267px 74px 0 0;
	margin:  0;
}

.nextArrow:before {
	content:url("/images/next_gray102px.png");
	padding: 267px 0 0 74px;
	margin:  0;
}

label.prev, label.next{
	width:  150px;
	height: 637.5px;
	padding: 0;
}
}

@media screen and (min-height: 920px) {
	.prevArrow:after {
	content:url("/images/prev_gray122px.png");
	padding: 314px 119px 0 0;
	margin:  0;
}

.nextArrow:before {
	content:url("/images/next_gray122px.png");
	padding: 314px 0 0 119px;
	margin:  0;
}

label.prev, label.next{
	width:  200px;
	height: 750px;
	padding: 0;
}
}