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;border:0;padding:0;}

body {
  color: #000;
  font-family: Verdana, Helvetica, Arial;
  font-size: 13px;
  padding: 8px 3px;
  background: #dddddd;
}

img {
  text-decoration: none;
  border: 0px;
}

h1 {
  margin: 0px 0px 13px 0px;
  font-size: 22px;
  color: #1e90ff;
  font-weight: bold;
  line-height: 22px;
}

h2 {
  margin: 0px 0px 13px 0px;
  font-size: 18px;
  color: #1e90ff;
  font-weight: bold;
  line-height: 18px;
}

a {
  font-weight: bold;
  text-decoration: none;
  color: #ff1e90;
}

a:hover {
  text-decoration: underline;
}

a.edit, a.save, a.cancel, a.view, a.delete_event {
  cursor: pointer;
}

td {
  vertical-align: top;
}
thead {
  background: #1e90ff;
  font-weight: bold;
  color: #fff;
}

thead td {
  padding: 2px 4px;
}

td ul, ul#terms_and_conds {
  margin-top: 5px;
}
td ul li, ul#terms_and_conds li {
  margin-left: 20px;
  margin-bottom: 5px;
}
table.sortable thead {
  cursor: pointer;
}

p {
  margin-bottom: 13px;
}

#main_container {
  width: 987px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 10px;
}

#main_container_sub {
  border-right: 1px solid #1e90ff;
  border-left: 1px solid #1e90ff;
  border-bottom: 1px solid #1e90ff;
  background: #ffffff;
  padding: 10px;
}

#header {
  width: 100%;
  height: 74px;
  background: #1e90ff;
}

#header_logo {
  margin-left: 8px;
  margin-top: 2px;
  float:left;
}

#header_logo img {
  border-style: none;
}

#header_banner_ad {
  width: 468px;
  height:60px;
  float:right;
  position: relative; right: 10px; top: 10px;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
}

.header_banner_ad_1 {
  background: #ff1e90;
  color: #fff;
}

.header_banner_ad_2 {
  background: #b7dbff;
  color: #666;
}

.header_banner_ad_text {
  display: none;
  margin-top: 18px;
}

#header_links {
  background: #1e90ff;
  padding-left: 10px;
}

#location {
  float: right;
  color: #fff;
  font-size: 10px;
  margin-top: -16px;
  margin-right: 9px;
}
#location a {
  color: #fff;
}

a.tab {
  outline: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
  display: -moz-inline-box;
  display: inline-block;
  overflow: visible;
  background-color: #b7dbff;
  padding: 5px 7px 4px 7px;
  margin-top: 0.3em;
  margin-right: 0px;
}

a.tab:hover {
  background-color: #ff1e90;
  text-decoration: none;
}

a.tab span {
  font-family: verdana;
  font-weight: bold;
  font-size: 13px;
  color: #666;
  background-color: #b7dbff;
}

a.tab:hover span {
  color: #ffffff;
  background-color: #ff1e90;
}


a.tab_selected, a.tab_selected_search {
  background-color: #ffffff;
  cursor: default;
}

a.tab_selected_search {
  cursor: pointer;
}

a.tab_selected span, a.tab_selected_search span {
  color: #1e90ff;
  background-color: #ffffff;
}

a.tab_selected:hover {
  background-color: #ffffff;
  color: #1e90ff;
  cursor: default;
}

a.tab_selected:hover span {
  background-color: #ffffff;
  color: #1e90ff;
  cursor: default;
}

.menu_arrow {
  float: right;
  font-size: 11px;
}

.ddsubmenustyle, .ddsubmenustyle ul{ /*topmost and sub uls, respectively*/
  font: bold 13px verdana;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0;
  top: 0;
  list-style-type: none;
  background: #b7dbff;
  border: 1px solid #ffffff;
  border-bottom-width: 0;
  visibility: hidden;
  z-index: 100;
}

.ddsubmenustyle li a{
  display: block;
  width: 160px; /*width of menu (not including side paddings)*/
  color: #666;
  background-color: #b7dbff;
  text-decoration: none;
  padding: 4px 5px;
  border-bottom: 1px solid #ffffff;
}

* html .ddsubmenustyle li{ /*ie6 css hack*/
  display: inline-block;
  width: 170px; /*width of menu (include side paddings of li a*/
}

/*.ddsubmenustyle li a:hover {*/
.ddsubmenustyle_li_hover, .ddsubmenustyle li a:hover {
  background-color: #ff1e90;
  color: white;
}

/* ######### neutral css  ######### */

.downarrowpointer{ /*css for "down" arrow image added to top menu items*/
  padding-left: 4px;
  border: 0;
}

.rightarrowpointer{ /*css for "right" arrow image added to drop down menu items*/
  position: absolute;
  padding-top: 3px;
  left: 100px;
  border: 0;
}

.ddiframeshim{
  position: absolute;
  z-index: 500;
  background: transparent;
  border-width: 0;
  width: 0;
  height: 0;
  display: block;
}

#left_col {
  width: 150px;
  padding-right: 10px;
}

#right_col {
  width: 118px;
  padding-left: 10px;
}

.leftlinkheader {
  background: #1e90ff;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  font-size: 11px;
}

.leftlinkmain {
  border: 1px #1e90ff solid;
  padding: 5px;
  font-size: 11px;
  margin-bottom: 10px;
}

#login_error_msg {
  display: none;
}

#page_width {
  margin-bottom: 4px;
  font-weight: bold;
}
.page_width {
  color: #ff1e90;
  cursor: pointer;
}

#printable_version {
  font-size: 11px;
  margin-bottom: 5px;
  line-height: 15px;
}
#printable_version img {
  border: 0px;
  float: left;
  margin-right: 2px;
}

#contact_links {
  margin: 5px 0px;
  line-height: 12px;
}
#contact_links img {
  border: 0px;
  float: left;
  margin-right: 2px;
}

#paypal_logo {
  width:62px;
  margin:5px auto;
}
#paypal_pixel {
  width:1px;
  height:1px;
}

#comments_div {
  display: none;
  position: fixed;
  left:50%;
  margin-left: -250px;
  top: 30px;
  width: 500px;
  z-index: 2000;
  padding: 15px;
  background-color: #1e90ff;
}
#comments_div2 {
  width: 100%;
  height: 100%;
  padding: 10px 0px;
  z-index:2001;
  background-color:#fff;
  text-align: left;
}
#comments_div2_inner {
  padding: 0px 10px;
}
#comments_div textarea {
  width: 470px;
}
#comments_form label {
  float: left;
  width: 100px;
  font-weight: bold;
  margin-bottom: 5px;
}
#comments_form input {
  margin-bottom: 5px;
}
#comments_radios {
  margin-left: 100px;
}
#comments_close {
  margin-left: 2px;
}

#loggingin {
  position: fixed;
  left: 50%;
  top: 130px;
  width: 320px;
  margin-left: -160px;
  padding: 15px;
  display: none;
  z-index: 2000;
  background-color: #1e90ff;
}
#loggingin_inner {
  padding: 10px 0px;
  background-color:#fff;
  text-align: center;
  font-size: 15px;
}

#footer {
  font-size: 11px;
  text-align: center;
  margin:10px 0px;
}

/* index page */

#intro_div {
  width: 350px;
  font-size: 17px;
  color: #ffffff;
  background: #ff1e90;
  padding: 12px 16px;
  float: left;
  margin:0px 10px 10px 0px;
}

#search_div {
  width: 249px;
  font-size: 17px;
  color: #000000;
  background: #b7dbff;
  padding: 12px 16px;
  float: left;
  margin-bottom: 10px;
  padding-bottom: 27px;
}
#search_div input {
  margin-top: 3px;
  margin-bottom: 9px;
}
#search_string {
  width: 175px;
}

#cse-search-box {
  margin-top: 6px;
}

#quick_links_div {
  clear: left;
  float: left;
  border: 1px solid #1e90ff;
  padding: 12px 16px;
  width: 249px;
  margin:0px 10px 10px 0px;
}

#twitter_div {
  background: #1e90ff;
  width: 348px;
  font-size: 11px;
  color: #ffffff;
  padding: 12px 16px;
  float: left;
  margin-bottom: 10px;
}

#twitter_div h2 a {
  color: #fff;
  font-weight: bold;
}

#twitter_div a {
  font-weight: normal;
  color: #fff;
}

#twitter_logo {
  float: left;
  margin: -2px 10px 0 0;
}

#latest_events {
  width: 100%;
  margin-top: -2px;
  margin-bottom: 10px;
  clear: both;
}
#latest_events td, .sortable td {
  padding: 2px;
}

#latest_news #rss_icon {
  float:right;
  margin-top: 2px;
  margin-right:1px;
  border: 0px;
}
#latest_news td {
  vertical-align: top;
  padding: 2px;
}

.statusline {
  color: #1e90ff;
  font-size: 11px;
  margin-bottom: 13px;
}

#changebox label, #competitor_display label, .evententry label {
  font-weight: bold;
  width: 185px;
  margin-top: 2px;
  float: left;
}
#competitor_display label {
  width: 240px;
}

#event_footer {
  background: #b7dbff;
  font-size: 13px;
  float: left;
  clear: both;
  padding: 16px 19px 4px 19px;
  margin: 10px 4px 10px 0px;
}


input.event_type {
  vertical-align: -3px;
}
span.event_type {
  cursor: pointer;
}
.evententry {
  line-height: 23px;
}
.evententry label {
  width: 255px;
}
.evententry input {
  margin-bottom: 2px;
}

.event_header {
  width: 574px;
  margin: 0 auto 13px auto;
  text-align: center;
}

#forgotten_username {
  font-weight: bold;
}


/* cup columns etc. */
.col {
  float: left;
  /*display: table-column;*/
  /*width: <?php echo $width; ?>;*/
}
.col_header {
  margin-left: 2px;
  font-weight: bold;
}
.wrapper {
  /*display: table;*/
  margin-bottom: 8px;
  width:100%;
}
.arrow {
  color: #109eff;
  /*display: table-cell;
  vertical-align:middle;*/
  float:right;
  height: 100%;
  padding: 0px;
  width: 9px;
  margin-left: -3px;
}
.box {
  border: #109eff 1px solid;
  text-align: center;
  padding: 0px;
  /*display: table-cell;
  vertical-align:middle;*/
  height: 100%;
  float: right;
}
.update_box {
  position:fixed;
  left:50%;
  top:130px;
  width:450px;
  margin-left: -225px;
  padding: 15px;
  display: none;
  z-index:2000;
  background-color:#1e90ff;
}

.update_box_inner {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  z-index:2001;
  background-color:#ffffff;
  font-family: verdana, arial, helvetica;
}

.update_box_inner_inner {
  padding: 0px 10px;
}

#members_home, #reviewevent, #reviewsignup, #signup {
  line-height: 19px;
  margin-bottom: 16px;
}
#members_home label, #reviewevent label, #reviewsignup label, #signup label {
  font-weight: bold;
  float: left;
  width: 245px;
}
.tournament_sub {
  padding: 0px 0px 10px 20px;
}
#reviewsignup label {
  width: 255px;
}
.members_home_events {
  clear: right;
  margin-bottom: 16px;
}
.members_home_events h2 {
  margin-bottom: 8px;
}
#teams_div, #individuals_div {
  display: none;
}

#detailed_view {
  display: none; /* change back to none */
}
.detailed_link {
  font-weight: bold;
  color: #ff1e90;
  cursor: pointer;
}
.detailed_row {
  cursor: default;
}
.detailed_col {
  width: 40px;
  border: 1px dotted #1e90ff;
}
#detailed_league_table {
  width: 100%;
  border-collapse: collapse;
}
#detailed_view_explanation_box {
  width: 900px;
  margin-left: -450px;
}
#detailed_view_explanation_box img {
  border: 1px solid #1e90ff;
}

#league_update, #points_table, #race_table {
  width: 600px;
  margin: auto;
}

.match_details {
  line-height: 20px;
  padding-left: 20px;
}

#search_league_details {
  margin-top: 0px;
}

#rss_news_icon {
  float:right;
  margin-top: 10px;
  margin-right:1px;
  border: 0px;
}
#terms_and_conditions {
  margin-left: -250px;
  top:30px;
  width: 500px;
}

#cse-search-results {
  margin-top: -20px;
}

table.swiss_match {
  border: 1px solid #1e90ff;
  border-collapse: collapse;
  margin: 0px 8px 8px 0px;
  width: 98%;
}
td.swiss_number_top {
  width: 18px;
  border: 1px solid #1e90ff;
  text-align: right;
  padding-right: 2px;
}
td.swiss_number_bottom {
  width: 18px;
  border: 1px solid #1e90ff;
  text-align: right;
}
td.swiss_name {
  border: 1px solid #1e90ff;
}
td.swiss_score {
  width: 30px;
  border: 1px solid #1e90ff;
}


/* generic classes */
.smaller_font {
  font-size: 11px;
}
.error {
  color: #ff0000;
}
div.error {
  margin: 5px 0px;
}
ul.error {
  margin-bottom: 13px;
}
.error_box {
  margin-top: 13px;
  margin-bottom: 13px;
}
.error_border {
  border: 1px solid #f00;
}
.btn {
  background-color: #1e90ff;
  padding: 2px;
  font-family: verdana, arial, helvetica;
  font-size: 11px;
  color: #ffffff;
  font-weight: bold;
  margin: 13px 0px;
}
.secondary_background {
  background: #b7dbff;
}
.narrow_box {
  width: 500px;
}
.half_width {
  width: 50%;
}
.clear {
  clear: both;
}
.hidden {
  display: none;
}
.radio_with_text {
  vertical-align: -3px;
}
.center {
  text-align: center;
}
.right {
  float: right;
}
.left {
  float: left;
}
.fake_link {
  color: #ff1e90;
  font-weight: bold;
}
.bold {
  font-weight: bold;
}
.tip {
  display: none;
  border: 1px solid #1e90ff;
  font-size: 11px;
  font-weight: bold;
  background: #b7dbff;
  width: 200px;
  line-height: 14px;
  padding: 4px;
  position: absolute;
}

input.small {
  font-size: 11px;
}
input.small2 {
  font-size: 12px;
}




/* datePicker */

table.jCalendar {
	background: #ffffff;
    border-collapse: separate;
    border-spacing: 2px;
}
table.jCalendar th {
	background: #1e90ff;
	color: #fff;
	font-weight: bold;
	padding: 3px 5px;
}

table.jCalendar td {
	background: #ccc;
	color: #000;
	padding: 3px 5px;
	text-align: center;
}
table.jCalendar td.other-month {
	background: #ddd;
	color: #aaa;
}
table.jCalendar td.today {
	background: #1e90ff;
	color: #fff;
}
table.jCalendar td.selected {
	background: #f66;
	color: #fff;
}
table.jCalendar td.selected.dp-hover {
	background: #f33;
	color: #fff;
}
table.jCalendar td.dp-hover,
table.jCalendar tr.activeWeekHover td {
	background: #fff;
	color: #000;
}
table.jCalendar tr.selectedWeek td {
	background: #f66;
	color: #fff;
}
table.jCalendar td.disabled, table.jCalendar td.disabled.dp-hover {
	background: #b7dbff;
	color: #888;
}
table.jCalendar td.unselectable,
table.jCalendar td.unselectable:hover,
table.jCalendar td.unselectable.dp-hover {
	background: #b7dbff;
	color: #888;
}

/* For the popup */

/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */

div.dp-popup {
	position: relative;
	background: #ffffff;
	font-size: 10px;
	font-family: arial, sans-serif;
	padding: 2px;
	width: 186px;
	line-height: 1.2em;
	border: 1px solid #1e90ff;
}
div#dp-popup {
	position: absolute;
	z-index: 199;
}
div.dp-popup h2 {
	font-size: 12px;
	text-align: center;
	margin: 2px 0;
	padding: 0;
}
a#dp-close {
	font-size: 11px;
	padding: 4px 0;
	text-align: center;
	display: block;
}
a#dp-close:hover {
	text-decoration: underline;
}
div.dp-popup a {
	color: #000;
	text-decoration: none;
	padding: 3px 2px 0;
}
div.dp-popup div.dp-nav-prev {
	position: absolute;
	top: 2px;
	left: 4px;
	width: 100px;
}
div.dp-popup div.dp-nav-prev a {
	float: left;
}
/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
	cursor: pointer;
}
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
	cursor: default;
}
div.dp-popup div.dp-nav-next {
	position: absolute;
	top: 2px;
	right: 4px;
	width: 100px;
}
div.dp-popup div.dp-nav-next a {
	float: right;
}
div.dp-popup a.disabled {
	cursor: default;
	color: #aaa;
}
div.dp-popup td {
	cursor: pointer;
}
div.dp-popup td.disabled {
	cursor: default;
}

a.dp-choose-date {
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 5px 3px 0;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background: url(../i/calendar.png) no-repeat; 
}
a.dp-choose-date.dp-disabled {
	background-position: 0 -20px;
	cursor: default;
}

input.dp-applied {
	width: 140px;
	float: left;
}


