* {font-family: 'Open Sans', sans-serif; font-weight: 400;}
html {background-color:#403326;}
body {background-color:#403326; margin: 0; padding: 0;}
h1, h2, h3 {color: #ffe3b9; font-weight: 800;}
h1 {padding: 0; margin: 0;}
p,a {color:#d9c09c; font-size: 15px;}
a {text-decoration: none}
header {margin:0;}
iframe {height: 100%; width: 100%;}
br.clear {
	clear:both;
}

.center {
	text-align: center;
}

h3.main-message {
	font-size: 20px;
	text-align: center;
	font-weight: 400;
	color: #fff;
	margin-bottom: 50px;
}

#header {
	margin-top: 0px;
	background-image:url('../images/header2.jpg');
	height: 420px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

#logo {
	width: 805px;
	height: 288px;
	background-image: url('../images/logo2.png');
	margin-left: auto;
	margin-right: auto;
}

#logo span {
	display: none;
}

#cars {
	width: 921px;
	height: 369px;
	background-image: url('../images/cars2.png');
	margin-left: auto;
	margin-right: auto;
	position: relative;
	top:-155px;
}

#buttons {
	height: 75px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 550px;
	top:-210px;
	text-align: center;
}

#search {
	position: relative;
	top:-180px;
	width: 600px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

#appstore {
	display: block;
}

#search-text {
	padding: 12px 40px 12px 40px;
	background: #2d241b;
	color:#fff;
	font-size:16px;
	font-weight: 400;
	text-align: center;
	display: inline-block;
}

#search-text span {
	color: #ffd34f;
	font-weight: 800;
}

img.appstore {
	top:5px;
}

img.nintendo {
	xtop:5px;
	margin-left: 5px;
	width: 140px;
}

a.button {
	font-weight: 800;
	margin: 0px 10px 0 10px;
	text-transform: uppercase;
	text-decoration: none;
    min-width: 250px;
    background: #e7e6e4;
    padding: 10px 30px 10px 30px;
    text-align: center;
    color: #30302f;
    box-shadow: 0px 3px 5px #000;
}

h2 {
	font-weight: 800;
	text-transform: uppercase;
}

a.button:hover {
	background: #fff;
}

.yellow {
	background: #f7cf3a !important;
}

a.yellow:hover {
	background: #f9e15f !important;
}

div.wrap {
	width: 875px;
	margin-left: auto;
	margin-right: auto;
}

div.dark {
	background-color: #2d241b;
	padding-top: 30px;
	padding-bottom: 30px;
}

div.darker {
	background-color: #1a1510;
	padding-top: 30px;
	padding-bottom: 30px;
}

div.darkbg {
	background: #2d241b url("../images/bg_light.png");
	background-repeat: no-repeat;
	background-position: bottom center;
}

div.light {
	background-color: #403326;
	background: #403326 url("../images/bg_dark.png");
	background-repeat: no-repeat;
	background-position: bottom center;
	padding-top: 30px;
	padding-bottom: 30px;	
}

div.lighter {
	background: #fff;
	background: -webkit-linear-gradient(#fff, #b8b4a8);
    background: -o-linear-gradient(#fff, #b8b4a8);
    background: -moz-linear-gradient(#fff, #b8b4a8);
    background: linear-gradient(#fff, #b8b4a8);
    padding-top: 30px;
	padding-bottom: 30px;
}

div.lighter h3 {
	color: #403326;
	font-size: 25px;
	text-transform: uppercase;
}

div.lighter p {
	color: #403326;
	font-size: 14px;
}

#screenshots {
	margin-left: auto;
	margin-right: auto;
	width:875px;
}

div.screenshot {
	display: inline-block;
	margin: 15px;
}

div.screenshot a img {
	border: 10px solid #2d241b;
}

div.screenshot a:hover img {
	box-shadow: 0px 6px 15px #000;
	border: 10px solid #f7cf3a;
}

div.footer p {
	font-size: 12px !important;
	color: #b39d7e;
}

div.grbox {
	padding: 30px 20px 30px 460px;
	margin-bottom: 20px;
	border-bottom: 1px solid #1c1611;
	background-position: bottom left;
	background: #2d241b;
	min-height: 80px;
}

div.grbox h3 {
	padding: 0;
	margin: 0;
	height: auto;
	color: #fff;
	font-size: 25px;
	text-transform: uppercase;
}

div.grbox p {
	padding: 0;
	margin: 0;
	margin-top: 10px;
	color: #c29143;
}

#imageGalery ul li img {
	box-shadow: 10px #000;
}

a.bottom-link {
	padding: 6px 10px 6px 40px;
	text-decoration: none;
	color: #a5895d;
	margin-right: 20px;
	display: inline-block;
}

a.bottom-link:hover {
	color: #dfba7e;
	text-decoration: underline;
}

.video-container {
	background: #000;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

img.square {
	display: none;
}

@media only screen {
	#header {
		margin-top: 0px;
		background-image:url('../images/header2.jpg');
		height: 330px;
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
	}

	#logo {
		width: 100%;
		max-width: 805px;
		background-size: 100%;
		background-repeat: no-repeat;
		background-image: url('../images/logo2.png');
		margin-left: auto;
		margin-right: auto;
		margin-top:-20px;
	}

	#cars {
		width: 100%;
		background-size: 100%;
		max-width: 921px;
		background-repeat: no-repeat;
		background-image: url('../images/cars2.png');
		margin-left: auto;
		margin-right: auto;
		position: relative;
		top:-175px;
	}

	#search {
		position: relative;
		top:-435px;
		width: 90%;
		max-width: 600px;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	div.content {
		padding: 20px 30px 20px 30px;
	}

	div.wrap {
		width: auto;
		margin-left: auto;
		margin-right: auto;
	}

	div.dark {
		background-color: #2d241b;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	div.darker {
		background-color: #1a1510;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	div.darkbg {
		background: #2d241b url("../images/bg_light.png");
		background-repeat: no-repeat;
		background-position: bottom center;
	}

	div.light {
		background-color: #403326;
		background: #403326 url("../images/bg_dark.png");
		background-repeat: no-repeat;
		background-position: bottom center;
		padding-top: 30px;
		padding-bottom: 30px;	
	}

	#screenshots {
		margin-left: auto;
		margin-right: auto;
		width:auto;
	}

	#screenshots li img {
		width: 100%;
		height: 100%;
	}

	div.footer {
		padding-left: 20px;
		padding-right: 20px;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	a.bottom-link {
		padding: 6px 10px 6px 10px;
		text-decoration: none;
		color: #a5895d;
		margin-right: 20px;
		display: block;
		margin-bottom: 10px;
		font-size: 18px;
	}

	div.grbox {
		padding: 110px 30px 30px 30px;
		margin-bottom: 15px;
		border-bottom: 1px solid #1c1611;
		background: #2d241b;
		text-align: center;
	}

	div.grbox2 {
		float: left;
		width: 100%;
		min-height: 280px;
		margin-bottom: 25px;
		border-bottom: 1px solid #1c1611;
		background: #2d241b;
		text-align: center;
		box-shadow: 0 5px 4px rgba(0,0,0,0.3);
	}

	div.grbox2 h3 {
		text-align: center;
		text-transform: uppercase;
		color: #fff;
		display: inline-block;
		margin: 0 10px 0 10px;
		padding: 10px;
		background: #2d241b;
		margin-top: 195px;
		font-size: 22px;
	}

	div.grbox2 p {
		margin: 1px 10px;
		padding: 10px;
		background: #2d241b;
		color: #be8a3a;
	}

	.box-editor {
		background: #2d241b url("../images/tiles_editor.jpg") !important;
		background-repeat: no-repeat !important;
		background-position: top center !important;
		background-size: 100% !important;
	}

	.box-racers {
		background: #2d241b url("../images/tiles_racers.jpg") !important;
		background-repeat: no-repeat !important;
		background-position: top center !important;
		background-size: 100% !important;
	}

	.box-garage {
		background: #2d241b url("../images/tiles_garage.jpg") !important;
		background-repeat: no-repeat !important;
		background-position: top center !important;
		background-size: 100% !important;
	}

	.box-rally {
		background: #2d241b url("../images/tiles_rally.jpg") !important;
		background-repeat: no-repeat !important;
		background-position: top center !important;
		background-size: 100% !important;
	}

	.box-tracks {
		background: #2d241b url("../images/tiles_tracks.jpg") !important;
		background-repeat: no-repeat !important;
		background-position: top center !important;
		background-size: 100% !important;
	}

	.logo-link {
		padding: 10px;
		display: block;
	}

	.atv {
		width:100%;
	}	

	div.lighter h3, div.lighter p {
		text-align: center;
	}
}

@media only screen and (min-width: 480px){
	#header {
		margin-top: 0px;
		background-image:url('../images/header2.jpg');
		height: 400px;
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
	}

	#search {
		top:-365px;
		width: 90%;
		max-width: 600px;
	}

	div.grbox {
		text-align: left;
		padding: 30px;
	}

	div.grbox div.grbox-phone {
		display: none;
	}

	img.square {
		display: inline-block;
		width: 150px;
		height: 100px;
		padding-right: 30px;
		padding-bottom: 40px;
	}	

	.cars {
		content: url('../images/box_cars_sm.jpg');
	}

	.map {
		content: url('../images/box_map_sm.jpg');
	}

	.medals {
		content: url('../images/box_medals_sm.jpg');
	}

	.racers {
		content: url('../images/box_racers_sm.jpg');
	}
}

@media only screen and (min-width: 600px) {
	div.grbox2 {
		float:left;
		width: 48%;
		min-height: 280px;
		margin-bottom: 25px;
		border-bottom: 1px solid #1c1611;
		background: #2d241b;
		text-align: center;
		box-shadow: 0 5px 4px rgba(0,0,0,0.3);
	}

	.box-editor {
		margin-right: 4%;
		background: #2d241b url("../images/tiles_editor.jpg") !important;
		background-repeat: no-repeat !important;
		background-position: top center !important;
		background-size: 100% !important;
	}

	.box-racers {
		margin-right: 4%;
		background: #2d241b url("../images/tiles_racers.jpg") !important;
		background-repeat: no-repeat !important;
		background-position: top center !important;
		background-size: 100% !important;
	}

	.box-garage {
		background: #2d241b url("../images/tiles_garage.jpg") !important;
		background-repeat: no-repeat !important;
		background-position: top center !important;
		background-size: 100% !important;
	}

	.box-rally {
		margin-right: 4%;
		background: #2d241b url("../images/tiles_rally.jpg") !important;
		background-repeat: no-repeat !important;
		background-position: top center !important;
		background-size: 100% !important;
	}

	.box-tracks {
		background: #2d241b url("../images/tiles_tracks.jpg") !important;
		background-repeat: no-repeat !important;
		background-position: top center !important;
		background-size: 100% !important;
	}
	
	.lSSlideWrapper {
		box-shadow: 0 0 20px rgba(0,0,0,1);
	}

	#header {
		margin-top: 0px;
		background-image:url('../images/header2.jpg');
		height: 480px;
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
	}

	#cars {
		top:-95px;
	}

	div.content {
		padding: 20px 30px 20px 30px;
	}

	#search {
		top:-245px;
		width: 90%;
		max-width: 600px;
	}

	.logo-link {
		display: inline-block;
	}

	
}

@media only screen and (min-width: 900px) {
	.atv {
		width:587px;
		height:317px;
	}

	div.lighter h3, div.lighter p {
		text-align: left;
	}

	#header {
		margin-top: 0px;
		background-image:url('../images/header2.jpg');
		height: 592px;
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
	}

	div.content {
		padding: 30px 60px 30px 60px;
	}

	#logo {
		width: 805px;
		height: 288px;
		background-image: url('../images/logo2.png');
		background-size: 100%;
		margin-left: auto;
		margin-right: auto;
		background-repeat: no-repeat;
		margin-top:-30px;
	}

	#logo span {
		display: none;
	}

	#cars {
		width: 921px;
		height: 369px;
		background-image: url('../images/cars2.png');
		margin-left: auto;
		margin-right: auto;
		position: relative;
		top:-85px;
	}

	#search {
		position: relative;
		top:-180px;
		width: 600px;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	div.wrap {
		width: 875px;
		margin-left: auto;
		margin-right: auto;
	}

	div.dark {
		background-color: #2d241b;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	div.darker {
		background-color: #1a1510;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	div.darkbg {
		background: #2d241b url("../images/bg_light.png");
		background-repeat: no-repeat;
		background-position: bottom center;
	}

	div.light {
		background-color: #403326;
		background: #403326 url("../images/bg_dark.png");
		background-repeat: no-repeat;
		background-position: bottom center;
		padding-top: 30px;
		padding-bottom: 30px;	
	}

	#screenshots {
		margin-left: auto;
		margin-right: auto;
		width:875px;
	}

	div.screenshot {
		display: inline-block;
		margin: 15px;
	}

	div.screenshot a img {
		border: 6px solid #2d241b;
	}

	div.screenshot a:hover img {
		box-shadow: 0px 6px 10px #000;
		border: 6px solid #f7cf3a;
	}

	div.footer {
		width:875px;
		margin-left: auto;
		margin-right: auto;
		xtext-align: left;
	}

	a.bottom-link {
		display: inline-block;
		margin-bottom: 0;
		font-size: 15px;
		padding: 6px 10px 6px 40px;
	}

	a.facebook {
		background: url("../images/facebook.png");	
		background-repeat: no-repeat;
		background-position: middle left;
	}

	a.twitter {
		background: url("../images/twitter.png");	
		background-repeat: no-repeat;
		background-position: middle left;
	}

	a.press-kit {
		background: url("../images/download.png");	
		background-repeat: no-repeat;
		background-position: middle left;
	}

	div.grbox {
		padding: 30px 20px 30px 460px;
		margin-bottom: 20px;
		border-bottom: 1px solid #1c1611;
		background-position: bottom left;
		background: #2d241b;
		min-height: 80px;
	}

	img.square {
		display: none;
	}	
}

@media only screen and (-webkit-min-device-pixel-ratio: 2.0), (min-resolution: 192dpi) {
    #cars {
		background-image: url('../images/cars2@2x.png');
		xbackground-size: 921px, 369px;
		background-size: 100%;
		background-repeat: no-repeat;
	}

	#logo {
		background-image: url('../images/logo2@2x.png');
		xbackground-size: 805px, 288px;
		background-size: 100%;
		background-repeat: no-repeat;
	}
}  

div.grbox {
	box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}