/*
Theme Name: Thankyou
Theme URI: http://www.thankyouwater.org/
Author: the Thankyou Water team
Description: The 2011/2012 design of Thankyou Water
Version: 1.1
License: GNU General Public License
License URI: license.txt
Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
*/

/**********************************
 *
 * 1. CSS Resets
 * Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
 *
 *********************************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
body {
	background: #fff;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a {
	text-decoration: none;
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}


/**********************************
 *
 * 2. Basic template styles
 *
 *********************************/
body {
	background: black;
	color: white;
	
	font-family: Arial, Tahoma sans-serif;
}

.wrapper {
	display: block;
	width: 831px;
	margin: 0 auto;
}

.assistive-text {
	display: none;
}

/**********************************
 *
 * 3. Header
 *
 *********************************/

header#page_header {
	padding-top:25px;
}

nav#access {
	padding: 20px 0 30px;
	text-align: center;
}

nav#access li {
	display: inline-block;
	margin-left: 20px;
	font-size: 18px;
}

nav#access li:first-child {
	margin-left: 0;
}

nav#access a {
	padding: 2px 10px;
	color: white;
	text-transform: lowercase;
}

nav#access a:after {
	content: '.';
}

nav#access a:hover {
	background: url(images/nav-bg-hover.png) repeat-x;
}

nav#access li.current-menu-item a {
	background: url(images/nav-bg-hover.png) repeat-x;
}

nav#sub_access {
	display: block;
	text-align: center;
	font-family: "Century Gothic", Arial, sans-serif;
	background: url('images/header/menu_bar.jpeg') top center no-repeat;
}

nav#sub_access li {
	display: inline-block;
	text-transform: lowercase;
	font-size: 18px;
	font-weight: bold;
}

nav#sub_access a {
	display: block;
	width: 196px;
	height: 44px;
	line-height: 44px;
	color: white;
}

nav#sub_access a:hover, nav#sub_access li.current-page-item a {
	background: url('images/header/sub_access_hi.png') center 3px no-repeat;
}

h1#logo a {
	display: block;
	width: 300px;
	padding-top: 70px;
	height: 0;
	overflow: hidden;
	background: url(images/header/logo.jpeg);
}

/**********************************
 *
 * 4. Body
 *
 *********************************/

#content {
	overflow: hidden;
}

#content h1.entry-title {
	font-size: 36px;
}

#content h1, #content h2, #content h3 {
	font-size: 24px;
	margin-top: 20px;
}

#content p, #content li {
	margin: 10px 0;
	font-size: 12px;
	line-height: 16px;
}

#content ol {
	list-style: decimal;
}

#content ul {
	list-style: disc outside;
}

#content a {
	color: #47D6FF;
}

.alignleft {
	display: block;
	float: left;
	margin-right: 40px;
}

.aligncenter {
	display: block;
	margin: 0 auto;
}

#content ul {
	list-style: disc inside;
}

/**********************************
 *
 * 5. Footer
 *
 *********************************/

footer#page_footer {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 2px solid white;
	
	font-size: 12px;
}

img#findus_facebook {
	padding-left: 20px;
	margin-bottom: -9px;
}

img#findus_twitter {
	padding-left: 20px;
}

#nav_secondary {
	padding-top: 50px;
	text-align: center;
}

#nav_secondary li {
	display: inline;
	border-left: 1px solid white;
}

#nav_secondary li:first-child {
	border-left: none;
}

#nav_secondary a {
	padding: 5px;
	color: white;
	font-weight: bold;
}

#secondary_branding {
	float: right;
}

div#fb_region {
	text-align: center;
	padding: 10px 0;
}

p#colophon {
	display: block;
	padding: 10px 0;
	text-align: center;
	color: #888;
}

/**********************************
 *
 * 6. Home page
 *
 *********************************/

#home_slider li {
	list-style: none;
}

ul#index_small_panels {
	padding-top: 30px;
}

ul#index_small_panels li {
	display: inline-block;
	vertical-align: top;
}

/**********************************
 *
 * 7. Projects
 *
 *********************************/

#projects_new li.vision {
	background: none;
	float: none;
	height: auto;
	width: auto;
}

div#wrapper {
	overflow: hidden;
}

#projects_new li {
	list-style: none;
	padding-left: 0;
}

#projects_new li.project {
	position: relative;
	width: 685px;
	height: 168px;
	padding: 45px 75px 0;
	margin: 10px 0 35px;
	background: url('images/projects/project-section-bg.jpg') 0 45px no-repeat;
}

#projects_new h2.project_tab {
	position: absolute;
	display: block;
	top: 0;
	left: 20px;
	height: 46px;
	width: auto;
	padding: 0 44px 0 10px;
	font-size: 26px;
	line-height: 46px;
	color: white;
	background: url('images/projects/project-tab-bg.png') left top repeat-x;
}

#projects_new span.project_status {
	position: absolute;
	top: 18px;
	right: 0;
	height: 19px;
	padding-left: 24px;
	color: white;
	font-size: 18px;
}

#projects_new span.project_funded {
	background: url('images/projects/project-icon-funded.png') left center no-repeat;
}

#projects_new span.project_funding {
	background: url('images/projects/project-icon-funding.png') left center no-repeat;
}

#projects_new h2.project_tab:after {
	content: ".";
}

#projects_new div.project_panels_wrapper {
	position: relative;
	width: 685px;
	height: 600px;
	overflow: hidden;
}

#projects_new ul.project_panels {
	position: relative;
	width: 10000px;
}

#projects_new ul.project_panels > li {
	display: block;
	position: absolute;
	top: 24px;
	width: 153px;
	height: 0;
	left: 0;
	margin-right: 24px;
	padding-top: 115px;
	background: center center no-repeat;

	-moz-box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.8);
	-webkit-box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.8);
	box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.8);
}

#projects_new ul.project_panels > li.more {
	opacity: 1;
	background-image: url('images/projects/panel-more.png');
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#projects_new ul.project_panels a.panel_link {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	padding-top: 115px;
	height: 0;
	overflow: hidden;
	z-index: 95;
}

#projects_new div.project_popup {
	position: absolute;
	top: 119px;
	padding-top: 15px;
	color: black;
	z-index: 100;
}

#projects_new div.project_popup * {
	z-index: 101;
}

#projects_new div.project_popup_callout {
	position: absolute;
	top: 0;
	width: 20px;
	height: 15px;
	background: url('images/projects/project-popup-callout.png') no-repeat;
}

#projects_new div.project_popup_content {
	padding: 10px 18px 10px;
	background: white;
	overflow: auto;

	border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
}

#projects_new div.panels_prev, 
	#projects_new div.panels_next {
	position: absolute;
	top: 113px;
	width: 32px;
	height: 0;
	padding-top: 34px;
	background: center 0 no-repeat;
	overflow: hidden;
	cursor: pointer;
}

#projects_new div.panels_prev:hover,
	#projects_new div.panels_next:hover {
		background-position: center -34px;
}

#projects_new div.panels_prev:active,
	#projects_new div.panels_next:active {
		top: 114px;
}

#projects_new div.panels_prev {
	left: 20px;
	background-image: url('images/projects/panels-prev.png');
}

#projects_new div.panels_next {
	right: 20px;
	background-image: url('images/projects/panels-next.png');
}

#projects_new div.project_popup_content_preload {
	display: none;
	padding-top:4px;
}

#projects_new div.project_popup div.project_popup_content_preload {
	display: block;
}

#projects_new div.project_popup p {
	color: black;
}

#projects_new img.new_ribbon {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 90;
}

#projects_new div.panel_caption {
	position: absolute;
	bottom: 0;
	right: 0;
	height: 20px;
	line-height: 20px;
	padding: 4px 30px 0 10px;
	font-size: 16px;
	color: white;
	background: black right center no-repeat;
	background: rgba(0,0,0,0.73) right center no-repeat;
}

#projects_new li.photos div.panel_caption, #projects_new li.photo div.panel_caption {
	background-image: url('images/projects/panel-icon-photo.png');
}

#projects_new li.video div.panel_caption {
	background-image: url('images/projects/panel-icon-video.png');
}

.pp_content_container p {
	color: #555;
}

#projects_new span.panel_instruction {
	float: right;
	font-size: 16px;
	color: #acacac;
	margin-top: -2px;
}

#projects_new span.panel_instruction:before {
	content: "[";
}
#projects_new span.panel_instruction:after {
	content: "]";
}

#projects_new .panel_heading {
	font-size: 16px;
	color: black;
}

#projects_new li.photos div.project_popup_content_preload {
	margin-left: -16px;
}

#projects_new img.photos_image_tn {
	display: inline-block;
	width: 110px;
	height: 83px;
	margin: 10px 0 4px 16px;
	border: 2px solid white;
}

#projects_new img.photos_image_tn:hover {
	border: 2px solid #767f84;
}

/**********************************
 *
 * 8. Behind the scenes
 *
 *********************************/

div#bts_content {
	margin-top: 40px;
}

div#bts_intro {
	display: block;
	margin: 0 auto;
	width: 700px;
	height: 0;
	padding-top:182px;
	overflow: hidden;
	background: url('images/bts/bts-intro.jpg') 0 0 no-repeat;
}

p#bts_abstract {
	display: block;
	width: 550px;
	padding-left: 22px;
	margin: 30px auto 20px;
	font-size: 16px;
	line-height: 24px;
	background: url('images/bts/bts-abstract-bullet.png') left 4px no-repeat;
}

ul#bts_tabs {
	position: relative;
	display: block;
	height: 112px;
	margin-top: 40px;
}

ul#bts_tabs li {
	display:block;
	position: absolute;
	top: 0;
	width: 120px;
	height: 0;
	padding-top: 112px;
	border: 4px solid black;
	overflow: hidden;
	cursor: pointer;
}

ul#bts_tabs li:hover
{
	border: 4px solid #0096df;
}

ul#bts_tabs li#bts_tab_socialenterprise {
	left: 18px;
	background: url('images/bts/bts-tab-socialenterprise.jpg');
}

ul#bts_tabs li#bts_tab_springtoyou {
	left: 186px;
	background: url('images/bts/bts-tab-springtoyou.jpg');
}

ul#bts_tabs li#bts_tab_youtofield {
	left: 354px;
	background: url('images/bts/bts-tab-youtofield.jpg');
}

ul#bts_tabs li#bts_tab_structureclaims {
	left: 522px;
	background: url('images/bts/bts-tab-structureclaims.jpg');
}

ul#bts_tabs li#bts_tab_environment {
	left: 690px;
	background: url('images/bts/bts-tab-environment.jpg');
}


div.bts_tab_content {
	position: relative;
	display: block;
	padding: 25px;
	margin: 55px 0 40px;
	background: white;
	color: black;

	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

div.bts_tab_content * {
	color: black;
}

div.bts_tab_content_widecol {
	display: inline-block;
	width: 400px;
	margin-right: 34px;
}

div.bts_tab_content_narrowcol {
	display: inline-block;
	vertical-align: top;
	width: 335px;
}

div.bts_tab_content_mediumcol {
	display: inline-block;
	vertical-align: top;
	width: 360px;
}

div.bts_tab_content h3.no_topmargin {
	margin-top: 0;
}

div.bts_tabs_callout {
	position: absolute;
	top: -36px;
	display: block;
	width: 40px;
	height: 36px;
	background: url('images/bts/bts-tabs-callout.png') no-repeat;
}

div#bts_tab_socialenterprise div.bts_tabs_callout {
	left: 80px;
}

div#bts_tab_springtoyou div.bts_tabs_callout {
	left: 240px;
}

div#bts_tab_youtofield div.bts_tabs_callout {
	left: 410px;
}

div#bts_tab_structureclaims div.bts_tabs_callout {
	left: 580px;
}

div#bts_tab_environment div.bts_tabs_callout {
	left: 750px;
}

div.bts_tab_content img {
	display: block;
	margin: 40px auto;
}

div.bts_tab_content ul, div.bts_tab_content ol {
	list-style-position: outside;
	padding-left:15px;
}

/**********************************
 *
 * 9. News
 *
 *********************************/

#media-release {
	float: left;
	width:440px;
	padding-bottom:70px;
}
#media-top {
	background:url('images/news/latest_news_top.gif') no-repeat;
	width:440px;
	height:16px;
}
#media-content {
	background-color:#272727;
	width:406px;
	padding-left:15px;
	padding-right:15px;
}
#media-bottom {
	width:440px; 
	height:20px; 
	background:url('images/news/latest_news_bottom.gif') no-repeat;  
}

#media-release h4 {
	font-size: 20px;
	font-weight: bold;
}

#media-release small {
	font-size: 10px;
}

#in-media {
	display: block;
	background:url('images/news/SQUARES.gif') top no-repeat;
	margin-left: 500px;
	width:235px;
	height:540px;
	margin-bottom:15px;
}
#in-media h3 {
	font-size:15px;
	padding-left:10px;
	padding-top:13px;
}


#articale-1 a {
	-webkit-border-radius:5px;
	webkit-border-radius:5px;
	-moz-border-radius:5px;
}
#articale-1 img{
	height:95px;
	width:95px;
	margin-top:24px;
	margin-left:10px;
	float:left;
	-webkit-border-radius:5px;
	webkit-border-radius:5px;
	-moz-border-radius:5px;
}
#articale-2 a {
	-webkit-border-radius:5px;
	webkit-border-radius:5px;
	-moz-border-radius:5px;
}
#articale-2 img{

	height:95px;
	width:95px;
	margin-top:24px;
	margin-left:24px;
	float:left;
	-webkit-border-radius:10px;
	webkit-border-radius:10px;
	-moz-border-radius:10px;
}
.content p{
	padding-left:10px;
	padding-top:10px;
	text-align:justify;
}

/**********************************
 *
 * 10. Contact
 *
 *********************************/

#content a.contact_button {
	display: inline-block;
	width: 115px;
	height: 30px;
	margin: 10px 10px 10px 0;
	background: url('images/contact/button-bg.jpeg');
	color: white;
	text-align: center;
	line-height: 30px;
	font-weight: bold;
}

/* cmxform Styles */
form.cmxform {
	width: 370px;
	font-size: 1.0em;
	color: #333;
}

form.cmxform legend {
	padding-left: 0;
}

form.cmxform legend, form.cmxform label {
	color: #333;
}

form.cmxform fieldset {
	border: none;
	border-top: 1px solid #C9DCA6;
	background: url(images/cmxform-fieldset.gif) left bottom repeat-x;
	background-color: #F8FDEF;
}

form.cmxform fieldset fieldset {
	background: none;
}

form.cmxform fieldset p, form.cmxform fieldset fieldset {
	padding: 5px 10px 7px;
	background: url(images/cmxform-divider.gif) left bottom repeat-x;
}

form.cmxform label.error, label.error {
	/* remove the next line when you have trouble in IE6 with labels in list */
	color: red;
	font-style: italic
}
div.error { display: none; }
input {	border: 1px solid black; }
input.checkbox { border: none }
input:focus { border: 1px dotted black; }
input.error { border: 1px dotted red; }
form.cmxform .gray * { color: gray; }


form.cmxform fieldset {
	margin-bottom: 10px;
}

form.cmxform legend {
	padding: 0 2px;
	font-weight: bold;
	_margin: 0 -7px; /* IE Win */
}

form.cmxform label {
	display: inline-block;
	line-height: 1.8;
	vertical-align: top;
	cursor: hand;
}

form.cmxform fieldset p {
	list-style: none;
	padding: 5px;
	margin: 0px 0px 0px 65px;
}

form.cmxform fieldset fieldset {
	border: none;
	margin: 3px 0 0;
}

form.cmxform fieldset fieldset legend {
	padding: 0 0 5px;
	font-weight: normal;
}

form.cmxform fieldset fieldset label {
	display: block;
	width: auto;
}

form.cmxform label { width: 160px; } /* Width of labels */
form.cmxform fieldset fieldset label { margin-left: 103px; } /* Width plus 3 (html space) */
form.cmxform label.error {
	margin-left: 30px;
	width: 220px;
}

form.cmxform input.submit {
	margin-left: 103px;
}

/*\*//*/ form.cmxform legend { display: inline-block; } /* IE Mac legend fix */


/**********************************
 *
 * 11. Store Locators
 *
 *********************************/

/*
Theme Name: Thankyou Water
*/

div#results > div:hover {
	background: #222;
}

div#results > div:first-child div.result {
	border-top: none;
}

div.result {
	position: relative;
	padding: 20px 10px;
	border-top: 1px solid #333;
}

div.result_name {
	text-align: left;
}

div.result_name h3 {
	font-size: 16px;
	margin-bottom: 10px;
}

div.result_name small {
	font-size: smaller;
}

div.result_address {
	text-align: left;
	font-style: normal;
	font-size: 12px;
	line-height: 16px;
}

div.result_phone {
	position: absolute;
	right: 10px;
	top: 20px;
}

div.result_links {
	text-align: left;
	margin-top: 10px;
	font-size: 14px;
}

div.result a {
	color: #00c6ff;
}

div.markertext {
	text-align: left;
}

div.markertext h3 {
	font-size: 14px;
	color: black;
}

div.markertext p {
	color: #111;
	font-size: 12px;
}

div.markertext a {
	margin-left: 0;
}

div.markertext a:hover {
	color: #00c6ff;
}

table.location_search {
	display: table;
	width: 100%;
	margin-bottom: 20px;
}

table.location_search td {
	padding: 5px 0;
}

table.location_search input {
	font-size: 16px;
	padding: 2px;
	width: 200px;
}

/**********************************
 *
 * 12. Connect
 *
 *********************************/

#connect_container {
	display: block;
	width: 700px;
	margin: 0 auto;
}

#connect_container > div {
	width: 350px;
	float: left;
}

#connect_container .connect_button {
	display: block;
	height: 60px;
	line-height: 60px;
	margin-top: 20px;
}

#connect_container .connect_screenshot {
	display: block;
}

#connect_twitter .connect_screenshot {
	padding-top: 4px;
}
