/* Main page styles ================================================== */
body {
	margin:0;
	padding:0;
	background:url(../img/bg-top.jpg) center top repeat-x;
}

html, body {
	height:100%;
}

.container {
	width:960px;
	margin:0 auto;
	position:relative;
}

#header {
	height:87px;
}

div.empty {
	height:20px;
	clear:both;
}

div.clear {
	clear:both;
	width:100%;
	padding:0;
	margin:4px 0 20px 0;
	border-top:1px solid #000;
}

div.row {
	clear:both;
	margin:0;
	padding:0;
}

.dt-only {
	display:block;
}

.picleft {
	float:left;
	margin:0 20px 20px 0;
	clear:left;
}

.picleft2 {
	float:left;
	margin:0 20px 60px 0;
	clear:left;
}

.picright {
	float:right;
	margin:0 0 20px 20px;
	clear:right;
}

.left {
	float:left;
}

.right {
	float:right;
}

.bold {
	font-weight:bold;
}

.italic {
	font-style:italic;
}

.addtop {
	margin-top:20px !important;
}

.addbottom {
	margin-bottom:20px !important;
}

img {
	border-style:none;
}

hr {
	color:#bc7346;
}

#logo {
	float:left;
}

#header-phone {
	position:absolute;
	right:0;
	top:10px;
	color:#214569;
	line-height:30px;
	font-size:24px;
}

#facebook {
	position:absolute;
	top:45px;
	right:0;
}

.shadowed {
	background:url(../img/shadow.png) center top no-repeat;
	clear:both;
	padding:20px 0;
	overflow:hidden;
}

.textured {
	background:url(../img/water-texture.jpg) left top repeat;
	clear:both;
	overflow:hidden;
}

/* Column styles ================================================== */
div.quarter, div.half, div.three-quarters {
	float:left;
	margin-right:20px;
}

div.quarter {
	width:225px;
}

div.half {
	width:470px;
}

div.three-quarters {
	width:715px;
}

div.third {
	float:left;
	margin-right:21px;
	width:306px;
}

div.two-thirds {
	float:left;
	margin-right:21px;
	width:633px;
}

div.left-third, div.middle-third {
	float:left;
	width:305px;
	border-left:1px dotted #214569;
	margin-right:21px;
}

div.right-third {
	float:left;
	width:304px;
	border-left:1px dotted #214569;
	border-right:1px dotted #214569;
}

div.fifth, div.two-fifths, div.three-fifths, div.four-fifths {
	float:left;
	margin-right:25px;
}

div.fifth {
	width:172px;
}

div.two-fifths {
	width:369px;
}

div.three-fifths {
	width:566px;
}

div.four-fifths {
	width:748px;
}

div.last {
	margin-right:0 !important;
	border-right:0 !important;
}

/* Link styles ================================================== */
a:link, a:visited, a:active {
	color:#0060af;
	text-decoration:none;
}

a:hover {
	text-decoration:underline;
	color:#0060af;
}

.dlbutton {
	color:#fff;
	text-decoration:none;
	margin:0;
	padding:2px 9px 5px 9px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	background:#214569;
	font-variant:small-caps;
}

/* Text styles ================================================== */
td,div,p,h1,h2,h3,h4 {
	font-family:Arial, Helvetica, sans-serif;
	font-weight:normal;
}

.centered {
	text-align:center;
}

.left-third>h2, .middle-third>h2, .right-third>h2 {
	padding:0;
	margin:0 0 15px 20px;
}

.left-third>p, .middle-third>p {
	padding:0;
	margin:0 0 15px 20px;
	font-size:18px;
	text-align:justify;
}

.right-third>p {
	padding:0;
	margin:0 20px 15px 20px;
	font-size:18px;
	text-align:justify;
}

a.blue-button {
	float:right;
	display:inline-block;
	color:#fff;
	text-decoration:none;
	background:#214569;
	padding:2px 15px 6px 15px;
	font-style:italic;
	font-variant:small-caps;
	margin:0;
}

a.blue-button-right {
	float:right;
	display:inline-block;
	color:#fff;
	text-decoration:none;
	background:#214569;
	padding:2px 15px 6px 15px;
	font-style:italic;
	font-variant:small-caps;
	margin:0 15px 0 0;
}

a.blue-button-inner {
	display:inline-block;
	color:#fff;
	text-decoration:none;
	background:#214569;
	padding:3px 15px 6px 15px;
	font-size:14px;
	font-style:italic;
	font-variant:small-caps;
	margin:10px 0 0 0;
}

/* Sticky footer styles ================================================== */
#wrap {
	min-height:100%;
	margin-left:auto;
	margin-right:auto;
}

#main {
	overflow:auto;
	padding-bottom:50px;
}  /* must be same height as the footer */

#footer {
	position:relative;
	margin-top:-52px; /* negative value of footer height */
	height:50px;
	clear:both;
	background:#d3dae2;
	font-size:12px;
	font-family:Verdana, Arial, sans-serif;
	border-top:2px solid #214569;
}

#footercontent {
	height:50px;
	position:relative;
}

#copyright {
	position:absolute;
	bottom:10px;
	right:0;
	text-align:right;
}

#copyright a:link, #copyright a:visited {
	text-decoration:underline;
}

/*Opera Fix*/
body:before {
	content:"";
	height:100%;
	float:left;
	width:0;
	margin-top:-32767px;
}

/* Moble styles ================================================== */
@media only screen and (max-width: 479px) {
	.container, div.third, div.left-third, div.middle-third, div.right-third {
		width:100%;
	}
	
	div.left-third, div.middle-third, div.right-third {
		border-right:0;
		border-left:0;
	}
	
	#nav, #header-phone {
		display:none;
	}
	
	.dt-only {
		display:none;
	}
}