body{
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	color:#333;
	margin:30px;
	padding:0;
}

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

a:hover, a:focus {
  color: rgba(227, 189, 95, .7);
}


.clr{
	clear:both;
}

.hide{
	display: none;
}

.container{
	width:800px;
	height:450px;
	position: relative;
	overflow: hidden;
}

.start{
	margin: 0 auto;
	text-align: center;
}

.start h3{
	font-size: 48px;
	margin:0;
}

.start h4{
	font-size: 24px;
	margin:15px 0;
}

.start img{
	margin-bottom:20px;
}

#error{
	background: rgba(255,255,255,0.6);
	top:0;
	left:0;
	right:0;
	bottom:0;
	position: absolute;
	z-index: 100;
	display: none;
}

.error-msg{
	margin-top:150px; 
	margin-left:210px;
	width:360px;
	background: #f68e92;
	text-align: center;
	padding:20px;
	color:#231f20;
}

.error-msg a{
	color:#231f20;
}

#results{
	top:0;
	left:0;
	right:0;
	bottom:50px;
	position: absolute;
	z-index: 100;
	display: none;
	background: #fff;
}

.arrow-left, .arrow-right{
	width:40px;
	height:40px;
	background: url('../images/arrows.png');
	cursor: pointer;
	position: absolute;
	top:200px;
}

.arrow-left{
	left:0;
	background-position: 80px 0;
}

.arrow-right{
	right:0;
}

.arrow-left:hover, .arrow-right:hover{
	opacity: 0.6;
}

.arrow-left:active, .arrow-right:active{
	opacity: 0.3;
}

.nav-wrapper{
	position: absolute;
	bottom:0;
	width: 100%;
}

.nav{
	margin:0 auto;
	padding:0;
	background: url('../images/nav-bg.gif') repeat-x 0 11px;
	height: 42px;
}

.nav li{
	padding-top:30px;
	float:left;
	list-style: none;
	width: 90px;
	text-align: center;
	position: relative;
	font-size: 10px;
	font-weight: 400; 
	color:#a6a8ab;
	cursor: pointer;
}

.nav li span{
	display: block;
	background: url('../images/nav-btn.png') no-repeat -206px 0;
	width: 17px;
	height: 23px;
	position: absolute;
	top:0;
	left:35px;
}

.nav li:first-child span{
	width: 54px;
	left: 0;
	background-position: -169px 0;
}

.nav li:last-child span{
	width: 65px;
	right: 0;
	/*background-position: -206px 0;*/
}

.nav .nav-active{
	color:#231f20;
}

.nav li:first-child.nav-active span{
	width: 54px;
	left: 0;
	background-position: -25px 0px;
}

.nav .nav-active span{
	background-position: -53px 0px;
	width: 26px;
	height: 26px;
	left: 32px;
}

.content{
	text-align: center;
	line-height: 25px;
	position: absolute;
	background: #fff;
	width:800px;
	height:400px;
}

.content table{
	margin:0 auto;
	height:100px;
}

.content h4{
	padding:0;
	margin:0;
	font-size: 26px;
}

.content span{
	color:#808184;
}

.content input{
	padding:5px;
	text-align: center;
	font-size: 16px;
	margin-top: 10px;
}

input[type=radio].css-checkbox {
	display:none;
}

input[type=radio].css-checkbox + label.css-label {
	height:30px; 
	display:inline-block;
	line-height:90px;
	background-repeat:no-repeat;
	background-position: center 0;
	font-size:24px;
	vertical-align:middle;
	cursor:pointer;
	margin:0 20px;
	font-size: 12px;
}

input[type=radio].css-checkbox:checked + label.css-label {
	background-position: center -30px;
}

label.css-label {
	background-image:url('../images/option-btn.png');
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.option-multiline{ 
	line-height:20px;
	margin-top: 30px;
}

.page-weight input{
	border:2px solid #666;
	background: #808184;
	color:#fff;
	font-weight: bold;
}

.page-size{
	padding-top:50px;
}

.page-trainrace .css-label{
	width:150px;
}

.page-glue .css-label{
	width:200px;
}

.page-break .css-label{
	width:135px;
}

.page-aero{
	padding-top:50px;
}

.weight-slider{
	position: absolute;
	top: 230px;
	left: 253px;
}

.results{
	text-align: center;
	
}

.results h5{
	background: #e3bd5f;
	display: inline;
	padding:10px 100px;
	color:#fff;
	line-height: 60px;
	font-size: 24px;
}

.results strong{
	line-height: 40px;
}

.gray{
	color:#797979;
}

.wheel-item .yellow{
	color:#d19318;	
}

.wheel-item{
	margin-right:10px;
	margin-bottom: 10px;
	font-size: 11px;
	padding:5px 10px; 
	background: #fbf7ef;
	color:#333;
	width:100px;
	text-align: left;
	overflow: hidden; 
  	text-overflow: ellipsis;
  	white-space: nowrap;
  	display:block;
  	float:left;
}

.wheel-wrap{
	overflow: auto;
}

.wheel-item:hover{
}


.wheel-item span{
	color:#333;
}


.wheel-item strong{
	font-size: 13px;
	color: #d19318;
}

.wheel-item img{
	margin-left: 10px;
}

.start select{
	width:350px;
}


/* Custom select*/
.customSelect {
  background-color: white;
  padding: 6px 20px;
  border: 4px solid #b7bfcf;
  background: url('../images/select-box-bg.gif') right center;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
}

.customSelect.customSelectHover {
  border-color: #dbaf3d;
  -webkit-box-shadow: rgba(0, 0, 0, 0.15) 1px 1px 2px;
  -moz-box-shadow: rgba(0, 0, 0, 0.15) 1px 1px 2px;
  box-shadow: rgba(0, 0, 0, 0.15) 1px 1px 2px;
}
.customSelect.customSelectFocus {
  border-color: #dbaf3d;
}

.customSelect.customSelectOpen {
  border-color: #dbaf3d;
}

.custom-select{
	padding: 12px;
	margin: 6px 0 4px;
	border: 1px solid #ccc;
	background: #fafafa;
	font-size: 12px;
	line-height: normal;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

.mobile-only{
	display:none;
}

.mobile .container{
	width:100%;
}

.mobile .content-m {
	position: relative;
	background: #fff;
	width: 800px;
	height: 400px;
	margin: 0 auto;
}

a.new-window-hack{
	display:none;
	width: 200px;
	padding:12px;
	margin: 10px auto;
	color: black;
}

.mobile .new-window-hack{
	display:block;
	margin-top:20px;
	font-size: 64px;
	background-color: #272727;
	color:#fff;
}

.mobile .custom-select{
	display:none;
}

.mobile .nav-wrapper{
	display: none;
}

.mobile .mobile-only{
	display:inline;
}

.mobile .desktop-only{
	display:none;
}

.mobile .content h4 {
	font-size: 32px;
	margin-top: 30px;
}

.mobile input[type=radio].css-checkbox + label.css-label {
	height:1px;
	padding-top: 30px;
	line-height: 30px; 
}

.mobile .page-aero select{
	font-size:9px;
}

.mobile .content{

}

.mobile #results{
	top: 160px;
	bottom: 0;
	padding-top: 20px;

}

.mobile .wheel-item{
	float:none;
	margin: 0 auto;
	zoom: 2;
	margin-bottom: 10px;
	margin-top: 20px;
}

.mobile .results strong.header1{
	line-height: 23px;
	zoom: 3;
	width: 80%;
	display: block;
	text-align: center;
	margin: 0 auto;
}

body.mobile{
	font-size: 18px;
}

@media screen and (min-width: 100px) and (max-width: 400px){
	.mobile{
		zoom:0.4;
	}
}

@media screen and (min-width: 401px) and (max-width: 600px){
	.mobile{
		zoom:0.5;
	}
}

@media screen and (min-width: 601px) and (max-width: 800px){
	.mobile{
		zoom:0.6;
	}
}
