/* ==============================================================================================
 *
 *  Southern African Institute of Ecologists & Environmental Scientists
 *  www.saiees.org
 *  Copyright (C) 2009. All rights reserved.
 *
 *  global.css -- site styling
 *
 *  designed by Electric-Egg 
 *  www.electric-egg.com
 *
 * ============================================================================================== */


/* --------------------- BASIC HTML ELEMENTS ---------------------------------------------------- */

body {
	background-color: #e0e0e0;
	background-image: url("images/header-bg.jpg");
	background-position: 0 -21px;
	background-repeat: repeat-x;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10pt;
	color: #000000;
	margin: 0;
	padding: 0;
}

a:link, a:visited {
	text-decoration: none;
	color: #1937a6;
}

a:hover, a:active {
	text-decoration: underline;
	color: #091957;
}

.error-message {
	color: #ff0000;
}

.important {
	color: #ff0000;
}

/* --------------------- HEADER ----------------------------------------------------------------- */

#header-mast {
	background-image: url("images/header.jpg");
	background-repeat: no-repeat;
	width: 728px;
	height: 166px;
	margin: 0;
	padding: 0;
}

#header-mast a {
	display: block;
	width: 728px;
	height: 166px;
	padding: 0;
	margin: 0;
}

#header-mast h1 {
	padding: 0;
	margin: 0;
}

#header-mast span {
	display: none;
}

#header-nav {
	height: 20px;
	width: 1003px;
}

#header-nav p {
	float: right;
	display: inline; /* IE6 doubled-margins */
	font-size: 0.8em;
	color: #eeeeee;
	margin: 2px 16px 0 0;
	padding: 0;
}

#header-nav a:link, #header-nav a:visited {
	color: #e56b3c;
	text-decoration: none;
}

#header-nav a:hover, #header-nav a:active {
	color: #f7b399;
	text-decoration: underline;
}


/* --------------------- CONTAINERS ------------------------------------------------------------- */

#outer-container {
	background-color: #ffffff;
	margin: 0;
	padding: 30px 0 0 0;
	min-width: 1003px;
}

#inner-container {
	width: 1003px;
}


/* --------------------- PRIMARY NAVIGATION ----------------------------------------------------- */

#navigation {
	/*position: relative;*/
	display: inline; /* IE6 doubled-margins bug */
	float: left;
	/*left: 0;*/ /* IE5.0 */
	margin-left: 16px;
	margin-bottom: 100px;
	/*padding: 0 0 0 16px;*/
	width: 180px;
}

#navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#navigation ul li {
	margin: 0;
	padding: 0 0 4px 0;
}

#navigation ul li a {
	display: block;
	width: 140px;
	padding: 8px 20px 8px 20px;
	font-family: Helvetica, Arial, Verdana, sans-serif;
	font-size: 1.1em;
}

#navigation a:link, #navigation a:visited {
	color: #000;
	text-decoration: none;
	background-color: #e1e1e1;
}

#navigation a:link#nav-current, #navigation a:visited#nav-current {
	color: #fff;
	background-color: #333c61;
}

#navigation a:link.nav-hilite, #navigation a:visited.nav-hilite {
	background-color: #f9caa7;
}

#navigation a:hover, #navigation a:hover.nav-hilite {
	color: #fff;
	background-color: #333c61;
}

#navigation a:active, #navigation a:active.nav-hilite {
	color: #000;
	background-color: #bbbbbb;
}


/* --------------------- FOOTER ----------------------------------------------------------------- */

#footer {
	clear: both;
	padding: 30px 0 0 220px;
	margin: 30px 0 0 0;
	background: #e0e0e0;
	height: 1px; /* specifiy a basic height to prevent weird IE6 behaviour */
	border-top: 2px solid #aaaaaa;
}

#footer-content {
	width: 783px;
}

/* --- Footer: Navigation --- */

#footer ul {
	margin: 0;
	padding: 0 0 30px 0;
	list-style-type: none;
	float: left;
}

#footer ul li {
	padding: 0 0 10px 0;
}

#footer ul li a {
	font-size: 1.1em;
}

#footer ul li a:link, #footer ul li a:visited {
	color: #444;
	text-decoration: none;
}

#footer ul li a:hover, #footer ul li a:active {
	color: #111;
	text-decoration: underline;
}

/* --- Footer: Copyright --- */

#footer #copyright {
	margin: 0 0 0 /*120px*/ 0;
	padding: 0 0 30px 0;
	text-align: left; /* center when footer nav is on */
}

/* --- Footer: Designed By --- */

#footer #electric-egg {
	float: right;
	background-repeat: no-repeat;
	padding: 0 16px 30px 0;
}

#footer #electric-egg a {
	width: 104px;
	height: 41px;
	display: block;
	margin: 0;
	padding: 0;
}

#footer #electric-egg a:link, #footer #electric-egg a:visited {
	background-image: url("images/electric-egg.jpg");
	background-position: 0 -41px; 
}

#footer #electric-egg a:hover, #footer #electric-egg a:active {
	background-image: url("images/electric-egg.jpg");
	background-position: 0 0;
}

#footer #electric-egg strong {
	display: none;
}


/* --------------------- CONTENT ---------------------------------------------------------------- */

#content {
	margin: 0 0 0 220px;
	padding: 0 16px 0 0;
	/*width: 767px;*/
}

#content img {
	border: 1px solid #dddddd;
	background: #eeeeee;
	padding: 3px;
	margin: 8px;
}

#content img.photo-right {
	float: right;
}

#content img.photo-left {
	float: left;
}

/* --- Normal Content Headings --- */

#content h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.8em;
	font-weight: normal;
	border-bottom: 1px solid #ddd;
	color: #111a40;
}

#content h2:first-child {
	margin-top: 0;
	padding-top: 0;
}

#content h3 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.5em;
	font-weight: normal;
	border-bottom: 1px solid #ddd;
	color: #111a40;
}

#content h4 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.0em;
	font-weight: normal;
	color: #e56b3c;
}

/* --- Table ---- */

table.stats-table {
	border: 1px solid #ddd;
	border-spacing: 0;
}

table.stats-table th {
	background: #eee;
	text-align: left;
	padding: 6px 12px 6px 12px;
}

table.stats-table td {
	border-bottom: 1px solid #efefef;
	padding: 6px 12px 6px 12px;
}

table.stats-table td.val-number {
	text-align: center;
}


/* --- Members List Table ---- */

table.members-list {
	border: 1px solid #ddd;
	border-spacing: 0;
}

table.members-list th {
	background: #eee;
	text-align: left;
	padding: 6px 12px 6px 12px;
	width: 25%;
}

table.members-list td {
	border-bottom: 1px solid #efefef;
	padding: 6px 12px 6px 12px;
}

table.members-list tr.members-list-entry {
	background-color: #ffffff;
}

table.members-list tr.members-list-entry-alt {
	background-color: #f3f3f3;
}

/* --- Member Info Table ---- */

table.member-info {
	border: 1px solid #ddd;
	border-spacing: 0;
}

table.member-info th {
	text-align: left;
	padding: 6px 12px 6px 12px;
	font-size: .8em;
	font-weight: bold;
	width: 160px;
}

table.member-info td {
	border-bottom: 1px solid #efefef;
	border-left: 1px solid #efefef;
	padding: 6px 12px 6px 12px;
	background-color: #f6f6f6;
}
	

/* --- FP News Headings --- */

#content #fp-news h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.8em;
	font-weight: normal;
	border-bottom: 1px solid #ddd;
	color: #111a40;
}

#content #fp-news  h3 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: bold;
	color: #111a40;
	margin-bottom: 0.1em;
	margin-top: 0;
	padding-bottom: 0;
	padding-top: 1.0em;
	border: none;
}

#content #fp-news  h4 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	font-weight: normal;
	text-transform: uppercase;
	color: #e56b3c;
	margin-top: 0;
	padding-top: 0;
}

#content p, #content li {
	line-height: 1.5em;
}

#content li {
	margin-bottom: 1em;
}

#content span.link-information {
	font-size: 0.7em;
	text-transform: uppercase;
	color: #e56b3c;
}

#content .introduction {
	border: 1px #dddddd solid;
	background: #f4f4f4;
	margin: 0 0 30px 0;
	padding: 20px 30px 20px 30px;
}

#content .introduction em {
	color: #333c61;
	font-style: normal;
	font-weight: bold;
}


/* --------------------- FRONT PAGE LAYOUT ------------------------------------------------------ */

#content #fp-news {
	padding: 0;
	margin-right: 354px; /* in progress */
}

#content #fp-gallery {
	float: right;
	width: 332px;
	padding: 10px 0 0 0;
	margin: 0;
}

#content #fp-gallery img {
	margin: 8px 0 40px 0; /* overwrite default margins for content area images */
}

#content .contact-info {
	margin-right: 340px;
}


/* --------------------- FORMS ------------------------------------------------------------------ */

input.textfield {
	background: #fdfdfd;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1em;
	border: 1px solid #bbb;
	padding: 2px;
}

.member-info input.textfield {
	width: 500px;
}

input.button {
	background: #ddd;
	border: 2px #aaa solid;
	padding-left: 2em;
	padding-right: 2em;
}

input.button:hover {
	background: #eee;
	border: 2px solid #bbb;
}

textarea {
	background: #fdfdfd;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1em;
	border: 1px solid #bbb;
	padding: 2px;
}

.member-info textarea {
	width: 500px;
}

.form-instructions {
	font-size: 0.8em;
	font-style: italic;
}
