/*
default styles for grsquash.com
Created:        Feb 25 2006
Last Modified:	May 21 2006
----------------------------- 
ryan masuga, masugadesign.com
ryan@masugadesign.com 
===========================================*/

/* NORMALIZING styles
===========================================*/
body, div, ul, li, td, h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-family: Trebuchet, "Trebuchet MS", Arial, sans-serif;
}
div, span, img, form, h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
	background-color: transparent;
	border: 0;
}
table { border: 0px;}



/* MAIN styles
===========================================*/
body{
	background-color: #f1ede2;
	font: 14px/1.5em Trebuchet, "Trebuchet MS", Arial, sans-serif;
	margin: 0;
	padding: 0;
	color: #464856;
}

h1{
	font-size: 21px;
	font-family: Trebuchet, "Trebuchet MS", Arial, sans-serif;
	color: #363636;
	margin:0;
	font-weight: normal;
}

h2  {
	font-size: 24px;
	font-family: Trebuchet, "Trebuchet MS", Arial, sans-serif;
	color: #5a6d8a;
	margin:0 0 5px 0;
	}

h3{
	font-size: 18px;
	font-family: Trebuchet, "Trebuchet MS", Arial, sans-serif;
	color: #464856;
	margin:10px 0 0;
}

/* links 
----------------------------------------- */
a {outline:none;font-weight:bold;}
a:link{color: #ca1f1c;text-decoration:none;}
a:visited{color: #ca1f1c;text-decoration:none;}
a:hover{color: #fb4e4b;text-decoration:underline;}
a:active{color: #ca1f1c;text-decoration:underline;}

p {
	margin:0px 0px 5px 0px;
}

td { vertical-align: top;}

dt { font-weight: bold; }

hr {
	border: 0;
	width: 100%;
	color: #f7dedd;
	background-color: #f7dedd;
	height: 1px;
	margin: 0;
	padding: 0;
}

.clr {
	clear: both;
	height: 0px;
}
.clearfix:after { /*http://positioniseverything.net/easyclearing.html*/
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */



/* =CONTAINER styles
===========================================*/
#container {
	margin: 0;
	padding: 0;
	background: #fff url('../images/bg_container.gif') 0 0 repeat-x;
	position:relative;
	}

#container-inner {
	width: 780px;
	position:relative;
	padding:0;
	margin:0 auto;
	background: #fff url('../images/content_divider.gif') 520px 600px repeat-y;
}

#push {
	background: #fff;
	width: 780px;
	margin:0 auto;
	padding: 20px 0;
}




/* =HEADER styles
===========================================*/
#header{
	margin: 0;
	padding: 0;
	height: 196px;
	background: #aa2c2a url('../images/bg_header.gif') 0 0 repeat-x;
	}
	
#header h1 { 
	text-align: left; 
	}


#main-nav {
	margin:0;
	padding:0;
	position: absolute;
	left:0px;
	top: 160px;
	height: 36px;
	width:780px;
	float:left;
	background: transparent url('../images/bg_nav.gif') 0 0 repeat-x;
	}

#main-nav ul {
	padding:0;
	margin:0 0 0 20px;
	color: #fff;
	list-style: none;
	font-weight:bold;
	font-size: 14px;
	display:block;
	height:36px;
	width:100%;
	float: left;
	}

#main-nav ul li{
	display: inline;
	}

#main-nav ul li a:link, #main-nav ul li a:visited {
	float:left;
	padding: 6px 8px 5px 9px;
	height:25px;
	color: #fff; 
	text-decoration: none;
	}

#main-nav ul li a:hover {
	color: #fff;
	background:#d95d5a url('../images/bg_rollover.gif') 0 0 repeat-x;
	}
	
#main-nav ul li a:active {
	color: #fff;
	}

#main-nav ul li a.active { /* classing the active state */
	color: #fff;
	background:#d95d5a url('../images/bg_rollover.gif') 0 0 repeat-x;
	}

/* keep nav links on on their respective pages */
body.home #main-nav ul li#nav-home a, body.info #main-nav ul li#nav-info a, body.rankings #main-nav ul li#nav-rank a,
body.result #main-nav ul li#nav-result a, body.profile #main-nav ul li#nav-profile a, body.login #main-nav ul li#nav-loginout a  {
	background:#d95d5a url('../images/bg_rollover.gif') 0 0 repeat-x;
}
	

#header-inner {
	width:780px;
	height: 196px;
	margin:0 auto;
	background: #bf3331 url('../images/bg_header-inner.jpg') 0 0 no-repeat;
	position:relative;
	}

#header-inner h1 { 
	position: absolute;
	top: 16px;
	left: 13px;
	/* put the background image here too to avoid 'flash' when viewing in IE */
	background: transparent url('../images/grsquash_logo.png') 0 0 no-repeat;
	}

#header-inner h1 a {
	background: transparent url('../images/grsquash_logo.gif') 0 0 no-repeat;
	display: block;
	height: 67px;
	width: 256px;
	color: #DADFCE;
	padding: 67px 0px 0px 0px; 
	height: 0px !important;
	height /**/:67px;
	overflow:hidden;
	font-size: 1px;
	}

#loginstatus {
	padding:0;
	position: absolute;
	top:165px;
	right:25px;
	text-align:right;
	color: #e0d3af;
}

/* =CONTENT styles
===========================================*/
#content{
	margin: 0;
	padding: 0 25px;
	background: transparent;
	width: 470px;
	float: left;
	text-align:left;
	display: inline;
}

.item-box {
	border-bottom:1px solid #f7dedd;
	padding-bottom: 10px;
	margin-bottom:15px;
}

ul {
	list-style:none;
}

.rankings-list {
	list-style:none;
	font-size:16px;
	line-height:120%;
}

#open-challenge {
	border:1px solid #59bd35;
	background-color: #eff8ee;
	text-align: center;
	margin-bottom: 10px;
	padding: 5px;
	}

#open-challenge-notloggedin {
	border:1px solid #f1ede2;
	background-color: #f7f4eb;
	text-align: center;
	margin-bottom: 10px;
	padding: 5px;
}

#open-challenge-notloggedin table {
		font-size:14px;
}

/* =SIDEBAR styles
===========================================*/
#sidebar{
	margin: 0;
	padding: 0 25px;
	background: transparent;
	width: 210px;
	float: right;
	text-align:left;
	display: inline;
}

#sidebar p {
	font-size: 12px;
	line-height: 120%;
}

#sidebar.sidebar-admin ul {
	margin-left: 0;
	padding-left:15px;
	margin-top:0;
	list-style: circle;
}

#sidebar.sidebar-rankings ol {
	margin-left: 15px;
	padding-left:15px;
	margin-top:0;
}


/* =FOOTER styles
===========================================*/
#footer{
	clear: both;
	margin: 0;
	padding: 0 0 20px 0;
	border-top:22px solid #f7f4eb;
	background: #f1ede2;
}

#footer p {
	padding: 5px 10px;
	text-align:center;
	margin: 0px;
}



/* =MISC CLASS styles
===========================================*/
.footnote {
	color: #666;
	font-style:italic;
	font-size: 10px;
	line-height:120%;
	}
	
.titlenote {
	color: #666;
	font-style:normal;
	font-size: 14px;
	line-height:120%;
	}

.warning {
	color:#fff;
	background-color:#f00;
	padding: 2px 3px;
}



/* chat box styles 
------------------------- */
div#chatoutput {
	height: 200px; /* Height of the shoutbox */
	width: 194px; /* not sure how necessry this is */
	padding: 6px 8px;   /* Horizontal Scrollbar Killer */
	border: 1px solid #dadada;
	font: 11px helvetica, arial, sans-serif;
	color: #464856;
	background: #fff;
	overflow: auto;
	margin-top: 10px;
	}

#chatoutput span { /* chat 'name' */
	font-size: 10px;
	color: #5a6d8a;
	}

#chatForm label {
	display: block;
	margin: 4px 0;
	}

#chatoutput a {
	font-style: normal;
	font-weight: bold;
	color: #666;
	}

#chatoutput li {
	border-bottom: 1px dotted #999;
	}

#chatoutput li span a { /* User names with links */
	font-weight: normal;
	display: inline !important;
	border-bottom: 1px dotted #666;
	}

#chatForm input, #chatForm textarea {
	width: 120px;
	display: block;
	margin: 0 auto;
	}

#chatForm textarea {
	width: 150px;
	}

#chatForm input#submitchat {
	width: 70px;
	margin: 10px auto;
	padding: 2px;
	}

#chatoutput ul#outputList {
	padding: 0;
	position: static;
	margin: 0;
	}

#chatoutput ul#outputList li {
	padding: 4px;
	margin: 0;
	color: #333;
	background: none;
	font-size: 1em;
	list-style: none;
	}

ul#outputList li:first-line {
	line-height: 16px;
	}

#lastMessage {
	padding-bottom: 2px;
	text-align: center;
	border-bottom: 2px dotted #666;
	}

em#responseTime {
	font-style: normal;
	display: block;
	}

#chatoutput .wp-smiley {
	vertical-align: middle;
	}

/* Rankings page
--------------------------------- */
#ranking-table {
	width: 80%;
	font-size:16px;
	margin: 20px auto;
	background-color:#f9f9f7;
	}

#ranking-table td {
	padding:3px 0;
	}

#ranking-table td.td-rank {
	padding-left:10px;
	width:42px;
	}

#ranking-table td.td-name-currentuser, #ranking-table td.td-name {
	padding-left:5px;
	}

#ranking-table td.td-links {
	padding-right:10px;
}

#ranking-table tr:hover  {
   background: #f1ede2;
}

#ranking-table tr.hover  { /* this is a trick for IE */
   background: #f1ede2;
}

.td-rank-currentuser {
	background-image: url('../images/usercheckmark.gif');
	background-position: 10px 50%;
	background-repeat: no-repeat;
}

.td-rank, .td-rank-currentuser {
	font-weight:bold;
	text-align:right;
}

.td-rank-currentuser, .td-name-currentuser {
	color:#378433;
}

.td-links {
	font-size:11px;
	text-align:right;
}

.greyedout, .greyedout-currentuser {
	color:#a6a6a6;
}

.tr-currentuser, .greyedout-currentuser {
	background-color: #eff8ee;
}

/* RESULTS table ---------------------- */

#results-table {
	margin-bottom:15px;
}

#results-table td {
	padding: 4px 5px;
	}

.set {
	text-align:right;
	width: 80px;
}

.challenger {
	text-align:right;
	font-weight: bold;
	background: #f1ede2;
}

.challenger-score {
	text-align: right;
	background: #f1ede2;
}

.vs {
	text-align: center;
	font-style: italic;
}

.challengee {
	font-weight: bold;
	background: #f1ede2;
}

.challengee, .challengee-score {
	text-align: left;
	padding-left: 10px;
	background: #f1ede2;
}

.vs {
	width:25px;
}


/* INDIVIDUAL-RANKING table ---------------------- */
#individual-ranking {
	margin: 15px 0;
	background-color:#f9f9f7;
}

#individual-ranking tr:hover  {
   background: #f1ede2;
}

#individual-ranking tr.hover  {
   background: #f1ede2;
}

#individual-ranking td {
	padding:4px 3px;
	font-size: 14px;
}



#content.player-inf h3 {
	border-top:1px solid #f7dedd;
	padding-top: 3px;
}

/* RESULTS-MASTER table ---------------------- */
#results-master {
	margin: 15px 0;
	background-color:#f9f9f7;
}

#results-master tr:hover  {
   background: #f1ede2;
}

#results-master tr.hover  {
   background: #f1ede2;
}

#results-master th {
	padding:4px 3px;
}

#results-master td {
	padding:4px 3px;
	font-size: 14px;
	border-top:1px solid #f1ede2;
}

#results-master td.score {
	width:140px;
	text-align:center;
	font-size: 12px;
	padding:4px 0;
}














/* original styles are below this double line
================================================== 
================================================== */

.copyrighttext {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9px;
	color: #666;
	line-height: normal;
	text-align: center;
}
