/*  
Theme Name: Casa de los Ninos Theme
Theme URI: http://casadelosninos.org/
Description: The default Casa de los Ninos theme
Version: 1.0
Author: Ian Johnson / Monte Workman
Author URI: http://www.moiagroup.com

*/

body {
	background: #999;
	text-align: center;
	margin: 0;
	font-family: "Trebuchet MS";
	font-size: 82%;
	color: #444;
	background: url(images/bg_tile.jpg);
	line-height: 1.3em;
	
}

a {
	color: #113462;
	text-decoration: underline;
	
}

p {
	margin-bottom: 1em;
	line-height: 1.4em;
	}
	
h1, h2, h3, h4 {
	font-family: "Trebuchet MS";
	font-weight: bold;
	color: #143D73;
	margin-bottom: .5em;
	padding-bottom: .5em;
	border-bottom: 1px solid #DDD;
}

h1 { font-size: 1.5em; line-height: 1.4em}
h2 { font-size: 1.3em; line-height: 1.2em }
h3 { font-size: 1.1em; line-height: 1em}
h4 { font-size: 1.0em; }
	
#wrapper-shadow {
	margin: 0 auto;
	text-align: center;
	width: 1110px;
	background: url(images/shadow_left.png) repeat-y;
}

#wrapper-shadow.wide {
	width: 80%;	
}

#wrapper {
	margin: 0 auto;
	text-align: left;
	width: 1050px;
	padding: 0 0;
	background: #fff;
	border-right: 1px solid #999;
	border-left: 1px solid #999;
	position: relative;
}

/* for Internet Explorer */
/*\*/
* html #wrapper {
height: 1000px;
}
/**/


#wrapper-shadow-right {
	background: url(images/shadow_right.png) repeat-y 100% 0;	
}

#wrapper {
	background: #FFF;
}

#page {
	background-image: url(images/vrule.gif);
	background-repeat: repeat-y;
	min-height: 500px;
}


#page.nfc {
	background-image: none;
}

#header {
	padding: 0;
	background-color: #fff;
	text-align: center;
	background-image: url(images/head_blend.jpg);
	background-position: bottom left;
	background-repeat: repeat-x;
	height: 247px;
	position: relative;
	border-bottom: 10px solid #D97C14;
}

#footer {
	clear: both;
	padding: 10px 48px;
	font-size: .9em;
	color: #DDD;
	background-color: #7E0025;
	text-align: center;
}

#footer a {
	color: #FFF;
	}


#content {
	float: right;
	width: 690px;
	margin: 30px 25px 20px 28px;
	display: inline;
}


#content.nfc {
	float: left;
	width: 690px;
	display: inline;
}



#homeright {
	width: 735px;
	float: right;
	}
	
	
ol, ul {
	margin-bottom: 10px;
	}
#content ul li, #content ol li {
	margin: .5em 0 1em 1em;
	}
	
#content ol {
	list-style-type: decimal;
	margin-left: 10px;
	}
	
#content ul {
	margin-left: 10px;
	list-style-type: disc;
	}

#homecontent {
	background: #FFF
		url("images/home_page_bg.jpg")
		repeat-y;
}

#homecontent h1 {
	margin: 0;
	margin-bottom: .5em;
}


#homeintro {
	width: 402px;
	display: inline;
	float: left;
	margin-left: 20px;
	margin-top: 30px;
}

#homerightbarwrapper {
	width: 263px;
	float: right;
	color: #FFF;
	background-color: #0F3D8B;
	}

#homerightbar {
	background: #8FAFD6
		url("images/bg_R-sidebar.gif")
		no-repeat;
	}
#homerightbar h2 {
	text-transform: uppercase;
	font-size: 1.5em;
	padding: 30px 10px 20px 20px;
	border: 0;
	background-image: url("images/sidebar_r-blue-blend.jpg");
	background-repeat: repeat-x;
	background-position: bottom left;
	}
	
	#homerightbar h3 {
	font-size: 1.2em;
text-transform: none;
line-height: 1.2em;
	}
	#homerightbar h3 a {
text-decoration: none;
	}
#homerightbar a {
	color: #FFF;
	text-decoration: underline;
	}
.indent20 {
	padding: 20px;
	}

#news {
	width: 246px;
	display: inline;
	float: left;
	margin-left: 20px;
}

#news h2 {
	padding: 0;
	margin: 0;
	font-size: 1em;
}

#news h2 a {
	color: #4A7025;
}

#page {
	background: #FFF
		url("images/page_bg.jpg")
		repeat-y;
}
#content h1 {
	color: #00B3D1;
	text-transform: uppercase;
	font-size: 2em;
	padding-top: 5px;
	}
p.date {
	margin: 0;
	padding: 0;
	font-size: .9em;
	color: #999;
}

.excerpt p {
	margin: 0;
	padding: 0;
}

#news a {
	text-decoration: none;
} 

#news a:hover {
	text-decoration: underline;
} 


#sidebar_buttons #s {
	width: 145px;
	height: 14px;
	margin: 0;
	padding: 0;
	}
#sidebar_buttons #searchsubmit {
	background: #FFF
		url("images/but_search.jpg")
		no-repeat;
	width: 71px;
	height: 18px;
	overflow: hidden;
	border: 0;
	color: #FFF;
	font-weight: bold;
	font-size: .9em;  
	cursor: pointer; /* hand-shaped cursor */
    cursor: hand; /* for IE 5.x */

	}
	
.sidenav_divider {
	background-image: url("images/sidebar_L-blend_divider.jpg");
	background-repeat: repeat-x;
	background-position: bottom left;
	height: 30px;
	}	
	
#sidebar_buttons {
	margin-left: 35px;
	margin-top: 20px;
	}

#sidebar_buttons img {
	margin-top: 10px;
	}
	
	#sidebar h2 {
		text-transform: uppercase;
		font-size: 1.4em;
	}
	#sidebar h2 a {
		color: #7E0025;
		text-decoration: none;
	}
/* ************************* TOPBAR NFC ************************ */
#topbar_nfc {
	font-size: 1em;
	text-align: center;
	margin-bottom: 10px;
}
#topbar_nfc ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#topbar_nfc ul li a {
	display: block;
	float: left;
	width: 23%;
	border: 1px solid #999;
	background-color: #FFC20F;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	color: #133E71;
	font-size: 1em;
	margin-right: 10px;
	height: 3em;
	padding-top: 8px;
	font-weight: bold;
	text-decoration: none;
}

#topbar_nfc ul li a:hover {
	color: #FFF;
	background-color: #0773B4;

}
/* ************************* SIDEBAR NFC ************************ */
#sidebar_nfc {
	width: 296px;
	font-size: 1em;
	float: right;
	margin-right: 10px;
	display: inline;
	margin-top: 10px;
}
#sidebar_nfc ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-transform: uppercase;
	text-align: center;
}

#sidebar_nfc a {
	display: block;
	color: #133E71;
	font-size: 1em;
	height: 83px;
}
#sidebar_nfc ul li a:hover {
	background-image: url(images/star_on.jpg);
}
#sidebar_nfc ul li:nth-child(odd) a {
	background-position: 60px 0;
}
#sidebar_nfc ul li a {
	background-image: url(images/star.jpg);
	background-repeat: no-repeat;
	background-position: 100px 0;
	line-height: 83px;
	font-weight: bold;
	border-top: 1px solid white;
	text-decoration: none;
}

#sidebar_nfc ul li ul a {
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #FFF;
}

#sidebar_nfc ul li ul li a {
	padding: 8px 10px 8px 60px;
	margin: 0;
	font-weight: normal;
	background-color: #B7C4D5;
	background-image: none;
	/* display: none; */
}

/* ************************* SIDEBAR ************************ */
#sidebar {
	width: 296px;
	font-size: 1em;
	float: left;
	margin-right: 10px;
	display: inline;
	margin-top: 10px;
}
#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-transform: uppercase;
}

#sidebar a {
	display: block;
	color: #133E71;
	font-size: 1em;
}

#sidebar ul li a {
	padding: 10px 8px;
	padding-left: 40px;
	margin: 0;
	background-color: #B7C4D5;
	font-weight: bold;
	border-top: 1px solid white;
	text-decoration: none;
}

#sidebar ul li ul a {
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #FFF;
}

#sidebar ul li ul li a {
	padding: 8px 10px 8px 60px;
	margin: 0;
	font-weight: normal;
	background-color: #B7C4D5;
	background-image: none;
	/* display: none; */
}
/*
#sidebar ul li.current_page_ancestor  ul li a {
	display: block;
}
#sidebar ul li.current_page_item  ul li a {
	display: block;
}*/


#sidebar ul li ul li ul a {
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #FFF;
}

#sidebar ul li ul li ul li a {
	padding: 5px 0 5px 50px;
	margin: 0;
	background-color: #7398B2;
}

#sidebar li.current_page_item a {
	background-color: #9FB1C9;
	background-image: url(images/subnav_on-arrow.jpg);
	background-repeat: no-repeat;
	background-position: center left;
	
}

#sidebar ul li.current_page_item ul li a {
	background-image: none;
}
#leftnav_top {
	margin-top: 20px;
	background: #417FB8
		url("images/leftnav_top.jpg")
		repeat-x;
		height: 20px;
}

#leftnav_bottom {
	background: #417FB8
		url("images/subnav_bot.jpg")
		repeat-x;
		height: 25px;
}

/* ************************* END SIDEBAR ************************ */

/* ************************* HEADERNAV ************************ */
#headernav {
	font-size: 1em;
	height: 40px;
	background: #1F3E9F
		url("images/bg_nav-blend.jpg")
		repeat-x;
	width: 100%;
}


/* ************************* END HEADERNAV ************************ */


#subnavbar {
	background-image: url('images/subnavbgtile.gif');
	font-size: 1em;
	padding-right: 40px;
	padding-left: 60px;
	text-transform: lowercase;
	margin-top: 8px;
}

#subnavbar a {
	text-decoration: none;
}

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

#subnavbar ul li {
	display: inline;
	margin-left: 15px;
}


/* ************************* END HEADERNAV ************************ */


#subsubnavbar {
	background-image: url('images/subnavbgtile.gif');
	font-size: 1em;
	padding-right: 40px;
	padding-left: 90px;
	text-transform: lowercase;
	margin-top: 8px;
}

#subsubnavbar a {
	text-decoration: none;
}

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

#subsubnavbar ul li {
	display: inline;
	margin-left: 15px;
}

img.alignleft {
	float: left;
	margin-right: 13px;
	border: 1px solid #999;
}
	
img.alignright {
	float: right;
	margin-left: 13px;
	border: 1px solid #999;
}

.navigation {
	margin-bottom: 20px;
	}
	
.navigation a {
	color: #999;	
	}
.txtalignleft {
	width: 45%;
	float: left;
}

.txtalignright {
	width: 45%;
	float: right;
	text-align: right;
}

.workitem {
	clear: both;
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #AAA;
	}
.workitem img {
	float: right;
	border: 1px solid #999;
}
.workitem h2 {
	border-bottom: none;
	}

hr {
	border: 0;
	margin-bottom: 8px;
	padding: 0;
	border-bottom: 1px solid #AAA;
}

#respond {
	margin-top: 20px;
}

.gallery {
	padding-bottom: 15px;
}

.testim {
	color: #888;
	font-size: .9em;
}

.testim i, .testim em {
	color: #666;
}


/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-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;
}
/* End captions */



/* Begin Images */
p img {
	padding: 0;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

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
	}
/* End Images */

.clientprofilebox {
	padding: 8px;
	background-color: #EFD695;
	border: 1px solid #666;
	margin-bottom: 10px;
}

.clientprofilebox em {
display: block;
float: left;
clear: both;
padding-right: 10px;
text-align: right;
font-weight: bold;
	width: 100px;
}

.clientprofilebox a {
	color: #4A7025;
}

#content td {
	padding: 8px;
}	

.story h2 a {
	text-decoration: none;
}
.story {
	padding: 15px 20px 15px 0;
	}
.storyimage img {
	border: 1px solid #C0C0C0;
	float: left;
	margin: 0 15px 10px 0;
	}
.storyview {
	width: 100px;
	float: right;
	margin: 0 0 10px 15px;
	text-align: right;
	}
	
	.footerlogos {
		text-align: center;
	}
	.footerlogos img {
		margin: 10px;
		vertical-align: middle;
	}
	
	#sponsorslideshow {
		text-align: center;
		margin-top: 20px;
		
		padding-left: 8px;
	}

table.content_table {
	width: 100%;
	margin: 10px 0;
}

table.content_table td {
	border-bottom: 2px solid #999;
	padding: 5px;
}

	
table.content_table td h2 {
	border: 0;
	margin: 0;
	padding: 0;
}

