/*------------------------------------------------------------------
Davis Square Associates /  Global CSS

Author:			Aleksandr Vladimirskiy	<sasha@solutionset.com>

Methods: 		1. 	CSS FILES ORGANISATION (if more than 1 file needed)
					Abstract 	->	 	Specific (section specific or modules)
					(global.css)		(section/section.css or modules/module.css)
				
				2.	RULES ORGANISATION WITHIN CSS FILES
				 	Should mirror the html document flow:
					General
						Container
							Wrapper
								Body
									Header
									Maincontent/Mainpagecontent
								Sidebar
									Nav
									Quote
									Highlight
								Footer
						Hacks
						(other)
--------------------------------------------------------------------*/

/*If using font size js tool OR elastic, insert default here:*/

/* default font size*/

 /* GENERAL RULES
--------------------------------------------------------------------*/

* {
	/*overwrite all default browser settings*/
	margin: 0;
	padding: 0;
	
	/*global font settings*/
	font-size:16px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
}

body {
	padding: 0;
	margin: 0;
	/*part 1 of centering hack*/
	text-align: center;
	background-color: #edecdb;
}

a, a:visited, a:hover, a:active {
	color:#16396e;
	text-decoration:none;
}

img {
	border:0;
}

#container {
	text-align:left;
}

#wrapper {
	width:744px;
	margin:0 auto;
}

#body {
	width:560px;
	min-height:600px;
	float:left;
	margin-bottom:5px;
}

#header {
	margin:0 auto;
	height:200px;
}

#header h1 {
	padding-top:142px;
	padding-left:12px;
}

#header h1 span{
	visibility:hidden;
}

#maincontent, #mainpagecontent {
	float:left;
}

#mainpagecontent {
	width:548px;
	background-color:#fff;
	border:1px solid #ccc;
	border-top:none;
}

#page {
	position:relative;
	padding:55px 100px 0 12px;
	min-height:450px;
}

#page h5 {
	margin-bottom:5px;
}

#page p {
	line-height:18px;
	margin-bottom:12px;
	text-align:justify;
}

#page ul {
	margin:0 30px;
}

#page li {
	margin:5px 10px;
}

#pagenav {
	position:absolute;
	top:3px;
	right:15px;
	color:#ccc;
}

#pagenav a {
	color:#a13b3c;
}

#evaluation, #learning, #innovation {
	width:180px;
	height:180px;
	float:left;
	position:relative;
}

#evaluation, #learning {
	margin-right:4px;
}

#evaluation {
	background-color:#55749a;
	background-image:url(/images/evaluation.jpg);
}

#learning {
	background-color:#936c39;
	background-image:url(/images/learning.jpg);
}

#innovation {
	background-color:#778146;
	background-image:url(/images/innovation.jpg);
}

#evaluation p, #learning p, #innovation p {
	text-align:center;
	padding-top:76px;
	text-transform:uppercase;
	color:#fff;font-weight:bold;
}

#illustration {
	width:76px;
	height:179px;
	position:absolute;
	left:-76px;
	top:0;
	background-image:url(/images/illustration.jpg);
	background-repeat:no-repeat;
}

.dsra #illustration {
	background-image:url(/images/illustration-tree.jpg);
}

.highlights #illustration {
	background-image:url(/images/illustration-house.jpg);
}

.about #illustration {
	background-image:url(/images/illustration-window.jpg);
}

#sidebar {
	margin-left:560px;
	width:180px;
}

#mainnav {
	height:200px;
}

#mainnav ul {
	padding-top:50px;
	background-color:#7c241f;
	list-style:none;
	list-style-type:none;
}

#mainnav li {
	padding-top:3px;
	padding-bottom:6px;
	border-bottom:1px solid #e0dfc1;
	background-color:#edecdb;
}

#mainnav li a {
	padding-left:20px;
	position:relative;
	left:-20px;
}

#mainnav li a:hover, #mainnav li.current_page_item a {
	background-image:url(/images/bullet.jpg);
	background-repeat:no-repeat;
	background-position:center left;
}

#quote {
	color:#5b421e;
	height:180px;
}

#highlight-trigger {
	position:absolute;
	bottom:3px;
	right:3px;
}

#highlight {
	position:relative;
	height:156px;
	margin-top:4px;
	background-color:#7d8449;
	color:#fff;
	padding:12px;
}

#highlight p {
	padding-top:20px;
}

#highlight a {
	position:absolute;
	left:12px;
	bottom:12px;
	color:#fff;
}

#footer {
	clear:both;
	border-top:1px solid #e0dfc1;
}

#copyright {
	margin-top:5px;
	float:left;
	color:#786444;
}

#footernav {
	margin-top:5px;
}

/* typography */

#mainnav li a, #page *, #page p, #page p strong, #page a, #page p em, #page h5, #pagenav, #pagenav a {
	font-size:11px;
}

#page h5 {
	text-transform:uppercase;
	color:#16396e;
}

#mainnav li a {
	font-weight:bold;
	text-transform:uppercase;
}

#highlight h5, #highlight a, #highlight p, #copyright, #copyright a, #footernav a, #footernav span {
	font-size:10px;
}

#footernav {
	line-height:.4em;
	text-align:right;
}

#highlight h5, #highlight a {
	font-weight:bold;
}

/* CSS HACKS
--------------------------------------------------------------------*/

#body {
	height:auto !important;
	height:600px;
}

#page {
	height:auto !important;
	height:500px;
}

/* clearfix 
--------------------------------*/

.clearfix:after {
    content:"."; 
    display:block; 
    height:0; 
	line-height: 0px; /* RB - Added */ 
    clear:both; 
    visibility:hidden;
}

.clearfix {
	display:inline-table;}

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