@charset "utf-8";
/* CSS Document */

@font-face {
  font-family: couriernewbold;
  src: url(courbd.ttf);
}

html{
	background: url(images/mainbg.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

body{
	margin:0px;
	padding:0px;
	font-family:couriernewbold, "Courier New", Courier, monospace;
	color:#fff;
}

a, a:link, a:visited{
	color:#fff;
	text-decoration:none;
}

a:hover{
	color:#ccc;
	text-decoration:none;
}

a img{
	border:0px none;	
}

#mainbox{
	margin:0px;
	padding:0px;
	width:100%;	
}

#contentbox{
	position:relative;
	z-index:10;
	margin:0px;
	padding:0px;
	padding-top:30px;
	padding-bottom:20px;
	width:1000px;
	border-left:1px solid #11606c;
	border-right:1px solid #11606c;
	border-bottom:1px solid #11606c;
	border-top:1px solid #11606c;
	min-height:400px;
	box-shadow:0px 2px 6px -1px rgba(0,0,0,0.6);
	background: #2cb7c4; /* Old browsers */
	background: -moz-linear-gradient(top,  #2cb7c4 0%, #16718a 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2cb7c4), color-stop(100%,#16718a)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #2cb7c4 0%,#16718a 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #2cb7c4 0%,#16718a 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #2cb7c4 0%,#16718a 100%); /* IE10+ */
	background: linear-gradient(top,  #2cb7c4 0%,#16718a 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2cb7c4', endColorstr='#16718a',GradientType=0 ); /* IE6-9 */
}

#contenthomecontainer{
	position:relative;
	z-index:10;
	margin:0px;
	padding:0px;
	width:1000px;	
}

#contentboxhome{
	position:relative;
	float:left;
	z-index:10;
	margin:0px;
	padding:0px;
	padding-top:30px;
	padding-bottom:20px;
	width:756px;
	margin-right:10px;
	border-left:1px solid #11606c;
	border-right:1px solid #11606c;
	border-bottom:1px solid #11606c;
	border-top:1px solid #11606c;
	min-height:400px;
	box-shadow:0px 2px 6px -1px rgba(0,0,0,0.6);
	background: #2cb7c4; /* Old browsers */
	background: -moz-linear-gradient(top,  #2cb7c4 0%, #16718a 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2cb7c4), color-stop(100%,#16718a)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #2cb7c4 0%,#16718a 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #2cb7c4 0%,#16718a 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #2cb7c4 0%,#16718a 100%); /* IE10+ */
	background: linear-gradient(top,  #2cb7c4 0%,#16718a 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2cb7c4', endColorstr='#16718a',GradientType=0 ); /* IE6-9 */
}

#contentboxtwo{
	position:relative;
	float:left;
	z-index:7;
	margin:0px;
	padding:0px;
	width:232px;
	min-height:400px;
}


.contentboxtwoitem{
	position:relative;
	float:left;
	z-index:7;
	margin:0px;
	margin-bottom:10px;
	padding:0px;
	width:230px;
	min-height:30px;
	border-left:1px solid #11606c;
	border-right:1px solid #11606c;
	border-bottom:1px solid #11606c;
	border-top:1px solid #11606c;
	box-shadow:0px 2px 6px -1px rgba(0,0,0,0.6);
	background: #2cb7c4; /* Old browsers */
	background: -moz-linear-gradient(top,  #2cb7c4 0%, #16718a 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2cb7c4), color-stop(100%,#16718a)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #2cb7c4 0%,#16718a 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #2cb7c4 0%,#16718a 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #2cb7c4 0%,#16718a 100%); /* IE10+ */
	background: linear-gradient(top,  #2cb7c4 0%,#16718a 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2cb7c4', endColorstr='#16718a',GradientType=0 ); /* IE6-9 */
}

#headerbox{
	height: 79px;
	width:1000px;
	position:relative;
	z-index:90;
	overflow:visible;
	margin:0px;
	margin-bottom:20px;
	padding:0px;
	border-left:1px solid #11606c;
	border-right:1px solid #11606c;
	border-bottom:1px solid #003B44;
	box-shadow:0px 2px 6px -1px rgba(0,0,0,0.6);
	background: #2cb7c4; /* Old browsers */
	background: -moz-linear-gradient(top,  #2cb7c4 0%, #16718a 70%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2cb7c4), color-stop(70%,#16718a)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #2cb7c4 0%,#16718a 70%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #2cb7c4 0%,#16718a 70%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #2cb7c4 0%,#16718a 70%); /* IE10+ */
	background: linear-gradient(top,  #2cb7c4 0%,#16718a 70%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2cb7c4', endColorstr='#16718a',GradientType=0 ); /* IE6-9 */
	text-align: left;
}

#headerboxwide{
	height:70px;
	width:100%;
	position:relative;
}

#headerboxwidecontent{
	position:relative;
	z-index:10;
	height:70px;
	border-left:1px solid #11606c;
	border-right:1px solid #11606c;
	border-bottom:1px solid #0c4a54;
	box-shadow:0px 2px 6px -1px rgba(0,0,0,0.6);
	background: #2cb7c4; /* Old browsers */
	background: -moz-linear-gradient(top,  #2cb7c4 0%, #1a85a3 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2cb7c4), color-stop(100%,#1a85a3)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #2cb7c4 0%,#1a85a3 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #2cb7c4 0%,#1a85a3 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #2cb7c4 0%,#1a85a3 100%); /* IE10+ */
	background: linear-gradient(top,  #2cb7c4 0%,#16718a 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2cb7c4', endColorstr='#1a85a3',GradientType=0 ); /* IE6-9 */
	margin-bottom:12px;
	margin-left:12px;
	margin-right:12px;
}

#logobox{
	position:absolute;
	left:-26px;
	top:0px;
	z-index:10;
	width:320px;
	height:79px;
}

#craniumlogo img{
	width: 320px;
	max-width: 90vw;
}

.social_icon{
	position: absolute;
	top: 5px; 
}

.social_facebook{
	left:60px;
}

.social_pinterest{
	left:102px;
}

.social_twitter{
	left:144px;
}

#navbox{
	height:79px;
	position:relative;
	float:left;
	left:280px;
}

#navbox a{
	line-height: 23px;
	padding-top: 15px;
	height: 45px;
	padding-right:14px;
	padding-left:14px;
	font-size:14px;
	text-shadow:1px 1px 2px #000;
	text-outline:#003b44;
	display:inline-block;
	float:left;
	position:relative;
	z-index:30;
}

#navbox .navdivider{
	height:79px;
	width:5px;
	font-size:24px;
	line-height:79px;
	display:inline-block;
	background: url(images/nav_divider.png) right top no-repeat;
	float:left;
	position:relative;
	z-index:2;
}

.subnavbox{
	font-size:14px;
	font-family:Verdana, Geneva, sans-serif;
	display:inline-block;
	padding:4px 8px;
	margin:3px;
	text-align:left;
	background-color:#106a7a;
	border:1px solid #044650;
	box-shadow:0px 1px 2px rgba(0,0,0, 0.6);
	position:absolute;
	bottom:-17px;
	left:200px;	
	z-index:20;
}

#crunchtimebox{
	position:absolute;
	top:8px;
	right:10px;
	width:220px;
	height:115px;
	background:#25a1b2 url(images/crunchtimeemail.png) top no-repeat !important;
	border:1px solid #003b44;
	box-shadow:0px 1px 2px rgba(0,0,0, 0.6);
}

#crunchtimesignup{
	position:absolute;
	top:3px;
	right:-25px;
	width:232px;
	height:71px;
	background:transparent url(images/crunchtimeemail2.png) top no-repeat !important;
}

#loggedbox{
	position:absolute;
	top:25px;
	right:10px;
	width:220px;
	height:30px;
	background:#238091 url(images/loginarrow.png) top no-repeat !important;
	border:1px solid #003b44;
	box-shadow:0px 1px 2px rgba(0,0,0, 0.6);
	z-index:999;
}

#loggedbox h3{
	font-size:16px;
	text-align:left;
	margin:0px;
	margin-bottom:4px;
	margin-top:5px;
	margin-left:12px;
	text-shadow:1px 1px 3px #000;
	font-weight:normal;
}

#loggedbox #loginnav{
	display:none;	
}

#loggedbox:hover{
	position:absolute;
	top:8px;
	right:10px;
	width:220px;
	height:117px;
	background:#25a1b2 none no-repeat !important;
	border:1px solid #003b44;
	box-shadow:0px 1px 2px rgba(0,0,0, 0.6);
	z-index:999;
}

#loggedbox:hover #loginnav{
	display:block;
	width:212px;
	padding-left:4px;
	padding-right:4px;
}

#loginnav .smallbluebutton{
	width:89px;
	text-align:center;
	float:left;
	margin-left:4px;	
}

#loginnav .logout{
	width:89px;
	text-align:center;
	float:left;
	margin-left:4px;
	position:absolute;
	bottom:4px;
	right:4px;
}


#loginbox{
	position:absolute;
	top:20px;
	right:10px;
	width:220px;
	height:0px;
	padding-top:37px;
	background:#25a1b2 url(images/welcome_header.png) top no-repeat !important;
	border:1px solid #003b44;
	box-shadow:0px 1px 2px rgba(0,0,0, 0.6);
	overflow:hidden;
	z-index:999;
}

#loginbox:hover{
	position:absolute;
	top:8px;
	right:10px;
	width:220px;
	height:100px;
	padding-top:37px;
	background:#25a1b2 url(images/welcome_header.png) top no-repeat !important;
	border:1px solid #003b44;
	box-shadow:0px 1px 2px rgba(0,0,0, 0.6);
	z-index:999;
	overflow:visible;
}


#loginbox div{
	width:204px;
	text-align:left;
}

#loginbox div a{
	font-size:14px;
	text-align:left;
}

.logininput{
	width:190px;
	height:20px;
	box-shadow:inset 0px 0px 2px rgba(0,0,0, 0.6);
	border:1px solid #003b44;
	padding:3px 6px;
	color:#003b44;
	font-family:couriernewbold, "Courier New", Courier, monospace;
}
.loginbutton{
	display:inline-block;
	background-color:#106a7a;
	border:1px solid #003b44;
	padding:4px 6px;
	color:#fff;
	font-family:couriernewbold, "Courier New", Courier, monospace;
	cursor:pointer;
}
.loginbutton:hover{
	background-color:#1E8898;
}

#inbetweenbox{
	position:relative;
	z-index:0;
	height:70px;
	width:1000px;
}

#footerbox{
	position:relative;
	z-index:10;
	width:1000px;
	box-shadow:0px 2px 6px -1px rgba(0,0,0,0.6);
	border:1px solid #11606c;
	background-color:#106a7a;
	font-size:12px;
	margin-bottom:12px;
}

#footerbox > *{
        padding:6px 10px;
}

.social_facebook{
	width:42px;
	height:42px;
	background:url(images/social_icons.png) 0px 0px;
	display:inline-block;
}

.social_pinterest{
	width:42px;
	height:42px;
	background:url(images/social_icons.png) -46px 0px;
	display:inline-block;
}

.social_twitter{
	width:42px;
	height:42px;
	background:url(images/social_icons.png) -93px 0px;
	display:inline-block;
}

.bluebutton{
	font-size:18px;
	text-shadow:0px 1px 2px rgba(0,0,0,0.6);
	padding:5px 9px;
	text-align:left;
	background-color:#106a7a;
	border:1px solid #003b44;
	box-shadow:0px 1px 2px rgba(0,0,0, 0.6);
	font-family:couriernewbold, "Courier New", Courier, monospace;
	color:#fff;
}

.whitebox{
	font-size:12px;
	padding:5px 9px;
	text-align:left;
	background-color:#fff;
	border:1px solid #003b44;
	box-shadow:0px 1px 2px rgba(0,0,0, 0.6);
}

input.whitebox, textarea.whitebox{
	font-size:12px;
	padding:5px 9px;
	text-align:left;
	background-color:#fff;
	border:1px solid #003b44;
	box-shadow:inset 0px 1px 2px rgba(0,0,0, 0.6);
}

input.bluebutton:hover{
	opacity:.7;
	cursor:pointer;
}

.smallbluebutton{
	font-size:14px;
	font-family:Verdana, Geneva, sans-serif;
	display:inline-block;
	text-shadow:0px 1px 2px rgba(0,0,0,0.6);
	padding:2px 4px;
	margin:3px;
	text-align:left;
	background-color:#238091;
	border:1px solid #0c5b69;
	box-shadow:0px 1px 2px rgba(0,0,0, 0.6);
}

.smalltext{
	font-size:14px;
	font-family:Verdana, Geneva, sans-serif !important;
}

.tiltphoto{
	float:left; 
	position:relative; 
	-moz-transform:rotate(-4deg); 
	-webkit-transform:rotate(-4deg); 
	transform:rotate(-4deg); 
	box-shadow:0px 0px 3px #000;
	width:130px;
	margin:10px;
	background-color:#eee; 
	padding:10px; 
	border:1px solid #666;
}

.fullcolbox{
	width:1000px;
	max-width:100%;
	text-align:center;
	float:left;
}

.halffullcolbox{
	width:500px;
	text-align:left;
	float:left;
}

.halffullcolunit{
	width:450px;
	text-align:left;
	float:left;
	margin-left:25px;
	margin-right:25px;
}

.twothirdcontent{
	width:660px;
	text-align:left;
	padding:20px;
	float:left;
}

.widecolbox{
	width:750px;
	text-align:left;
	float:left;
}

.halfwidecolbox{
	width:375px;
	text-align:left;
	float:left;
}

.sidecolbox{
	width:250px;
	text-align:left;
	float:left;
}

.sidecolunit{
	width:220px;
	min-height:20px;
	margin-right:12px;
	margin-left:18px;
	margin-bottom:12px;
	background:#1D6F7D;
	border:1px solid #003b44;
	box-shadow:0px 1px 2px rgba(0,0,0, 0.6);
}

.pagesidebox{
	width:960px;
	padding-left:20px;
	padding-right:20px;
	float:left;
}

.pagesidenav{
	width:200px;
	float:left;
}


.pagesidenavbutton{
	font-size:18px;
	color:#fff;
	text-align:left;
	padding:10px 20px;
	border-bottom:1px solid #003b44;
	border-right:2px solid #003b44;
	float:left;
	width:158px;
	position:relative;
}

.pagesidenavarrow{
	width:30px;
	height:43px;
	background-image:url('images/pagesidearrow.png');
	position:absolute;
	top:-1px;
	right:-26px;
}

.pagesidenavbutton:hover{
	font-size:18px;
	color:#fff;
	text-align:left;
	padding:10px 20px;
	border-bottom:1px solid #003b44;
	border-right:2px solid #003b44;
	float:left;
	width:158px;
	background-color:#106A7A;
}

.pagesidenavbuttoncurrent{
	font-size:18px;
	color:#fff;
	text-align:left;
	padding:10px 20px;
	border-bottom:1px solid #003b44;
	background-color:#106A7A;
	border-right:2px solid #106A7A;
	float:left;
	width:164px;
	position:relative;
}

.pagesidenavbuttonspacer{
	color:#fff;
	text-align:left;
	border-right:2px solid #003b44;
	height:15px;
	float:left;
	width:198px;
}

.pagesidecontent{
	width:718px;
	float:left;
	text-align:left;
	padding-left:40px;
}

.gamelistitem{
	display: inline-block;
}

.gamelistitem:hover{
	opacity:.7;	
}

/* leaderboard */

.leadboardunit{
	height:300px;
	width:100%;
}

.lunitcol{
	float: left;
	height: 300px;
	padding-left: 20px;
	width: 47%;
	box-sizing: border-box;
}

.leadboardunit .lunitcol .bluebotton{
	width: 90%;
	margin-bottom: 0px
}

.scorerow{
	float:left;
	width:100%;
	height:19px;
	padding:2px 0px;
	font-size:12px !important;
	font-family:Verdana, Geneva, sans-serif !important;
	color:#ffffff;
}

.scorerow .score{
	float:left;
	width:15%;
	background-color:#2590A2;
	padding:2px .5em;
	border-bottom:1px solid #106A7A;
	box-sizing:border-box;
}
.scorerow .name{
	float:left;
	width:30%;
	margin-left:1px;
	background-color:#2590A2;
	padding:2px .5em;
	border-bottom:1px solid #106A7A;
	box-sizing:border-box;
}
.scorerow .time{
	float:left;
	width:50%;
	margin-left:1px;
	background-color:#2590A2;
	padding:2px .5em;
	border-bottom:1px solid #106A7A;
	box-sizing:border-box;
}


#popup,#popup2{
		position:absolute;
		top:100px;
		left:50vw;
		transform: translateX(-50%);
		height:auto;
		width:50%;
		padding:30px;
		padding-top:10px;
		z-index:999;
		text-shadow:0px 1px 2px rgba(0,0,0,0.6);
		text-align:left;
		background-color:#229AB1;
		border:1px solid #003b44;
		box-shadow:0px 1px 2px rgba(0,0,0, 0.6);
	}
	
	#popup p,#popup ul,#popup li,#popup pre{
		font-size:14px;
		font-family:Verdana, Geneva, sans-serif;
		text-align:left;
		margin-top:0px;
		margin-bottom:26px;
		line-height:24px;
	}
	
	.popupclose{
		position:absolute; right:10px; top:10px; font-size:14px;color:#fff;cursor:pointer;
	}
	
	.popupclose:hover{
		color:#999;
	}
	#popupbg{
		position:fixed;
		width:100%;
		height:100%;
		background-color:rgba(0,0,0,.6);
		z-index:99;	
	}



/* BADGES */

.badge{
	width:120px;
	height:120px;
	position:relative;
	float:left;
	margin:3px;
}

.badge span.center{
	position:absolute;
	top:35px;
	left:10px;
	height:30px;
	width:100px;
	text-align:center;
	font-family:couriernewbold, "Courier New", Courier, monospace;
	font-size:40px;
	text-shadow:1px 1px 1px #666;
}

.badge span.title{
	position:absolute;
	top:86px;
	left:3px;
	height:20px;
	width:112px;
	line-height:20px;
	text-align:center;
	font-family:"Century Gothic",Verdana, Geneva, sans-serif;
	font-size:12px;
	text-shadow:1px 1px 1px #333;
	color:#EEE;
	background-color: #106A7A;
    border: 1px solid #003B44;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
	font-weight:bold;
}

.bclearcurve{
	color:#CCC;
	background:transparent url('badges/clear_blank_curve.png') no-repeat;
}

.bwhitecurve{
	color:#FFF;
	background:transparent url('badges/white_blank_curve.png') no-repeat;
}

.b003B44curve{
	color:#003B44;
	background:transparent url('badges/003B44_blank_curve.png') no-repeat;
}

.bclearround{
	color:#CCC;
	background:transparent url('badges/clear_blank_round.png') no-repeat;
}

.bwhiteround{
	color:#FFF;
	background:transparent url('badges/white_blank_round.png') no-repeat;
}

.b003B44round{
	color:#003B44;
	background:transparent url('badges/003B44_blank_round.png') no-repeat;
}

/* ADS */

#mainbox #contentbox .IL_AD{
	color:#124F59 !important;
	border:0px none !important;	
}

.adcontainer{
	width: 728px;
}

#adbox{
	width:728px;
	height:90px;
	overflow:hidden !important;
}

.adlabel{
	font-size:10px;
	float:left;
}

.menutoggle {
	border-top-left-radius: 5px;
	display: none;
	cursor: pointer;
	float: right;
	padding-right: 10px;
	padding-left: 10px;
	transition: background 0.4s;
}

.bar1, .bar2, .bar3 {
	width: 35px;
	height: 5px;
	background-color: #EEE;
	margin: 6px 0;
	transition: 0.4s;
}

/* Rotate first bar */
#navbox.open .bar1 {
	-webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
	transform: rotate(-45deg) translate(-9px, 6px) ;
}

/* Fade out the second bar */
#navbox.open .bar2 {
	opacity: 0;
}

/* Rotate last bar */
#navbox.open .bar3 {
	-webkit-transform: rotate(45deg) translate(-8px, -8px) ;
	transform: rotate(45deg) translate(-8px, -8px) ;
}

.gamelistitem img, .pageheadimage{
	max-width: 90%;
	height: auto;
}

.frontpagegamelist{
	text-align: center;
}

.frontpagegamelist a:first-child{
	margin-bottom: 100px;
}

.frontpageheader{
	max-width: 80%;
	position: relative;
	top: 150px;
}

.frontpageheadercontainer{
	position: relative;
	height: 0px;
}

#contentboxhome .widecolbox{
	text-align: center;
}

#adbox.sidead{
	width: 100%;
	height: 100%;
}

.gameheaderbutton {
	height:46px;
	float:left;
	padding-top:24px;
	padding-right:10px;
}

.gameheaderleft{
	float:left;
	height:70px;
}

.gameheaderright{
	float:right;
	height:70px;
}

.gameexit{
	height:50px;
	float:left;
	font-size:24px;
	padding-top:20px;
	padding-left:10px;
}

.backicon{
	font-family: monospace;
	font-size: 40px;
	height: 1em;
	float: left;
	position: relative;
	top: -.3em;
	padding-right: 5px;
}

/* Mobile */
@media screen and (max-width: 1080px){
	.optional-backtext{
		display: none;
	}
}

@media screen and (max-width: 1024px){
	#contentbox, #headerbox, #inbetweenbox, #footerbox, #contenthomecontainer, #contentboxhome, #contentboxtwo, .fullcolbox, .widecolbox{
		width: 100%;
		border-left: none;
		border-right: none;
	}

        #navbox{
		top: 79px;
	}

	#headerbox{
		height: 158px;
	}
	.widecolbox{
		float: none;
	}
	#contentboxhome{
		float: none;
	}
	.halffullcolbox{
		width: 49%;
		text-align: center;
		display: inline-block;
		float: none;
		vertical-align: top;
	}
	.halffullcolunit{
		width: 90%;
		display: inline-block;
		float: none;
		display: inline-block;
	}
	.twothirdcontent{
		box-sizing: border-box;
		width: 100%;
	}
	.bluebutton{
		max-width: 90%;
	}
	.lunitcol{
		width: 90%;
	}
}
@media screen and (max-width: 900px){
	.backtext{
		display: none;
	}
}
@media screen and (max-width: 800px){
	.gameheadername{
		display: none;
	}
}
@media screen and (max-width: 735px){
	#headerbox{
		height: 199px;
	}

	#navbox{
		position: absolute;
		left: 0;
		top: 120px;
	}
	.halffullcolbox{
		width: 100%;
	}
	.halffullcolunit{
		width: 90%;
	}
}
@media screen and (max-width: 728px){
	.adcontainer{
		width: 100%;
	}
	#adbox{
		width: 100%;
		height: 12.36vw;
	}
}
@media screen and (max-width: 530px){
	#navbox a br{
		display: none;
	}

	#navbox a{
		clear: both;
		width: 100%;
		height: auto;
		padding-top: 10px;
		padding-bottom: 10px;
		box-sizing: border-box;
		float: none;
	}

	#headerbox{
		height: 120px;
	}

	#loginbox{
		width: 120px;
	}

	#navbox{
		width: 100%;
		top: 70px;
	}

	#navbox .navdivider{
		background-image: url("images/nav_divider_wide.png");
		background-size: cover;
		width: 100%;
		height: 1px;
		background-position: center;
	}
	.menutoggle{
		display: inline-block;
	}
	#navbox nav{
		display: block;
		height: auto;
		opacity: 0;
		overflow: hidden;
		clear: both;
		padding-top: 15px;
		background: #2cb7c4;
		background: -moz-linear-gradient(top, #2cb7c4 0%, #16718a 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2cb7c4), color-stop(100%,#16718a));
		background: -webkit-linear-gradient(top, #2cb7c4 0%,#16718a 100%);
		background: -o-linear-gradient(top, #2cb7c4 0%,#16718a 100%);
		background: -ms-linear-gradient(top, #2cb7c4 0%,#16718a 100%);
		background: linear-gradient(top, #2cb7c4 0%,#16718a 100%);
		transition: opacity 0.4s;
		pointer-events: none;
	}
	#navbox.open nav{
		opacity: 1;
		pointer-events: unset;
	}
	#navbox.open .menutoggle{
		background: #2cb7c4;
	}
	form[name="contactform"] td{
		display: block;
		width: 100%;
	}
	form[name="contactform"] table{
		width: 100%;
	}
	form[name="contactform"] td input[type="text"],
	form[name="contactform"] td textarea{
		width: 90%;
	}
	#popup, #popup2{
		width: 80%;
		padding: 2vw;
	}
}
@media screen and (max-width: 500px){
	.gameheaderright{
		position: absolute;
		top: 70px;
		width: 100%;
	}
	.gameheaderbutton{
		float: none;
		display: inline-block;
	}
	#headerboxwide{
		margin-bottom: 60px;
	}
	.gameheaderleft{
		width: 100%;
	}
	.gameexit{
		float: right;
		padding-right;
	}
}
@media screen and (max-width: 419px){
	#footerbox{
		clear: both;
	}
}
@media screen and (max-width: 355px){
	#logobox .social_icon{
		top: 1.40625vw; /* 5/355.555 */
		height: 11.8125vw; /* 42/355.555 */
		width: 11.8125vw;
		background-size: cover;
	}
	#logobox .social_facebook{
		left: 16.875vw; /* 60/355.555 */
	}
	#logobox .social_pinterest{
		left: 28.6875vw; /* 102/355.555 */
		background-position-x: 25vw;
	}
	#logobox .social_twitter{
		left: 40.5vw; /* 144/355.555 */
		background-position-x: 12vw;
	}
	#popup, #popup2{
		width: 95%;
	}
}
