﻿/* LAYOUT -------------*/

* { margin: 0; padding: 0; }

body {
	font: 80% Georgia, Times New Roman, Serif;
	background: #333 url(../images/bgMansion.jpg) no-repeat top right;
}

#wrapper {
	margin: 15px auto;
	width: 985px;
	clear: both;
}

#header {
	margin: 0px auto;
	background: #000;
	overflow: hidden;
	padding: 0 20px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

#info {
	margin: 50px auto 0 auto;
	width: 940px;
	color: #fff;
	overflow: hidden;
	font-size: 1.2em;
	text-align: right;
}
#info a {
	color: #fff
}
#info a:hover {
	text-decoration: underline;
}

/* SEARCH ************/
div.search {
	margin-right: 5px;
	float: right;
	height: 34px;
}
input.search {
	border: 1px solid #ccc;
	width: 198px;
	height: 28px;
	color: #ccc;
	font-size: 1.2em;
	font-family: Georgia, Times New Roman, Serif;
	padding: 5px 0 0px 3px;
	outline: none;
	float: left;
	margin: 0px 5px 0 0;
}
input.searchButton {
	background: url('../images/searchButton.png') no-repeat;
	border: none;
	width: 43px;
	height: 34px;
	cursor: pointer;
	margin-bottom: 6px;
	float: left;
}

#pageWrapTop {
	margin: 0 auto;
	height: 29px;
	background: url('../images/pageWrapTop.png') no-repeat;
}
#pageWrap {
	margin: -1px 0 0 0;
	min-height: 600px;
	background: url('../images/pageWrap.png') repeat-y;
	overflow: hidden;
	text-align: left;
}
#pageWrapBottom {
	height: 29px;
	background: url('../images/pageWrapBottom.png') no-repeat;
}

#mainContent {
	padding: 0 23px 15px 50px;
	float: left;
}
#subContent {
	width: 680px;
	float: right;
	padding: 0 0 0 10px;
}

#sidebar {
	margin: 0 10px 0 0;
	width: 200px;
	float: left;
	padding: 10px 5px 77px 2px;
	background: #76919A url('../images/agmLogo.png') bottom right no-repeat;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-border-radius: 5px;
	color: #fff;
}

#sidebar ul{
	font-size: 1.2em;
	font-style: italic;
	list-style-type: none;
	padding: 0 0 0 5px;
}
#sidebar ul li {
	margin: 0 0 5px 0;
}


#feature {
	margin:  0px 0 0 38px;
	background: url('../images/featureBg.png') bottom left no-repeat;
	height: 410px;
}

div.home {
	width: 280px;
	float: left;
	margin: 0 30px 0 3px;
}
div.last {
	margin-right: 0;
	width: 280px;
	float: left;
}

#footer {
	margin: 10px auto;
}
#footer logo {
  
}


/* NAVIGATION -----------*/
#nav {
	margin: 20px 0 0 0;
	font-size: 1.3em;
	float: right;
}
#nav li { 
	display: inline;
	margin: 0 7px 0 0;
}
#nav li a, a:link {
	text-decoration: none;
	color: #ffffff; 
}
#nav li a:hover {
	color: #76919A;
}
#nav li a:focus {
	color: #76919A;
}
#nav li a.active {
	color: #76919A;
}

#subNav {
	float: right;
	margin-top: 5px;
	font-size: 0.9em;
	color: #fff;
}
#subNav li { 
	display: inline;
	margin: 0 7px 0 0;
	padding: 0 0 0 5px;
}
#subNav li a, a:link {
	text-decoration: none;
	color: #ffffff; 
}
#subNav li a:hover {
	color: #76919A;
}
#subNav li a:focus {
	color: #76919A;
}

/* TYPOGRAPHY ------------*/
h1, h2, h3, h4, h5, h6 { margin: 0 0 5px 0; }
h2 {
	font-size: 2em;
	color: #76919A;
	font-weight: 200;
}

h3 { font-size: 1.6em; }
h4 { font-size: 1.4em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1em; }
#header h1 {
	float: left;
	margin: 12px 0 0 0;
}

p {
	font-size: 1.2em;
	margin: 0 0 10px 0;
	line-height: 22px;
}
#mainContent a {
	color: #76919A;
}

a img {
	border: none;
}
hr {
	border: none;
	height: 1px; line-height: 1px;
	background: #cccccc;	
	margin: 10px 5px 20px 0;
	padding: 0;
}
#sidebar h3 {
	margin: 10px 0 5px 0px;
}

#sidebar p {
	font-style: italic;
	padding: 0 0 0 5px;
}
#sidebar a {
	color: #fff;
	text-decoration: underline;
}
#sidebar address {
	padding: 0 0 0 5px;
	font-size: 1.1em;
}
.bold {
	font-weight: bold;
}


/* MISC ------------*/

img.floated {
	float: right;
	margin: 5px;
}
img.floatedLeft {
	float: left;
	margin: 5px;
}

.clear {
	clear: both;
}
.extraPadding {
	padding-bottom: 15px; 
}
.transparent {
	filter:alpha(opacity=85);
	-moz-opacity:0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
}

.accordion {
	margin: 0 0 25px 0;
}

#feature img { display: none; }
#feature img.first { display: block; }


/* slightly enhanced, universal clearfix hack */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
.clearfix { display: inline-block; }

/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* stop commented backslash hack */