p.half_space { margin-bottom: 0.75em; }
table.vcenter tbody td { vertical-align: middle; }
table.hover tr:hover td { background-color: #fff8d1; }

#federation_logout {
  display: block;
  float: left;
  color: #c4c7c8;
  position: absolute;
  right: 10px;
  top: 140px;
  z-index: 1;
  line-height: 16px;
}

#federation_logout b { color: #c4c7c8 !important; }

#federation_logout a {
  display: block;
  float: right;
  margin-left: 10px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-indent: -9999px;
  background-color: transparent;
  background-image: url('/uploads/images/icons/logout.png');
  background-position: left top;
  background-repeat: no-repeat;
}

/* Page + TinyMCE */
body#tinymce {
  background-color: #ffffff;
  min-width: 1px;
}

#content.page, body#tinymce {
  color: #666666;
  font-size: 13px;
}

#content.page h2, body#tinymce h2 {
  font-size: 24px;
  color: #323639;
  padding-bottom: 8px;
  border-bottom: 1px #323639 dotted;
  margin-bottom: 25px;
  padding-left: 3px;
  background-color: transparent;
  background: none;
}

#content.page h3, body#tinymce h3 { font-size: 18px; }

#content.page li, body#tinymce li {
  border: 0 none;
  background-position: 0 8px;
  color: #666666;
  padding-bottom: 0;
}

#content.page li:first-child, body#tinymce li:first-child { background-position: 0 0; }

#content.page li a, body#tinymce li a {
  color: #fd050b;
  outline: none;
  text-decoration: underline;
}

#content.page li a:hover, body#tinymce li a:hover { text-decoration: none; }

/* News */
#news_detail .summary {
  font-weight: bold !important;
  color: #323639 !important;
  margin-bottom: 1.5em;
}

#news_detail .summary * { display: inline !important; }

#news_detail .content {
  border-bottom:1px dashed #d9d9d9;
  padding-bottom:20px;
  margin-bottom:20px;
}

#news_detail h3 { font-weight: bold; }
#news_detail h4 { font-size: 12px; }

/* Countdown */
#counter .cntSeparator {
  padding-top: 5px;
  margin: 0 3px;
  font-weight: bold;
}

.counter_description div {
  float: left;
  width: 38px;
  font-size: 10px;
  text-align: center;
  margin-right: 9px;
}

/* login form */
#login_form {
  margin: 50px 0;
  padding: 0;
  width: 380px;
  position: relative;
  left: 145px;
}

#login_form .wrapper {
  padding: 15px;
  border: 1px #c6c8c9 solid;
  width: auto;
}

#login_form table { width: 350px; }

#login_form th {
  text-align: right;
  font-weight: normal;
  width: 125px;
  padding: 3px 0;
}

#login_form td { padding: 3px 0 3px 15px; }

#login_form td input[type="text"], #login_form td input[type="password"] {
  width: 175px;
  height: 18px;
  padding: 0;
  margin: 0;
}

#login_form td.submit { padding-top: 10px; }

#login_form td.submit input { padding: 0 35px; }

#login_form p.link {
  padding: 0;
  margin: 0;
  margin-top: 20px;
  text-align: left;
}

#login_form .alert-box.error-box {
  padding-left: 70px !important;
  margin-bottom: 15px;
  background-position: 3% 50%;
}

/* registration form */
#registration_form h3 { margin-bottom: 20px; }

#registration_form table {
  margin-bottom: 15px;
  width: 100%;
  border: 1px solid #dbdbdb;
}

#registration_form thead th {
  text-align: center;
  font-size: 17px;
  font-weight: bold;
  background-color: #eaeaeb;
  background-image: url('/uploads/images/h3-left-bg.png');
  background-position: left top;
  background-repeat: repeat-x;
  color: #323639;
  line-height: 100%;
  height: 35px;
  vertical-align: middle;
}

#registration_form tbody th, #registration_form tbody td { vertical-align: top; }

#registration_form tbody th {
  width: 250px;
  padding: 3px 15px;
  text-align: right;
  font-weight: normal;
}

#registration_form tbody td { padding: 3px 15px; }
#registration_form tr.first th, #registration_form tr.first td { padding-top: 15px; }
#registration_form tr.last th, #registration_form tr.last td { padding-bottom: 15px; }

#registration_form input.cms_textfield {
  height: 18px;
  padding: 0 5px;
}

#registration_form input.cms_radio {
  position: relative;
  top: -3px;
  margin-right: 5px;
}

#registration_form textarea {
  width: 300px;
  height: 75px;
}

#registration_form div.submit {
  margin-top: 25px;
  text-align: center;
}

#registration_form td.fide_federation select { text-transform: uppercase; }

ul.error {
  padding-left: 30px;
  margin: 0;
}

ul.error li {
  list-style-type: circle;
  background: none;
  padding: 0;
  line-height: 130%;
  color: #c31b00 !important;
}

/* Player list */
.player_list table {
  margin-bottom: 50px;
  width: 100%;
  border: 1px solid #dbdbdb;
}

.player_list thead th {
  text-align: center;
  font-weight: bold;
  background-color: #eaeaeb;
  background-image: url('/uploads/images/h3-left-bg.png');
  background-position: left top;
  background-repeat: repeat-x;
  color: #323639;
  line-height: 100%;
  height: 35px;
  vertical-align: middle;
  padding: 0 10px;
}

.player_list tbody td {
  text-align: center;
  padding: 6px 10px;
  border-bottom: 1px solid #dbdbdb;
}

.player_list td.name, .player_list th.name { text-align: left; }

.player_list tbody td.name a {
  color: #666666;
  font-weight: bold;
}

.player_list tbody tr.calculated td { background-color: #fff2b7; }
.player_list tbody tr.paid td { background-color: #b9ffb7; }

.player_list thead th span { display: inline-block; *display: block; }

.player_list th.header span {
  padding-right: 21px;
  background-color: transparent;
  background-image: url('/uploads/images/tablesorter/bg.gif');
  background-position: right center;
  background-repeat: no-repeat;
  cursor: pointer;
  cursor: hand;
}

.player_list th.headerSortDown span { background-image: url('/uploads/images/tablesorter/asc.gif'); }
.player_list th.headerSortUp span { background-image: url('/uploads/images/tablesorter/desc.gif'); }

/* Registration navigation */
.registration_navigation {
  text-align: right;
  clear: both;
}

.registration_navigation a {
  position: relative;
  display: inline-block;
  padding: 0 19px;
  line-height: 27px;
  background-color: #444444;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#d00005), to(#b80004)); /* Saf4+, Chrome */
  background-image: -webkit-linear-gradient(top, #d00005, #b80004); /* Chrome 10+, Saf5.1+, iOS 5+ */
  background-image:    -moz-linear-gradient(top, #d00005, #b80004); /* FF3.6 */
  background-image:     -ms-linear-gradient(top, #d00005, #b80004); /* IE10 */
  background-image:      -o-linear-gradient(top, #d00005, #b80004); /* Opera 11.10+ */
  background-image:         linear-gradient(top, #d00005, #b80004);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 12px;
  border: none;
  height: 27px;
  cursor: pointer;
  border: none;
}

.registration_navigation a:hover { background: #000000; }

.registration_navigation a.ajax_export {
  float: left;
  padding-left: 20px;
  background-color: transparent;
  background-image: url('/uploads/images/icons/excel.png');
  background-position: left center;
  background-repeat: no-repeat;
  color: #d00005;
  font-weight: normal;
}

.registration_navigation a.ajax_export:hover { text-decoration: underline; }

/* Player detail */
#player_detail h3 {
  text-align: left;
  font-weight: bold;
  font-size: 14px !important;
  margin: 0;
  padding: 3px 8px;
  background-color: #eaeaeb;
  background-image: url('/uploads/images/h3-left-bg.png');
  background-position: left top;
  background-repeat: repeat-x;
  color: #323639;
  border: 1px solid #dbdbdb;
  border-bottom: 0 none;
}

#player_detail table {
  width: 100%;
  margin-bottom: 15px;
  border: 1px solid #dbdbdb;
  border-top: 0 none;
}

#player_detail th, #player_detail td {
  text-align: left;
  padding: 3px 8px;
  vertical-align: top;
}

#player_detail tr.state th, #player_detail tr.state td { vertical-align: middle; }
#player_detail tr.state td { font-size: 17px; }

#player_detail tr.calculated th, #player_detail tr.calculated td { background-color: #fff2b7; }
#player_detail tr.paid th, #player_detail tr.paid td { background-color: #b9ffb7; }

#player_detail th.price {
  color: #bc0004;
  vertical-align: middle;
}

#player_detail td.price {
  color: #bc0004;
  font-size: 19px;
  font-weight: bold;
  vertical-align: middle;
}

/* Menu in page */
#content.page .menu_in_page { margin: 25px 0; }

#content.page .menu_in_page ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #ced0d1;
  width: 200px;
}

#content.page .menu_in_page li {
  display: block;
  margin: 0;
  padding: 0;
  background-color: #eaeaeb;
  background-image: url('/uploads/images/h3-left-bg.png');
  background-position: left top;
  background-repeat: repeat-x;
  border-bottom: 1px solid #ced0d1;
}

#content.page .menu_in_page li:hover { background-image: url('/uploads/images/h3-left-bg-hover.png'); }

#content.page .menu_in_page li a {
  display: block;
  padding: 7px 10px;
  text-decoration: none;
  color: #717171;
  font-weight: bold;
  text-align: center;
}

#content.page .menu_in_page li a:hover {
  background-color: transparent;
  background-image: url('/uploads/images/icon-horse-black.png');
  background-position: 178px 2px;
  background-repeat: no-repeat;
}

/* css for timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-div dl dt { background: none; padding: 0; font-size: 12px; }
.ui-timepicker-div dl dd { padding: 0; }
.ui-datepicker { width: 201px !important; }
.ui-datepicker * { font-size: 11px !important; }

.red { color:#fd050b; }
.nowrap { white-space: nowrap; }

/* tabs of live games */
#live_tabs ul, #live_tabs ul.tabs-nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  float: left;
}

#live_tabs ul.tabs-nav li, #live_tabs li {
  padding: 7px 10px;
  margin: 0;
  margin-left: 10px;
  background-color: #eaeaeb;
  background-image: url('/uploads/images/h3-left-bg.png');
  background-position: left top;
  background-repeat: repeat-x;
  color: #323639;
  text-align: center;
  cursor: pointer;
  cursor: hand;
}

#live_tabs ul.tabs-nav li a {
  color: #323639;
  text-decoration: none;
  font-weight: normal;
  padding: 0;
  cursor: pointer;
  cursor: hand;
  background: none;
}

#live_tabs ul.tabs-nav li:hover, #live_tabs ul.tabs-nav li.tabs-selected {
  background-position: left bottom;
}

#live_tabs ul.tabs-nav li:hover a, #live_tabs ul.tabs-nav li.tabs-selected a {
  color: #000000;
  font-weight: bold;
}

#live_tabs .tabs-container {
  padding: 0 0 10px 15px;
  margin: 0;
  border: 0 none;
  background-color: #eaeaeb;
}

#live_tabs h5 {
  text-align: center;
  margin: 0;
  padding: 10px 0 15px 0;
}

#live_tabs p { margin: 0; padding: 0; }

/* style 2 - more contrast */
#live_tabs.style2 ul.tabs-nav li, #live_tabs.style2 li {
  background-position: left bottom;
  border: 1px #000000 solid;
  border-bottom: 0 none;
  position: relative;
  top: 1px;
}

#live_tabs.style2 ul.tabs-nav li:hover, #live_tabs.style2 ul.tabs-nav li.tabs-selected {
  background: none;
  background-color: #ffffff;
  border-bottom: 1px #ffffff solid;
}

#live_tabs.style2 ul.tabs-nav li a { font-size: 14px; }

#live_tabs.style2 .tabs-container {
  background-color: #ffffff;
  border-top: 1px #000000 solid;
}

#live_tabs.style2 #pairings, #live_tabs.style2 #results, #live_tabs.style2 #standings {
  padding-top:30px;
}

#live_tabs.style2 table {
  width:100%;
}

