body {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
	font-family: Verdana, Arial, sans-serif;
	font-size: 13px; -webkit-text-size-adjust: none;
}

p {
	margin-bottom: 16px; 
}

h1 {
	margin-bottom: 16px;
	text-align:center;
}

.yellow-letters {
	color: yellow;
}

#page {
	position:relative;
	width:600px;
	margin: 0 auto;
	padding: 0px;

	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

#imageSlider {
	position: relative;

	min-height: 300px;
	height: auto;
	padding: 20px;
	padding-top: 20px;
	padding-bottom: 0px;
	background: url('../img/background.png') no-repeat rgba(32, 32, 32, 1.0);
	background-image: url('../img/background.png');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-color: #323232;
	border: 1px solid black;
	border-radius: 50px;

	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

#imageSlider #selectGender {
	position: relative;
	width: 240px;
	margin: 0 auto;
	left: 7px;
}

#imageSlider .button {
	position: relative;
	width: 80px;
	display: block-inline;
	padding: 8px;
	margin: 8px;
	background: black;
	border: 1px solid black;
	text-align: center;
	font-family: Arial, sans-serif;
	font-weight: bold;
	color: white;
	float: left;
	opacity: 0.75;
	cursor: pointer;
}

#imageSlider .selected {
	-webkit-box-shadow: yellow 0 0 8px 3px;
	border: 1px solid yellow;
	opacity: 1.0;
}

#imageSlider #showMale { background: blue; }
#imageSlider #showMale:hover { opacity: 1.0; }
#imageSlider #showFemale { background: purple; }
#imageSlider #showFemale:hover { opacity: 1.0; }

#images {
	position: relative;
	left: 0px;
	top: 0px;
	opacity: 0;
	margin-bottom: 0px;
}

@-webkit-keyframes pulse {
  from {
    opacity: 0.0;
  }
  to {
    opacity: 1.0;
  }
}

#loader {
	position: relative;
	background: transparent;
	margin-left: auto;
	margin-right: auto;
	top: -300px;

	width: 120px;
	height: 60px;

	font-family: arial;
	font-weight: bold;
	text-align: center;
	color: white;
	opacity: 1.0;
	/*
	-webkit-animation-name: pulse;
  	-webkit-animation-duration: 0.5s;
  	-webkit-animation-iteration-count: infinite;
  	-webkit-animation-timing-function: ease-in-out;
  	-webkit-animation-direction: alternate;
  	*/
}

#loader .animationStop {
	-webkit-animation-name: none;
}

/*#imageSlider p {
	font-size: 14px;
	color: white;
	font-family: arial, sans-serif;
	line-height: 18px;
}*/
#imageSlider p {
  	font-size: 14px;
	color: white;
	font-family: arial, sans-serif;
	line-height: 18px;
	padding:0px;
	margin:0px 0 15px 0;
}

#imageSlider h1 {
	color: yellow;
	font-family: arial, sans-serif;
	font-size: 22px;
	border-bottom: 1px solid #CCCCCC;
	line-height: 32px;
	padding-bottom: 15px;
	margin-bottom: 10px;
	font-weight:bold;
}


#slider {
	position: relative;
	width: 523px;
	height: 200px;
	border: 1px solid white;
	border-radius: 8px;
	background: #800000; /*rgba(128, 0, 0, 1.0);*/
	overflow: hidden;
	margin-top:8px;
}

#slider #before {
	position: static;
	width: 259px;
	height: 200px;
	background : no-repeat;
	background-size: 520px 100%;

	float: left;
	border-right: 1px solid white;
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
	opacity: 1.0;
	overflow: hidden;

	-webkit-transform: scale3D(1, 1, 1);
}

#slider #after {
	position: relative;
	width: 260px;
	height: 200px;
	background : white no-repeat -260px 0px;
	background-size: 520px 100%;
	
	float: left;
	border-right: 0px solid white;
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	opacity: 1.0;
	overflow: hidden;

	-webkit-transform: scale3D(1, 1, 1);
}

#slider #handle {
	position: absolute;
	left: 120px;
	top: 150px;
	padding: 3px;
	padding-left: 10px;
	padding-right: 10px;
	background: url('../img/arrows.png') no-repeat #323232;
	color: white;
	border: 2px solid black;
	border-radius: 4px;
	font-family: arial, sans-serif;
	font-size: 11px;
	z-index: 10;

	cursor: pointer;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

#slider #before #overlay-before {
	position: absolute;
	left: 100px;
	bottom: 25px;
	color: white;
	font-family: arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
	/*z-index: 2;*/
}

#slider #overlay-after {
	position: absolute;
	right: 100px;
	bottom: 25px;
	color: white;
	font-family: arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
	/*z-index: 5;*/
}

#thumbnailSelection {
	position: relative;
	width: 500px;
	min-height: 130px;
	padding: 0px;
	margin: 0 auto;
	margin-top: 16px;
	margin-bottom: -16px;
}

.thumbnail {
	position: static;
	width: 88px;
	height: 34px;
	border: 1px solid white;
	border-radius: 4px;
	display: inline-block;
	margin-right: 4px;
	
	background: black; /*url('../img/img-after-1.jpg') no-repeat;*/
	background-size: 100% 100%;
	/*overflow: hidden;*/
	opacity: 0.75;
	cursor: pointer;
	float: left;
}

#thumbnailSelection .thumbnail {
	width: 76px;
}

#thumbnailSelection .thumbnail img {
	width: 76px;
	height:34px;
}

.thumbnail:nth-child(1) {
	/*margin-left: 16px;*/
}

#thumbnailSelection img {
	margin-bottom: 0px;
}

#thumbnailSelection #female {
	opacity: 1.0;
	padding: 0px;

}

#thumbnailSelection #male {
	opacity: 0.0;
	position: relative;
	/*top: -36px;*/
}

.thumbnail:hover {
	/*background: black;*/
	opacity: 1.0;
}

#imageSlider p.hint {
	font-size: 13px;
	text-align: left;
	margin-bottom:10px;
}

#imageSlider p.age {
	font-size: 13px;
	text-align: center;
	position: relative;
	top: 10px;
}

#imageSlider #logo {
	position: relative;
	display: inline;
	float: right;
	background: url('../img/logo.png') no-repeat;
	width: 106px;
	height: 50px;
	left: 0px;
	margin: 0;
	margin-top: 0px;
	margin-bottom: -30px;
}

#imageSlider p.text {
	position: relative;
	bottom: 0px;
	
	font-size: 13px;
	margin-top: 30px;
	margin-left: 16px;
	margin-bottom: -46px;
}

@media (max-width: 603px) {
#page {display:table; table-layout:fixed; zoom:0.92;  -ms-zoom:0.92; -webkit-zoom:0.92; -moz-transform:scale(0.92,0.92); -moz-transform-origin:0 0;}	
	}
@media (max-width: 568px) {
#page {display:table; table-layout:fixed; zoom:0.9;  -ms-zoom:0.9; -webkit-zoom:0.9; -moz-transform:scale(0.9,0.9); -moz-transform-origin:0 0;}	
	}
@media (max-width:480px) {
#page {display:table; table-layout:fixed; zoom:0.75;  -ms-zoom:0.75; -webkit-zoom:0.75; -moz-transform:scale(0.75,0.75); -moz-transform-origin:0 0;}
	}
@media (max-width:414px) {
#page {display:table; table-layout:fixed; zoom:0.68}	
	}
@media (max-width:360px) {
#page {display:table; table-layout:fixed; zoom:0.5;  -ms-zoom:0.5; -webkit-zoom:0.5; -moz-transform:scale(0.5,0.5); -moz-transform-origin:0 0;}
	}
@media (max-width:320px) {
	@media only screen and (-webkit-min-device-pixel-ratio : 2), only screen and (min-device-pixel-ratio : 2) {	h1{ -webkit-text-size-adjust: none!important; font-size:16px!important}
	#imageSlider p {font-size: 10px!important; line-height:21px; margin-bottom:10px}
	}
	
#page {display:table; table-layout:fixed; zoom:0.49;  -ms-zoom:0.49; -webkit-zoom:0.49; -moz-transform:scale(0.49,0.49); -moz-transform-origin:0 0;}
	}