/* andreas02 - an open source xhtml/css website layout by Andreas Viklund (http://andreasviklund.com). Made for OSWD.org, free to use as-is for any purpose as long as the proper credits are given for the original design work. For design assistance and support, contact me through my website or through http://oswd.org/email.phtml?user=Andreas

Version amended by Brefi Group 17 December 2007

Screen layout: */

body {
background-color: #004A5D;
padding: 0;
margin: 0;
font: 76% tahoma, verdana, sans-serif;
color: #303030;
}

a {
text-decoration: none;
color: #286ea0;
}

a:hover {
text-decoration: underline;
}

#toptabs {
margin: 10px auto -13px auto;
font-size: 0.8em;
width: 920px;
}

#toptabs p {
text-align: right;
color: #004A5D;
}

/* Menus in top right */

.toptab {
padding: 3px 5px 3px 5px;
margin: 0 0 0 4px;
text-decoration: none;
background: #8BC8CF url(../images/corner2.gif) top right no-repeat;
color: #004A5D;
border-bottom: 1px solid #e0e0e0;
}

.toptab:hover {
background: #ffffff url(../images/corner2.gif) top right no-repeat;
border-bottom: 1px solid #eaeaea;
color: #505050;
text-decoration: none;
}

.activetoptab {
padding: 3px 5px 3px 5px;
margin: 0 0 0 4px;
color: #004A5D;
text-decoration: none;
background: #ffffff url(../images/corner2.gif) top right no-repeat;
border-bottom: 1px solid #ffffff;
}

.activetoptab:hover {
text-decoration: none;
}

/* END */

/* MAIN CONTAINER */

#container {
margin: 0 auto 15px auto;
width: 920px;
padding: 5px 20px 20px 20px;
background: #ffffff;
}

/* END */

#logo {
margin: 15px 0 0 0;
}

#logo h1 a {
color: #303030;
}

#logo h1 a:hover {
text-decoration: none;
}

/* SECOND LEVEL MENUS IN TOP LEFT */

#navitabs {
clear: both;
}

.navitab {
padding: 4px 8px 4px 8px;
margin: 0 0 4px 0;
text-decoration: none;
letter-spacing: 1px;
background: #8BC8CF url(../images/corner.gif) top right no-repeat;
border-bottom: 1px solid #ffffff;
border-left: 1px solid #ffffff;
}

.navitab:hover {
text-decoration: none;
background: #1791A0 url(../images/corner.gif) top right no-repeat;
color: #ffffff
}

.activenavitab {
padding: 4px 8px 4px 8px;
color: #ffffff;
margin: 0 0 4px 0;
text-decoration: none;
letter-spacing: 1px;
background: #1791A0 url(../images/corner.gif) top right no-repeat;
border-bottom: 1px solid #ffffff;
border-left: 1px solid #ffffff;
}

.activenavitab:hover {
text-decoration: none;
}

/* END */

/* BANNER */

#desc {
height: 164px;
color: #ffffff;
padding: 0;
background: #ffffff url(../images/coachex_banner.jpg) top left no-repeat;
clear: both;
margin: 5px 0 0 0;
}

#desc p {
width: 290px;
font-size: 1em;
line-height: 1.3em;
padding: 0 0 0 15px;
}

#desc h2 {
padding: 15px 15px 0 15px;
color: #ffffff;
}

#desc a {
color: #ffffff;
text-decoration: underline;
}

/* END */

#main {
width: 590px;
float: left;
padding: 0 15px 0 15px;
border-left: 1px solid #cc9900;
border-right: 1px solid #cc9900;
}

.block {
padding:10px;
background-color:#F0F0F0;
}

#leftside {
clear:left;
float:left;
width:150px;
margin:0 0 5px 0;
padding:0;
}

#leftside p {
font-size: 0.9em;
line-height: 1.3em;
margin: 0 0 12px 0;
}

#sidebar {
width:140px;
float:right;
}

#sidebar p {
font-size: 0.9em;
line-height: 1.3em;
margin: 0 0 12px 0;
}

.leftsidelink {
text-align: left;
display: block;
width: 120px;
background: #8BC8CF url(../images/corner.gif) top right no-repeat;
padding: 3px 4px 3px 8px;
margin: 5px 10px 5px 0;
}

.activeleftsidelink {
text-align: left;
display: block;
width: 120px;
color: #ffffff;
background: #1791A0 url(../images/corner.gif) top right no-repeat;
padding: 3px 4px 3px 8px;
margin: 5px 10px 5px 0;
}

.leftsidelink:hover {
background: #1791A0 url(../images/corner.gif) top right no-repeat;
color: #ffffff;
text-decoration: none;
}

.activesidelink:hover {
background: #1791A0 url(../images/corner.gif) top right no-repeat;
color: #ffffff;
text-decoration: none;
}


.sidelink {
text-align: left;
display: block;
width: 120px;
background: #8BC8CF url(../images/corner.gif) top right no-repeat;
padding: 3px 4px 3px 8px;
margin: 5px 10px 5px 0;
}

.activesidelink {
text-align: left;
display: block;
width: 120px;
color: #ffffff;
background: #1791A0 url(../images/corner.gif) top right no-repeat;
padding: 3px 4px 3px 8px;
margin: 5px 10px 5px 0;
}

.sidelink:hover {
background: #1791A0 url(../images/corner.gif) top right no-repeat;
color: #ffffff;
text-decoration: none;
}

.activesidelink:hover {
background: #1791A0 url(../images/corner.gif) top right no-repeat;
color: #ffffff;
text-decoration: none;
}

/* Also defined in the print page */
#footer {
clear: both;
background: #fafafa;
color: #808080;
font-size: 0.9em;
padding: 8px 0 8px 0;

border-top: 1px solid #cc9900; 
border-bottom: 1px solid #cc9900;
text-align: center;
}

#footer a {
color: #808080;
}

h1 {
margin: 0 0 5px 0;
font-size: 2.1em;
font-weight: normal;
}

h2 {
margin: 0 0 5px 0;
font-size: 1.6em;
font-weight: normal;
}

h3 {
margin: 0px 0 5px 0;
font-size: 1.4em;
font-weight: normal;
}

h4 {
margin: 0px 0 5px 0;
font-size: 1.2em;
font-weight: normal;
}

p {
margin: 0 0 15px 0;
line-height: 1.5em;
text-align: left;
}

.right {
text-align: right;
}

a img {
border: 0;
}

.photo {
padding: 5px;
display: block;
margin: 0 auto 15px auto;
background-color: #f0f0f0;
}

.hide {
display: none;
}


/**************** Form styles (comment and contact) ****************/
form fieldset{border:0 solid;} /* fix */
form .hiddenfield{display:none;}
form .info{padding-left:90px;}
form input{color:#505050;}

/** Image styles ***/

img.left{float:left; margin:0 12px 8px 0; padding:4px; border:1px solid #a0a0a0;}
img.right{float:right; margin:0 0 8px 12px; padding:4px; border:1px solid #a0a0a0;}
img.center{display:block; margin:0 auto 5px auto; padding:4px; border:1px solid #a0a0a0;}

.box{
margin:0 0 5px 0;
padding:5px;
border:1px solid #1791A0;
background-color:#B9DEE2;
color:#505050;
line-height:1.5em;
}

.searchbox{
margin:0 0 5px 0;
padding:5px;
border:1px solid #cc9900;
background-color:#FFFFFF;
color:#505050;
line-height:1.5em;
}

.bottombox{
margin:0 0 10px 0;
padding:5px;
border:1px solid #1791A0;
background-color:#B9DEE2;
color:#505050;
font-size:0.9em;
line-height:1.1em;
}

.biggerbox{
margin:0 0 10px 0;
padding:5px;
border:1px solid #1791A0;
background-color:#B9DEE2;
color:#505050;
line-height:1.5em;
}


/** Scaffold tags **/

.fieldWithErrors {
  padding: 2px;
  background-color: #cc0000;
  display: table;
}


#infoExplanation {
	padding: 7px;
	padding-bottom: 12px;
	margin-bottom: 5px;
	margin-top: 20px;
	background-color: #FFFFCC;
    border: 1px solid #E0E0AA;
}

#infoExplanation p {
	color: #333;
	margin-bottom: 0;
	margin-top: 0px;
	padding: 5px;
}

#infoExplanation ul {
	margin-left: 30px;
	margin-top: 0px;
	margin-bottom: 0px;
}

#infoExplanation ul li {
	font-size: 12px;
	list-style: square;
}

#errorExplanation {
	border: 2px solid #red;
	padding: 0px;
	padding-bottom: 12px;
	margin-bottom: 5px;
	margin-top: 0px;
	background-color: #fff0f0;
}

#errorExplanation h3 {
	text-align: left;
	font-weight: bold;
	padding: 5px 5px 5px 27px;
	font-size: 12px;
	background: #800 left no-repeat;
	color: #fff;
}

#errorExplanation p {
	color: #333;
	margin-bottom: 0;
	margin-top: 10px;
	padding: 5px;
}

#errorExplanation ul {
	margin-left: 30px;
	margin-top: 0px;
	margin-bottom: 0px;
}

#errorExplanation ul li {
	font-size: 12px;
	list-style: square;
}


/** Forms **/

textarea.text {
	height: 150px;
	width: 400px;
	border: 1px solid #ccc;
	background: #fff;
	color: #000;
	padding: 3px;
}

textarea.smalltext {
	height: 100px;
	width: 490px;
	border: 1px solid #ccc;
	background: #fff;
	color: #000;
	padding: 3px;
}


textarea:hover {
	border: 1px solid #eee;
	background: #FFFFF4;
	color: #000;
}

.editlink {
}

.required {
    color: #880000;
}

.highlight {
}


/* List table design */

.list, .dataTable {
	border: 1px solid #666666;
	width: 100%;
}

.list td, .dataTable td {
	padding: 2px 6px;
	background-color: #eeeeee;
	border-right: 1px solid #cccccc;
}

.list tr.odd td, .dataTable tr.odd td {
	background-color: transparent;
}

.list tr.alt td, .dataTable tr.alt td {
	background-color: #ECEEF2;
}
.numeric, .list .numeric, .dataTable .numeric {
	text-align:right;
}
.list th, .list tr.header td, .list td.header, .dataTable tr.header td, .dataTable td.header {
	font-weight: bold;
	background-color: #777777;
	background-image:url(../images/table_header_bg.png);
	color: #eeeeee;
	border-bottom: 1px solid #666666;
	border-right: 1px solid #666666;
	text-transform:capitalize;
	padding: 4px;
	text-align: left;
}

.list td.header, .dataTable td.header {
	border-right: 1px solid #666666;
	text-align:left;
}
.list tr.footer td, .dataTable tr.footer td {
	font-weight:normal;
	font-style:italic;
	color: #333333;
	background-color: #cccccc;
	border-top: 1px solid #191465;
	text-transform:capitalize;
}

.list td.borderTop {
	border-top:1px solid #999999;
}

.nobr { white-space: nowrap; }


div.apisummary {
    height:200px;
    overflow:auto;
    margin:10px 0;
}