/* 
	color information
	grey			#F1F1F2
	blue 			#D6E8F7
	dark blue		#1B75BC
	green			#E2E6AB
	medium green	#B8D197
	dark green		#147F4A ???
	orange			#FADEB4
	dark orange		#E0601F


*/

/* general */

body {
	/*text-align: center;*/
}
div#container {
	margin-top: 8px;
	text-align: left;
	background-color: #FFFFFF;	
	color: #262261;
}
a:link, a:visited {
	color: #262261;
}
a:focus, a:hover, a:active {
	color: #0D66BD;
}


/* header */

#header {
	padding-bottom: 12px;
}
#header h1 {
	float: left;
	width: 400px;
}
#header h1 a {
	display: block;
	height: 100px;
	width: 400px;
	text-indent: -999em;
	background: url(../images/logo.png) left top no-repeat;
}
#header .user {
	float: right;
	clear: right;
}
#header .user li {
	display: inline;
}

/* header: navigation */

#header #navigation {
	clear: both;
	background-color: #1B75BC;
	width: 100%;
	float: left;
}
#header #navigation li {
	display: inline;
	float: left;
}

#header .user li {
	margin-left: 8px;
}
#header #navigation li a:link, #header #navigation li a:visited {
	color: #FFFFFF;
	display: inline-block; 
	padding: 7px;	
	border-right: 1px solid white;
	text-decoration: none;
	text-transform: capitalize;
}
#header #navigation li a:focus, #header #navigation li a:hover, #header #navigation li a:active {
	background-color: #D6E8F7;
	color: #262261;
}
#header #navigation li:last-child a {
	border-right: none;
}
/* header: miscellaneous */

#header .advert {
	display:block;
	width: 498px;
	line-height: 60px;
	height: 60px;
	float: right;
	text-align: center;
	background-color: red;
	color: white;
	margin-bottom: 1em;
}
.sub-parent .advert {
	display:block;
	width: 160px;
	line-height: 600px;
	height: 600px;
	text-align: center;
	background-color: red;
	color: white;
	clear: both;
	margin: 1em auto;
}
/* panels */

/* panels: home panel */

#panel {
	background: url(../images/homepage_banner.jpg) 0 0 no-repeat;
	height: 250px;
	margin-bottom: 20px;
	position: relative;
}
#panel h2 {
	margin: 25px 35px 10px;
	font-size: 3.5em;
	line-height: 1em;
	width: 370px;
	font-weight: normal;
}
#panel p {
	margin-left: 35px;
	font-size: 2em;
	line-height: 1.1em;
	width: 370px;
	color: #666;
}
#panel p.button {
	font-size: 1.5em;
}


/* panels: sub-panels */

.sub-panel {
	min-height: 250px;
	margin-bottom: 20px;
	position: relative;
}
.help {
	min-height: 150px;
	margin-bottom: 30px;
}
.taller {
	min-height: 286px;
}
#default .sub-panel {
	min-height: 290px;
	margin-bottom: 0;
}
#default .sub-parent .sub-panel {
	min-height: 141px;
	margin-bottom: 8px;
}
.sub-parent .promo {
	min-height: 139px;
	margin-bottom: 8px;
	position: relative;
}
.toned h1, .toned h2,
#content h1, #content h2,
#records h1, #records h2,
.help h1, .help h2,
.started h1, .started h2 {
	padding: 0.8em 38px;
}
.search h1 {
	font-size: 2.4em;
	background: #F5F2EC url(../images/registered_user_imagepanel.gif) top right no-repeat;
	padding: 1em 240px 1em 35px !important;
	font-weight: normal;
	line-height: 1.2em;
	min-height: 60px;
	margin-bottom: 0.5em;
}
#content p, #content h3, #content li,
.started p, .started h3, .started li,
#records p, #records h3, #records li,
.help p, .help h3, .help li,
.toned p, .toned h3, .toned li {
	margin-left: 0;
	margin-right: 8px;
}
p.demi span {
	width: 75px;
	display: inline-block;
}
.toned input {
	margin-top: 0.1em;
}
p.demi span input {
	width: auto !important;
}
p.button {
	position: absolute;
	bottom: 0;
	left: 0;	
}
#records p.button {
	position: relative;
	margin-top: 1em;
}	
.toned p.button {
	font-size: 1em;
}
#panel p.button {
	position: relative;
	margin-top: 1.5em;
}
.promo p.button {
	position: static;
	margin-top: 1em;
}
#content-main {
	padding-bottom: 4em;
}
p.button a, .button a:link, .button a:visited, .button a:focus, .button a:hover, .button a:active {
	padding: 4px 30px 4px 8px;
	text-decoration: none;
	color: white;	
	display: inline-block;	
	font-size: 1em;
	font-weight: bold;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}
#panel .button a:link,#panel .button a:visited, #panel .button a:focus, #panel .button a:hover, #panel .button a:active {
	padding: 8px 30px 8px 8px !important;
	font-weight: bold;
}
.button a:focus, .button a:hover, .button a:active {
	color: white;
}
.button a.green {
	background: #acbc37 url(../images/green-grad.png) right repeat-x;
	border: 1px solid #147F4A;
}
.button a.blue {
	background: #219ee2 url(../images/blue-grad.png) right repeat-x;
	border: 1px solid #0D66BD;
}
.button a.orange {
	background: #f7a83c url(../images/orange-grad.png) right repeat-x;
	border: 1px solid #E0601F;
}
.button button {
	padding: 4px 30px 4px 8px !important;
	display: inline-block;	
	text-decoration: none;
	color: white;	
	cursor: pointer;
	font: bold 1em/1.5 Verdana, Tahoma, Geneva, sans-serif !important;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	background: #acbc37 url(../images/green-grad.png) right repeat-x;
	border: 1px solid #147f4a;
}
.button a.small {
	padding: 2px 24px 2px 15px !important;
	background: #acbc37 url(../images/green-grad-sm.png) right repeat-x;
	font-size: 0.9em !important;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.button a.blue-sm {
	border: 1px solid #0D66BD;
	padding: 2px 24px 2px 15px !important;
	font-size: 1em !important;
	background: #219ee2 url(../images/blue-grad-sm.png) right repeat-x;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
.toned .button a.blue-sm {
	padding: 4px 24px 4px 15px !important;
}
.promo .button a.blue-sm, .promo .button a.small {
	font-size: 1em !important;
	padding: 3px 24px 3px 15px !important;
}
.started .button a {
	padding: 4px 24px 4px 15px !important;
	background: #acbc37 url(../images/green-grad-sm.png) right repeat-x;
	font-size: 0.9em !important;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
}	
.button a.large {
	padding: 5px 35px 5px 18px !important;
	font-size: 1.4em !important;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}
td.button a.button {
	padding: 3px 35px 3px 18px !important;
	font-size: 0.9em !important;
}
.toned, .help, .started {
	background: #F1F1F2;
}
.started h2 {
	background: #E2E6AB;
	color: #013d21;	
}
.started h2 em {
	background: #B8D197 url(../images/started-neg.png) right no-repeat;
	padding: 9px 20px 9px 6px;
	margin-top: -9px;
	margin-left: -8px;
	margin-right: 6px;
	float: left;
	vertical-align: middle;
}
.help h2 {
	background: #FADEB4;
	color: #DC3E1A;
}
.help li a {
	display: block;
	background: url(../images/circular_arrow.gif) right no-repeat;
	text-decoration: none;
}
.toned h1, .toned h2 {
	background: #D6E8F7;
	color: #262261;
}
ul.payments li {
	padding-left: 50px;
}

ul.payments li#subscribe {
	background: #F5F2EC url(../images/payasyougo.gif) 0 0 no-repeat;
}

#records {
	background: #F5F2EC url(../images/registered_user_imagepanel.gif) top right no-repeat;
}
#records form ul {
	float: left;
	clear: left;
	width: 100%;
}	
#records form li {
	display: inline;
}
#default #tree {
	background: #F1F1F2 url(../images/homepage2_faded_tree.jpg) bottom right no-repeat;
}
#tree {
	background: #F1F1F2 url(../images/ftree_panel_corner_image.jpg) bottom right no-repeat;
}
#default #tree p {
	padding-right: 80px;
}
#default #tree form {
	padding-top: 1em;
}
#default #tree form p {
	padding-right: 0;
}
#default #tree form p input {
	width: 206px;
}

#census {
	background: #F1F1F2 url(../images/census_panel_corner_image.jpg) bottom right no-repeat;
}
#bmd {
	background: #F1F1F2 url(../images/BMD_panel_corner_image.jpg) bottom right no-repeat;
}
img.video {
	margin-left: 8px;
}

/* form controls */

.error, .error a, a.prompt {
	color: red;	
}
ul.error {
	float: left;
	margin-left: 30px;
}
.error li {
	margin-left: 30px;
}
ul.error li {
	list-style: square;
}	
ul.no-bullet li {
	list-style: none;
}
span.help {
	float: left;
	clear: left;
	display: block;
	padding: 8px;
	margin: 8px 0;
	border: 1px solid #add9ed;
	text-indent: 24px;
	background: #e5f6fe url(../images/help.png) 8px 8px no-repeat;
}
label {
	display: block;
}
span.help_js {
	height: 16px;
	width: 16px;
	background: url(../images/help.png) center no-repeat;
	text-indent: -999em;
	display: inline-block;	
	margin: 2px;
}
.news li {
	float: left;
	border-bottom: 1px solid #AEC6DA;
	margin-bottom: 7px;
	padding-bottom: 7px;	
}
.news li.last {
	border-bottom: none;
	margin-bottom: 0;
}	
.news li h3, .news p {
	margin-left: 125px;
	margin-bottom: 0;
}
.news img {
	float: left;
}

.promo img {
	margin: 8px;
	float: left;
}
#records form p,
#content-main form p {
	float: left;
	clear: left;
	width: 440px;
}

#records form p input, 
#records form p select,
#content-main form p input, 
#content-main form p select {
	float: left;
	clear: left;
	width: 206px;
}
#content-main form p.radio input, #content-main form p.check input {
	width: auto;
	margin: 3px 8px 3px 0;
}
#content-main form p select {
	width: 135px;
}
.required {
	
}

/* content */

#content {
	min-height: 480px;
}
#content-main {
	position: relative;
}
#content-main .notify {
	position: absolute;
	top: 11px;
	right: 0;
}

/* tables */

#content table {
	margin: 8px;
}
.search table {
	width: 672px;
	margin-bottom: 10px;
}
.search th, .search td {
	vertical-align: middle;
	text-align: left;
	padding: 4px 10px;
	margin: 10px;
}	
.search td img, .search td span.new {
	float: right;
	font-weight: bold;
}
.search td span.new {
	color: #00794C;
}
.search  td {
	vertical-align: middle;
	text-align: left;
}	
.search  td.tick {
	text-align: center;
}
.search th {
	font-weight: normal;
	padding: 10px;
}

.search th.payg, .search th.explorer, 
.search td.payg, .search td.explorer {
	text-align: center;
}

.search td.upper { 
	border-bottom: none;
	padding-bottom: 2px;
}
.search td.lower { 
	padding-top: 2px;
}
table.search {
	margin-top: 10px;
}
.search  th {
	background-color: #D6E8F6;
	border-right: 2px solid white;
	border-bottom: 8px solid white;
}
.search  td{
	background: rgb(241, 241, 241);
	border-right: 2px solid white;
	border-bottom: 8px solid white;
}
.search td.search {
	border-right: none;
}
.search td.button a {
	font-size: 0.8em !important;
	padding: 2px 20px 2px 10px !important;
}
span.yes {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: #F1F1F1 url('../images/tick.png') no-repeat;
	text-indent: -9999em;
}

/* footer */
#footer {
	border-bottom: 4px solid #D6E8F7;
	padding-bottom: 4px;
	margin-top: 8px;
}
#footer li {
	display: inline;
}
#footer li a:link, #footer li a:visited {
	text-decoration: none;
	color: #262261;
}
#footer li a:focus, #footer li a:hover, #footer li a:active {
	text-decoration: underline;
}
#footer p {
	color: #8B8A88;
}
#footer ul.links {
	margin-bottom: 1.3em;
}
#footer ul.links li {
	margin-right: 8px; 
}
#footer ul.supporting li {
	height: 2em;
	line-height: 2em;
	vertical-align: middle;
}
#footer ul.supporting img {
	margin-right: 4px;
	margin-bottom: -3px;
}
#footer ul.supporting li:last-child img {
	margin-right: 0;
}
