/*
	Color pallete
	brown: rgb(52,46,37)
	light brown: rgb(164,157,128)
*/

body{
	font: normal normal normal 82%/1.5em Georgia, Palatino, 'Palatino Linotype', serif;
	position: relative;
	text-align: center;
	margin: 0 auto;
	color: rgb(52,46,37);
	line-height: 2em;
	background: #221B13;
}
header, section, nav, article, abbr, aside, footer{
	display: block;
	text-align: left;
}
article{
	height: 100%;
	position: relative;
	padding: 1em;
	margin: 0 auto;
}
article footer abbr{
	position: absolute;
	top: 0;
	left: -60px;
	color: #fff;
	height: 42px;
}
article footer abbr span.year{
	position: absolute;
	bottom: 0;
	right: 0;
}
article footer aside{
	position: absolute;
	top: 40px;
	left: -60px;
}
h1, h2{
	text-transform: uppercase;
	font-family: Georgia;
}
a{
	color: rgb(52,46,37);
	text-decoration: underline;
}
ol.hfeed{
	list-style: none;
}
section.frame, #header{width: 975px;}
section.frame{
	margin: 0 auto;
	background: transparent url("../images/top_background.jpg") 0 0 repeat;
	
}
#header{
	height: 104px;
	background: transparent url("../images/header_background.gif") 0 0 repeat-x;
	margin: 0 auto -5px auto;
	z-index: 5;
}
#header nav{
	width: 969px;
	margin: 0 auto;
}

#header #logo{
	display: block;
	width: 123px;
	height: 85px;
	background: transparent url("../images/c5_logo.png") 0 0 no-repeat;
	float: left;
	position: relative;
	text-decoration: none;
}
a.styled span{
	display: block;
	text-indent: -9999px;
}
#header #logo span{
	text-indent: 0px;
	position: absolute;
	font-variant: small-caps;
	top: 25px;
	left: 125px;
	font-weight: bold;
	font-size: 17px;
	width: 150px;
	height: 60px;
	text-align: center;
}

#body{
	width: 969px;
	margin: 0 auto;
}
#aboutus{
	width: 511px;
	float: left;
	margin-right: 59px;
	height: 310px;
}
#aboutus h1{
	height: 60px;
}

.weare h1{
	background: transparent url("../images/we_are.png") 0 0 no-repeat;
}
.weare h1 span{
	display: block;
	text-indent: -9999px;
}
#latest_post{
	background: transparent url("../images/divider.png") 0 40px no-repeat;
	height: 290px;
	margin: 0 0 0 551px;
}
#latest_post h2{
	font-size: 1.2em;
	font-style: italic;
	text-transform: none;
	background: #D1CFC0;
	padding: .5em;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
#portfolio{
	margin: 3em auto;
	background: transparent url("../images/slider_background.png") 41px 0 no-repeat;
	height: 360px;
	position: relative;
}

#portfolio ol{
	list-style: none;
	margin: 0 auto;
	padding: 0;
	height: 200px;
	position: relative;
	width: 890px;
}
#portfolio ol li{
	display: block;
	float: left;
	height: 100%;
	width: 290px;
	background: transparent url("http://images.easyimg.com/3f0e28df/w-290/h-200/r-5/fc-fff/bw-1/bc-transparent/nc/portfolio_bg.png") 0 0 no-repeat;
	margin: 5px 3px auto;
}
#portfolio ol li div{
	height: 100%;
	width: 100%;
	text-align: center;
	margin: 0 auto;
}
#portfolio ol li div img{
	margin: 10px 0 10px 0;
}
#portfolio ol li p{
	padding: 0 10px 0 10px;
}
#view_portfolio_link{
	position: absolute;
	top: 320px;
	right: 50px;
}

#testimonials{
	font-style: italic;
}
#testimonials ol li{
	float: left;
	display: block;
	width: 250px;
	margin-right: 40px;
}

#footer{
	position: relative;
	margin: 0 auto;
	text-align: center;
	font-weight: bold;
	height: 109px;
	padding: 0;
	display: block;
	background: transparent url("../images/footer_background.jpg") 0 0 repeat-x;
}
#footer ol{
	margin: 0 auto;
	padding: 0 0 0 15px;
	height: 100%;
	width: 700px;
	background: transparent url("../images/star.png") left 45px no-repeat;
	list-style: none;
}
#footer ol li{
	float: left;
	padding: 0 30px 0 15px;
	background: transparent url("../images/star.png") right 45px no-repeat;
	line-height: 113px;
}
#footer a{
	color: #A49D80;
	text-transform: uppercase;
	display: block;
	text-decoration: none;
	font-weight: normal;
}
#footer #copy{
	margin: 0;
	padding: 0;
	position: absolute;
	top: 30px;
	right: 100px;
	width: 110px;
	height: 44px;
	background: transparent url("../images/copy.png") 0 0 no-repeat;
}
#footer #copy span{
	display: block;
	text-indent: 30px;
	margin-top: 10px;
	color: rgb(164,157,128);
}
a.link{
	background: transparent url("../images/link.png") right no-repeat;
	padding: 0 50px 0 0;
	text-transform: uppercase;
	font-style: italic;
}
#view_blog, #learn_more{
	position: absolute;
	bottom: 0;
	right: 50px;
}

a.button{
	display: block;
	width: 240px;
	height: 40px;
	display: block;
	text-indent: -9999px;
}
#learn_more{
	background: transparent url("../images/learn_more_about_us.png") 0 0 no-repeat;
}
#hired_hand{
	background: transparent url("../images/need_a_hired_hand.png") 0 0 no-repeat;
	float: right;
	margin-top: 20px;
}

/*Tooltip and Pointer CSS*/
/* Tooltip code and technique from http://www.filamentgroup.com/lab/image_free_css_tooltip_pointers_a_use_for_polygonal_css/*/
.fg-tooltip {
	padding: .8em;
	border-width: 2px !important;
	position: absolute;
	background: transparent url("http://images.easyimg.com/3f0e28df/w-300/h-100/r-5/fgc-000/bw-1/bc-transparent/fc-000/nc/message_tooltip.png") 0 0 no-repeat;
	color: #fff;
}
.fg-tooltip .fg-tooltip-pointer-down, .fg-tooltip .fg-tooltip-pointer-down-inner {
	position: absolute; 
	width:0; 
	height:0; 
	border-bottom-width: 0;
	background: none;
}
.fg-tooltip .fg-tooltip-pointer-down {	
	border-left: 7px solid transparent; 
	border-right: 7px solid transparent;
	border-top-width: 14px;
	bottom:	-14px;
	right: auto;
	left: 50%;
	margin-left: -7px;
}
.fg-tooltip .fg-tooltip-pointer-down-inner {
	border-left: 5px solid transparent; 
	border-right: 5px solid transparent;
	border-top: 10px solid rgb(0,0,0);
	bottom:	auto;
	top: -14px;
	left: -5px;
}

/* arrow to the left*/
.fg-tooltip .fg-tooltip-pointer-left, .fg-tooltip .fg-tooltip-pointer-left-inner {
	position: absolute; 
	width:0; 
	height:0; 
	border-bottom-width: 0;
	background: none;
}
.fg-tooltip .fg-tooltip-pointer-left {	
	border-top: 7px solid transparent; 
	border-bottom: 7px solid transparent;
	border-top-width: 14px;
	bottom:	-14px;
	right: auto;
	top: 50%;
	margin-left: -14px;
}
.fg-tooltip .fg-tooltip-pointer-left-inner {
	border-top: 5px solid transparent; 
	border-bottom: 5px solid transparent;
	border-right: 10px solid rgb(0,0,0);
	bottom:	auto;
	top: -57px;
	left: -5px;
}

/**/

.errors{
	color: rgb(255,255,255);
	line-height: 1.5em;
	margin-right: 3em;
	opacity: .7;
	filter: alpha(opacity=70);
}
.errors h1{
	font-size: 1.5em;
	font-weight: normal;
	margin-bottom: .5em;
	color: rgb(255,255,255);
}
.errors li{
	list-style: disc;
	list-style-position: inside;
	padding: 0 1em 0 1em;
}
.message{
	height: 100%;
}
#user_message{
	position: absolute;
	top: 17px;
	left: 290px;
	width: 300px;
	height: 100px;
}
#message_form{
	position: absolute;
	width: 462px;
	height: 227px;
	top: 0;
	left: 0;
	background: transparent url("../images/message.png") 0 0 no-repeat;
	margin: 0;
	padding: 0;
}
#message_form fieldset{
	border: none;
}
#message_form fieldset p{
	padding: 0;
	margin: 0 0 30px 0;
	position: relative;
}
#message_form fieldset p.last{
	margin: 0;
}
#message_form fieldset legend{
	display: none;
}
#message_form label
, #message_form input
, #message_form textarea{
	font-size: 1.5em;
	
}
#message_form label{
	display: block;
	position: absolute;
	z-index: 2;
}
#message_form input{
	border: none;
	position: absolute;
}
#message_form textarea{
	width: 100%;
	border: none;
	margin: 0;
	padding: 0;
}
#message_form .close{
	text-decoration: none;
	position: absolute;
	top: 0;
	right: 5px;
	font-size: 1.5em;
	font-weight: bold;
}
