﻿.contestBannerContainer {
	background-color: #2E363F;
	background-image: url("/images/contest_bg.png");
	background-repeat: no-repeat;
	vertical-align: middle;
    height: 180px;
}

#countdownBlock {
    position: relative;
    top: 72px;
    left: 553px;
    font-family: Tahoma,sans-serif;
    font-size: 9pt;
    width: 210px;
    color: rgb(255, 255, 255);
    text-shadow: 1px 1px 0px rgb(0, 0, 0);
    display: inline-block;
}

#endDateBlock {
    position: relative;
    top: 105px;
    left: 230px;
    font-family: Tahoma,sans-serif;
    font-size: 11pt;
    color: rgb(255, 255, 255);
    width: 170px;
    text-shadow: 1px 1px 0px rgb(0, 0, 0);
}

#buttonBlock {
    position: relative;
    top: 70px;
    left: 215px;
    color: rgb(255, 255, 255);
    width: 550px;
    text-align: center;
}

#buttonBlock input {
    box-shadow: 0px 0px 0px 3px rgb(238, 238, 238);
}

#ContestRegistration {
    font-size: 14pt !important;
    padding-left: 1.6em !important;
    padding-right: 1.6em !important;
}

#contestResults {
    position: relative;
    left: 20px;
    top: -30px;
    width: 170px;
    padding: 0 10px;
}

#contestResults span {
    color: #fff;
    font-size: 8pt;
    font-family: Tahoma, sans-serif;
    text-overflow: ellipsis;
    width: 160px;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
}

#contestResults ul, #winnerBlock ul {
    padding: 0;
    margin: 0;
}

#contestResults li, #winnerBlock li {
    list-style-type: none;
    padding-bottom: 5px;
}

.winnerPos1 {
    font-weight: bold;
}

.tableContainer {
    border-collapse: collapse;
    border-spacing: 0;
}

.tableContainer td {
    padding: 0;
}

#smallBanner {
	background-color: #222;
	background-image: url("/images/ipadbanner-small.png");
	background-repeat: no-repeat;
	vertical-align: middle;
    height: 143px;
    width: 796px;
    position: relative;
}

#contestNameLabel {
    font-family: 'Oswald',sans-serif;
    font-size: 28pt;
    background-color: #333;
    color: #ffffff;
    text-align: left;
    padding: 0 10px;
}

#contestRulesLabel {
    font-family: Arial,sans-serif;
    font-size: 14pt;
    color: #222;
    text-align: left;
    padding: 0;
    padding-top: 10px;
}

#contestDetails {
    font-family: Arial,sans-serif;
    font-size: 14pt;
    margin-top: 20px;
    text-align: center;
}

#contestDetails div {
    padding: 5px 0;
}

#contestDetails div:last-child {
    font-weight: bold;
    padding-top: 30px;
    text-align: center;
    font-size: 16pt;
}

#contestDetails  a {
    color: #0066A8;
    font-weight: bold;
}

#rulesContainer {
    padding: 0 !important;
}

#rulesContainer textarea {
    font-size: 11pt;
    padding: 15px;
    resize: vertical;
}

.scoreLabel {
    font-family: 'Oswald',sans-serif;
    font-size: 48pt;
    color: rgb(255, 255, 255);
    left: 13px;
    position: relative;
    top: 42px;
    text-align: center;
    width: 212px;
    font-weight: bold;
}

#scoreboardLabel {
    font-weight: normal;
    font-family: Arial,sans-serif;
    font-size: 12pt;
    margin-top: 20px;
    background-color: #444;
    color: #fff;
    padding: 4px 6px;
}

.scores, .vehicles, .friends {
    font-family: Arial,sans-serif;
    font-size: 13pt;
    width: 100%;
    border-collapse: collapse;
}

.scores th, .vehicles th, .friends th {
    border: solid 1px #ccc;
    padding: 3px;
}

.scores td, .vehicles td, .friends td {
    text-align: center;
    border: solid 1px #ccc;
    padding: 3px;
}

.scores td:nth-child(1) {
    width: 200px;
    text-align: left;
}

.scores td:nth-child(2) {
    width: 100px;
}

.scores td:nth-child(3) {
    width: 100px;
}

.scores td:nth-child(4) {
    width: 100px;
}

.scores tr:last-child td:last-child {
    border:none;
    border-top: solid 2px #000;
    font-weight: bold;
}

.scores tr:last-child td:first-child {
    border:none;
}

.scoreBoardTip {
    font-family: Arial,sans-serif;
    font-size: 8pt;
    text-align: left;
}

.vehicles {
    width: 600px;
}

.vehicles td:nth-child(3), .vehicles td:nth-child(4) {
    width:200px;
}

.vehicles td:nth-child(1), .vehicles td:nth-child(2) {
    width:100px;
}

.friends {
    width: 500px;
}

.friends td {
    text-align: left;
}

.inviteFriendContainer {
    font-family: Arial,sans-serif;
    font-size: 12pt;
    margin: 0 auto;
}

.inviteFriendContainer td {
    padding: 8px 0;
}

#inviteFriendContainerWrapper {
    padding: 6px;
    background-color: #eee;    
    margin-top: 30px;
    border: solid 1px #ccc;
}

.inviteFriendContainer .textfield
{
	width: 100%;
	background-color: #ffffff;
	background-image: url(/images/textfield_bg.gif);
	background-repeat: repeat-x;
	background-position: 0px 1px;
	border: solid 1px #cdcdcd !important;
	color: #000 !important;
	font-size: 9pt !important;
	font-family: Tahoma;
	padding: 3px;
    width: 300px;
}

.inviteFriendContainer .textfield:focus {
	border: solid 1px #999 !important;
}

.backLink {
    text-align: right;
    margin-top: 30px;
    font-family: Arial,sans-serif;
    font-size: 12pt;
}

.noContests {
    font-size: 18pt;
    font-family: 'Oswald',sans-serif;
    color: #D73B12;
}

/* CP */

#contestEditDetails
{
	width: 570px;
    font-size: 9pt;
}

#contestEditDetails td {
    text-align: left;
}

#contestEditDetails td:first-child {
	font-weight: bold;
}

div.ui-datepicker
{
	font-size: 8pt;
}
#editWndContainer
{
	font-size: 9pt;
}
.whiteButton
{
	-moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
	box-shadow: inset 0px 1px 0px 0px #ffffff;
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #eeeeee) );
	background: -moz-linear-gradient( center top, #ffffff 5%, #eeeeee 100% );
	background-color: #ffffff;
	border: 1px solid #a4a4a4;
	display: inline-block;
	color: #222;
	font-weight: bold;
	font-size: 9pt;
	padding: 4px 9px;
	text-decoration: none;
	text-shadow: 1px 1px 0px #ffffff;
	cursor: pointer;
}
.whiteButton:hover
{
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #eeeeee), color-stop(1, #ffffff) );
	background: -moz-linear-gradient( center top, #eeeeee 5%, #ffffff 100% );
	background-color: #eeeeee;
}
.whiteButton:active
{
	position: relative;
	top: 1px;
}
#editWndContainer .textfield
{
	width: 100%;
	background-color: #ffffff;
	background-image: url(/images/textfield_bg.gif);
	background-repeat: repeat-x;
	background-position: 0px 1px;
	border: solid 1px #cdcdcd !important;
	color: #000 !important;
	font-size: 9pt !important;
	font-family: Tahoma;
	padding: 3px;
}

#contestsList {
	width: 100%;
	background-color: #fff;
}

#contestsList td:nth-child(1) 
{
	text-align: center;
	width: 80px;
}

#contestsList td:nth-child(2) {
	width: 520px;
}

#contestsList td:nth-child(3) {
	width: 190px;
}

.ui-dialog {
	font-size: 85%;
}

.contestSearchResults {
    border-collapse: collapse;
}

.contestSearchResults td {
    border: solid 1px #ccc;
}

.contestSearchResults td:first-child a:not(.command) {
    font-weight: normal;
    color: rgb(0, 102, 168) !important;
}

#contestSearchOptionsContainer .searchOptionsGroupRow {
    width: 90px;
    padding: 3px 0px;
    text-align: right;
    font-weight: bold;
}

#contestSearchOptionsContainer .textControl {
    width: 260px !important;
}

#contestSearchOptionsContainer .listControl, 
#contestSearchOptionsContainer .textControl {
    font-size: 9pt !important;
    width: 262px !important;
}