/* -----------------------------------------------------------------------------------------------------------------------
File Author:	Ryan Marincovich (ryan@bicycletheory.com)
Date Created:   2011.01.18
Client:         VenYou Standards
File Purpose:	Framework style sheet
REVISIONS:
-------------------------------------------------------------------------------------------------------- */


/* ------------------------------  GLOBAL DEFS  -------------------------------------------------------- */

/* ------------------------------  RESETS  -------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
html { background: #000 url(/_images/framework/bg.gif) top center repeat-x; }
body {
	font-family: Arial, Verdana, Helvetica, sans-serif;
	color: #000;
	height: 100%;
}
ol, ul {
	list-style: none;
	margin: 0 0 12px 0;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
p { 
	padding: 0 0 12px 0; 
}
div.details {
	clear: left;
}
.details ol, .details ul { margin: 0 0 12px 15px; }
.details ul { list-style: disc inside; }
.details ol { list-style: decimal inside; }

/* ------------------------------  END RESETS  ---------------------------------------------------- */

/* ------------------------------  GLOBAL IMG DEFS  ---------------------------- */
img {
	border: 0;
	display: block;
}
img.float-right { float: right; }
img.float-left { float: left; }
img.overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 200;
}
div[id^=image] { position: relative; }
div#imageSection {
	width: 700px;
	height: 260px;
	float: left;
}
div#image {
	width: 250px;
	height: 250px;
	padding: 30px 0 15px 40px;
	float: right;
	background: #fff;
}
div[class^=tinythumb] {
	width: 60px;
	height: 60px;
}
div[class^=thumb] {
	width: 100px;
	height: 100px;
}
div[class^=tinythumb] a, div[class^=thumb] a, .image-sponsor a {
	width: 100%;
	height: 100%;
	float: left;
}
/* ------------------------------  END GLOBAL IMG DEFS  ------------------------ */

/* ------------------------------  GLOBAL TEXT HEADER DEFS  ---------------------------- */
/* ------ 18px */
h1 {
	font-size: 1.125em;
	line-height: 1.375em;
}
h1.page-title, h1.headline { 
	margin: 0 0 17px;
	padding: 24px 0 4px;
	color: #333;
	text-transform: uppercase;
	border-bottom: 1px solid #858585;
}
h1.headline {
	font-size: 0.75em;
	line-height: 1.375em;
}
/* ------ 16px */
h2, div.bar span {
	font-size: 0.875em;
	line-height: 1.25em;
}
h2.site-map-head {
	width: 100%;
	padding: 16px 0 0;
	float: left;
}
h2.bar, div.bar {
	width: 620px;
	padding: 7px 10px 6px;
	float: left;
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
	background: #333;
	border-top: 5px solid #ce0000;
}
div.bar span { 
	color: #ccc; 
	font-weight: normal;
}
div.bar span[class^=title] {
	font-weight: bold;
	color: #fff;
	float: left;
}
div.bar span.title-padded { padding: 8px 0 7px; }
div.bar p {
	text-align: right;
	text-transform: none;
	padding: 0;
	float: right;
}
div.bar p a { 
	font-weight: normal; 
	color: #ccc; 
}
/* normal font size 11px */
h3, h4, h5, .regular-text, p, .details>ol, .details>ul, ul#globalNavigation, .standings-table ul {
	font-size: 0.6875em;
	line-height: 1.375em;
}
/* ------ 14px */
#schedule h3, .sortable-table h3 {
	font-size: 0.875em;
	line-height: 1.25em;
}

/* ------ 12px */
#footer h3 {
	padding: 7px 0 12px;
	font-size: 0.75em;
	line-height: 1.375em;
	background: url(/_images/framework/fdivider.gif) bottom left repeat-x; 
	text-transform: uppercase;
}
/* ------------------------------  END GLOBAL TEXT HEADER DEFS  ------------------------ */
/* --------------------------- LINK DEFS ----------------------------------- */
a { font-weight: bold; color: #f00; }
a, a:visited { text-decoration: none; }
a:hover, a:active { text-decoration: underline; }
a.opposite, a:visited.opposite { text-decoration: underline; }
a.opposite:hover, a.opposite:active { text-decoration: none; }
/* --------------------------- END LINK DEFS ------------------------------- */

/* --------------------------- TEXT DEFS ----------------------------------- */
p.centered-text { text-align: center; }
.form-text { 
	width: 100%;
	padding: 16px 0 0 0; 
	float: left;
}
.form-text span { color: #c00; }
.no-records {
	padding: 6px 0 12px 0;
	text-align: center;
}
.eligible { font-weight: bold; color: #4da228; }
.ineligible { color: #c00; }
/* --------------------------- END TEXT DEFS ------------------------------- */

/* --------------------------- ERROR DEFS ---------------------------------- */
.textError {
	width: 100%;
	font-size: 12px;
	font-weight: bold;
	color: #c00;
	background-color: #fee;
}
.textError h1 {
	padding: 10px;
	font-size: 18px;
	font-weight: bold;
	color: #000;
	float: left;
}
.textError ul {	padding: 5px 10px 5px 30px; }
.textError a { padding: 10px; }
.textErrorSmall {
	font-size: 11px;
	padding: 5px;
	color: #c00;
}
/* --------------------------- END ERROR DEFS ------------------------------ */

/* --------------------------- FIXES FOR IE6 ------------------------------ */
.clearfix:after {
     content: " "; 
     display: block; 
     height: 0; 
	 font-size: 0;
     clear: both; 
     visibility: hidden;
}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/

* html .clearfix {height: 1%;}
.clearfix {display: block;}

/* End hide from IE-mac */

/* DEFS FOR INVADER */
#invaderLayer {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 1000; !important
}
#browserInvader {
	width: 540px;
	margin: 0 auto;
	padding: 0 0 1px 0;
	background: #09f;
}
#browserInvader p.header {
	width: 535px;
	height: 40px;
	padding: 0 0 0 5px;
}
#invaderContent {
	width: 500px;
	margin: 0 auto;
	padding: 16px 19px 19px 19px;
	background: #fff;
}
#invaderContent ul {
	width: 100%;
	margin: 0;
	float: left;
}
#invaderContent ul li { 
	margin: 0; 
	float: left;
}
#invaderContent ul li.icon { 
	width: 120px; 
	padding: 4px 0 0 0;
}
#invaderContent ul li.content { width: 380px; }
#invaderContent ul li.content p.callout {
	width: 360px;
	padding: 5px 9px 6px 9px;
	background: #ffc;
	border: 1px solid #cc9;
}
#invaderContent ul li.content p.callout a { color: #f60; }
#invaderContent ul li.content p.callout a, #invaderContent ul li.content p.callout a:visited { text-decoration: underline; }
#invaderContent ul li.content p.callout a:hover, #invaderContent ul li.content p.callout a:active { text-decoration: none; }
#invaderContent ul li.content .button {
	margin: 20px 0 0 0;
	float: left;
}
#browserInvader p.footer {
	width: 538px;
	height: 21px;
	color: #999;
	font-size: 9px;
	padding: 8px 0 0 0;
	margin: 0 auto;
	background: url(https://dev.venyou.com/_images/modules/bg-invader-footer.gif) top left no-repeat;
}
#browserInvader p.footer span { padding: 0 0 0 9px; }
#browserInvader p.footer a { 
	color: #999; 
	font-weight: normal;
}
#browserInvader p.footer a, #browserInvader p.footer a:visited { text-decoration: underline; }
#browserInvader p.footer a:hover, #browserInvader p.footer a:active { text-decoration: none; }
/* END DEFS FOR INVADER */	

/* --------------------------- END FIXES FOR IE6 -------------------------- */

/* --------------------------- OVERLAY DEFS -------------------------- */
#mainOverlay {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	visibility: hidden;
	z-index: 900;
}
#overlayBG {
	width: 100%;
	height: 100%;
	background: url(/_images/overlay/bg.png) top center repeat;
}
.overlay-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.overlay-container {
	width: 740px;
	height: 100%;
	margin: 0 auto;
	position: relative;
}
.overlay-header {
	width: 100%;
	height: 55px;
	margin: 100px 0 0 0;
	float: left;
	background: url(/_images/overlay/header.png) top left no-repeat;
}
.overlay-header p {
	padding: 26px 0 0 20px;
	float: left;
	display: inline;
	color: #ccc;
	font-weight: bold;
	font-size: 0.875em;
	line-height: 1.25em;
	text-transform: uppercase;
}
img.close {
	margin: 20px 20px 0 0;
	float: right;
	display: inline;
	position: relative;
}
.overlay-body {
	width: 100%;
	padding: 0 0 30px;
	float: left;
	background: url(/_images/overlay/body.png) top center repeat-y;
}
.overlay-body h1 { padding: 0 0 3px 0; }
.overlay-body p { padding: 0 0 18px; }
.overlay-footer {
	width: 100%;
	height: 20px;
	float: left;
	background: url(/_images/overlay/footer.png) top center no-repeat;
}
.overlay-content {
	width: 640px;
	margin: 14px auto 0 auto;
}
#gallery {
	float: left;
	width: 640px;
	padding: 0 0 10px;
}
#galleryOverlay {
	width: 640px;
	margin: 0;
	clear: right;
}
.share-button  { 
	margin: 6px 0 0; 
	float: right; 
}
#photoGallery, #videoPlayer {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	visibility: hidden;
}
/* --------------------------- END OVERLAY DEFS ---------------------- */

/* --------------------------- GLOBAL FEATURES DEFS ---------------------- */

/* --------------------------- END GLOBAL FEATURES DEFS ---------------------- */

/* ------------------------------  END GLOBAL DEFS  ---------------------------------------------------- */

/* ------------------------------  FRAMEWORK STYLES  -------------------------------------------------------- */

#container { 
	width: 100%; 
	min-height: 560px;
}
#siteContainer {
	margin: 0 auto;
	min-height: 560px;
}
#header {
	width: 100%;
	height: 205px;
	text-align: left;
	background: url(/_images/framework/bg-nav.gif) bottom center repeat-x;
}
#controls { 
	width: 100%;
	height: 35px;
}
#body {
	width: 100%;
	margin: 0 auto;
	text-align: left;
	min-height: 460px;
	background: #fff;
}

.features-wrapper { float: left; }
.features-wrapper h3 {
	width: 100%;
	height: 25px;
	float: left;
	border-bottom: 1px solid #333;
}
.features-wrapper h3 img { float: left; }
.features-wrapper h3 a {
	padding: 6px 0 0;
	float: right;
	font-weight: normal;
}
ul.features {
	width: 100%;
	margin: 0;
	float: left;
}
ul.global>li img { border-top: 5px solid #ce0000; }
ul.features>li {
	width: 220px;
	padding: 10px 0 0 0;
	float: left;
}
ul.features>li>ul {
	width: 100%;
	margin: 0;
	float: left;
	display: inline;
	background: #fff;
}
ul.features>li>ul li {
	width: 100%;
	padding: 7px 0;
	float: left;
	display: inline;
	background: url(/_images/framework/hdivider.gif) top left repeat-x;
}
ul.features li div.thumb {
	width: 200px;
	height: 140px;
	margin: 4px 0 0 10px;
	padding: 0 0 6px;
	float: left;
	display: inline;
	position: relative;
}
ul.features li div.tinythumb {
	margin: 4px 0 3px 10px;
	float: right;
	display: inline;
	background: #e5e5e5;
}
ul.features li div.sponsors {
	width: 125px;
	height: 125px;
	margin: 0 0 0 48px;
	padding: 0;
	float: left;
	display: inline;
	position: relative;
}
ul.features li p { padding: 0; }
ul.features li p.center { 
	width: 200px;
	padding: 0 10px; 
	float: left;
	display: inline;
	text-align: center;
}
ul.features li ul li.first { 
	padding-top: 6px;
	background: none; 
}
ul.features li p.footer {
	width: 200px;
	padding: 4px 10px 6px;
	float: left;
	text-align: center;
	background: #09f;
}
ul.features li p.footer a { color: #fff; }
/* ------------------------------  SITE HEADER STYLES  ------------------------------------------------------ */
ul#parentLinks {
	margin: 0;
	padding: 5px 0 0;
	float: right;
	color: #666;
	text-transform: uppercase;
	font-size: 0.625em;
	line-height: 1.25em;
}
ul#parentLinks li {
	padding: 0 5px;
	float: left;
	display: inline;
}
ul#parentLinks li a, ul#parentLinks li span { 
	padding: 6px 5px; 
	float: left;
	display: inline;
}
ul#parentLinks li a, ul#parentLinks li a:visited { color: #ccc; text-decoration: underline; }
ul#parentLinks li a:hover, ul#parentLinks li a:active { color: #f00; text-decoration: none; }
#logoBar {
	width: 100%;
	height: 120px;
	padding: 0;
	float: left;
}
#logo { float: left; }
#logoBar .sponsor {
	margin: 10px 10px 0 0;
	float: right;
	display: inline;
}
#logoBar .alt-icon {
	margin-right: 10px;
	float: right;
}
/* ------------------------------  END SITE HEADER STYLES  -------------------------------------------------- */

/* ------------------------------  MAIN NAV AND 2NAV STYLES  ------------------------------------------------------ */
ul#globalNavigation {
	height: 50px;
	margin: 0;
	float: left;
}
ul#globalNavigation>li {
	height: 100%;
	float: left;
	background-repeat: no-repeat;
	position: relative;
	z-index: 500;
	border-right: 1px solid #000;
	cursor: pointer;
}
ul#globalNavigation li#homeNav { 
	width: 44px; 
	background-image: url(/_images/nav/home.gif);
}
ul#globalNavigation li#participateNav { 
	width: 121px; 
	background-image: url(/_images/nav/participate.gif);
}
ul#globalNavigation li#eventsNav { 
	width: 85px; 
	background-image: url(/_images/nav/events.gif);
}
ul#globalNavigation li#toyota-cupNav { 
	width: 121px; 
	background-image: url(/_images/nav/toyota-cup.gif);
}
ul#globalNavigation li#pro-standingsNav { 
	width: 145px; 
	background-image: url(/_images/nav/pro-standings.gif);
}
ul#globalNavigation li#sponsorsNav { 
	width: 109px; 
	background-image: url(/_images/nav/sponsors.gif);
}
ul#globalNavigation li#mediaNav { 
	width: 74px; 
	background-image: url(/_images/nav/media.gif);
}
ul#globalNavigation>li>a>span { display: none; }
ul#globalNavigation>li.on { background-position: bottom left; }
ul#globalNavigation>li.off { background-position: top left; }
ul#globalNavigation>li:hover, ul#globalNavigation li:active { background-position: bottom left; }
ul#globalNavigation>li a.global { 
	width: 100%;
	height: 100%;
	float: left;
}
ul#globalNavigation li ul {
	position: absolute;
	top: 49px;
	left: -1px;
	width: 230px;
	margin: 0;
	background: #333;
	visibility: hidden;
	z-index: 800 !important;
}
ul#globalNavigation>li:hover ul, ul#globalNavigation li:active ul { visibility: visible; }
ul#globalNavigation li ul li {
	width: 100%;
	float: left;
	border-top: 1px solid #000;
}
ul#globalNavigation li ul li a {
	width: 100%;
	padding: 7px 0 8px;
	float: left;
	display: inline;
	text-decoration: none;
}
ul#globalNavigation li ul li a, ul#globalNavigation li ul li a:visited { color: #ccc; }
ul#globalNavigation li ul li a:hover, ul#globalNavigation li ul li a:active {
	color: #000;
	background-color: #ce0000;
	text-decoration: none;
}
ul#globalNavigation li ul li span { 
	padding: 0 10px; 
	float: left;
	display: inline;
	cursor: pointer;
}
/* ------------------------------  END 2NAV STYLES  -------------------------------------------------- */

/* --------------------------- COLUMN CONTAINERS ----------------------------------- */
#pageContent {
	margin: 0 0 0 10px;
	position: relative;
	clear: left;
}
#pageMainColumn {
	width: 700px;
	padding: 10px 0 0 0;
	float: left;
	display: inline;
}
#pageMainColumn .gutters {
	width: 640px;
	padding: 0 30px;
	float: left;
	display: inline;
}
/* --------------------------- END COLUMN CONTAINERS ------------------------------- */

/* ------------------------------  END BODY STYLES  ---------------------------------------------------- */

/* ------------------------------  FOOTER STYLES  ------------------------------------------------------ */
#footer {
	width: 100%;
	color: #ccc;
	clear: left;
}
#footer p.copy { padding: 7px 0 27px; }
#footer a { color: #ccc; }
#footer ul.cols {
	margin: 0;
	padding: 10px 0 20px;
	float: left;
}
#footer ul.cols li.column {
	padding: 0 10px;
	float: left;
	display: inline;
}
#footer ul.links { 
	width: 100%;
	margin: 0; 
	float: left;
}
#footer ul.links li { 
	width: 100%;
	float: left;
	background: url(/_images/framework/fdivider.gif) bottom left repeat-x;
}
#footer ul.links li a {
	width: 100%; 
	padding: 6px 0 9px; 
	float: left;
}
#footer ul.links li p.icon a { 
	width: 16px;
	padding: 7px 10px 4px 0; 
	float: left;
	display: inline;
}
#footer ul.links li p.icon {
	padding: 0;
	float: left;
	display: inline;
}
/* ------------------------------  END FOOTER STYLES  -------------------------------------------------- */

