@import url('fonts/fonts.css');

* {
	margin:0;
	padding:0;
}

*:focus {
	outline: none;
} 

::selection {
	color:none;
}

::-moz-selection {
	color:none;
} 

html {
	position:fixed;
	height:657px;
    width:1000px;
    left:50%;
    margin-left: -500px;
    overflow: hidden;
}

body {
	position:fixed; /* hack to remove extra space at bottom if ipad */
	font-family: Helvetica, Verdana, Arial, sans-serif;
	font-size: 12px;
	background-color: #000;
    color: #fff;
    height:100%;
    width:1000px;
    left:50%;
    margin-left: -500px;
    overflow: hidden;
}

a {
	color: #fff;
	text-decoration: none;
	outline: 0;
}

a:hover {
	color: #999;
}

img {
	border:0; 
	outline:0;
}

#content-container {
	position:relative;
	width: 1000px;
	height: 657px;
	overflow: hidden;
	margin:0 auto;
	background:url(../images/bg-main.jpg) 0 0;
	background-size: 100% auto;
}

#preloader {
	position:absolute;
	width: 1000px;
	height: 657px;
	background:url(../images/bg-loader.jpg) 0 0;
	background-size: 100% auto;
	z-index: 100;
	transition: .5s ease-out;
	-moz-transition: .5s ease-out;
	-ms-transition: .5s ease-out;
	-webkit-transition: .5s ease-out;
	-o-transition: .5s ease-out;
}

	#loader-spider {
		position:absolute;
		width:82px;
		height:95px;
		top:51%;
		left:50%;
		margin:-51px 0 0 -42px;
		background-image:url(../images/timer-spider.png);
		background-size: auto 100%;
		z-index:103;
	}

	#html5Loader{
		top:3px;
		left:50%;
		/*margin-left:-500px;*/
		position:fixed;
		z-index:102;
	}

	.ipad #html5Loader{
		top:11px;
		left:11px;
	}

	.android #html5Loader{
		top:13px;
		left:140px;
	}

		#html5Loader .fallback {
			top:50%;
			position:absolute;
			text-align:center;
			width:100%;
			color:white;
			vertical-align: middle;
			display: block;
			font-style: normal;
		}

	#loader-bg {
		position:absolute;
		width:176px;
		height:176px;
		top:50%;
		left:50%;
		margin:-89px 0 0 -89px;
		background-image:url(../images/timer-bg.png);
		background-size: 100% auto;
		z-index:101;
	}

		.istablet #preloader #loader-spider {
			margin:-41px 0 0 -42px;
		}

		.istablet #preloader #loader-bg {
			margin:-79px 0 0 -89px;
		}

	#percent {
		position:absolute;
		width:100px;
		top:418px;
		left:50%;
		margin-left:-50px;
		font-family: 'StereoGothic450Italic';
	    font-size: 20px;
	    text-align: center;
	}

#header {

}

	#header h2 {
		display: block;
	    font-family: 'StereoGothic450Italic';
	    font-size: 28px;
	    line-height: 21px;
	    margin: 38px 0 0 31px;
	    text-align: right;
	    text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.7);
	    width: 300px;
	}

	#header h2 span {
		font-size: 19px;
	}

	#timer {
		position:absolute;
		width:79px;
		height:79px;
		top:30px;
		left:50%;
		margin-left:-145px;
		z-index: 10;
		background-image:url(../images/timer-bg.png);
		background-size: 100% auto;
	}

		#spider {
			position:absolute;
			width:32px;
			height:37px;
			top:24px;
			left:24px;
			z-index: 12;
			background-image:url(../images/timer-spider.png);
			background-size: 100% auto;
		}

		#red-circle {
			position:absolute;
			width:44px;
			height:44px;
			top:18px;
			left:18px;
			z-index: 11;
			background-image:url(../images/timer-red.png);
		}

		#pie {
			position:absolute;
			width:44px;
			height:44px;
			top:18px;
			left:18px;
			z-index: 11;
		}

		#countdown-wrapper {
			position:absolute;
			width:196px;
			height:45px;
			left:50%;
			margin-left:-84px;
			top:46px;
			z-index: 9;
			overflow:hidden;
		}

			#countdown {
				position:absolute;
				top:0;
				left:-198px;
				width:176px;
				height: 37px;
				padding: 8px 0 0 20px;
				background-image:url(../images/timer-arm.png);
				background-size: 100% auto;
				font-family: 'StereoGothic450Italic';
		    	font-size: 14px;
			}

			@media screen and (-webkit-min-device-pixel-ratio:0) { 
			    #countdown {
					height: 36px;
				}
			}

	#title {
		display:inline-block;
		position:absolute;
		font-family: 'StereoGothic450Italic';
		font-size: 13px;
		text-align: center;
		text-transform: uppercase;
		padding-top:30px;
		right:332px;
		top:180px;
		width:344px;
		height:12px;
		background:url(../images/gfx-logo.png) no-repeat;
		background-size: 100% auto;
		z-index: 101;
	}

		#title span {
			font-size: 10px;
		}

	#header > ul {
		position:absolute;
		margin-top:5px;
		/*right:20px;*/
		right:-350px;
		top:68px;
		display:block;
		width:348px;
		list-style-type: none;
		overflow: auto;
		z-index: 99;
	}

		#header > ul li {
			float:left;
			display:table-cell;
		}

			#header > ul li:first-child {
				margin-right:8px;
			}

		#header > ul li a {
			display:block;
			font-family: 'StereoGothic450Italic';
			font-size: 11px;
			text-transform: uppercase;
			padding:3px 11px;
			background:url(../images/btn-bg-off.jpg) center center;
			background-size: 100% auto;
			border:1px solid #fff;
			-webkit-border-radius: 3px;
			-moz-border-radius: 3px;
			border-radius: 3px;
		}

		#header > ul li a:hover {
			color:#fff;
			background:url(../images/btn-bg-on.jpg) center center;
			background-size: 100% auto;
		}

#instructions {
	position:absolute;
	display:none;
	font-size: 18px;
	top:0;
	left:0;
	width: 1000px;
	height: 657px;
	background:rgba(0,0,0,0.75);
	z-index: 9999;
}

	#instructions-content {
		width: 1000px;
		height: 640px;
		margin-top:35px;
		background:url(../images/bg-instructions.png) no-repeat center center;
		background-size: 100% auto;
	}

		a#close-instructions {
			float:right;
			width:47px;
			height:47px;
			margin:20px;
			background:url(../images/close-sprite.png) 0 0;
			background-size: 94px auto;
		}

		@media screen and (-webkit-min-device-pixel-ratio:0) { 
		    a#close-instructions {
				height:46px;
			}
		}

			a#close-instructions:hover {
				background-position: 47px 0;
			}

		#instructions-content h2 {
			clear:both;
			font-family: 'StereoGothic450Italic';
	    	font-size: 30px;
	    	margin:0 100px;
		}

		#instructions-content > p {
			margin:0 100px 25px 100px;
		}

		#inst-info {
			overflow: auto;
		}

			#inst-info-left,
			#inst-info-right {
				float:left;
				width:412px;
			}

				#instructions-content div span {
					height: 40px;
				    padding: 3px 0 0 7px;
				    width: 36px;
					float:left;
					margin-right: 10px;
					font-family: 'StereoGothic450Italic';
		    		font-size: 20px;
					background:url(../images/bullet-sprite.png) 0 0;
					background-size: 43px auto;
				}

				#instructions-content div p {
					float:left;
					width:308px;
					margin-top:10px;
				}

				#instructions-content div img {
					clear:both;
					width:217px;
					margin:17px 0 0 45px;
				}

			#inst-info-left {
				width:382px;
				margin: 0 25px 0 100px;
				border-right:1px solid #fff;
			}

			#inst-play {
				display:block;
				width:190px;
				margin:50px auto 0;
				font-family: 'StereoGothic450Italic';
				font-size: 18px;
				text-transform: uppercase;
				text-align: center;
				padding: 0 25px 4px 33px;
				background:url(../images/btn-bg-off.jpg) center center;
				background-size: 100% auto;
				border:1px solid #fff;
				-webkit-border-radius: 3px;
				-moz-border-radius: 3px;
				border-radius: 3px;
			}

				#inst-play:hover {
					color:#fff;
					background:url(../images/btn-bg-on.jpg) center center;
					background-size: 100% auto;
				}

a#sound-btn {
	background: url("../images/btn-sprite.png");
	background-size: auto 133%;
	background-position: -93px -6px;
	background-position: -91px -6px \0/;
    display: block;
    height: 34px;
    left: 933px;
    position: absolute;
    top: 112px;
    width: 34px;
    z-index: 99;
}

@-moz-document url-prefix() { 
	a#sound-btn {
		background: url("../images/btn-sprite.png") no-repeat scroll -91px -6px / auto 133% rgba(0, 0, 0, 0);
	}
}

.ipad a#sound-btn {
	background: url("../images/btn-sprite.png");
	background-size: auto 133%;
	background-position: -92px -6px;
}

#homecontent {
	position:absolute;
	display:block;
	left:50%;
	top:84px;
	margin-left:-499px;
	width:958px;
	height:570px;
	background:url(../images/gfx-main.png) no-repeat center top;
	background-size: 100% auto;
	z-index: 5;
	overflow: hidden;
}

	#homecontent > ul {
		display:inline-block;
		opacity: 0;
		width:360px;
		overflow: auto;
		list-style-type: none;
		margin:321px 0 0 170px;
		z-index: 99;
	    transform: scale(2, 2);
		-moz-transform: scale(2, 2);
		-ms-transform: scale(2, 2);
		-webkit-transform: scale(2, 2);
		-o-transform: scale(2, 2);
		-webkit-transition: all .5s cubic-bezier(.48,.22,1,.39);
		-moz-transition: all .5s cubic-bezier(.48,.22,1,.39);
		-o-transition: all .5s cubic-bezier(.48,.22,1,.39);
		transition: all .5s cubic-bezier(.48,.22,1,.39);
	}

		#homecontent > ul li {
			float:left;
			display:table-cell;
			clear: both;
		}

			#homecontent > ul li#tagline {
				color: #000000;
			    font-family: 'StereoGothic450Italic';
			    font-size: 24px;
			    font-weight: bold;
			    line-height: 24px;
			    margin-bottom: 21px;
			    text-align: center;
			    text-transform: uppercase;
			    text-shadow: 2px 2px 2px rgba(0, 0, 0, .4);
			}

			#homecontent > ul li a {
				display:block;
				font-family: 'StereoGothic450Italic';
				font-size: 11px;
				text-transform: uppercase;
				text-align: center;
				padding:3px 11px;
				background:url(../images/btn-bg-off.jpg) center center;
				background-size: 100% auto;
				border:1px solid #fff;
				-webkit-border-radius: 3px;
				-moz-border-radius: 3px;
				border-radius: 3px;
			}

				#homecontent > ul li a:hover {
					color:#fff;
					background:url(../images/btn-bg-on.jpg) center center;
					background-size: 100% auto;
				}

				#homecontent > ul li a#play {
					font-size: 18px;
				    margin-left: 33px;
				    padding: 0 25px 4px 33px;
				}

				#homecontent > ul li a.instructions {
					margin:20px 0 0 72px;
				}

#gamecontent {
	position:absolute;
	display:none;
	left:50%;
	top:84px;
	margin-left:-499px;
	width:958px;
	height:570px;
	background:url(../images/bg-main.png) no-repeat center top;
	background-size: 100% auto;
	z-index: 4;
}

#imageHolder {
	height: 528px;
    margin: 28px 0 0 73px;
    width: 851px;
}

.quiz {
	position:absolute;
	display:none;
	width:900px;
	left:50%;
	top:120px;
	margin-left:-450px;
	color:#000;
	font-family: 'StereoGothic450Italic';
}

	.quiz h2 {
		font-size: 21px;
	    margin: 0 auto 20px;
	    padding-left: 20px;
	    text-align: center;
	    width: 700px;
	}

		.quiz > ul {
			list-style-type: none;
		    margin: 0 auto;
		    padding-left: 65px;
		    width: 550px;
		}

			.quiz > ul li {
				background:url(../images/bullet-sprite.png) no-repeat 0 0;
				background-size: 42px auto;
				font-size: 21px;
				color:#fff;
			    height: 42px;
			    margin-bottom: 35px;
			    padding-left: 8px;
			}

				.quiz > ul li a {
		   			padding-left: 15px;
					color:#000;
					display: inline-block;
				}

					.quiz > ul li a:hover {
			   			color:#c71a20;
					}

.show {
	display:block;
}

#results {
	position:absolute;
	display:none;
	width:900px;
	left:50%;
	top:120px;
	margin-left:-450px;
	color:#000;
}

	#results p {
		font-size: 21px;
		text-align: center;
		margin-top: 75px;
		font-family: 'StereoGothic450Italic';
	}

	a#next-image {
		background: url(../images/btn-bg-off.jpg) center center;
		background-size: 100% auto;
	    border: 1px solid #FFFFFF;
	    border-radius: 3px;
	    font-family: 'StereoGothic450Italic';
	    font-size: 22px;
	    left: 50%;
	    margin-left: -121px;
	    padding: 3px 11px 6px;
	    position: absolute;
	    text-align: center;
	    text-transform: uppercase;
	    top: 220px;
	    width: 242px;
	}

		a#next-image:hover {
			color:#fff;
			background:url(../images/btn-bg-on.jpg) center center;
			background-size: 100% auto;
		}

#final-results {
	position:absolute;
	display:none;
	width:900px;
	left:50%;
	top:120px;
	margin-left:-450px;
	color:#000;
}

	#final-results p {
		font-size: 21px;
		text-align: center;
		font-family: 'StereoGothic450Italic';
	}

		#final-results p:first-child {
			margin-top: 75px;
		}

		a#share-score,
		a#play-again {
			background: url(../images/btn-bg-off.jpg) center center;
			background-size: 100% auto;
		    border: 1px solid #FFFFFF;
		    border-radius: 3px;
		    font-family: 'StereoGothic450Italic';
		    font-size: 20px;
		    left: 50%;
		    margin-left: -150px;
		    padding: 3px 11px 6px;
		    position: absolute;
		    text-align: center;
		    text-transform: uppercase;
		    width: 300px;
		}

			a#share-score {
				top: 220px;
			}

				a#share-score span{
					display:inline-block;
					height:0;
					padding-top:25px;
					margin: 4px 0 -4px;
					width:25px;
					overflow: hidden;
					background: url(../images/icon-social.png) 0 0;
					background-size: 50px auto;
				}

			a#play-again {
				top: 270px;
			}

			a#share-score:hover,
			a#play-again:hover {
				color:#fff;
				background:url(../images/btn-bg-on.jpg) center center;
				background-size: 100% auto;
			}

#footer {
	position:fixed;
	font-size: 11px;
	top:597px;
	height:60px;
	width:1000px;
	background-color: rgba(0,0,0,0.9);
	z-index: 9999;
}

	#toggle-footer {
		float:right;
		width:60px;
		text-align: center;
		padding:5px 0 2px;
		margin:-20px 50px 0 0;
		margin:-19px 50px 0 0 \0/;
		background-color: rgba(0,0,0,0.9);
		-webkit-border-radius: 5px 5px 0 0;
		-moz-border-radius: 5px 5px 0 0;
		border-radius: 5px 5px 0 0;
	}

	.istablet #toggle-footer {
		margin:-19px 50px 0 0;
	}

	#footer ul {
		list-style-type: none;
		margin: 7px 0 0 68px;
		overflow: auto;
	}

		#footer ul li {
			float:left;
			padding:0 10px;
		}

			#footer ul li a {
				text-decoration: underline;
			}

		#footer ul li#share {
			font-family: 'StereoGothic450Italic';
    		font-size: 14px;
			margin: 10px 0 0 30px;
		}

		#footer ul li.social {
			padding:0;
			margin:10px 10px 0 0;
		}

			#footer ul li a#facebook,
			#footer ul li a#twitter {
				display:block;
				height:0;
				padding-top:25px;
				width:25px;
				overflow: hidden;
				background: url(../images/icon-social.png) 0 0;
				background-size: 50px auto;
			}

			#footer ul li a#twitter {
				background: url(../images/icon-social.png) 25px 0;
				background-size: 50px auto;
			}

#rotate {
	position: absolute;
	display:none;
	background: url(../images/bg-rotate.jpg) center top;
	background-size: 100% auto;
	z-index: 999;
}

	#rotate-title {
		display: inline-block;
		position: absolute;
		font-family: 'StereoGothic450Italic';
		font-size: 24px;
		text-align: center;
		padding-top: 46px;
		left: 50%;
		margin-left: -262px;
		top: 210px;
		width: 524px;
		height: 26px;
		background: url(../images/gfx-logo.png) no-repeat;
		background-size: 100%;
		z-index: 101;
	}

#ifie8 {
	display:none;
	position:relative;
	width: 1000px;
	height: 657px;
	overflow: hidden;
	margin:0 auto;
	background:url(../images/sniffer-bg.jpg) 0 0;
	background-size: 100% auto;
	z-index: 999;
}

@media screen and (min-device-width: 768px) and (orientation : portrait){
	#content-container {
		display:none;
	}

	#rotate {
		display:block;
		width:100%;
		height:100%;
	}

	.social {
		display:none;
	}
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
	#content-container {
		display:none;
	}

	#rotate {
		display:block;
		width:100%;
		height:100%;
	}

	.social {
		display:none;
	}
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 2) {
	#content-container {
		display:none;
	}

	#rotate {
		display:block;
		width:100%;
		height:100%;
	}

	.social {
		display:none;
	}
}

.custom-menu {
    display:none;
}

div.scaleOn {
	transform: scale(2, 2);
	-moz-transform: scale(2, 2);
	-ms-transform: scale(2, 2);
	-webkit-transform: scale(2, 2);
	-o-transform: scale(2, 2);
}

#homecontent > ul.scaleDown {
	opacity: 1;
	transform: scale(1, 1);
	-moz-transform: scale(1, 1);
	-ms-transform: scale(1, 1);
	-webkit-transform: scale(1, 1);
	-o-transform: scale(1, 1);
}

.vibrate {
	animation: vibrate 0.1s infinite;
	-moz-animation: vibrate 0.1s infinite;
	-ms-animation: vibrate 0.1s infinite;
	-webkit-animation: vibrate 0.1s infinite;
}

@keyframes vibrate {
  50% { 
  	transform: rotate(1deg) translateX(1px); 
  	-moz-transform: rotate(1deg) translateX(1px);
  	-ms-transform: rotate(1deg) translateX(1px);
  	-o-transform: rotate(1deg) translateX(1px);
  }
  100% { 
  	transform: rotate(-1deg) translateX(-1px); 
  	-moz-transform: rotate(-1deg) translateX(-1px);
  	-ms-transform: rotate(-1deg) translateX(-1px);
  	-o-transform: rotate(-1deg) translateX(-1px);
  }
}

@-webkit-keyframes vibrate {
  50% { 
  	-webkit-transform: rotate(1deg) translateX(1px);
  }
  100% { 
  	-webkit-transform: rotate(-1deg) translateX(-1px);
  }
}

.zoom {
	animation: zoom .7s;
	-moz-animation: zoom .7s;
	-ms-animation: zoom .7s ;
	-webkit-animation: zoom .7s;
	-0-animation: zoom .7s;
}

@keyframes zoom {
	25% {
		transform: scale(.5, .5);
		-moz-transform: scale(.5, .5);
		-ms-transform: scale(.5, .5);
		-o-transform: scale(.5, .5);
		opacity:.5;
	}
	100% {
		transform: scale(1, 1);
		-moz-transform: scale(1, 1);
		-ms-transform: scale(1, 1);
		-o-transform: scale(1, 1);
		opacity:1;
	}
}

@-webkit-keyframes zoom {
	25% {
		-webkit-transform: scale(.5, .5);
	}
	100% {
		-webkit-transform: scale(1, 1);
	}
}