/* CO2racker style sheet */

/* BASIC TAG-LEVEL SELECTORS */
body, td, p, li, div {
    font-family: "Trebuchet MS", Trebuchet, Verdana, Helvetica, Arial, sans-serif;
    font-size: 12px;
}
.smaller { font-size: 10px; }

a { color:#27537A; }
a:hover { text-decoration:underline; }
a.buttonlike {display:inline; padding:0px 3px;background-color:#C3CBE1;width:30px;border:1px solid #999;} 
.social_bookmarks img { border:none;text-decoration:underline;margin-right:2px;}

label, .formlabel { font-size: 10px; font-weight:normal; }

/* LOGIN FORM / PAGE STYLES */
div#icon { background-repeat:no-repeat;height:50px;width:50px;float:left;background-image:url('../images/co2racker50.png'); }
.loginmessage {font-size:large;color:#336699; font-weight:normal;font-style:italic;}
div#loginnewuser {padding-top:5px;float:left;width:250px;font-style:italic;background-color:#dfdfdf;padding:8px;margin-left:100px;}


/* CONTROL PANEL STYLES */
.message { border:1px solid #006600;margin:30px;padding:20px;background-color:#c3cbe1;}

/* BASIC BOX STYLES */
#useractions {border:1px solid #97a5b0;background-color:#c3cbe1;margin-top:5px;height:25px;padding-left:3px;}
#useractions h2 { margin-top:0px;float:left; }
#useractions a { display:block;padding:5px;text-decoration:none;color:#000;float:left;margin-left:10px;margin-right:10px; }
#useractions a:hover { text-decoration:underline; }


/* ADMIN PAGE TABS */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .ui-tabs-hide {
        display: none;
    }
}

/* Hide useless elements in print layouts... */
@media print {
    .ui-tabs-nav {
        display: none;
    }
}

/* Skin */
.ui-tabs-nav, .ui-tabs-panel, .ui-tabs-panel p {
    font-family: "Trebuchet MS", Trebuchet, Verdana, Helvetica, Arial, sans-serif;
    font-size: 12px;
}
.ui-tabs-nav {
    list-style: none;
    margin: 0;
    padding: 0 0 0 4px;
}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.ui-tabs-nav li {
    float: left;
    margin: 0 0 0 1px;
    min-width: 84px; /* be nice to Opera */
}
.ui-tabs-nav a, .ui-tabs-nav a span {
    display: block;
    padding: 0 10px;
    background: url(../includes/tab.png) no-repeat;
}
.ui-tabs-admin a, .ui-tabs-admin a span {
    display: block;
    padding: 0 10px;
    background: url(../includes/tab_admin.png) no-repeat;
}
.ui-tabs-team a, .ui-tabs-team a span {
    display: block;
    padding: 0 10px;
    background: url(../includes/tab_team.png) no-repeat;
}

.ui-tabs-nav a {
    margin: 1px 0 0; /* position: relative makes opacity fail for disabled tab in IE */
    padding-left: 0;
    color: #27537a;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; /* required in IE 6 */    
    outline: 0; /* prevent dotted border in Firefox */
}
.ui-tabs-nav .ui-tabs-selected a {
    position: relative;
    top: 1px;
    z-index: 1;
    margin-top: 0;
    color: #000;
}
.ui-tabs-nav a span {
    width: 64px; /* IE 6 treats width as min-width */
    min-width: 64px;
    height: 18px; /* IE 6 treats height as min-height */
    min-height: 18px;
    padding-top: 6px;
    padding-right: 0;
}
*>.ui-tabs-nav a span { /* hide from IE 6 */
    width: auto;
    height: auto;
}
.ui-tabs-nav .ui-tabs-selected a span {
    padding-bottom: 1px;
}
.ui-tabs-nav .ui-tabs-selected a, .ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active {
    background-position: 100% -150px;
}
.ui-tabs-nav a, .ui-tabs-nav .ui-tabs-disabled a:hover, .ui-tabs-nav .ui-tabs-disabled a:focus, .ui-tabs-nav .ui-tabs-disabled a:active {
    background-position: 100% -100px;
}
.ui-tabs-nav .ui-tabs-selected a span, .ui-tabs-nav a:hover span, .ui-tabs-nav a:focus span, .ui-tabs-nav a:active span {
    background-position: 0 -50px;
}
.ui-tabs-nav a span, .ui-tabs-nav .ui-tabs-disabled a:hover span, .ui-tabs-nav .ui-tabs-disabled a:focus span, .ui-tabs-nav .ui-tabs-disabled a:active span {
    background-position: 0 0;
}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited, .ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active { /* @ Opera, we need to be explicit again here now... */
    cursor: pointer;
}
.ui-tabs-disabled {
    opacity: .4;
    filter: alpha(opacity=40);
}
.ui-tabs-panel {
    border: 1px solid #97a5b0;
    padding: 1em 8px;
    background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */
}
.ui-tabs-panel-admin {
    border: 1px solid #FF221C;
}
.ui-tabs-panel-admin h1, .ui-tabs-panel-admin h2, .ui-tabs-panel-admin h3, .ui-tabs-panel-admin h4 {
	color:#700;
}
.ui-tabs-panel-team {
    border: 1px solid #090;
}
.ui-tabs-panel-team h1, .ui-tabs-panel-team h2, .ui-tabs-panel-team h3, .ui-tabs-panel-team h4 {
	color:#070;
}
.ui-tabs-loading em {
    padding: 0 0 0 20px;
    background: url(../includes/loading.gif) no-repeat 0 50%;
}

/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
    display: inline-block;
}
*:first-child+html .ui-tabs-nav  { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
    display: inline-block;
}


/* ADMIN EXPLANATION BOXES THAT GET SHOWN/HIDDEN */

.explanationdiv { 
	clear:both;
	display:none;
	margin:inherit 25px;
	background-color:#FFFFCC;
	border:1px solid #000;
	width:75%;
	padding:3px 10px;
}

/* ADMIN / TEAM MANAGER PAGE STYLES */
#toolbar { }
#toolbar a { float:right;display:block;color:#fff;background-color:#0E1374;padding:2px;font-size:10px;text-decoration:none;margin-right:3px;}
#toolbar a:hover { color:#000;background-color:#ffc;}

table.admin { border-bottom:1px solid #555;margin-bottom:8px; }
table.admin th { font-weight:bold; text-align:left;color:#000;background-color:#C3D3DF;border-bottom:2px solid #000;padding-right:30px;}
table.admin td { text-align:left; vertical-align:top; border-bottom:1px dotted #000;padding-right:30px;}
table.admin input { font-size:10px;height:20px; }


/* ADMIN PAGE TOOL BAR */
#adminbar {border:1px solid #006600;margin:30px;padding:20px;background-color:#ffc;}
#adminbar h2 { margin-top:0px;float:left; }
#adminbar a { display:block;padding:5px;text-decoration:none;color:#000;float:left;margin-left:10px;margin-right:10px; }
#adminbar a:hover { background-color:#0F1468;color:#fff; }

/* ADMIN ACTION DIV - WHERE SELECTION AND ACTION FORMS ARE SHOWN */
#adminaction {border:1px solid #006600;margin:30px;padding:20px;background-color:#ffc;display:none;}
#adminaction h2 { margin-top:0px; }

/* CONTROL PANEL STATISTICS TABLE STYLES*/
table.cpstats td {
	border:1px solid #aaa;
	padding:3px;
	width:150px;
	text-align:center;
	background-color:#C3E1C4;
}


/* FORM STYLES */
.largetextarea { width:400px;height:150px; }
.mediumtextarea { width:400px;height:50px; }
label { font-size:15px;font-weight:bold; }
.formwrapper {
	width:300px;
	border:1px solid #000;
	background-color:#C3CBE1;
	padding:3px 10px;
	margin-bottom:20px;
}
/* MESSAGES RELATED TO FORMS */
.warning, p.error {
	background-color:#990000;
	color:#fff;
	padding:4px;
	border:1px solid #000;
}
p.success {
	background-color:#fff;
	color:#000;
	padding:4px;
	border:1px solid #000;
}
p.information {
	background-color:#333366;
	color:#fff;
	padding:4px;
	border:1px solid #000;
}

/* FORM VALIDATION FIELDS, includes/jquery.simplevalidator.js */
/* OVERRIDE AUTOFILL YELLOW BACKGROUNDS ON INPUT FIELDS */
input.required {
   background: #EFD1D1 !important;
   color:#000;
} 
input.error {
	background-color:#CC0000 !important;
	color:#fff;
}
span.formerror {
	font-style:italic;
	font-weight:bold;
	color:#990000;
}
span.formsuccess {
	font-style:italic;
	color:#009900;
}



/* ELEMENTS THAT ARE EDITABLE IN PLACE WITH jEditable */
.edit, .edit_area { color:#006633;font-family:Tahoma, Helvetica; }

/* VERSION INFORMATION IN FOOTER OF ADMIN PAGE */
#version.outdated {
	font-weight:bold;
	font-style:italic;
	color:#14680F;
	background-color:#C3CBE1;
	padding:8px;
	border:1px solid #000;
}
#version.current {
	font-weight:normal;
}

/* POP UP BOXES */
div.popup { 
	width:450px;
	height:300px;
	border:1px solid #000;
	background-color:#C3CBE1;
	position:absolute;
	top:100px;
	left:50px;
	padding:3px 10px;
	display:none; /* SHOWN BY JS ON USER CLICK, LEAVE SET TO none HERE */
	z-index:2;
}
div.popup a.button {
	padding:3px 5px;
	border:1px outset #000;
	background-color:#999;
	color:#0E1374;
	font-weight:bold;
	text-decoration:none;
}
div.popup a.button:hover {
	background-color:#ccc;
	text-decoration:none;
}
div.popup a.button:active {
	border-style: inset;
}
div.popup .close {
	/* CLOSE BAR */
	text-align:right;
	border-bottom:1px solid #0E1374;
}
div.popup a.closelink {
	/* CLOSE BAR */
	color:#0E1374;
	padding:0;
	border:none;
	background-color:transparent;
}
.borderedArea {
	border-top:1px solid #9BA9CF;
	border-bottom:1px solid #9BA9CF;
}

/* USER, TEAM, AND INDIVIDUAL STATISTICS OUTPUT ELEMENTS (FOR LOGGED IN USERS, NOT PUBLIC STATS) */
.statstable {
	border:1px solid #ddd;
	border-left:none;
	border-bottom:none;
	border-collapse:collapse;
}
.statstable th {
	border-left:1px solid #ddd;
	border-bottom:2px solid #666;
	padding:3px;
	padding-right:20px;
	background-color:#ddd;
	color:#000066;
}
.statstable td {
	border-left:1px solid #ddd;
	border-bottom:1px solid #ddd;
	text-align:left;
	padding:3px;
	padding-right:20px;
}



/* FOR EMBEDDED DEVELOPMENT NOTES ON SOME PAGES, NORMALLY HIDDEN BY php. ADD display:none; TO BE SURE*/
.devnotes { color:#CC0000; padding: 3px; border:1px dotted #000;} 


