/* Start of CMSMS style sheet 'Accessibility and cross-browser tools' */
/* accessibility */

iframe {border:1px solid lime;}

/* 
menu links accesskeys 
*/
span.accesskey { text-decoration:none; }

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr { position: absolute; top: -999em; left: -999em; }

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn { position: absolute; left: -1000px; top: -1000px; width: 0; height: 0; overflow: hidden; display: inline; }
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px; }

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0; }
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0; }
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF; }
/* end wiki style external links */

/* End of 'Accessibility and cross-browser tools' */


html {text-align:left; font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; background:#eee;}
body { margin:98px auto 10px; width:980px; position:relative; font-size:12px; background:#fff url(backgrounds/index.php) top right no-repeat;}

#topad {padding:0; margin:0 auto; position:absolute; text-align:center; top:-96px; right:10px; line-height:90px;}
 #topad div {height:90px; float:left;}
 #topad #top160x90, #sideads div {width:160px; }
 #topad div.ad728x90 {width:728px; margin-right:45px;}
#sideads {position:absolute; left:800px; top:35px; width:170px; border-left:1px dotted #eee; padding-top:10px; overflow-x:hidden;}
 #sideads div {float:right; text-align:center; border:none; margin-bottom:5px;}
 #sideads .t160x600 {height:600px;}
 #main #sideads img, #topad img {border:none; padding:0; margin:0;}

#header #blocker {background:url(images/curvy/stage-top-bg.gif) no-repeat right top; }
#header { font-family:"Trebuchet MS", Tahoma, Verdana, sans-serif; font-weight:normal; float:left; width:100%; background:url(images/logo.png) 0 0 no-repeat; height:150px; overflow:hidden;  }
  #header h1 {padding:0; margin:0; font-weight:normal; width:320px; overflow:hidden; }
  #header h1 a { display:block; height:70px; width:550px; padding:0; margin-top:50px; font-size:8px; text-decoration:none;  text-align:right; }
  #header #toptabs {height:32px; float:left; width:700px;}
  #header a.toptab {display:block; float:left; color:#fff; margin:0 0 0 5px; border-bottom:0; font-weight:bold; font-size:15px; background:url(images/curvy/toptab-bg.gif) no-repeat left top; padding:5px 0 6px 15px; }
  #header a.toptab span, #header a.toptab:hover span {background:url(images/curvy/toptab-bg.gif) right top; padding:5px 15px 6px 0; }
  #header a.toptab:hover {color:red; text-decoration:none; background:url(images/curvy/toptab-bg.gif) no-repeat left top;}
#header form {float:right; width:200px;}
 #header select, #header input {display:block; float:left; clear:none; background:#eee; color:#ca0125; border:1px solid #ccc; font-size:14px; padding:0 8px; margin:3px; height:22px; line-height:20px; overflow:hidden; }
 #header select {padding:0; margin:0 8px 0 0; float:right; }
 #header input#cntnt01searchinput {padding:2px 5px 0; height:20px; line-height:20px; width:115px; background:#fff; color:#333; margin-right:0; opacity:.7; -moz-opacity:.7; }
 #header input.button {background:none; border:none; font-size:23px; padding:0; margin:0; height:28px; font-style:italic; font-weight:bold; width:55px; color:#ca0125; }
#header h3 {color:#eeeeee; margin:-200px 0 162px;}

#content { margin:0; line-height:130%; float:left; width:100%; position:relative; min-height:1100px; }

#main { float:left; padding:10px 205px 10px 20px; margin:0; width:750px; background:#fff; }
div.breadcrumbs, 
.paging { padding:5px 0 2px; clear:both; font-size:11px; margin:8px 0; border-bottom:1px dotted #eee; color:#999; width:750px; overflow:hidden;}
.paging {clear:none;} 
.paging span {float:left; display:block; padding:2px; } 
.paging span a {display:block; float:left; background:#eee; padding:0 8px; font-weight:bold; font-size:18px; line-height:15px;}
 div.breadcrumbs div.date {float:left; padding:0 15px 0 0; border-right:1px dotted #eee; margin:0 15px 0 0; }
 div.breadcrumbs form {float:right; width:200px; clear:none; margin:0; padding:0;}

#subnav {width:200px; float:left; padding:0; margin-right:15px; margin-left:-20px; margin-top:-10px; clear:right; display:inline;}
 #subnav ul, #news #subnav {padding:2px 5px 3px 10px; margin:0; list-style:none; background:#c0e2fb; border:2px solid #00599b; -moz-border-radius:12px; -webkit-border-radius:12px; -moz-border-radius-topleft:0; -webkit-border-top-left-radius:0; }
 #news #subnav {width:190px; margin-right:15px; margin-left:-20px; margin-top:-10px;}
 #subnav ul ul {border:1px solid #eee; }
 #subnav li {padding:2px 0; margin:0}
#newsindex .NewsSummary, #newsindex h2  {margin-left:190px;}
#newsindex #subnav{width:190px;}
#homeBlocks {clear:both; float:left; width:100%;}
#homeBlocks div.home {background:url(images/curvy/h2-bg.gif) 0px -36px; display:inline; float:left; margin:5px; padding:0; width:360px; border-bottom:1px solid #ccc; }
#homeBlocks p {padding:0 15px;}
#homeBlocks div.home div {margin:0 3px;  }
#homeBlocks h2 {background:url(images/curvy/h2-bg.gif) no-repeat top; color:#fff; margin:0; padding:10px 15px; }
#homeBlocks h2 a {color:#fff;}
#homeBlocks .bottom {background:url(images/curvy/h2-bg.gif) no-repeat bottom; height:15px; }

#current, #intro {width:720px; padding:15px 0; float:left; clear:both; margin:0; display:inline;}
body #intro img, body #current img { margin-right:25px; clear:none; float:left; display:inline;}
#current div.right {text-align:left; float:left; width:350px; }
#current span.red {font-size:1.8em; line-height:1; paddding:10px 0 0;}
#current img.left {margin:25px;}
#current { padding:10px 0; background:#c0e2fb url(images/curvy/current-bg.gif) no-repeat 0px -15px; margin:15px 0; width:720px;}
#current div.bottom {background:url(images/curvy/current-bg.gif) no-repeat 0 0; color:#fff; clear:both; padding:0; height:15px; margin:0 0 -15px 0; overflow:hidden; width:100%; float:left; clear:both;}

h1#title { line-height:1em; margin:0 -20px 8px -20px; padding:0 0 5px 15px; border-bottom:2px solid #00599b; line-height:1.5em; color:#c90126; }

h1, h2, h3, h4, #primary-nav a, #home a.menuparent {font-family:"Trebuchet MS", Tahoma, Arial, sans-serif; font-weight:bold; }
h1 {font-size:1.5em; }
h2 {font-size:1.4em; color:#00599b; }
h3 {font-size:1.3em; }
h4 {font-size:1.3em; font-weight:normal; }
a {text-decoration:none; color:#00599b; outline:none;}
a:active, a:hover { color:#ff1d00; }
a img.noborder {border:none;}
a.pdf, a:hover.pdf {padding-right:20px; background:url(images/pdf.gif) top right no-repeat; }
a.ext, a:hover.ext {padding-right:20px; background:url(images/ext.gif) top right no-repeat; }
img {padding:2px; margin:2px 5px;}
dt {font-weight:bold; margin-top:5px; }
dd {font-weight:normal; }
li {padding-bottom:10px; }
iframe.results { }
body #main pre, pre {padding:5px; width:530px; overflow:auto; color:#777; border:1px solid #777; border-width:1px 0; margin:5px 0; background:#fff; font-size:12px; font-family:"Courier New", Courier, monospace;}

.hidden {display:none; visibility:hidden; }
.red {color:#E8000E; }
.callout {float:right; font-size:1.75em; padding:15px 5px; border:1px solid red; margin:0 5px; display:block; width:230px; text-align:center; }
.date {float:right; clear:none; }
.clear, #related {clear:both; }
.center {text-align:center}
.right {text-align:right}
.left {text-align:left}

div.thumb {float:left; width:105px; height:120px; text-align:center;}
#imagegallery img, img.border { border:1px solid #ccc;}
#comments h3 {clear:both;}

#footer { clear:both; color:#777; padding:5px 0; text-align:center; margin:0; background:url(images/curvy/stage-bottom-bg.gif) no-repeat bottom;}
#footer a { color:#555; }

div.hr { height:1px; border-bottom:1px dotted #eee; margin:1em 0; clear:both;}

#menuwrapper { margin:0; padding:0; float:left; clear:both; width:100%; background:#00599b; height:35px; }
#primary-nav, #primary-nav ul { list-style:none; margin:0; padding:0; }
#primary-nav li li { font-weight:normal; margin:0; padding:0; width:170px;}
#primary-nav a {padding:5px 15px; color:#00599b; background:#fff; font-size:14px; font-weight:bold; display:block; text-decoration:none; border:2px solid #00599b; -moz-border-radius: 5px;
-webkit-border-radius: 5px; margin:2px 0 0 2px; }
#primary-nav a:hover {background:#ca0125; color:#fff; }
#primary-nav li li a {  margin:0; line-height:15px; color:black; background:#eee; border-top:none; font-weight:normal;  
    font-size:12px; padding:3px 5px 3px 10px; font-family:Verdana, Geneva, Arial, Helvetica, sans-serif; }
#primary-nav li.menuactive a { color:#ca0125; background:#fff;  }
#primary-nav li li.menuactive a {font-weight:bold;  }
#primary-nav li.sectionheader, 
#primary-nav li hr.separator { display:block; height:0.5em; background-color:#000; width:100%; border:0; margin:0; padding:0; }
/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul {  list-style:none; margin:0; padding:0; }
#primary-nav ul { position:absolute; top:auto; display:none; z-index:1110; }
#primary-nav ul ul { margin-top:1px; margin-left:0; left:100%; top:0; }	
#primary-nav li { margin:0; float:left; padding:0;}
#primary-nav li li { margin-left:0; margin-top:0; float:none; position:relative; }
/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul li.menuparent, #primary-nav ul li.menuparent:hover, #primary-nav ul li.menuparenth { }
#primary-nav li:hover, #primary-nav li.menuh, #primary-nav li.menuparenth, #primary-nav li.menuactiveh  {color:#1300ab;  }
#primary-nav ul, #primary-nav li:hover ul, #primary-nav li:hover ul ul, #primary-nav li.menuparent ul, #primary-nav li.menuparent ul ul {    display:none; }
#primary-nav li:hover ul, #primary-nav ul li:hover ul, #primary-nav ul ul li:hover ul, #primary-nav li.menuparenth ul, #primary-nav ul li.menuparenth ul, #primary-nav ul ul li.menuparenth ul {    display:block; }
/* IE Hacks */
#primary-nav li li {    float:left; clear:both; }
#primary-nav li li a {    height:1%; }

#comments form {background:#eee; width:500px; margin:15px; padding:10px; float:left; }
#comments label {display:block; width:150px; text-align:right; padding:9px; float:left; font-size:13px; line-height:13px;  }
#comments input, #comments textarea {margin:5px 0; width:230px; clear:right; float:right; font-size:13px; line-height:13px; }
#comments img {width:340px;}
#comments textarea {height:100px} 
#commentList { padding:5px 0; margin:15px; border-top:3px solid #ccc; border-bottom:3px solid #ccc;}
#comments .post {line-height:100%; padding:0;}

span.postdate {color:#777; padding-right:5px; font-size:10px;}

html div.facebook a.fb_share_button { display:-moz-inline-block; display:inline-block; padding:1px 20px 0 5px; border:1px solid #d8dfea; background:#fff url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right; margin:2px 0 0; line-height:15px;} 
html div.facebook a.fb_share_button:hover { color:#fff; border-color:#295582; background:#3b5998 url('http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981') no-repeat top right; text-decoration:none; } 
div.facebook {position:absolute; top:140px; right:190px; width:325px; padding:0; margin:0; float:right; }
div.facebook a, div.facebook iframe  {padding:0 0 0 5px; float:left; display:block; line-height:25px; border:none;}
div.facebook iframe {margin:4px 0;}
div.facebook a.twitter {background:url('http://twitter-badges.s3.amazonaws.com/twitter-a.png') no-repeat top right; display:block; float:left; width:60px; height:25px; padding:0 0 0 7px;}

#featured-races #main img {clear:left;}
#featured-races #main h3 {border-bottom:2px solid #eee; clear:both; padding:5px 0;}

table.previous li, table.previous ul {list-style:none; padding:0; margin:0;}
table.previous td {padding:3px 15px;}

table, col, td {width:auto; border:none; font-size:11px;}
td {padding:2px 8px; margin:0; border-bottom:1px solid #efefef; width:auto; border-right:1px solid #efefef;}
td p {padding:0; margin:0;}

form.clear {float:right; clear:both; width:280px; border:1px solid #ccc; padding:0 10px 5px; margin: 0 0 10px 15px; } 
form.clear input {width:170px; margin:5px; } 
form.clear label {width:70px; display:block; float:left; text-align:right; padding:5px; }
iframe#results {background:#f8f7f7; width:780px; height:4000px; border:none;overflow-x:hidden; margin:-5px 0 0 -15px;}

a.iframe {display:block; height:375px; position:relative; width:100%; border:1px solid; padding:3px;}
a.iframe iframe {display:block; border:none; margin:25px 0 0; position:absolute; top:0; left:0; width:100%; height:350px}

/* Start of CMSMS style sheet 'calendar' */
form#searche {background:#eee; float:left; margin:3px 0 5px; padding:12px 0 0; border:1px solid #ccc; clear:both; width:758px; clear:both; }

#searchleft { float:left; width:390px; padding-bottom:6px; margin-left:10px; }

form#searche select {width:80px; }

a.tab, a.button {border:1px solid #ccc; padding:5px 5px 5px; width:84px; display:block; float:right; margin:20px 10px -1px 0; font-weight:bold; background:#eee url(../images/formgrad.gif); text-align:center; }
a.active {background:#fff; border-bottom:1px solid #fff;}

input.button {background:#eee url(../images/formgrad.gif); text-align:center; padding:2px 5px;}
a.button {width:auto; padding:3px 10px; }
.admin {padding:5px; float:left; line-height:120%; } #detail div.admin {clear:both; display:block; width:100px; text-align:center; }
.pending {border:2px solid yellow; }
.approved {border:2px solid #fff; }
.needs_edit {border:2px solid red; }

#months a { color:#777; padding:2px 5px; } 
#months a:hover { color:#000; }  
 
table#calendarlist { width:760px; font-size:11px; border:1px solid #ccc; border-width:0 0 1px 1px} 

caption { font-size:175%; padding:2px; font-weight:bolder; } 
#calendarlist th { background:url(images/formgrad.gif); text-align:left; } 
#calendarlist tr.r0 {background:#eee; } 
#calendarlist td, 
#calendarlist th { margin:0; padding:6px 5px; border:1px solid #ccc; border-width:1px 1px 0 0; }
 
#calendarlist ul { margin:2px; padding:0; list-style-type:none; border-color:#ccc; border-style:solid; border-width:1px 1px 0 1px; } 
#calendarlist li { padding:0; border-color:#ccc; border-style:solid; border-width:0 0 1px 0; margin:0; } 
#calendarlist li a { display:block; text-decoration:none; padding:2px; } 

.button, .form input.button { text-align:center; padding:5px; font-weight:bold; width:auto; } 
input, select, textarea {margin:2px; color:#777; font-size:11px; font-family:Verdana, Arial, Helvetica, sans-serif; border:1px solid #ccc; }
.form label { width:200px; float:left; margin:5px 5px 8px; text-align:right; } 
.form label.bigQ {width:402px; text-align:left;} 
.form .req {font-weight:bold; }
.form input, .form select, .form textarea, .input {width:248px; margin:5px 4px 8px 2px; }
.form select {width:auto; }
input.counter {width:auto; padding:1px; margin:2px; }
.form i {float:right; width:230px; overflow:hidden; display:block; margin:5px 0 0; clear:none; }
.form i a {height:15px; width:280px; overflow:hidden; display:block;}

#premium {float:left; width:295px; margin:10px 0; padding:0; border:1px solid #eee; font-weight:bold; clear:left; }
#premium span.ad {background:url(../images/formgrad.gif);  padding:5px 10px 0; margin:0; text-transform:uppercase; display:block; }
#premium a {color:#00599b; } #featured a:hover {color:#035e95; }
#premium a.date  {display:block; color:#c90126; font-size:11px; padding:0 0 20px 10px;}
#premium .location {font-weight:normal; }
#premium p {border-top:1px solid #eee; padding:5px; margin:5px 5px 0; }
#premium p.ad {font-weight:bold; background:#c80127; padding:8px; margin:0; text-align:center; clear:both;  }
#premium p.ad a {display:block; color:white; }

div.edit a.yesfeat {background:pink; }
a.livepaid {background:yellow; }

#details div.wrap { width:760px; clear:both; overflow:hidden; float:left;}
#detail {width:430px; overflow:hidden; margin:0; padding:10px 0 0 15px; float:left;  }
#detail h1 {color:black; font-size:1.5em; text-transform:none; }
#detail b { padding:5px 0 0 20px; margin:0; width:330px; clear:both; display:block;}
#detail h4, #detail p {padding:0; margin:0; }
#detail li {padding:5px 10px 10px; list-style:none; width:355px; margin:5px; float:left; border:1px solid #eee; }
#detail ul {margin:5px 0; padding:0; }
p#info {width:400px;}

input.validation-failed, textarea.validation-failed, input.error { border:1px solid #FF3300; color :#FF3300; }
label.error {width:100%; text-align:center; color:red;}

.custom-advice { margin:5px 0; padding:5px; background-color:#C8AA00; color :#FFF; font-weight:bold; }
.form-row { clear:both; padding:0.5em; }

#subscribe-form {width:250px; float:right; text-align:right; clear:right; margin:10px 0; padding:10px; background:#035e95; color:white; text-align:center}
#rcol #subscribe-form {text-align:center; float:none; width:150px; margin:0 0 10px; padding:5px;} 
#footer a.cwd {color:#999; position:absolute; bottom:-15px; right:0; padding:0 15px; display:block; font-size:11px;}
#footer a.cwd:hover {color:#555}
