/*   
Theme Name: Goodwill Global
Theme URI: http://global.goodwill.org/
Author: Trevor Davis
Author URI: http://trevordavis.net/
*/

/*****Reset*****/
html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td { margin: 0; padding: 0; }

/*****Basic Definitions*****/
body { background: #424242; color: #fff; font: 13px/18px Arial, Verdana, sans-serif; }
h1, h2, h3 { color: #0069b3; }
h1 { font-size: 30px; line-height: 36px; margin-bottom: 18px; }
h2 { font-size: 16px; line-height: 22px; margin-bottom: 18px; }
h3 { 
	background: url(/wp-content/themes/Global/images/template/h3.png) no-repeat left bottom; 
	font-size: 12px; 
	line-height: 18px; 
	margin-bottom: 6px;
	padding-bottom: 12px;
	text-transform: uppercase;
}
h4 { font-size: 14px; line-height: 18px; }
h5, h6 { font-size: 1em; margin-bottom: 6px; padding-bottom: 12px; font-variant:small-caps; }

a { color: #0069b3; font-weight: bold; text-decoration: none; }
a:visited { }
a:hover { text-decoration: underline; }
img { border: none; }
p, ul, ol, dl, table { margin-bottom: 18px; }
ul, ol, dd { margin-left: 36px; }
input, textarea, select { font: inherit; }

/*****Custom Classes*****/
.clearing { clear: both; }
.contain { overflow: hidden; }
.last { margin-bottom: 0; }
.screenReader { display: block; left: -9999px; position: absolute; top: -9999px; }
.left { float: left; margin: 0 12px 10px 0; }
.right { float: right; margin: 0 0 10px 12px; }
.centered { display: block; margin: 0 auto 18px; }
.listing { list-style: none; margin-left: 0; }
.inline { list-style: none; margin-left: 0; overflow: hidden; }
.inline li { background: url(/wp-content/themes/Global/images/template/inline-li.png) no-repeat 100% 50%; float: left; margin-right: 7px; padding-right: 8px; }
.inline li:last-child, .inline .last { background: none; margin-right: 0; padding-right: 0; }

/*****Basic Layout*****/
#container { background: #fff; color: #444; margin: 20px auto; padding: 3px; width: 932px; }
#wrapper { border: 1px solid #cacaca; }
#header { background: url(/wp-content/themes/Global/images/template/header.png) no-repeat right top; padding: 109px 0 0; position: relative; z-index: 100; }
#content { float: left; padding: 23px 0 0 26px; position: relative; width: 609px; z-index: 10; }
#sidebar { float: right; font-size: 12px; padding: 23px 27px 0 0; width: 245px; }
#footer { clear: both; color: #4f4f4f; font-size: 12px; padding: 20px 0 20px 26px; }

/*****Skip Links*****/
#skipLinks { list-style: none; margin: 0; }
#skipLinks a { 
	background: #0069b3; 
	color: #fff; 
	left: -9999px; 
	position: absolute; 
	top: -9999px;
}
#skipLinks a:active, #skipLinks a:focus { left: 0; top: 0; }

/*****Header*****/
#header #logo {
	background: url(/wp-content/themes/Global/images/template/logo.png) no-repeat;
	display: block;
	font-size: 12px;
	height: 122px;
	left: 0;
	line-height: 18px;
	overflow: hidden;
	position: absolute;
	text-decoration: none;
	top: 0;
	width: 100%; /* orig 375px */
	z-index: 10;
}
#header #logo strong { display: block; font-size: 23px; padding: 70px 0 0 45px; text-transform: uppercase; }
#header #logo em { color: #000101; font-style: normal; font-weight: normal; }
#header #donateButton {
	float:right;
	background: #d74d18 url(/wp-content/themes/Global/images/template/button.png) repeat-x;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	margin-left: 1px;
	padding: 5px 16px;
	margin-right: 65px;
	margin-top: 35px;
}


/*****Nav*****/
#nav { 
	background: #0069b3;
	float: left;
	left: 26px;
	position: relative; 
	width: 877px;
	z-index: 100;
}
#nav ul { 
	float: left;
	font-size: 16px;
	line-height: 1;
	list-style: none;
	margin: 0;
}
#nav ul li { border-right: 1px solid #fff; float: left; position: relative; }
#nav ul a { color: #fff; display: block; padding: 7px 19px; text-decoration: none; }
#nav ul .current a, #nav ul a:hover, #nav ul .current ul a:hover { background: #aec5e7; color: #0069b3; }
#nav ul ul { 
	background: #fff;
	display: none;
	float: none; 
	left: 0; 
	position: absolute; 
	top: 30px; 
	width: 200px;
}
#nav ul ul li { border-right: none; float: none; padding-top: 1px; }
#nav ul ul a, #nav ul .current ul a { background: #0069b3; color: #fff; width: 162px; }

#nav #headerSearchForm { float: right; margin: 0 4px 0 0; position: relative; top: 5px; }
.safari #nav #headerSearchForm { top: 1px; }
#nav #headerSearchForm p { margin-bottom: 0; }
#nav #headerSearchForm input { 
	border: 1px solid #444; 
	color: #858585; 
	font-size: 11px; 
	padding: 2px 5px;
	width: 172px;
}
#nav #headerSearchForm #headerSearchButton, .forms li.buttons input {
	background: #d74d18 url(/wp-content/themes/Global/images/template/button.png) repeat-x;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	margin-left: 1px;
	overflow: visible;
	padding: 1px 6px;
	position: relative;
	top: -1px;
	vertical-align: middle;
	width: auto;
}
#nav #headerSearchForm #headerSearchButton:active { left: 2px; top: 1px; }


/*****Content*****/
.caption { font-weight: bold; text-align: center; }
.caption img { display: block; }

.facts { 
	background: #0069b3;
	color: #fff;
	float: left;
	font-size: 12px;
	margin: 0 23px 10px 0;
	width: 246px;
}
.facts h2 { color: #fff; }
.facts .inner { padding: 20px; }
.facts .listing { margin-bottom: 0; }
.facts .listing ul { list-style: none; margin: 0; }
.facts .listing ul li { background: url(/wp-content/themes/Global/images/template/facts-sub-li.png) no-repeat 9px 0.7em; padding-left: 24px; }

.forms { list-style: none; margin-left: 0; }
.forms li { margin-bottom: 7px; }
.forms li input { 
	border: 1px solid #cacaca;
	color: #858585;
	font-size: 11px; 
	padding: 2px 5px; 
	width: 193px;
}
.forms li.buttons { text-align: right; }
.forms li.buttons input:active { left: 2px; position: relative; top: 1px; }

/*****Sidebar*****/
#sidebar .section { border-bottom: 1px solid #cacaca; margin-bottom: 20px; padding-bottom: 20px; }
#sidebar .section:last-child { border-bottom: none; }

#sidebar .section.login { background: #0069b3; border-bottom: none; color: #fff; padding: 7px; }
#sidebar .section.login .inner { border: 1px solid #fff; padding: 12px; }
#sidebar .section.login h3 { background-image: url(/wp-content/themes/Global/images/template/login-h3.png); color: #fff; }
#sidebar .section.login .forms { margin-bottom: 0; }

#sidebar .section .listing h4 { font-size: 12px; }
#sidebar .section p:last-child, #sidebar .section ul:last-child { margin-bottom: 0; }

#sidebar .flickr { list-style: none; margin-left: 0; overflow: hidden; }
#sidebar .flickr li { float: left; margin-right: 4px; }
#sidebar .flickr img { border: 1px solid #cacaca; display: block; padding: 1px; }
#sidebar .flickr li:last-child, #sidebar .flickr .last { margin-right: 0; }

/*****Footer*****/
#footer a { font-weight: normal; }
#footer .vcard { margin-bottom: 0; }
#footer abbr { border-bottom: none; }
#footer .inline { margin-bottom: 0; }

/*****Homepage*****/
#home h2 { 
	background: url(/wp-content/themes/Global/images/template/h3.png) no-repeat left bottom; 
	font-size: 16px; 
	line-height: 18px; 
	margin-bottom: 18px;
	padding-bottom: 16px;
	text-transform: uppercase;
}
#home #content h3 {
	background: none;
	color: #424242;
	font-size: 12px;
	margin-bottom: 8px;
	padding-bottom: 0;
}
#home #content img { border: 1px solid #cacaca; padding: 2px; }
#content #feature {
	background: url(/wp-content/themes/Global/images/template/featured_box.png) no-repeat;
	color: #0069b3;
	font-size: 14px;
	height: 160px;
	margin-top: 3px;
	margin-bottom: 20px;
	overflow: hidden;
	padding: 20px 25px 20px 25px;
	margin-left: 20px;
	position: relative;
	width: 230px;
	float:right;
}

#content #donateButton {
	background: #d74d18 url(/wp-content/themes/Global/images/template/button.png) repeat-x;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	padding: 5px 16px;
	font-weight:bold;
}

#content #translateButton {
	background: #d74d18 url(/wp-content/themes/Global/images/template/button.png) repeat-x;
	border: none;
	color: #fff;
	cursor: pointer;
	font-size: 12px;
	padding: 2px 10px;
	font-weight:bold;
	margin-bottom: 15px;
}

#content #feature h2 { 
	background: none;
	font-size: 21px;
	line-height: 25px;
	padding-bottom: 0;
	text-transform: none;
}

#content h4 { 
	background: url(/wp-content/themes/Global/images/template/h3.png) no-repeat left bottom; 
	font-size: 12px; 
	line-height: 18px; 
	margin-bottom: 12px;
	padding-bottom: 20px;
	padding-top: 10px;
	text-transform: uppercase;
	color: #0069b3;
}

#content #feature p { color: #333; line-height:1.5em; }
#content #feature .more { color: #ef6733; display: block; }
#home .article { margin-bottom: 20px; }
#home .article img { float: left; margin: 0 10px 0 0; }
#home .article .location { color: #797979; display: block; font-style: normal; text-transform: uppercase; }

#home #sidebar ul { list-style: none; margin: 0; overflow: hidden; }
#home #sidebar .nav { 
	height: 81px; 
	left: 0;
	position: absolute; 
	top: 0;
	width: 245px;
}
#home #sidebar .nav li { position: absolute; top: 0; }
#home #sidebar .nav .previous { left: 21px; }
#home #sidebar .nav .next { right: 21px; }
#home #sidebar .nav a {
	background: url(/wp-content/themes/Global/images/template/prev-next.png) no-repeat;
	display: block;
	height: 81px;
	overflow: hidden;
	text-indent: -9999px;
	width: 15px;
}
#home #sidebar .nav .next a { background-position: -15px 0; }
#home #sidebar .partners { overflow: hidden; position: relative; }
#home #sidebar .partners .contain { margin: 0 auto; position: relative; width: 166px; }
#home #sidebar .partners .contain ul { position: relative; }
#home #sidebar .partners .contain li { 
	float: left;
	font-size: 10px;
	line-height: 12px;
	margin-right: 4px;
	width: 81px;
}
#home #sidebar .partners .contain img { border: 1px solid #cacaca; display: block; margin-bottom: 8px; }
#home #sidebar .partners .contain ul a { color: #797979; display: block; font-weight: normal; }
#home #sidebar .news { margin-bottom: 10px; }
#home #sidebar .news a { color: #424242; display: block; font-weight: normal; padding: 7px; }
#home #sidebar .news .even { background: #edf3f8; }


/* REQUIRED WP STYLES */
    img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
    }

    img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
	border: 1px solid #ddd;
    }
	
	.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
    }

    .alignright {
    float: right;
    }

	.alignleft {
    float: left;
    }
	
	#extraBuffer{
		margin-top: 15px;
		margin-bottom: 10px;
	}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}

.gallery-caption{ 
	font-size:.85em;
	color:#666;
}
/* END REQUIRED WP STYLES */


