/* 
Hope for West Africa CSS Styling and Design
author: Dustin Pfeifer
contact: dustin@dustinpfiefer.com
*/

* {
	margin:0;
	padding:0;
}

body {
	background:#bfdff3 url("../images/background.jpg") repeat-x top;
	text-align:center;
	width:880px;
	margin:0 auto;
	font:12px/150% lucida grande, sans-serif;
	color:#555;
}


/* Navigation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#nav {
	list-style-type:none;
	padding:78px 14px 0 0;
	float:right;
}

#nav li {
	display:block;
	float:left;
	padding:0 11px;
}

#nav a {
	text-decoration:none;
	text-transform:uppercase;
	color:#77a279;
	display:block;
	float:left;
	height:27px;
	padding:5px 0 0;
}

#nav a:hover, #nav a.selected {
	color:#006224;
}

#nav a.donate {
	background:url("../images/nav-donate.jpg") no-repeat;
	display:block;
	height:27px;
	width:122px;
	text-indent:-999px;
	overflow:hidden;
	padding:0;
}

#partners {
	margin:10px 0 20px;
	list-style-type:none;
}

#partners a {
	text-decoration:none;
	padding:5px 0;
	border-bottom:1px solid #ddddcf;
	display:block;
}

#partners a:hover, #partners a.selected {
	background:#E7E7D9;
}

#thumbs {
	margin:10px 0 20px;
	list-style-type:none;
}

#thumbs li {
	float:left;
	margin:0 10px 10px 0;
}

#thumbs li.endrow {
	margin:0 0 10px 0;
}


/* Headers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#header {
	background:url("../images/header-int.jpg") no-repeat bottom;
	height:32px;
	text-align:right;
	overflow:hidden;
}

#header .in {
	padding:10px 40px 40px 0;
}

#header-home {
	background:url("../images/header-home.jpg") no-repeat;
	height:183px;
	text-align:right;
	overflow:hidden;
}

#header-home .in {
	padding:15px 70px 0 300px;
}

#header-home h1, #header h1 {
	font-size:33px;
	text-transform:uppercase;
	color:#006224;
	font-weight:bold;
	margin:0 0 20px;
	border:none;
}

#header-home h2, #header h2 {
	font-size:29px;
	text-transform:uppercase;
	color:#77a279;
	font-weight:normal;
	margin:0 0 20px;
}

#header-home p, #header p {
	margin:0;
}


/* Layout
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#masthead {
	background:url("../images/background-masthead.jpg") no-repeat;
	height:170px;
	overflow:hidden;
}

.logo {
	float:left;
	width:210px;
	margin:0;
}

#content {
	background:url("../images/background-content.png") repeat-y;
	text-align:left;
}

#content .in {
	padding:28px 48px;
}

#left {
	float:left;
	width:486px;
}

#left .imgleft {
	float:left;
	margin:10px 10px 0 0;
}

#right {
	float:right;
	width:260px;
}

#footer {
	background:url("../images/background-footer.jpg") no-repeat top;
	font-size:10px;
	text-transform:uppercase;
	color:#3d8ec0;
	padding:20px 0;
}

.imgleft {
	float:left;
	margin:0 10px 0 0;
}


/* Contact Form
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

form #left {
	float:left;
	width:175px;
}

form #right {
	float:right;
	width:287px;
}

label {
	font-size:11px;
	text-transform:uppercase;
	color:#77a279;
}

input, textarea {
	width:100%;
	border-width:1px;
	border-left-color:#eee;
	border-top-color:#eee;
	padding:4px;
	background:#e9e9d9;
}

input.button {
	width:50px;
	background:#77a279;
	color:#f4f4e4;
	text-transform:uppercase;
	cursor:pointer;

}


/* Formatting
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

p {
	margin:10px 0;
}

span {
	font-size:16px;
	line-height:24px;
	color:#77a279;
}

a {
	color:#3e8ec0;
}
	
a img {
	border:none;
}

h1 {
	border-bottom:1px solid #ddddcf;
	padding:0 0 0px;
	font-size:10px;
	text-transform:uppercase;
	font-weight:normal;
}

#projects {
	margin:10px 20px 20px 20px;
}


/* Slideshow
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#imageFade {
	background:url("../images/loading.gif") no-repeat center;
	width:486px;
	height:226px;
	margin:10px 0;
}

#imageFade img {
	display:none;
	position:absolute;
	border-right:1px solid #fff;
}


/* Lightbox
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#lightbox {
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}

#lightbox a img { border: none; }

#outerImageContainer {
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}

#imageContainer {
	padding: 10px;
}

#loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
 
#hoverNav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}

#imageContainer>#hoverNav { left: 0;}
#hoverNav a { outline: none;}

#prevLink, #nextLink {
	width: 49%;
	height: 100%;
	background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
}

#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{
	font-size:11px;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	}

#imageData {	padding:0 10px; color: #666; }
#imageData #imageDetails { width: 70%; float: left; text-align: left; }	
#imageData #caption { font-weight: bold;	}
#imageData #numberDisplay { display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose { width: 66px; float: right;  padding-bottom: 0.7em; }	
		
#overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
}

#numberDisplay {
	font:10px lucida grande, sans-serif;
	text-transform:uppercase;
}


/* Browser Adjustments
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}          
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
