/*
	Theme Name: RMS Family Foundation (2009)
	Theme URI: http://www.bainbridgestudios.com
	Description: The official custom theme of the RMS Family Foundation website.
	Version: 1.0
	Author: Tom Carmony
	Author URI: http://www.bainbridgestudios.com
*/
/*
Richard M. Schulze Family Foundation
*/

/*
All the styles are separted into the following groups:
Global Browser Reset - this is handled by the reset-fonts.css file from YUI
HTML, Body - for the html and body tags
Layout - styles that define the layout of the site
Modules - styles for content modules
Nav - navigation bar
Default Headings - headings like h1, h2, etc
Common Text Styles - Styles for text
Default Lists - unordered and ordered lists
Forms - html forms
Default Links - links
Misc - anything that doesn't fit elsewhere
*/

/* @group HTML, Body */
html {
	background-color: #112a49;
}
body {
	font-family: "Lucida Grande", "Trebuchet MS", Arial, sans-serif;
}

div#bd img {
	float: left;
	margin: 0px 10px 10px 0;
	padding: 5px;
	background-color: #fff;
	border: #eee solid 1px;
}

/* @end */

/* @group Layout */
/* Head */
div#hd {
	background: url(images/home-top-bkg.jpg) no-repeat 50% 0;
	overflow: hidden;
}
body.home div#hd {
	height: 436px;
}
body.inside div#hd {
	background: url(images/inside-top-bkg.jpg) repeat-x 0 0;
	height: 163px;
}
div#hd-navwrap {
	overflow: hidden;
	background: url(images/nav-bkg.gif) no-repeat 50% 34px;
}
div#hd-inner {
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
}
body.home div#hd-inner {
	background: url(images/home-photo-bkg.jpg) no-repeat 0 0;
	height: 436px;
}
body.inside div#hd-inner {
	height: 163px;
	background: url(images/inside-top-bkg.jpg) repeat-x 0 0;
}

/* Body */
div#bd-wrap {
	background-color: #fff;
}
/* body.inside div#bd-wrap {
	background: #fff;
} */

body.inside div#bd-wrap {
  background: url(images/inside-bd-photo5.jpg) no-repeat 0 100% #fff;
}

div#bd-grants-wrap {
	background-color: #fff;
}
body.inside div#bd-grants-wrap {
	background: url(images/inside-bd-about.jpg) no-repeat 0 100% #fff;
}


div#bd-about-wrap {
	background-color: #fff;
}
body.inside div#bd-about-wrap {
	background: url(images/inside-bd-about.jpg) no-repeat 0 100% #fff;
}

div#bd-about2-wrap {
	background-color: #fff;
}
body.inside div#bd-about2-wrap {
	background: url(images/inside-bd-about.jpg) no-repeat 0 100% #fff;
}

div#bd-about3-wrap {
	background-color: #fff;
}
body.inside div#bd-about3-wrap {
	background: url(images/inside-bd-photo3.jpg) no-repeat 0 100% #fff;
}

div#bd-annualreports-wrap {
	background-color: #fff;
}
body.inside div#bd-annualreports-wrap {
	background: url(images/inside-bd-photo2.jpg) no-repeat 0 100% #fff;
}

div#bd-howtoapply-wrap {
	background-color: #fff;
}
body.inside div#bd-howtoapply-wrap {
	background: url(images/inside-bd-photo8.jpg) no-repeat 0 100% #fff;
}

div#bd-reportguidelines-wrap {
	background-color: #fff;
}
body.inside div#bd-reportguidelines-wrap {
	background: url(images/inside-bd-photo4.jpg) no-repeat 0 100% #fff;
}

div#bd-contact-wrap {
	background-color: #fff;
}
body.inside div#bd-contact-wrap {
	background: url(images/inside-bd-photo6.jpg) no-repeat 0 100% #fff;
}

div#bd-faq-wrap {
	background-color: #fff;
}
body.inside div#bd-faq-wrap {
	background: url(images/inside-bd-photo7.jpg) no-repeat 0 100% #fff;
}



div#bd {
	width: 920px;
	margin-left: auto;
	margin-right: auto;
}
body.home div#bd {
	padding: 20px 0 60px 0;
	background-color: #fff;
}
body.inside div#bd {
	overflow: hidden;
	padding: 0 0 60px 0;
}

/* Footer */
div#ft {
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	padding: 25px 0 25px 20px;
}
div#ft p {
	margin: 0;
}
div#ft p.copyright {
	width: 500px;
	color: #aaa;
	float: left;
	display: inline;
}
div#ft p.ft-links {
	width: 400px;
	text-align: right;
	color: #5e5e5e;
	float: right;
	display: inline;
}
div#ft p.ft-links a:link, div#ft p.ft-links a:visited {
	color: #3069a8;
	text-decoration: none;
}
div#ft p.ft-links a:hover {
	text-decoration: underline;
}
/* @end */

/* @group Modules */
/* Logo */
body.home div#logo {
	width: 487px;
	height: 199px;
	background: url(images/richardschulze-logo.png) no-repeat 0 0;
	text-indent: -9000px;
	margin: 40px 20px 60px 0;
	float: right;
	display: inline;
}
body.home div#logo a {
	display: block;
	height: 100%;
}
body.inside div#logo {
	width: 248px;
	height: 88px;
	background: url(images/logo-inside.png) no-repeat 0 0;
	text-indent: -9000px;
	margin: 27px 0 0 30px;
	/*position: absolute;
	z-index: 10;*/
	float: left;
	display: inline;
}
body.inside div#logo a {
	display: block;
	height: 88px;
	width: 248px;
}

/* Tagline */
div#tagline {
	clear: both;
	background: url(images/home-tagline.png) no-repeat 0 0;
	height: 65px;
	text-indent: -9000px;
}

/* Home Cols */
div.home-cols {
	
}


div.home-cols h2 {
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
	height: 46px;
}
div.home-cols h3 {
	font-size: 123.1%;
	margin: 0 0 2px 0;
	color: #b61c2a;
}
div.home-cols p {
	font-size: 100%;
	color: #777;
	line-height: 145%;
}
div.home-cols h3 a:link, div.home-cols h3 a:visited {
	color: #b61c2a;
	text-decoration: none;
}
div.home-cols h3 a:hover {
	text-decoration: underline;
}
div.home-cols div.this-month {
	width: 319px;
	float: left;
	display: inline;
}
div.home-cols div.this-month h2 {
	margin: 0;
	background: url(images/hd-this-month.png) no-repeat 0 0;
	text-indent: -9000px;
}
div.home-cols div.this-month div.text {
	padding: 10px 51px 0 21px;
}

div.home-cols div.did-know {
	width: 342px;
	float: left;
	display: inline;
}
div.home-cols div.did-know h2 {
	margin: 0;
	background: url(images/hd-did-know.png) no-repeat 0 0;
	text-indent: -9000px;
}


div.home-cols div.did-know div.text {
	padding: 10px 73px 0 3px;
}

div.home-cols div.web-links {
	width: 259px;
	float: left;
	display: inline;
}
div.home-cols div.web-links h2 {
	margin: 0;
	background: url(images/hd-web-links.png) no-repeat 0 0;
	text-indent: -9000px;
}
div.home-cols div.web-links div.text {
	padding: 10px 29px 0 3px;
}



/* Side */
div.side {
	width: 225px;
	margin: 0 0 0 20px;
	padding: 10px 0 0 0;
	float: left;
	display: inline;
}
div.side h2 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 167%;
	color: #122c4b;
	margin: 0;
}
div.side ul {
	margin: 0;
	padding: 0 0 0 10px;
}
div.side ul li {
	list-style: none;
	font-size: 138.5%;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: bold;
	padding: 3px 0 2px 0;
}

/* Main */
div.main {
	width: 596px;
	min-height: 600px;
	margin: 0 35px 0 0;
	padding: 10px 0 0 0;
	float: right;
	display: inline;
}
/* @end */

/* @group Nav */
div#nav {
	width: 650px;
	padding: 34px 0 0 0;
	height: 31px;
	overflow: hidden;
	float: right;
	display: inline;
}
body.inside div#nav {
	padding-left: 5px;
	background: url(images/nav-bkg.gif) no-repeat 100% 34px;
}
body.home div#nav {
	padding-left: 5px;
	background: url(images/nav-bkg.gif) no-repeat 100% 34px;
}
div#nav ul {
	margin: 0;
	padding: 0;
	float: left;
	display: inline;
}
div#nav ul li {
	list-style: none;
	float: left;
	display: inline;
	margin-left: 10px;
}
div#nav ul li a {
	display: block;
	height: 31px;
	background: url(images/nav.gif) no-repeat 0 0;
	text-indent: -9000px;
}
div#nav ul li#n-home a {
	width: 74px;
}
div#nav ul li#n-home a:hover, div#nav ul li#n-home a.active {
	background-position: 0 -31px;
}
div#nav ul li#n-about a {
	width: 89px;
	background-position: -74px 0;
}
div#nav ul li#n-about a:hover, div#nav ul li#n-about a.active {
	background-position: -74px -31px;
}
div#nav ul li#n-apply a {
	width: 124px;
	background-position: -163px 0;
}
div#nav ul li#n-apply a:hover, div#nav ul li#n-apply a.active {
	background-position: -163px -31px;
}
div#nav ul li#n-news a {
	width: 62px;
	background-position: -287px 0;
}
div#nav ul li#n-news a:hover, div#nav ul li#n-news a.active {
	background-position: -287px -31px;
}

div#nav ul li#n-grants a {
	width: 72px;
	background-position: -350px 0;
}
div#nav ul li#n-grants a:hover, div#nav ul li#n-grants a.active {
	background-position: -350px -31px;
}
div#nav ul li#n-annual a {
	width: 146px;
	background-position: -349px 0;
}
div#nav ul li#n-annual a:hover, div#nav ul li#n-annual a.active {
	background-position: -349px -31px;
}
div#nav ul li#n-contact a {
	width: 97px;
	background-position: -495px 0;
}
div#nav ul li#n-contact a:hover, div#nav ul li#n-contact a.active {
	background-position: -495px -31px;
}
/* @end */

/* @group Default Headings */
h1.page-title {
	margin: 0 75px 0 35px;
	height: 39px;
	text-align: right;
	padding: 30px 0 10px 0;
	overflow: hidden;
	float: right;
	display: inline;
}
div.page-title-border {
	border-bottom: 1px solid #e5e5e5;
	clear: both;
	width: 888px;
	margin: 0 0 0 35px;
	height: 1px;
	overflow: hidden;
}

div.main h2 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin: 0 0 20px 0;
	font-size: 170%;
	color: #356ead;
}
div.main h3 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 120%;
	color: #666;
	margin: 15px 0 10px 0;
}
/* @end */

/* @group Common Text Styles */
div.main p {
	font-size: 105%;
	color: #666;
	line-height: 145%;
}
/* @end */

/* @group Default Lists */
div.main li {
	font-size: 108%;
	color: #666;
	line-height: 150%;
}
/* @end */

/* @group Forms */
	
/* @end */

/* @group Default Links - link visited hover active */
a:link, a:visited {
	color: #5081b8;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
/* @end */

/* @group Misc */
.clear {
	clear: both;
}
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
/* @end */



/* Tables
-------------------------------------------------------------- */

table   { margin-bottom: 1.4em; }
th      { border-bottom: 2px solid #ddd; font-weight: bold; }
td      { border-bottom: 1px solid #ddd; }
th,td   { padding: 4px 10px 4px 0; }
tfoot   { font-style: italic; }
caption { background: #ffc; }

/* Use this if you use span-x classes on th/td. */
table .last { padding-right: 0; } 

/* Use these classes to set the width of a column. */
.span-1   { width: 30px; }
.span-2   { width: 70px; }
.span-3   { width: 110px; }
.span-4   { width: 150px; }
.span-5   { width: 180px; }
.span-6   { width: 230px; }
.span-7   { width: 270px; }
.span-8   { width: 310px; }
.span-9   { width: 350px; }
.span-10  { width: 390px; }
.span-11  { width: 430px; }
.span-12  { width: 470px; }
.span-13  { width: 510px; }
.span-14  { width: 550px; }
.span-15  { width: 590px; }
.span-16  { width: 630px; }
.span-17  { width: 670px; }
.span-18  { width: 710px; }
.span-19  { width: 750px; }
.span-20  { width: 790px; }
.span-21  { width: 830px; }
.span-22  { width: 870px; }
.span-23  { width: 910px; }
.span-24  { width: 950px; margin: 0; }








/* Fieldsets */
fieldset    { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size:1.2em; }

/* Text fields */
input.text, input.title   { width: 385px; margin:0.5em 0.5em 0.5em 0; font-size: 1em; color: #666; }
input.text, input.title   { border:1px solid #bbb; background:#f6f6f6; padding:5px; }
input.text:focus,
input.title:focus         { border:1px solid #999; background:#fff; }
input.title               { font-size:1.5em; }

/* Textareas */
textarea            { width: 400px; height: 150px; margin:0.5em 0.5em 0.5em 0; }
textarea.message    { width: 600px; height: 250px; margin:0.5em 0.5em 0.5em 0; }
textarea            { border:1px solid #bbb; background:#eee; padding:5px; }
textarea:focus      { border:1px solid #999; background:#fff; }

/* Select fields */
select:focus        { border:1px solid #999; background:#fff; }
