/*
Theme Name: Children's Relief International
Theme URI: http://childrensrelief.org
Description: based on WP_BLANK2l
Author: Eric Jacobsen
Author URI: http://generalprojects.com
version: 3.0
*/




/* basics */
header h1, #ngg-gallery-1-0 #gallery_btn_prev, #ngg-gallery-1-0 #gallery_btn_next, #sidebar section, #sidebar #toplinks ul li, #capsules article,
#payment_cards, #payment_authorizenet, .galleryview_controls li#gallery_btn_prev, .galleryview_controls li#gallery_btn_next, .btn_sponsor_child,
#icon_twitter, #icon_facebook, #btn_donate, hr, nav#tertiary ul li a.current, nav#tertiary ul li a:hover, #respond hr, #worldventure, nav#tertiary,
.corner {
     background-image:url('images/sprites.005.png'); 
}

*{margin:0; padding:0;}

body {
	background:url('images/background.png') repeat-x #374e2f;
	font-family: 'helvetica neue', 'arial', sans-serif;
	font-size: .8em;
	color:#231f20;
	}
	
h1 {font-size: 18pt;}
h2 {font-size: 14pt;}
h3 {font-size: 10pt;}
h4 {font-size: 9pt; clear:both;}


img{ border: none; padding:0; }
img a{border:none;}

img.left{ float: left; border: none; padding: 6px 0 0 0; }
img.right{ float: right; border: none; padding: 0 0 0 6px; }

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

blockquote{
	border-left:1px solid #A5ABAB;
	margin:15px;
	padding:0 12px 0 12px;
	}

code{
	font-family:"Courier New", Courier, monospace;
	}


/* links */

a {
     color:#e63f35;
	text-decoration:none;
}

a:hover{
     border-bottom:1px solid #e63f35;
}



/* container */


#container {
	width: 1000px;
	margin: 50px auto;
	padding:0;
	background:#fff;
	overflow: hidden;
	}
	
/* header */

header {
  	width: 100%; 
	color: #fff; 
	}

header h1{
     width:175px;
     height:72px;
     background-position:0px -50px;
	padding:0;
	margin:35px 0px 15px 35px;
	text-indent:-1000px;
	overflow:hidden;
	}
	
header h1 a{color: #404040; text-decoration: none; display:block; width:1500px; height:100px;}

#btn_donate {
     display:block;
     float:right;
     margin-top:90px;
     width:81px;
     height:33px;
     text-indent:-100px;
     overflow:hidden;
     background-position:-100px -150px;
}

#btn_donate:hover {
     background-position:-100px -200px;
}

body#page_95 #btn_donate {display:none; }


/* main menu */

nav a {
     color:#000000;
}
nav a:hover {
     border-bottom:none;
     background-color:#ebebeb;
}

nav#main {
     display:block;
	font-size: 1.4em;
	font-weight:bold;
	overflow:hidden;
	padding:25px 0px;
	margin:0px 35px 25px 35px;
	border-bottom:1px solid #cccccc;
}


nav#main ul {
	margin:0;
	padding:0;
}

nav#main ul li {
	list-style-type: none;
	float:left;
	margin: 0;
	padding: 0;
}

nav#main ul li a {
	margin:0px 45px 0px 0px;
	display:block;
}

nav#main ul li a:hover {
}

nav#secondary {
     display:block; 
     float:right; 
     margin:-195px 35px 0px 0px;
}

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

nav#secondary ul li a {
     color:#3f3f3f;
}

nav#tertiary {
     display:block;
     padding:0px 0px 1px 0px;
     margin:0px 35px 35px 35px;
     background-position:0px -700px; /* fading underline */
     background-repeat:no-repeat; 
}
nav#tertiary ul {
     margin-bottom:25px;
	font-size: 1.4em;
	font-weight:bold;
}
nav#tertiary ul li {
     float:left; 
     list-style-type:none;
     margin-right:30px;
}
nav#tertiary ul li:last-child {
     float:none;
}
nav#tertiary ul li a {
     color:#446638;
     text-decoration:none;
}
nav#tertiary ul li a.current, nav#tertiary ul li a:hover {
/* TODO a.current doesn't work */
     background-position:0px -446px;
     background-color:white;
     text-decoration:none;
}

/* content */


#content {
	float: right;
	width:690px;
	overflow: hidden;
	margin:0px 35px 35px 0px;
	display:block;
}	

.post {
	margin:0;
	padding:0;
}
	
#content .post h2, h2.headline {font-family:'georgia', serif; }

#content h2, #content h3, #content_donate h2, #content_donate h3 {font-size:4em;}

#content h3 {font-weight:normal; font-family:'georgia', serif; line-height:.9em;}
	
#content h2 a{
	color: #000;
	text-decoration: none;
	}
	
#content h2 a:hover{
	color: #777;
	text-decoration: none;
	}

#content h4, #content_donate h4 {
     font-family:'georgia', serif;
     font-size:1.7em;
     line-height:1.3em;
}

#content h5 {
     /* news headline */
     margin-top:20px;
     font-size:1.5em;
}

#content h6 {
     /* news dateline */
     font-size:.9em;
     color:#999999;
     font-weight:normal;
}
#content h6 a {
     color:#999999;
     border:0px;
     text-decoration:none;
}
#content h6 a:hover {
     color:red;
}

.post p {
     line-height:1.8em;
}

.post ul, .post ol {margin:12px 0px 12px 35px; }

.post ol li {margin:12px 0px; }

.entry p{
  	margin:12px 0;
	color:#333333;
}

.postmetadata{
	clear: both;
	background:#F7F7F7;
	margin: 20px 0;
	}
	

.navigation {
	width:100%;
	float:left;
	margin:0;
	padding:0;
	overflow:hidden;
	}
	
.alignleft a{float:left; margin:25px 25px 25px 0px;}
.alignright a{float:right; margin:25px 0;}



/* sidebar */

#sidebar, #sidebar_donate {
     display:block;
	float:left;
	margin:0px 0px 0px 35px;
	padding: 0;
	width:210px;
	}

#sidebar section {
     display:block;
     background-position:0px -790px;
     background-repeat:repeat-x;
     padding:23px 0px; 
}
#sidebar section#toplinks {
     padding-top:0px;
     background:none;
}

#sidebar section h2{
     font-size:1.5em;
     margin-bottom:5px;
}

#sidebar #toplinks ul li {
     font-size:1.5em;
     font-weight:bold;
     border-bottom:1px solid #d7dcd5;
     padding-bottom:5px;
     margin-bottom:5px;
}
#sidebar #toplinks ul li#toplink_donate {
     background-position:-615px -327px;
}
#sidebar #toplinks ul li#toplink_gallery {
     background-position:-615px -363px;
}
#sidebar #toplinks ul li#toplink_teams {
     background-position:-615px -398px;
}


#sidebar #toplinks ul li:last-child {
     border-bottom:none;
     padding-bottom:0px;
     margin-bottom:0px;
}
#sidebar #toplinks ul li a {
     display:block;
     color:#446638;
}
#sidebar #toplinks ul li a:hover {
     border-bottom:0px; 
     color:#6a935c;
}

#sidebar label{
}

#sidebar p {margin:0; padding:0;}

#sidebar img {padding: 0; margin: 0;}

#sidebar ul {
     list-style-type: none;
}

#sidebar ul#siblings {
     margin-left:25px;
     margin-bottom:100px;
}

#sidebar ul#siblings li {
     line-height:2em;
     font-size:1.1em;
}

#sidebar ul#siblings li a {
     color:#446638;
}

#sidebar ul#siblings li a.current, #sidebar ul#siblings li a:hover {
     border-bottom:1px solid #a1b29b; text-decoration:none;
}

#sidebar #news dt {
     font-size:1.4em;
     font-weight:bold;
     margin-top:10px;
     margin-bottom:5px;
}

#sidebar #news dd {
     margin-bottom:10px;
}

#sidebar a.rlink {
     margin-top:10px;
     text-align:right; 
}

a.rlink {
     display:block; 
     border:0; 
     background:none;
}
a.rlink_gallery {
     color:#aaaaaa;
}
a.rlink_gallery:hover {
     color:#000000;
     text-decoration:none;
}
a.rlink_gallery span {
     color:red;
}

#sidebar #social_links ul li {
     text-indent:45px;
     padding:10px 0px 9px 0px;
     width:270px;
     border-top:1px solid #d7dcd5;
}

#sidebar #social_links ul li#icon_twitter {
     background-position:-30px -325px;
}

#sidebar #social_links ul li#icon_facebook {
     background-position:-30px -290px;
}


#sidebar #cri_in_numbers ul li {
     text-indent:15px;
     line-height:2em;
}

#sidebar #cri_in_numbers ul li strong {
     font-weight:bold; 
     font-family:'georgia', serif; 
     font-size:1.1em;
}



/* home page */

section.home#content {
	float:left;
	width:595px;
	margin:0px 0px 0px 60px;
}

section.home#content h2.headline {
     font-family:'georgia', serif;
     font-size:4.17em;
     line-height:.7em;
     margin-bottom:20px;
}


h2#home_capsules {
     clear:both;
	margin:0px 35px 0px 60px;
	padding:20px 0px;
     border-top:1px solid #cccccc;
}

section.landing#capsules {margin-top:20px; }

#capsules {
     display:block;
     clear:both; 
	margin:0px 35px 0px 60px;
}

#capsules h2 {
     margin:20px 0px;
}

#capsules article {
     background-position:-300px 0px;
     width:260px;
     height:288px;
     padding:16px 13px;
     display:block;
     float:left;
     margin-right:19px;
     margin-bottom:25px;
     vertical-align:top;
}
#capsules article.short {
     height:218px;
     background-position:-600px 0px;
}
#capsules article:nth-child(3n) {
     margin-right:0px;
}

#capsules article h2 {
     font-size:1.3em;
     margin:5px 0px 2px 0px;
     color:#e63f35;
}

#capsules article a:hover {
     border-bottom:0px;
}

#capsules article p {
     margin:0;
}

aside.home#sidebar {
	float:right;
	margin:0px 35px 15px 0px ;
	padding: 0;
	width:285px;
}



/* donate page */

.btn_sponsor_child {
     display:block;
     width:202px;
     height:32px;
     text-indent:-500px;
     overflow:hidden;
     background-position:0px -500px;
     cursor:pointer;
}
.btn_sponsor_child:hover {
     background-position:-220px -500px;
     border-bottom:0px;
}

section#content_donate {
	float:right;
	margin:0px 35px 15px 0px ;
	width:515px;
}
     section#content_donate p {
          margin:10px 0px 20px 0px;
     }
     
     section#content_donate h4.bigmargin {
          margin:50px 0px 0px 0px;
     }

aside#sidebar_donate {
	background:white;
	margin:0px 0px 30px 60px;
	padding: 0;
	width:355px;
	background:#e2f0df;
	font-size:1.1em;
	-webkit-border-radius:4px;
}
     aside#sidebar_donate .btn_sponsor_child {
          margin:5px 0px 25px 25px;
     }
     
     aside#sidebar_donate img {
          margin-bottom:25px;
     }
     
     aside#sidebar_donate h4 {
          font-size:1em;
          margin-bottom:5px;
          padding:0px 25px;
     }

     aside#sidebar_donate p {
          margin-bottom:15px;
          padding:0px 25px;
     }


/* landing page */

section.landing#content {
     display:block;
	float:none;
	width:905px !important;
	margin:0px 35px 0px 60px;
}


/* giants */

section.giants#content {
    display:block;
	float:none;
	width:905px !important;
	margin:0px 35px 0px 60px;
}




	
	
/* misc */

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;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
	
.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;
}




/* footer */

footer {
     display:block;
	background:url('images/background_footer.png') repeat-x #ffffff;
	clear: both;
	padding:45px 35px 40px 60px; 
	color:#2b2b2b;
	font-size:1em;
}

footer h2 {
     font-size:1.5em;
     margin-bottom:3px;
}	

footer a {
     color:#000000;
}
footer a:hover {
     border-bottom:0px;
}

footer .columns {
  	border-top:1px solid white; 
  	border-bottom:1px solid #cccccc;
  	margin:30px 0px 20px 0px;
  	padding:20px 0px;
  	*height:260px;
}

footer .columns div {
     float:left;
  	width:180px; 
  	vertical-align:top;
  	font-size:.9em;
  	line-height:2em;
}

footer ul {
  	clear:both; 
  	list-style-type:none; 
}

footer ul li {padding:2px 0px; }

footer #credits li {
  	float:left; 
  	margin-right:50px; 
  	font-size:.9em;
}

footer .columns div.payment_icons {
  	width:110px; 
     float:right;
}
#payment_cards        {background-position:-100px 0px; width:110px; height:21px; overflow:hidden; text-indent:-500px; margin-bottom:10px;}
#payment_authorizenet {background-position:-220px 0px; width:70px;  height:55px; overflow:hidden; text-indent:-500px; }
#worldventure {width:128px; height:61px; background-position:-250px -350px; display:block; text-indent:-500px; overflow:hidden; margin-top:-15px;}

#partners h2, #partners ul, #partners ul li {display:inline-block; vertical-align:middle; }
#partners ul li {margin-left:50px; }


/* gallery */

#gallery_btn_prev, #gallery_btn_next {cursor:pointer; }


.galleryview_abs {
     position:absolute; overflow:hidden;
}

.gallery { background: #ddd; border: 1px solid #aaa; padding: 5px; }

.panel {position:absolute; }


     /* home page */
     #ngg-gallery-1-0 #gallery_btn_prev, #ngg-gallery-1-0 #gallery_btn_next {position:absolute; margin-top:220px; width:36px; height:36px; overflow:hidden; text-indent:-100px; }
     #ngg-gallery-1-0 #gallery_btn_prev {margin-left:-18px; background-position:0px 0px; }
     #ngg-gallery-1-0 #gallery_btn_next {margin-left:577px; background-position:-50px 0px; }
     #ngg-gallery-1-0 .galleryview {background-color:#e2efde;}
     #ngg-gallery-1-0 .galleryview_abs, #ngg-gallery-1-0 .galleryview_alpha {width:595px; height:620px; background-color:#e2efde;}
     #ngg-gallery-1-0 .panel .gallery_caption {
          width:535px;
          height:130px;
          padding:20px 30px; 
          background-color:#e2efde;
     }
     #ngg-gallery-1-0 .panel .gallery_caption strong {font-size:2.5em; display:block; font-weight:bold; }
     #ngg-gallery-1-0 .panel .gallery_caption p {font-size:1.15em; line-height:1.5em; display:block;}

     /* see who... */
     #ngg-gallery-2-164 {margin-top:20px; }
     #ngg-gallery-2-164, #ngg-gallery-2-164 .galleryview_abs, #ngg-gallery-2-164 .galleryview_alpha {width:905px; height:480px; }
     #ngg-gallery-2-164 .panel .gallery_caption strong {font-size:1.1em !important; font-weight:bold; color:black; line-height:2.5em; }
     #ngg-gallery-2-164 .panel .gallery_caption p {font-size:1.1em !important; color:#211c1c; display:inline; line-height:2.5em; }
     
     .galleryview_controls {text-align:center; font-size:1.8em; }
     .galleryview_controls li {display:inline-block; color:#7f7f7f; cursor:pointer; padding:1px 7px; }
     .galleryview_controls li.active {color:#000000; }
     .galleryview_controls li:hover {color:red; }
     .galleryview_controls li#gallery_btn_prev, .galleryview_controls li#gallery_btn_next {width:9px; height:7px; text-indent:-100px; overflow:hidden; padding:2px 0px 3px 0px; margin:0px 5px; }
     .galleryview_controls li#gallery_btn_prev {background-position:0px -300px; }
     .galleryview_controls li#gallery_btn_next {background-position:-20px -300px; } 

.corners {position:absolute; display:block; z-index:9999; }
.corner {position:absolute; width:7px; height:7px; }
#tl {background-position:0px -370px;  top:0px; left:0px; }
#tr {background-position:-8px -370px; top:0px; right:0px; }
#bl {background-position:0px -378px;  bottom:0px; left:0px; }
#br {background-position:-8px -378px; bottom:0px; right:0px; }




/* donations */

#donate_form {padding:40px 0px 20px 0px; }
.donate_type {padding-bottom:20px; }
     .donate_recipient {width:190px; font-family:'arial', sans-serif; font-size:15px; font-weight:bold; color:#3a6545; float:left; clear:left; }
     .donate_inputs    {width:300px; float:left; }
          select.recipient {width:300px; margin-bottom:10px; }
          input.recipient_other {width:290px; margin-bottom:10px; }
          select {font-size:11px; }
          input.recipient_other, input.lucre {padding:4px; font-size:10px; }
          input.lucre {width:120px; float:left; }
          select.period {width:85px; float:left; margin-left:5px; margin-top:2px; }
          
          button.simple {font-size:10px; float:right; margin:0px; cursor:pointer; padding:3px; }
          #cart td button {color:red; font-size:10px; text-transform:uppercase; }
          button:hover, #cart button:hover {color:blue; }
          #cart th button {color:#3a6545; font-weight:bold; text-transform:uppercase; }
     
#donate_summary {
     border-top:1px solid #cccccc; 
     border-bottom:1px solid #cccccc; 
     padding-top:40px;
     padding-bottom:20px;
     margin-bottom:25px;
}

#donate_summary h3 {
     margin-bottom:5px;
}

#cart {padding:10px; background:url('/images/cart_bg.png') repeat-x #f2f2f4; width:100%; }
     #cart td, #cart th {padding:6px 4px 6px 4px; font-size:12px; }
     #cart td {border-bottom:2px dashed #c6c6c6; }
     #cart tbody td.cart_recip  {width:295px; }
     #cart tbody td.cart_amount {width:90px; text-align:right; }
     #cart tbody td.cart_period {width:40px; font-size:10px; }
     #cart tbody td.cart_remove {text-align:right; color:red; cursor:pointer; }
     #cart tbody td.cart_remove span:hover {color:blue; }
     #cart tfoot th.total_amount {text-align:right; }
     #cart tfoot th.total_label {text-transform:uppercase; text-align:right; }
     #cart tfoot th.total_label button {padding:4px; }
     
     #other_hidden {display:none; }

#checkout h3 {border:0px; clear:left; }
#checkout div.formRow {clear:both; }
#checkout div.formRow span.rowLabel {text-align:left; width:150px; display:block; float:left; margin:5px 0px; }
#checkout div.formRow span.rowInput {width:230px; display:block; float:left; margin:5px 0px; }
#checkout input.text {width:270px; padding:4px; }
#checkout div.formSubmit {clear:left; }
#checkout .response {font-weight:bold; color:red; }




/* pre-application forms */

#applicationForm * {
     padding:0px;
     margin:0px;
}

#applicationForm hr {
     width:360px;
}

hr {
     border:0px; outline:0px;
     display:block;
     height:60px;
     width:200px;
     background-position:0px -760px;
     background-repeat:repeat-x;     
}

#applicationForm h3 {
     border:0px; 
     clear:left; 
}

#applicationForm div.formRow {
     clear:both; 
     margin:20px 0px; 
}

#applicationForm div.formRow div.rowLabel {
     font-weight:bold;
     margin:10px 0px;
}

#applicationForm div.formRow div.rowInput {
}

#applicationForm input.text {
     width:350px; 
     padding:4px;
}

#applicationForm input.textHalf {
     width:162px; padding:4px; margin-right:10px;
}

#applicationForm label, #applicationForm input.checkbox {
     margin:5px 3px 5px 0px;
}

#applicationForm textarea {
     width:350px; 
     height:80px;
     padding:4px;
}

#applicationForm div.formSubmit {
     clear:left; 
}

#applicationForm .response {
     font-weight:bold; 
     color:red; 
}









/* news page */

aside.news#sidebar {
     margin:15px 0px 0px 65px;
}
aside.news#sidebar h2 {
     font-size:.9em;
     line-height:1.5em;
}
aside.news#sidebar ul {
     font-size:.9em;
     line-height:1.5em;
     margin-bottom:20px;
}
.entry img {
display:block;
float:none;
}




/* comment form */

#respond hr {
     display:block;
     outline:0px;
     border:0px;
     margin:50px 0px;
     width:310px;
     height:7px;
     background-position:0px -790px;
}

#commentform .formRow {
     margin:10px 0px; 
     font-size:.9em;
}

#commentform input.text {
     width:200px;
     padding:4px;
     margin-right:5px;
}

#commentform textarea {
     width:500px;
}









#cri_numbers {
     display:none;
     position:fixed;
     _postition:absolute;
     top:50%; left:50%;
     margin-top:-322px;
     margin-left:-250px;
     -webkit-box-shadow:0px 0px 30px #000000; 
}






