/* CSS Resets */

html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,address,cite,code,del,dfn,em,img,ins,q,small,strong,sub,sup,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;margin:0;padding:0}article,aside,figure,figure img,figcaption,hgroup,footer,header,nav,section,video,object{display:block}a img{border:0}figure{position:relative}figure img{width:100%}


/* ==================================================================================================================== */
/* ! The 1140px Grid V2 by Andy Taylor \ http://cssgrid.net \ http://www.twitter.com/andytlr \ http://www.andytlr.com   */
/* ==================================================================================================================== */

.container {
padding-left: 20px;
padding-right: 20px;
}

.row {
width: 100%;
max-width: 1140px;
min-width: 400px;
margin: 10px auto;
overflow: visible;
padding-bottom: 20px;
position: relative;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol {
margin-right: 3.8%;
float: left;
min-height: 1px;
}

.row .onecol {
width: 4.85%;
}

.row .twocol {
width: 13.45%;
}

.row .threecol {
width: 22.05%;
}

.row .fourcol {
width: 30.75%;
}

.row .fivecol {
width: 39.45%;
}

.row .sixcol {
width: 48%;
}

.row .sevencol {
width: 56.75%;
}

.row .eightcol {
width: 65.4%;
}

.row .ninecol {
width: 74.05%;
}

.row .tencol {
width: 82.7%;
}

.row .elevencol {
width: 91.35%;
}

.row .twelvecol {
width: 100%;
float: left;
}

.last {
margin-right: 0px;
}

img, object, embed {
max-width: 100%;
}



/* Smaller screens */

@media only screen and (max-width: 1023px) {

	body {
	font-size: 12px;
	line-height: 1.5em;
	} 
}


/* Mobile */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
      /*load high res logo on homepage header for retina displays*/
}
@media handheld, only screen and (max-width: 700px),only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
	.row .onecol, .row .twocol, .row .threecol, .row .fourcol, .row .fivecol, .row .sixcol, .row .sevencol, .row .eightcol, .row .ninecol, .row .tencol, .row .elevencol, .row .twelvecol,footer,.row {
	width: auto;
	float: none;
	margin-left: 0px;
	margin-right: 0px;
	padding: 0 20px;
	}
	
	#tabs ul li {width: 98%; text-align: center; padding: 3px 0; margin: 0 auto;}
	#tabs {max-height: none;}
	.tab {float:none;}
	.fixed_menu {display: none;}
	body {
	font-size: 14px;
	-webkit-text-size-adjust: none;
	}
	button.btn{
        max-height: 52px;
    }
	.divider{
		display:none;
	}
	.race {
	   border-top: none;
		border-bottom: solid 1px #ddd;
		padding-top: 10px;
		margin-top: 20px;
	}
	header.container {
		margin-bottom:20px;
	}
	header form, form {width: 100%; float:none;}
	footer {margin-top:25px;}
	footer .row {padding:20px 0px;}
	.twelvecol h6 {display:none}
	.primary_key.float_right{float:none; border:none;}
	.primary_key {font-size:1em; padding:10px;}
	.races_to_watch {display:none;}
	.home_key{ text-align:center;margin:20px 0px;}
	.home_key strong{display:none;}
    .container p, .rss_links li a{ font-size:1.35em; } 
    .rss_links li, .container ul li {margin-bottom:15px;}
    .container h3 {	font-size:1.2em; }
    .contaienr h6 {margin:30px 0px 20px 0px; }
    .primary_results{display:block;}
    .primary_results h6 {margin-bottom:0px;}
    .index .primary_key {display:none;}
    .dashboard .primary_key {display:none;}
    .primary_percentage_points_wrapper{margin:5px 0px 0px 0px;}
    .btn_location img {padding:7px 0px 0px 5px;width:20px;height:20px;}
    .map_wrapper{display:none;}

     /* icons */
       

	/* ##################################################
     Details view
##################################################  */

     .detail .twocol{width: 25%; float: left;}

	.row, body, .container {
	width: 100%;
	min-width: 0;
	margin:0;
	padding-left: 0px;
	padding-right: 0px;
	}
	 .container .row{border:none;}
	


}
