/*   
Theme Name: BGCSMV Theme
Description: Custom Theme for the Boys and Girls Club of Santa Maria Valley
Author: Rich Seidenberg
Author URI: http://www.silkmountaindesign.com
Version: 1
*/

body {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #473f2b;
	background-color: #e6e2dc;
}
.halfCol {
	float: left;
	width: 50%;
	margin-bottom: 20px;
}
h1 {
	font-size: 24px;
}
h2 {
	font-size: 18px;
}
h3 {
	font-size: 14px;
}
p, ul, li {
	font-size: 12px;
}
img {
	border-style:none;
}
.image .caption {
	text-align: left;
	width: 220px;
	font-size: 9px;
}
#mainContent .image {
	width: 240px;
	float: left;
}


a {
	outline:none;
}
#container {
	width: 960px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	/*background: #e6e2dc;*/ /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
	margin: 0 auto;
}
header {
	padding: 0;
	height: 187px;
	width: 960px;
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/header_jpg-1368809566) no-repeat;
}
/*#link  makes header clickable link to home page {
	height: 110px;
	width: 960px;
	display:block;
}*/
header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	text-indent: -9999px;
}
.description {
	text-indent: -9999px;
}
/*------------------------------------*\
	NAV
\*------------------------------------*/
nav {
	height:30px;
	margin:0 0 10px;
	position:relative;
	top: -70px;
	width:100%;
	
}

nav li {
	display:block;
	float:left;
	line-height:30px; /* this should be the same as your nav height */
	position:relative;
	z-index:500; /* this allows menu to display on top of slideshow */
	font-size: 1.2em;
	margin:0 20px;
}

nav li a  {
	display:block;
	height:30px;
	line-height:30px;
	padding:0 5px;
	font-weight:bold;
	color:#E6E2DC;
	background:#473F2B;
	text-decoration:none;
}

nav li a:hover {
	
	text-decoration:underline;
}

nav .current-menu-item a, nav .current_page_item a, nav a:hover {
	color:#fff;
	background:#473F2B;
	
}

nav ul {
	
	list-style:none;
	position:absolute;
	background:rgba(255, 255, 255, 0); /* This makes the background transparent in firefox. IE doesn't recognize this and uses the above background color */
}

nav ul ul { /* this targets all sub menus */
	display: none; /* hide all sub menus from view */
	position: absolute;
	top: 30px; /* this should be the same height as the top level menu -- height + padding + borders */
}

nav ul ul li { /* this targets all submenu items */
	float: none; /* overwriting our float up above */
	width: 200px; /* set to the width you want your sub menus to be. This needs to match the value we set below */
	
}

nav ul ul li a { /* target all sub menu item links */
	padding: 5px 10px; /* give our sub menu links a nice button feel */
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
	width:200px;
	border-bottom: 2px solid #e6e2dc;
}

nav ul li:hover > ul {
	display: block; /* show sub menus when hovering over a parent */
}

nav li:hover ul { /* Display the dropdown on hover */
	left:-75px; /* realigns dropdown below top level menu item */

}


nav li:hover ul a { /* Remove underline from dropdown items when hovered*/
	text-decoration:none;
	
}

nav li:hover ul li a:hover { /* Changes background color of hovered dropdown items */
	background:#333;
	
}

/*------------------------------------*\
	Sidebar
\*------------------------------------*/

aside {
	position:relative;
	float: left; /* since this element is floated, a width must be given */
	width: 249px;
	padding-top: 15px;
	padding-right: 10px;
	padding-bottom: 15px;
	padding-left: 20px;
	background: #e6e2dc url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/cork-tile_jpg-1368809566);
	margin-bottom: 30px;
}


#donate a {
	margin: 0 auto 10px;
	padding:10px;
	display:block;
	width: 214px;
	height: 247px;
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/donate_sprite_jpg-1368809567) no-repeat top;
}

#donate a:hover {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/donate_sprite_jpg-1368809567) no-repeat bottom;
}
#mainContent img {
	border: 2px solid #000;
	padding: 5px;
	margin-bottom: 10px;
}
caption {
	font-size: 75%;
}
#mainContent table tr {
	font-size: 80%;
}

#member a {
	margin: 0 auto 10px;
	padding:10px;
	display:block;
	width: 214px;
	height: 247px;
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/member_sprite_jpg-1368809568) no-repeat top;
}

#member a:hover {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/member_sprite_jpg-1368809568) no-repeat bottom;
}
#mentor a {
	margin: 0 auto 10px;
	padding:10px;
	display:block;
	width: 214px;
	height: 247px;
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/mentor_sprite_jpg-1368809568) no-repeat top;
}

#mentor a:hover {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/mentor_sprite_jpg-1368809568) no-repeat bottom;
}
.fb a {
	position: absolute;
	display:block;
	height: 82px;
	width: 82px;
	z-index: 2;
	bottom: -60px;
	left: 10px;
	
}
.fb a:link, .fb a:visited {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/fb_sprite_png-1368809569) no-repeat top;
}
.fb a:hover {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/fb_sprite_png-1368809569) no-repeat center;
}
.fb a:active {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/fb_sprite_png-1368809569) no-repeat bottom;
}
.tnt a {
	position: absolute;
	display:block;
	height: 82px;
	width: 82px;
	z-index: 2;
	bottom: -60px;
	left: 190px;
}
.tnt a:link, .tnt a:visited {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/tnt_fb_png-1368809570) no-repeat top;
}
.tnt a:hover {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/tnt_fb_png-1368809570) no-repeat center;
}
.tnt a:active {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/tnt_fb_png-1368809570) no-repeat bottom;
}
.youtube a{
	position: absolute;
	height: 82px;
	width: 82px;
	z-index: 2;
	bottom: -65px;
	left: 100px;
}
.youtube a:link, .youtube a:visited {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/youtube_sprite_png-1368809571) no-repeat top;
}
.youtube a:hover {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/youtube_sprite_png-1368809571) no-repeat center;
}
.youtube a:active {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/youtube_sprite_png-1368809571) no-repeat bottom;
}
/*------------------------------------*\
	Main content
\*------------------------------------*/

#mainContent {
	margin: 0 0 0 280px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
}
#mainContent ul li {
	margin-bottom: 5px;
}
#mainContent a {
	color: #473F2B;
}
#mainContent a:hover {
	text-decoration:none
}
#chalkboard {
	height: 286px;
	width:676px;
	float: right;
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/chalkboard_jpg-1368809571) no-repeat;
	margin-bottom:20px;
}
#chalkboardContent {
	width: 600px;
	float: left;
	margin: 85px 40px 0;
}
#chalkboardImg {
	margin: 30px 40px 0 0;
	width: 155px;
	height:200px;
	float:right;
	background: url(images/"") no-repeat;
}
#chalkboard h2 {
	font-family:  Helvetica, Arial, sans-serif;
	color: #EBE5D9;
	text-align: left;
	overflow: visible;
	font-style: oblique;
	font-weight: lighter;
	font-size:16px;
}
#chalkboard p {
	font-family:  Helvetica, Arial, sans-serif;
	color: #EBE5D9;
	text-align: left;
	font-style: oblique;
	font-weight: lighter;
	font-size:14px;
}
#chalkboardContent h2 a {
	color: #E6E2DC;
	text-decoration: underline;
}
#chalkboardContent h2 a:hover {
	color: #fff;
	text-decoration: none;
}
#chalkboardContent h2 a:active {
	color: #cdcdcd;
	text-decoration: none;
}
#btn a {
	display:block;
	height: 50px;
	width: 200px;
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/donate-btn_png-1368809572) no-repeat top;
	text-indent: -9999px;
}
#btn a:hover {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/donate-btn_png-1368809572) no-repeat center;
}
#btn a:active {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/donate-btn_png-1368809572) no-repeat bottom;
}
blockquote {
	font-size: 24px;
	font-style: oblique;
	font-weight: bold;
	font-variant: normal;
	text-transform: none;
	text-align: center;
}
h2 span {
	font-size: 75%;
}
h3 span {
	font-size: 75%;
}

.customBg {
	background-color:white;
}


/*------------------------------------*\
	Slider
\*------------------------------------*/

#slider {
	width: 640px;
	height: 230px;
	float: right;
	background-color: #000;
	margin:-5px 20px 20px 0;
}
.nivoSlider {
	position:relative;
	background:url(images/loading.gif) no-repeat 50% 50%;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}
.nivoSlider a {
	border:0;
	display:block;
}
/*------------------------------------*\
	Footer
\*------------------------------------*/

footer {
	background:/*#e6e2dc*/ url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/footerBG_jpg-1368809576) no-repeat;
	height: 92px;
	width: 960px;
	/*margin-top: 30px*/;
	position: relative;
}
footer p {
	color: #E6E2DC;
	margin: 39px auto 0;
	padding: 0 50px;
	font-size: 12px;
}
footer a:link, footer a:visited {
	color: #E6E2DC;
}
footer a:hover {
	color: #fff;
	text-decoration:none;
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}
#footNav {
	display:block;
	text-align: center;
}
#footNav ul {
	width: 100%;
	list-style: none;
	margin-top: 5px;
}
#footNav ul li {
	display: inline;
}
#footNav ul li a {
	text-decoration: none;
	font-size: 0.9em;
	padding: 10px;
	color: #473F2C;
}
#footNav li a:hover {
	text-decoration: underline;
}
#footNav li.menu-divider:last-child {
	display:none;
}
.author {
	top: 22px;
	position: absolute;
	right: 40px;
	
}
.author a {
	display:block;
	height: 40px;
	width: 140px;
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/smdlogo_png-1368809578) no-repeat bottom;
	text-indent: -9999px;
}
.author a:hover {
	background: url(https://09707cdc3921795822be-a963eb1721e2609e3ef7da8bd7596f7a.ssl.cf2.rackcdn.com/smdlogo_png-1368809578) no-repeat top;
}
table tr td {
	vertical-align: top;
}
td p {
	margin-top: -2px;
}
