﻿/* apply a natural box layout model to all elements, but allowing components to change */
/*html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}*/
html {
	height: 100%;
	box-sizing: border-box;
	/*-webkit-box-shadow:inset 0 0 780px 5px #000;
	box-shadow:inset 0 0 780px 5px #000;*/
	
}
body {
	background: #2e609d;
}
body.home {
	background-image: url(http://www.nhra.com/images/backgrounds/2015GenericSkin.jpg);
	background-image: url(/media/1019/background.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center center;
	background-size: 2000px auto;
	background-color: #0553A5;
}
img {
	border: none;
}
/* ---------NAVIGATION BAR----------------------------*/
#nav-wrapper {
	width: 960px;
	margin: auto;
	box-sizing: border-box;
}
li {
	box-sizing: border-box;
}
nav {
	width: 100%;
	text-align: center;
}
#menu {
	width: 960px;
	height: 50px;
	position: relative;
	/*font-family: "Play",sans-serif;*/
	font-family: Arial, Helvetica, sans-serif;
	font-style: italic;
	font-weight: bold;
	font-size: 1.3em;
	text-transform: uppercase;
}
#menu, #menu ul {
	padding: 0;
	margin: 0 auto;
	list-style: none;
}
#menu li {
	float: left;
	border-right: 1px solid #b72020;
	text-align: center;
	width: 20%;
}
#menu li > a {
	background: #c12a2a;
	
}
#menu > li:first-child a {
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;

	/*line-height: normal;
	font-size: 0.78em;*/
}
#menu > li ul li a {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	height: 30px;
	line-height: 30px;
}
#menu li ul li {
	font-family: 'Play', sans-serif;
	font-size: .8em;
}
#menu > li:last-child a {
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	
}
#menu > li:last-child {
	border-right: none;
}
#menu a {
	display: block;
	padding: 4px;
	height: 50px;
	line-height: 50px;
	text-decoration: none;
	color: #fff;
}
#menu a:hover {
	color: #fff;
	background: #d74d4d;
}
#menu li ul {
	position: absolute;
	left: -999em;
	z-index: 10;
	width: 192px;
}
#menu li ul li {
	border-right: none;
}
#menu li:hover ul, #menu li ul:hover {
	left: auto;
}
#menu ul li {
	width: 100%;
}
/* -------- FOOTER NAVIGATION-------------------- */
#footer-nav {
	display: block;
	width: 944px;
	margin: 8px;
	padding: 0;
	color: #fff;
	font-size: 14px;
}
#footer-nav > li {
	float: left;
	width: 225px;
	height: 250px;
	margin-right: 10px;
	border-right: 1px solid rgba(255,255,255,0.3);
}
#footer-nav > li:last-child {
	margin-right: 0;
	width: 235px;
}
#footer-nav, #footer-nav ul {
	list-style: none;
	
}
#footer-nav ul {
	display: block;
	margin: 0;
	padding: 0;
}
#footer-nav a {
	color: #fff;
	text-decoration: none;
}
#footer-nav a:hover {
	text-decoration: underline;
}
/* ---------BOTTOM LINKS -------------*/
#bottom-links {
	width: 960px;
	margin: auto;
	text-align: center;
	color: #fff;
	font-size: 10px;
}
#bottom-links a {
	color: #fff;
}
/*--------- ARTICLES-----------------*/
.article {
	display: inline-block;
	max-width: 150px;
}
/* -------- CAROUSEL : CLASS --------*/

/* -------- CAROUSEL : SPONSOR FOOTER -------- */
#spWrapper {
	position: relative;
	width: 944px;
	height: 90px;
	margin: auto;
}
#spCarousel div {
	text-align: center;
	width: 200px;
	height: 90px;
	float: left;
	position: relative;

	text-align: center;
	color: #333;
	font-family: Arial, Geneva, SunSans-Regular, sans-serif;
	font-size: 14px;
	font-weight: bold;
	display: block;
}
#spCarousel div img {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}
#spPrev {
	position: absolute;
	left: 0;
	width: 22px;
	height:90px;
	z-index: 1;
	background: #777;
	line-height: 90px;
	font-size: 1.2em;
	text-align: center;
	cursor: pointer;

}
#spNext {
	position: absolute;
	right: 0;
	width: 22px;
	height:90px;
	z-index: 1;
	background: #777;
	line-height: 90px;
	font-size: 1.2em;
	text-align: center;
	cursor: pointer;
}
/* -------- CAROUSEL : EVENT TICKER  -------- */
#etWrapper {
	width: 944px;
	width: 884px;
	max-width: 100%;
	height: 120px;
	background: #fff;
	float: left;
}
#etCarousel {
	width: 884px!important;
	/*position: absolute;
	top: 0;
	left: 30px;*/
}
#etWrapper .caroufredsel_wrapper {
	width: 884px!important;
	max-width: 100%;
}
#etCarousel .event {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	text-align: center;
	/*width: 221px!important;*/
	height: 120px;
	float: left;
	position: relative;
	color: #333;
	font-size: 14px;
	font-weight: bold;
	display: block;
	border: 1px solid #fff;
	border-left: none;
	background: #fff;
	padding: 3px;
	color: #fff;


	background: rgb(255,255,255); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(229,229,229,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */


	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e2e2e2+0,dbdbdb+50,d1d1d1+51,fefefe+100;Grey+Gloss+%231 */
	background: rgb(226,226,226); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(226,226,226,1) 0%, rgba(219,219,219,1) 50%, rgba(209,209,209,1) 51%, rgba(254,254,254,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(226,226,226,1)), color-stop(50%,rgba(219,219,219,1)), color-stop(51%,rgba(209,209,209,1)), color-stop(100%,rgba(254,254,254,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(226,226,226,1) 0%,rgba(219,219,219,1) 50%,rgba(209,209,209,1) 51%,rgba(254,254,254,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe',GradientType=0 ); /* IE6-9 */

	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1e3668+0,1a487c+48,1e3668+100 */
	background: rgb(30,54,104); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(30,54,104,1) 0%, rgba(26,72,124,1) 48%, rgba(30,54,104,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,54,104,1)), color-stop(48%,rgba(26,72,124,1)), color-stop(100%,rgba(30,54,104,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(30,54,104,1) 0%,rgba(26,72,124,1) 48%,rgba(30,54,104,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(30,54,104,1) 0%,rgba(26,72,124,1) 48%,rgba(30,54,104,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(30,54,104,1) 0%,rgba(26,72,124,1) 48%,rgba(30,54,104,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(30,54,104,1) 0%,rgba(26,72,124,1) 48%,rgba(30,54,104,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e3668', endColorstr='#1e3668',GradientType=0 ); /* IE6-9 */

	

}
.event hr {
	background-color: #0000ff;
}
#etCarousel .event:first-child {
	border-left: 1px solid #d1d1d1;
}
#etCarousel .selected-event {
	/*background: #b4c4d8 !important;*/



	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#fff04f+0,fff04f+100 */
	background: rgb(255,240,79); /* Old browsers */
	background: -moz-linear-gradient(top,  rgba(255,240,79,1) 0%, rgba(255,240,79,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,240,79,1)), color-stop(100%,rgba(255,240,79,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,240,79,1) 0%,rgba(255,240,79,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,240,79,1) 0%,rgba(255,240,79,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,240,79,1) 0%,rgba(255,240,79,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(255,240,79,1) 0%,rgba(255,240,79,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff04f', endColorstr='#fff04f',GradientType=0 ); /* IE6-9 */

	color: #1E396B;

}
.selected-event .event-title {
	text-shadow: 1px 1px 0 #FFF;
}
.selected-event .event-date {
	text-shadow: 1px 1px 0 #fff;
}
.event-title {
	
	font-weight: bold;
	font-size: 1.2em;

	width: 100%;
	/*height: 120px;*/
	overflow: hidden;
	

	position: relative;
	top: 50%;
	transform: translateY(-50%);
	
}
.event-desc {
	width: 200px;
	font-size: 0.9em;
	margin: auto;
	margin-top: 5px;
	height: 30px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.event-date {
	width: 100%;
	text-align: center;
	position: absolute;
	top: 5px;
	font-size: 1.5em;
	font-weight: bold;
	text-transform: uppercase;
	text-shadow: 2px 2px 0 #000;
}
.event-links {
	position: absolute;
	bottom: 4px;
	width: 100%;
	font-size: 1em;
	
	color: #fff;
	
}
.event-links a {
	text-decoration: none;
	color: #fff;
}
.selected-event a {
	color: #1E396B;
}
.event-links a:hover {
	text-decoration: underline;
}
.bullet {
	font-size: 1.1em;
}
#etPrev {
	float: left;
	width: 30px;
	height:120px;
	line-height: 120px;
	background: #1478c3;
	cursor: pointer;
	text-align: center;
	font-size: 1.2em;
	color: #fff;
}
#etNext {
	float: right;
	width: 30px;
	height: 120px;
	line-height: 120px;
	background: #1478c3;
	cursor: pointer;
	text-align: center;
	font-size: 1.2em;
	color: #fff;
}

#etNext, #etPrev {
	box-sizing: border-box;
	background: #2E609D;
}
/* -------- HEADER STYLES-------------------------- */
#header {
	width: 960px;
	height: 150px;
	margin: auto;
	box-sizing: border-box;
}
#logo {
	width: 200px;
	height: 150px;
	text-align:center;
	box-sizing: border-box;
	float: left;
}
#logo img {
	max-width: 100%;
	max-height: 140px;
	margin: 5px 0;
}
#header-right-wrapper {
	width: 760px;
	height: 150px;
	float: left;
	position: relative;
}
#header-ad {
	height: 90px;
	margin: 10px 0;
	text-align: center;
}
#header-social {
	height: 40px;
	line-height: 40px;
	text-align: right;
	position: absolute;
	right: 0;
	bottom: 0;
}
#nhra-branding {
	float: left;
	margin-left: 65px;
}

/* -------- LATEST NEWS STYLES---------------------- */
#news-wrapper {
	float: left;
	width: 311px;
	width: 302px;
	height: 430px;
	background: #fff;
	position: relative;
	margin-left: 8px;
	box-sizing: border-box;
	border: 1px solid #e2e2e2;

}
#news-wrapper h2 {
	height: 35px;
	line-height: 35px;
	margin: 0;
	padding: 0;
	text-align: center;
	background: #777;
	font-family: 'Play', sans-serif;
	background: #e2e2e2; /* Old browsers */
	background: -moz-linear-gradient(top,  #e2e2e2 0%, #dbdbdb 50%, #d1d1d1 51%, #fefefe 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e2e2e2), color-stop(50%,#dbdbdb), color-stop(51%,#d1d1d1), color-stop(100%,#fefefe)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #e2e2e2 0%,#dbdbdb 50%,#d1d1d1 51%,#fefefe 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#fefefe',GradientType=0 ); /* IE6-9 */
}
#news-wrapper ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#news-wrapper li {
	height: 35px;
	line-height: 35px;
	border-bottom: 1px solid #d1d1d1;
}
#news-wrapper li:last-child {
	border-bottom: none;
}
#news-wrapper li a {
	width: 100%;
	height: 35px;
	display: block;
	text-decoration: none;
	text-indent: 5px;
	font-family: 'Play', sans-serif;
	color: #000;
}
#news-wrapper li a:hover {
	background: #dbdbdb;
}
#news-wrapper li a:before {
	content:  "» ";
}
#more-news {
	position: absolute;
	bottom: 0;
	right: 3px;
}
#more-news a {
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	text-decoration: none;
	color: #000;
}
#more-news a:before
{
	content:  "» ";
}
/* -------- GENERAL STYLES------------------------- */
.content {
	width: 944px;
	margin: auto;
	box-sizing: border-box;
	font-family: Arial, Helvetica, sans-serif;
}
.inner-content {
	width: 930px;
	margin: auto;
}
.clearfix {
	clear: both;
	height: 8px;
}
#content-wrapper {
	width: 944px;
	margin: auto;
	padding: 8px;
	background: #fff;
	border-radius: 8px;
}
h2.page-title {
	font-family: 'Play', sans-serif;
	background: #2e609d;
	color: #fff;
	padding: 3px;
}
#right-ad {
	width:300px;
	height:250px;
	background:#808080;
	position: absolute;
	bottom: 0;
}
/*----------SOCIAL WIDGETS STYLES---------------------*/
#social-wrapper {
	float: left;
	width: 944px;
	height: 270px;
	margin-right: 8px;
}
.tweets iframe {
	width: 100% !important;
	height: 250px !important;
}
.tweets {
	float: left;
	width: 320px !important;
	margin-bottom: 5px;
	margin-right: 12px;
}
.facebook {
	float: left;
	width: 312px;
	height: 250px;
}
.fanhub {
	float: left;
	width: 311px;
	width: 300px;
}
/* -------- MAIN CAROUSEL STYLES-------------------- */
#carousel-wrapper {
	float: left;
	width: 633px;
	height: 430px;
	background: #69C;
	background: #fff;
	position: relative;
}
.c-item img {
	width: 633px;
	height: auto;
}
.c-item {
	background-position: center center;
	background-repeat: no-repeat;
	
	background-size: auto 430px;
}
@media (max-width:960px) {
	.c-item {
		width: 100%;
		background-size: cover;
	}
	.c-item img {
		width: 100%;
		height: auto;
	}
}
.ns {
	-webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;
}
.long {
	
}
#nwsWrapper {
	
}
.content-overlay {
	position: absolute;
	bottom: 3px;
	z-index: 1;
	width: 633px;
	height: 90px;
	background: rgba(0,0,0,0.8);
	color: #fff;
	text-align: left;
	text-indent: 5px;
	font-family: 'Play', sans-serif;
}
.content-overlay h1 {
	margin: 0;
	padding: 0;
}
.action-button {
	position: absolute;
	bottom: 5px;
	right: 5px;
	width: 130px;
	height: 40px;
	margin: auto;
	background: #c12a2a;
	text-align:center;
	line-height: 40px;
	border-radius: 10px;
	border: 3px solid #b72020;
}
.action-button a {
	color: #fff;
	text-decoration: none;
}
@media (max-width:960px) {
	.content-overlay {
		width: 100%;
	}
}
@media (max-width: 550px) {
	.content-overlay {
		height: 70px;
	}
	.content-overlay h1 {
		font-size: 1.3em;
	}
	.action-button {
		width: 100px;
		height: 30px;
		line-height: 30px;
	}
}


#pager {
	position: absolute;
	right: 5px;
	bottom: 60px;
	z-index: 100;
}
#pager a {
	border: 2px solid #fff;
	border-radius: 5px;
	display: inline-block;
	width: 5px;
	height: 5px;
	margin: 0 5px 0 0;
}
#pager a:hover {
	background-color: rgba(255, 255, 255, 0.5);
}
#pager a span {
	display: none;
}
#pager a.selected {
	background-color: #fff;
}
/* ----------------------------------------------------- 960px OR SMALLER -----------------------------------------------------*/
@media (max-width:960px) { /* tablet, landscape iPad, lo-res laptops ands desktops */
	body {
		margin: 0;
	}
	footer {
		display: none;
	}
	#header {
		width: 100%;
	}
	#right-ad {
		display: none;
	}
	#content-wrapper {
		max-width: 100%;
		padding: 0;
		margin: 0;
	}
	.content, .inner-content {
		width: 100%;
	}
	img {
		max-width: 100%;
		height: auto!important;
	}
	iframe {
		max-width: 100%;
	}
	#header-right-wrapper {
		display: none;
	}
	#carousel-wrapper {
		float: none;
		width: 100%;
		height: auto;
		margin: 0;
		padding: 0;
	}
	/*------------NAVIGATION BAR---------------------*/
	#nav-wrapper, #menu {
		width: 100%;
		height: auto;
	}
	#menu li {
		float: none;
		width: 100%;
	}
	#menu > li:first-child a {
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
	}
	#menu > li:last-child a {
		border-radius: 0;
	}
	/*------------LATEST NEWS------------------------*/
	#news-wrapper {
		float: none;
		width: 100%;
		height: auto;
		margin: 0;
		padding: 0;
	}
	/* ---------- CAROUSEL SPONSOR FOOTER ---------- */
	#spWrapper {
		width: 80%;
	}
	#spPrev {
		width: 10%;
		height: 90px;
	}
	#spNext {
		width: 10%;
		height: 90px;
	}
	/* ---------- CAROUSEL EVENT TICKER ---------- */
	#etPrev, #etNext {
		display: none!important;
	}
	#nwsPrev {
		width: 10%;
		height: 400px;
	}
	#nwsNext {
		width: 10%;
		height: 400px;
	}
	#social-wrapper {
		display: none;
	}
}

iframe[id^='twitter-widget-'] {
	margin-bottom:10px !important;
	width:100% !important;
}