/*
Company: Family House
File:		main.css - This contains all the main styles for the website.

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
Common Text Styles - Styles for text
Default Headings - headings like h1, h2, etc
Default Lists - unordered and ordered lists
Nav - navigation bar
Forms - html forms
Default Links - links
Misc - anything that doesn't fit elsewhere
*/

/* @group HTML, Body */
html {
	background: url(../images/body-bg-repeat.gif) repeat-x 0 0 #5f94b3;
}

body {
	background: url(../images/body-bg.gif) no-repeat 50% 0;
	font-family: Georgia, serif;
}
/* @end */

/* @group Layout */
/* wrap */
.wrap {
	width: 73em;
	margin: 0 auto;
}

/* extra-wrap */
/** we need this extra wrap around the body and footer to get the side column to have color all the way to the bottom **/
.extra-wrap {
	background-color: #c7e2f1;
}

/* Head */
/* logo */
#hd div.logo_png {
	background: transparent url(../images/logo.png) no-repeat top left;
	text-indent: -9999px;
	height: 120px;
	margin:0;
	width: 514px;
	float: left;
	display: inline;
}
#hd div.logo_png a {
	display: block;
	height: 100%;
}

/* meta */
#hd .meta {
	text-align: right;
	width: 400px;
	float: right;
	display: inline;
}

/* meta-nav */

#hd #meta-nav ul {
	margin-right: 0;
	margin-bottom: 0;
}

#hd #meta-nav ul li {
	list-style: none;
	display: inline;
	padding: 0 .5em;
	border-right: 1px solid #1b2776;
	font-size: 123.1%;
}

/** remove the border on the last li **/
#hd #meta-nav ul li:last-child {
	border: none;
}

#hd #meta-nav ul li li {
	font-size: 100%;
}

#hd #meta-nav ul li a:link, #hd #meta-nav ul li a:visited {
	color: #1b2776;
	text-decoration: none;
}

#hd #meta-nav ul li a:hover {
	text-decoration: underline;
}

/* phone number */
#hd .request-line {
	color: #1b2776;
	padding-right: .5em;
	font-size: 123.1%;
}

#hd .request-line span {
	font-size: 150%; /** this is 150% of 16px font as set in the rule above **/
}
/* Body */
/* main */
.main {
	width: 712px;
	background: #fff url(../images/watermark.gif) no-repeat bottom right;
	float: left;
	display: inline;
}

/** for interior pages **/
.interior .main {
	float: right;
	padding: 2em;
	width: 50.768em; /** we have to change the width to account for the padding **/
}

.side {
	background: #c7e2f1 url(../images/side-bg.gif) no-repeat top left;
	padding: 0 1em 1em 1.5em;
	margin-left: 54.768em;
	height: 100%;
}

/** for interior pages **/
.interior .side {
	margin-left: 0;
	margin-right: 54.768em;
	padding-top: 20px;
}

.side h3 {
	color: #1b2776;
	font-weight: normal;
	font-size: 138.5%;
	margin-top: 0;
	padding-top: 1em;
}

/* dividers in sidebar */
.side hr {
	border-color: #1b2776;
  	border-style: solid;
 	border-width: 1px 0 0;
  	height: 0;
}

/* guest quotes */
.side blockquote {
	margin: 1em 0;
}

.side .quote-author {
	text-align: right;
}

/** interior sidebar **/
.interior .side {
	text-align: center;
}

/* interior nav */
.interior .side #interior-nav ul {
	margin: 1em 0;
}

.interior .side #interior-nav ul li {
	list-style: none;
	margin: .5em 0;
	font-size: 131%;
}

.interior .side #interior-nav ul li li {
	font-size: 100%;
}

.interior .side #interior-nav ul li a:link, .interior .side #interior-nav ul li a:visited {
	text-decoration: none;
	color: #1b2776;
}

.interior .side #interior-nav ul li a:hover {
	text-decoration: underline;
}

.interior .side h3 {
	text-transform: uppercase;
	font-size: 108%;
	font-weight: bold;
}

/* interior involved */
.interior .involved ul {
	margin: 1em 0;
}

.interior .side .involved ul li {
	list-style: none;
	margin: .5em 0;
	font-size: 153.9%;
	color: #1b2776;
}

.interior .side .involved ul li li {
	font-size: 100%;
}

.interior .side .involved ul li a:link, .interior .side .involved ul li a:visited {
	color: #1b2776;
	text-decoration: none;
}

.interior .side .involved ul li a:hover {
	text-decoration: underline;
}

/* House Locations */
div.house-locations {
	margin: 2em 0 0 0;
	widht: 654px;
}

div.hl-house-row {
	padding: 0 0 1.5em 0;
}

/* Auto Clear Each House Location */
div.hl-house:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

div.hl-house {display: inline-block;}

/* Hides from IE-mac \*/
* html div.hl-house {height: 1%;}
div.hl-house {display: block;}
/* End hide from IE-mac */
/* @end */

div.hl-house {
	width: 290px;
	float: left;
	margin: 0 67px 0 0;
}

/* Right Column House - Strip Margin */
div.house-locations div.last {
	width: 290px;
	margin: 0;
}

div.hl-house img {float: right;}

/* Footer */
#ft {
	background-color: #5F94B3;
	padding-top: 2em;
}

#ft .social-media {
	float: left;
}

#ft .social-media .facebook-icon {
	margin-right: .4em;
}

#ft .social-media .you-tube-icon {
	display: block;
	margin-top: .4em;
}

#ft .credits, #ft .members-login {
	margin-left: 5.5em;
}

#ft .credits p {
	margin-bottom: .2em;
}

#ft .credits p.textsmall {
	padding-top:10px;
}

#ft .members-login {
	margin-top: 2em;
}

/* @end */

/* @group Modules */
/** slideshow **/
.interior .main .slideshow {
	float: right;
	margin: 0 0 1em 1em;
}

/** interior main content area **/
/* links to the top of the page */
.interior .main .top-lnk {
	display: block;
	background: transparent url(../images/top-link-bg.gif) no-repeat left center;
	text-align: right;
	text-transform: uppercase;
	color: #1b2776;
	padding-right: 3em;
	text-decoration: none;
	margin-bottom: 10px;
}

.interior .main h2 {
	font-size: 138.5%;
	margin: 0 0 5px 0;
}

/** interior main content area **/
/* for testimonials */
.main div.testimonial-text {
	padding-bottom:4px;
	padding-top: 6px;
}

.main div.testimonial-sender {
	padding-bottom:6px;
}

.interior .main h2 {
	font-size: 138.5%;
	margin: 0 0 5px 0;
}

/** breadcrumb **/
.breadcrumb {
	margin: 0 0 30px 0;
}
.breadcrumb ul {
	margin: 0 0 0 -.5em;
}

.breadcrumb ul li {
	display: inline;
	padding: 0 .5em;
	border-right: 1px solid #666;
}

/** remove the border on the last link **/
.breadcrumb ul li:last-child {
	border: none;
}

.breadcrumb ul li a:link, .breadcrumb ul li a:visited {
	color: #666;
}

.breadcrumb ul li a.current {
	text-decoration: none;
}

/** callouts **/
.main .callouts {
	background: url(../images/callouts-bkg.gif) repeat-y 235px 0;
	width: 712px;
}
.main .callouts .callout {
	width: 237px;
	float: left;
	display: inline;
}
.main .callouts .last-child {
	width: 238px;
}

.main .callouts .callout h2 {
	text-align: center;
	background: #1b2776 url(../images/callout-title-bg.gif) repeat-x top left;
	margin:0;
	color: #fff;
	font-weight: normal;
	font-size: 182%;
	padding: .5em 0;
}

.main .callouts .callout p {
	margin: 1em;
}

/* happening */
.main .happening {
	border-top: 1px solid #8e94bb;
	padding-bottom: 20px;
	padding-top: 20px;
}

.main .happening .happening-details h3, .main .happening .happening-details h4 {
	color: #1b2776;
	font-weight: normal;
}

.main .happening .happening-details h3 {
	font-size: 159.3%;
	margin: 0;
}

.main .happening .happening-details h4 {
	font-size: 131%;
	padding: 15px 0 0 0;
}

.main .happening .happening-details .offer {
	margin: 0;
}

.main .happening .happening-details {
	margin-left: 21.692em;
}

.main .happening .happening-details a:link, .main .happening .happening-details a:visited {
	text-decoration: none;
}

.main .happening .happening-details a:hover {
	text-decoration: underline;
}

.main .happening img {
	float: left;
	margin: 0 2em;
}
/* @end */

/* @group Common Text Styles */
.center {
	text-align: center;
}
/* @end */

/* @group Default Headings */
h1, h2, h3, h4, h5 {
	color: #1b2776;
	font-weight: normal;
}
/* @end */

/* @group Default Lists */
	
/* @end */

/* @group Nav */
#nav {
	background: #1b2776 url(../images/nav-bg.gif) repeat-x top left;
	height: 40px;
}

#nav ul li {
	list-style: none;
}

#nav ul li a {
	text-align: center;
}

/** set specific widths on nav li's to make it reach across top **/
#nav ul li#nav-item1 {
	width: 83px;
}

#nav ul li#nav-item2 {
	width: 180px;
}

#nav ul li#nav-item3 {
	width: 87px;
}

#nav ul li#nav-item4 {
	width: 103px;
}

#nav ul li#nav-item5 {
	width: 143px;
}

#nav ul li#nav-item6 {
	width: 124px;
}

#nav ul li#nav-item7 {
	width: 105px;
}

#nav ul li#nav-item8 {
	width: 124px;
}

#nav ul li a:link, #nav ul li a:visited {
	font-size: 138.5%;
	color: #fff;
	padding: .5em;
	background: transparent url(../images/nav-separator.png) repeat-y top right;
	text-decoration: none;
}

#nav ul li:hover, #nav ul li.sfhover {
	background: #6297b6 url(../images/nav-hover-bg.gif) repeat top left;
}

/** remove border image from last li **/
#nav ul li:last-child a {
	background-image: none;
}
/* @end */

/* @group Forms */
	
/* @end */

/* @group Default Links - link visited hover active */
a:link, a:visited {
	color: #000;
}
a:hover {
	text-decoration: none;	
}
/* @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 */
