@import url('defaults.css');

/*
 * Positioning.
 */
html {
	text-align:		center;
	background:		#fff;
	background:		url('./images/fstrip1.jpg') right repeat-y;
}
body {
	margin:			0 auto;
	text-align:		left;
	font-family:	sans-serif;
	background:		#fff url('./images/colbg.png') repeat-y;
	margin-right:	160px;
}

/*
 */
th {
	font-weight:	bold;
	text-align:		center;
}
th, td {
	padding:		5px;
}

h1, h2, h3, h4, h5, h6 {
	padding-top:	0;
	margin-top:		0.5em;
	color:			#00ab4f;
}
a {
	color:			#00ab4f;
}

label {
	width:			12em;
	float:			left;
	text-align:		right;
	margin-right:	1em;
	font-weight:	bold;
}
form .error {
	margin-left:	13em;
}

fieldset {
	border:			1px solid #ccc;
	background:		#f9f9f9;
	padding:		1em;
}
legend {
	color:			#00ab4f;
}


/*
 */
input.submit {
	padding:		0 1em;
}
.error {
	color:			#fd1813;	/* FC red */
	font-weight:	bold;
}

/*
 * Branding.
 */
div#branding {
    width:			160px;
	height:			254px;
	background:		#00ab4f url('./images/twc_header.png') no-repeat;
}
div#branding a {
	display:		block;
	height:			198px;
}
div#branding h1 {
	display:		none;
}
div#branding #anim-banner {
	width:			160px;
	height:			51px;
	position:		absolute;
	top:			220px;
	background:		url('./images/twc_anim.gif') bottom no-repeat;
}

/*
 * Nav tools menu.
 */
div#nav-tools {
	padding:		5px;
	background:		#fff url('./images/colbg.png') repeat-y;
}
div#nav-tools form,
div#nav-tools ul {
	text-align:		right;
	margin:			0;
	padding:		0;
}
div#nav-tools li {
	font-size:		smaller;
}
div#nav-tools li {
	display:		inline;
}

/*
 * Left column.
 */
div#left_col {
	width:			160px;
	float:			left;
}
div#content {
	margin-left:	160px;
	padding:		5px 10px;
	text-align:		justify;
}

/*
 * Site navigation.
 */
div#nav-site {
	text-align:		left;
}
div#nav-site ul,
div#nav-sub ul {
	list-style:		none;
	padding:		0;
}
div#nav-site li a {
	color:			#fff;
	display:		block;
	text-decoration:none;
	padding:		5px;
	text-align:		right;
	font-weight:	bold;
}
div#nav-site li a:hover {
	color:			#00ab4f;
	background:		#007b39;
}
div#nav-site li.selected a {
	color:			#00ab4f;
	background:		#fff;
}

div#nav-sub li.selected a {
	background:		#fff;
}
div#nav-sub li a:hover {
	background:		#fff;
}

/*
 * Site information.
 */
div#site-info {
    clear:          	both;
	margin-top:			1em;
	padding-right:		1em;
}
div#site-info p.pwfooter {
	border-top:			1px solid #00ab4f;
	font-size:			smaller;
	text-align:			right;
	margin-top:			0;
	background:			#fff;
	padding:			0;
	margin:				0;
}
div#site-info p.pwfooter a {
	text-decoration:	none;
	color:				#069;
}
div#site-info p.pwfooter a:hover {
	text-decoration:	underline;
}
.pw {
	font-weight:		bold;
}
.blue {
	color:				#069;
}
.red {
	color:				#fd1813;
}

/*
 */
.boxsel p a {
	display:		block;
	text-decoration: none;
	padding:		10px 5px;
	border:			1px solid #cfc;
}
.boxsel p a:hover {
	background:		#cfc;
	border:			1px solid #6f6;
}
.boxsel p a .major {
	font-size:		large;
}
.boxsel p {
	width:			30%;
	float:			left;
	margin-left:	1%;
	text-align:		center;
}
div#register-warn .boxsel p,
div#register-team-invite .boxsel p {
	width:			45%;
	margin-left:	2%;
	float:			left;
}

p.warn,
div.error {
	background:		#fcc;
	padding:		20px;
	border:			1px solid #f66;
}

tr.highlight {
	background:		#d3e6ea;
}
td.centre {
	text-align:		center;
}

#admin-scores td,
#admin-score td {
	text-align:		right;
}
#admin-score form p {
	float:			left;
	margin:			0;
}
#admin-score label {
	width:			7em;
	text-align:		right;
	margin-right:	1em;
	font-weight:	bold;
}
#admin-score .submit {
	margin-left:	1em;
}

td.gain {
	background:		#f00;
}
td.loss {
	background:		#0f0;
}

/*
 * Sponsors list.
 */
p.sponsors {
	text-align:		right;
}

.ui-tabs-hide {
	display:		none;
}
