#RB_overlay {
  position: absolute;
  z-index:100;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height:100%;
  background-color: #000;
  opacity: .6;
  filter: alpha(opacity=60);
}

#RB_loading {
  z-index: 101;
  width: 70px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 200px;
  padding-bottom: 30px;
  text-align: center;
  background: url(../images/redbox_spinner.gif) no-repeat bottom center;
}

#RB_window {
  z-index: 102;
  background-color: #FFFFFF;
  display: block;
  text-align: left;
  overflow: hidden;
  margin: 20px auto 0 auto;
  position:fixed;
  position: absolute;
}


/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/

body {
	margin: 0;
	padding: 0;
	background: #E3E7ED url(images/img01.gif) repeat-x left top;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #787878;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	color: #F93D00;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.6em;
}

h3 {
	font-size: 1.6em;
}

p, ul, ol {
	margin-top: 0;
	line-height: 180%;
}

ul, ol {
}

a {
	text-decoration: none;
	color: #417FDA;
}

a:hover {
}

a.button{
	background:url(img/button.gif);
	display:block;
	color:#555555;
	font-weight:bold;
	height:30px;
	line-height:29px;
	margin-bottom:14px;
	text-decoration:none;
	width:191px;
}
a:hover.button{
	color:#0066CC;
}

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}
#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}
/* -------------------- */
/* CLASSES				*/
/* -------------------- */
.add{
	background:url(img/add.gif) no-repeat 10px 8px;
	text-indent:30px;
	display:block;
}
.delete{
	background:url(img/delete.gif) no-repeat 10px 8px;
	text-indent:30px;
	display:block;
}
.user{
	background:url(img/user.gif) no-repeat 10px 8px;
	text-indent:30px;
	display:block;
}
.alert{
	background:url(img/alert.gif) no-repeat 10px 8px;
	text-indent:30px;
	display:block;
}
.msg{
	background:url(img/msg.gif) no-repeat 10px 8px;
	text-indent:30px;
	display:block;
}
.download{
	background:url(img/download.gif) no-repeat 10px 8px;
	text-indent:30px;
	display:block;
}

.lens{
	background:url(img/lens.gif) no-repeat 10px 8px;
	text-indent:30px;
	display:block;
}
.info{
	background:url(img/info.gif) no-repeat 10px 8px;
	text-indent:30px;
	display:block;
}
.comment{
	background:url(img/comment.gif) no-repeat 10px 8px;
	text-indent:30px;
	display:block;
}
.edit{
	background:url(img/edit.gif) no-repeat 10px 8px;
	text-indent:30px;
	display:block;
}
.cal{
	background:url(img/cal.gif) no-repeat 10px 8px;
	text-indent:30px;
	display:block;
}
.routeadd{
	background:url(img/routeadd.gif) no-repeat 10px 8px;
	text-indent:30px;
	display:block;
}
.routedel{
	background:url(img/routedel.gif) no-repeat 10px 8px;
	text-indent:30px;
	display:block;
}
.edituser{
	background:url(img/edituser.gif) no-repeat 10px 8px;
	text-indent:30px;
	display:block;
}
	
	
#wrapper {
	width: 968px;
	margin: 0 auto;
	padding: 0;
}

/* Header */

#header {
	width: 968px;
	height: 150px;
	margin: 0 auto;
	background: url(images/bg_velo.png) no-repeat left top;
}

#noticediv {
    clear:left;
	margin: 0 100px;
	width: 600px;
	height: 25px;
}

.flash{
        padding:3px;
        /*margin-bottom: 1em;*/
}

.warning{
        background:#f3b9ba;
        /*border: 1px solid #d8aeaf;*/
}

.notice{
        background-color: yellow;
        /*border: 1px solid #b0d6a3;*/
}

.notice strong{
        background-color:#bee4b2;
        /*padding: 2px;*/
}

.error{
        background:#ff0000;
        color: #fff;
}


#subtitle {
	font-family:"Lucida Sans Unicode","Lucida Grande",Sans-Serif;
	font-size:14px;
	/*margin: 0 0 0 10px;*/
	margin: 0 20px;
	text-align:center;
	width:870px;
	color: black;
	background: #88EBFE;
}
/* Logo */

#logo {
	float: left;
	width: 50em;
	height: 100px;
	color: #616161;
}

#logo h1, #logo p {
	margin: 0;
	padding: 0;
}

#logo h1 {
	float: left;
	padding: 30px 0 0 170px;
	letter-spacing: -1px;
	/*text-transform: lowercase;*/
	font-size: 3.6em;
}

#logo p {
	float: left;
	margin: 0;
	padding: 90px 10px;
	font: normal 14px Georgia, "Times New Roman", Times, serif;
	font-style: italic;
} 

#logo a {
	border: none;
	background: none;
	text-decoration: none;
	color: #616161;
}

/* Search */

/*#search {
	width: 230px;
	padding: 0 0 0 50px;
}
*/
#search form {
	height: 41px;
	margin: 0;
	padding: 70px 0 0 0px;
}

#search fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

#search-text {
	width: 210px;
	border: none;
	text-transform: lowercase;
	font: bold 1.2em Arial, Helvetica, sans-serif;
	color: #FFFFFF;
}

#search-submit {
	display: none;
}

/*The update form*/

#advanced_options {
	background-color: lightgrey;
	padding: 10px 0px;
	width: 400px;
}

#advanced_options label {
	clear: left;
	float: left;
	width: 180px;
	padding: 0 10px;
}
#advanced_options input {
	float: left;
	width: 150px;	
}
#advanced_options select {
	float: left;
	width: 150px;
}
 /* language */

#language-select {
	height: 30px;
	margin: 0 6em 0 0;
	padding: 0;
	float: right;
	width: 16em;
	text-align: right;
}

#language-select ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}
#language-select li {
	float: left;
	display: block;
	margin-top: 10px;
	margin-right: 3px;
	padding: 7px 7px 7px 7px;
	text-decoration: none;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	/*color: #FFFFFF;*/
	border: none;
}
/* login */

#loginlogout {
	height: 25px;
	margin-left: 60em;
	padding: 0;
	text-align: right;
	width: 18em;
	clear:	left;
	float: left;
}

#loginlogout ul {
	margin: 0;
	padding: 0;
	padding-left: 10px;
	list-style: none;
	line-height: normal;
}
#loginlogout li {
	float: left;
	height: 50px;
}
#loginlogout a {
	display: block;
	margin-top: 10px;
	margin-right: 3px;
	padding: 7px 7px 7px 7px;
	text-decoration: none;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	/*color: #FFFFFF;*/
	border: none;
}

#featured {
	float: left;
	width: 210px;
	margin: 12px 0;
}

#featured ul {
	list-style: none;
	background: #EBFBFE;
	padding: 10px;
}

#featured li {
	
}

#headersearch {
	float: left;
	padding: 35px 0 0 120px;
}
#headersearch search{
	width:5em;
}
/* main_tabnav */

#main_tabnav {
	width: 900px;
	height: 50px;
	margin: 0 auto;
	padding: 0;
}

#main_tabnav ul {
	margin: 0;
	padding: 0;
	padding-left: 10px;
	list-style: none;
	line-height: normal;
}

#main_tabnav li {
	float: left;
	height: 50px;
	background: url(images/img03.gif) no-repeat right top;
}

#main_tabnav a {
	display: block;
	margin-top: 10px;
	margin-right: 3px;
	padding: 7px 20px 7px 20px;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #FFFFFF;
	border: none;
}

#main_tabnav a:hover, #main_tabnav .current_page_item a {
}

#main_tabnav a:hover {
	text-decoration: underline;
}
#main_tabnav a.active {
	color: #f00;
}


#map_div {
	height: 500px;
	width: 600px;
	margin: 20px 20px 20px 20px;
	padding: 20px 20px 20px 20px;
	float: left;
}


/* Page */

#main_tabnav_content {
	width: 900px;
	margin: 10px auto;
	padding: 15px;
	background: url(images/img05.jpg) repeat-y left top;
}


/*  Filter box */
#filter-map {
	margin: 20px;
	padding: 0 12em;
	clear: left;
}

#new-event {
	margin: 20px 20px 20px 20px;
	padding: 20px 20px 20px 20px;
}



#footerline {
	margin: 0;
	padding: 0;
	height: 7px;
	background: #000;
}
 /* footer */

#footer {
	margin: 0;
	padding: 0 0 0 100px;
	height: 100px;
	background: #333;
}

#footer ul {
	margin: 0;
	padding: 0;
	padding-left: 10px;
	list-style: none;
	line-height: normal;
}
#footer li {
	float: left;
	height: 50px;
	display: block;
	margin-top: 10px;
	margin-right: 3px;
	padding: 7px 30px;
	text-decoration: none;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	/*color: #FFFFFF;*/
	border: none;
}


/* Content */

#content {
	float: right;
	width: 700px;
	padding: 60px 20px 0 0;
}

/*  Form  */
#searchform {
	padding: 10px 0;
	margin: 0 auto;
}

#searchform label{
	width: 4em;
	float: left;
	text-align: right;
	margin-right: 0.5em;
	display: block;
}



#searchform input{
	float: left;
	width:20em;
	
}

#submitsearchform input{
	margin-left: 2em;
	float: none;
	width:7em;
	
}

/* Email form */
#emailcore{
	padding: 5px;
	margin: 0 auto;
}
#emailcore label{
	width: 12em;
	float: left;
	text-align: right;
	margin-right: 0.5em;
	display: block;
}

#comments {
	width: 30em;
}
#commentlist {
	padding:0 15px; 
	margin:10px 0;
	background: #EDF9F5;
}

#commentlist li {
	list-style-type: none;
}

#commentinfo {
	font-size:0.8em; 
}

#commenttitle {
	font-weight: bold;
}

#commentext {
	
}

#addcommentdiv label {
	float: left;
	width: 6em;
}

#addcommentdiv input {
	width: 250px;
}
#addcommentdiv input[type="submit"] {
	width: 12em;
	margin: 1em 6em;
}

#addcommentdiv textarea {
	width: 254px;
}
/* Email subblock*/
#email {
	background: #eee;
	width: 30em;
}

#emailnoticediv {
	background: yellow;
}
/* Profile page */

#userdetails {
	padding: 10px 0;
	margin: 10px auto;	
}
#userdetails td {
	padding: 2px 15px;
}

#adminlink {
	padding: 10px 0;
	margin: 10px auto;
}

#edituserlink {
	padding: 10px 0;
	margin: 10px auto;	
}

#myevents {
	padding: 10px 0;
	margin: 10px auto;	
}

#myevents td {
	padding: 2px 15px;
}

#calendarlink {
	padding: 10px 0;
	margin: 10px auto;	
	height: 50px;
}

#orgcalbutton {
	padding: 10px;
	float: left;
	width: 250px;
}

/* New Race */
/* Email form */
#newrace {
	padding: 5px;
	margin: 0 auto;
}

#newrace label {
	width: 12em;
	float: left;
	text-align: right;
	margin-right: 0.5em;
	display: block;
}

/* Route details in new/update race page */
#races {
	padding: 3px;
	margin: 3px auto;
	/*float: left;*/
}

#race {
	padding: 5px;
	margin: 5px auto;
	background: #eee;
	width: 50em;
	float: left;
}

#race label {
	clear: left;
	width: 10em;
	text-align: right;
	margin-right: 0.5em;
	float: left;
	padding: 4px;
}

#race input {
	width: 15em;
	text-align: right;
	margin-right: 0.5em;
	
	float: left;
}

#racetable {
	background:#FFFFFF none repeat scroll 0 0;
	border-collapse:collapse;
	font-family:"Lucida Sans Unicode","Lucida Grande",Sans-Serif;
	font-size:12px;
	margin:10px;
	text-align:left;
	width:480px;
}

#racetable caption {
	font-size:16px;
	font-weight:bold;
}

#racetable td {
	color:#666699;
	padding:4px 4px;
}

#rname {
	float: left;
	width: 50em;
	margin: 5px 0;
}
#rmanual {
	clear: left;
	float: left;
	height: 50px;
	width: 50em;
	margin: 5px 0;
}

#rgpx {
	float: left;
	width: 50em;
	padding: 4px 0;
	margin: 5px 0;
	height: 50px;
}
#rremove {
	clear: left;
	padding: 0 135px;
}

#bm {
	clear: left;
	
}


/* Sportive show page */
#edescription {
	border:1px solid #CCCCCC;
	padding:10px;
}

#eleftside {
	float: left;
	width: 410px;
	padding: 10px 10px 10px 0;
}

#eaddress {
	padding: 10px;
}

#socialbookmark {
	padding: 20px 0;
}

#ebottomleft {
	float: left;
}
#erightside {
	/*clear:	right;*/
	float: right;
	width:	350px;
	padding: 10px;
}

#ebottomroute {
	clear: left;
	width: 420px;
}

#buttons {
	clear: left;
	width: 410px;
}

#racebottombar {
	clear: both;
}
#elinks {
	font-weight: bold;
	font-family: Arial, sans-serif;
	font-size: 15px;
}

#linkrace {
	padding: 0;
	margin: 0 auto;
	clear: left;
}

#addroute {
	clear: left;
}

#racehints {
	padding: 0;
	margin: 10px;
	width: 50em;
	clear: left;
}

#sportivetable {
	background:#FFFFFF none repeat scroll 0 0;
	border-collapse:collapse;
	font-size:12px;
	margin:10px;
	text-align:left;
}

#sportivetable caption {
	font-size:16px;
	font-weight:bold;
}

#sportivetable th {
	padding:4px 10px;
	border-bottom:1px solid #CCCCCC;
}

#sportivetable td {
	color:#666699;
	border-bottom:1px solid #CCCCCC;
	padding:7px 10px;
}

#adsensebutton {
	float: right;
	width: 130px;
}

#waitspin {
	float: left;
}
#waitspinwrap {
	float: left;
	width: 30px;
}
#progbar{
	float: left;
	width: 220px;
	height: 20px;
}

#closetothis {
	float: left;
	width: 18em;
	margin: 0 10px;
}
#submitdiv {
	float: left;
	width: 12em;
}
#advopts {
	clear: left;
	margin: 0 10px;
}
#addrnotice {
	clear: left;
	font-size:12px;
	color: red;
	padding: 5px;
	height: 10px;
}
.closebutton {
	font-size:20px;
	color: red;
	padding: 0 30px;
	float: right;
}

#tbnoticediv {
	color: red;
	font-size:14px;
	margin: 0 200px;
	width: 200px;
}

#difftable {
	border-collapse:collapse;
	font-family:"Lucida Sans Unicode","Lucida Grande",Sans-Serif;
	font-size:12px;
	margin:20px;
	text-align:left;
}

#difftable td {
	background:#E8EDFF none repeat scroll 0 0;
	border-bottom:1px solid #FFFFFF;
	border-top:1px solid transparent;
	border-left:1px solid #AABCFE;
	border-right:1px solid #AABCFE;
	color:#666699;
	padding:8px;
}
/*Signup page*/
/* embeds the openid image in the text field */
input#openid_url {
   background: url(http://openid.net/login-bg.gif) no-repeat;
   background-color: #fff;
   background-position: 0 50%;
   color: #000;
   padding-left: 18px;
}

/* Autocompletion */
div.auto_complete {
  width: 350px;
  background: #fff;
}

div.auto_complete ul {
  border:1px solid #888;
  margin:0;
  padding:0;
  width:100%;
  list-style-type:none;
}

div.auto_complete ul li {
  margin:0;
  padding:3px;
}

div.auto_complete ul li.selected {
  background-color: #ffb;
}

div.auto_complete ul strong.highlight {
  color: #800;
  margin:0;
  padding:0;
}



.calendar_date_select {
  color:white;
  border:#777 1px solid;
  display:block;
  width:195px;
  z-index: 1000;
}
/* this is a fun ie6 hack to get drop downs to stay behind the popup window.  This should always be just underneath .calendar_date_select */
iframe.ie6_blocker {
  position: absolute;
  z-index: 999;
}

.calendar_date_select  thead th {
  font-weight:bold;
  background-color: #000;
  border-top:1px solid #777;
  border-bottom:2px solid #334;
  color: white !important;
}

.calendar_date_select .cds_buttons {
  text-align:center;
  padding:5px 0px;
  background-color: #000055;
}

.calendar_date_select .cds_footer {
  background-color: black;
  padding:3px;
  font-size:12px;
  text-align:center;
}

.calendar_date_select table {
  margin: 0px;
  padding: 0px;
}


.calendar_date_select .cds_header {
  background-color: #ccc;
  border-bottom: 2px solid #aaa;
  text-align:center;
}

.calendar_date_select .cds_header span {
  font-size:15px;
  color: black;
  font-weight: bold;
}

.calendar_date_select select { font-size:11px;}

.calendar_date_select .cds_header a:hover {
  color: white;
}
.calendar_date_select .cds_header a {
  width:22px;
  height:20px;
  text-decoration: none;
  font-size:14px;
  color:black !important;
}

.calendar_date_select .cds_header a.prev {
  float:left;
}

.calendar_date_select .cds_header a.next {
  float:right;
}

.calendar_date_select .cds_header a.close {
  float:right;
  display:none;
}


.calendar_date_select .cds_header select.month {
  width:90px;
}

.calendar_date_select .cds_header select.year {
  width:61px;
}

.calendar_date_select .cds_buttons a {
  color: white;
  font-size: 9px;
}

.calendar_date_select td {
  background-color: #000066;
  font-size:12px;
  width: 24px;
  height: 21px;
  text-align:center;
  vertical-align: middle;
}
.calendar_date_select td.weekend {
  background-color: #00005a;
}

.calendar_date_select td div.other {
  color: #4C5593;
}

.calendar_date_select tbody td {
  border-bottom: 1px solid #000044;
}
.calendar_date_select td.selected {
  background-color:white;
  color:black;
}

.calendar_date_select td:hover {
  background-color:#ccc;
}

.calendar_date_select td.disabled div {
  color: #000044;
}
.calendar_date_select td.today {
  border: 1px dashed blue;
}

.fieldWithErrors .calendar_date_select {
  border: 2px solid red;
}
