/* @todo: reset form? styles
		  footer IE8 version to allow others to use css only?
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
   
   Image replacement method: Improved NIR
*/

html, body, div,
h1, h2, h3, h4, h5, h6, p, blockquote,
a, 
img, ins,
strong, 
ol, ul, li,
/* fieldset, form, label, legend, */
table, caption, tbody, tfoot, thead, tr, th, td
{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
} 
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a { outline: 0; }

/* End reset, begin general styles */

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 87.5%; /* 14px */
	line-height: 1.714em; /* 24px */
	background: #fff;
	color: #000;
}

p {
	padding: 0 10px 1em 0;
}

h3 { 
	padding-bottom: 10px;
	font-size: 1.3em; /* ~18px */
	color: #ae5226;
}
h4 { 
	font-weight: bold;
}

a, a:visited {
	color: #2E6396;
	text-decoration: none;
}
a:hover, a:active, a:focus { 
	text-decoration: underline;
}

strong { font-weight: bold; }
em { font-style: italic; }

.clear { clear: both; }

.bulleted {
	list-style: disc;
	margin-left: 70px;
	line-height: 1.4em;
	padding-bottom: 10px;
}
.bulleted.wide{
	margin-left: 30px;
	padding: 0;
	line-height: 1.5em;
}
.bulleted.wide li {
	padding-bottom: 10px;
}

/* Global structure - header, logo, footer, etc. */
.container {
	width: 1100px;
	margin: 0 auto;
	clear: both;
	overflow: hidden;
}
#header-wrapper {
	height: 39px;
	background:#8d2d1d;
}
.header {
	width: 1020px;
	margin: 0 auto;
	position: relative;
}
.header p {
	color: #fff; 
	font-size: 11px; 
	float: left; 
	margin: 7px 0;
	padding: 0;
}
	
.logo {
	float: left;
	margin: 29px 0 20px 90px;
}
.logo-right {
	float: right;
	margin: 29px 75px 20px 0;
}
.logo h1 {
	height:98px; /* height of replacement image */
    width:350px; /* width of replacement image */
	overflow:hidden;
}
.logo h1:before {
    content:url('../images/abinader-logo.png');
    display:inline-block;
    font-size:0;
    line-height:0;
}
.logo-right h2 {
	height:77px; /* height of replacement image */
    width:325px; /* width of replacement image */
	overflow:hidden;
}
.logo-right h2:before {
    content:url('../images/logo-right.png');
    display:inline-block;
    font-size:0;
    line-height:0;
}

.footer {
	margin: 0 auto;
	margin-top: 10px;
	width: 964px;
	height: 100px;
	position: relative;
	font-weight: bold;
	font-size: 12px;
	background: url('../images/footer.png') no-repeat top;
	/* @todo: make an IE8 version so others can use CSS */
	/* -webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 14px;
	-webkit-box-shadow: 0px 0px 2px 2px rgba(82,37,31,0.56);
	-moz-box-shadow:    0px 0px 2px 2px rgba(82,37,31,0.56);
	-ms-box-shadow:     0px 0px 2px 2px rgba(82,37,31,0.56);
	-o-box-shadow:      0px 0px 2px 2px rgba(82,37,31,0.56);
	box-shadow:         0px 0px 2px 2px rgba(82,37,31,0.56); */
}
.footer .copyright {
	padding: 10px 20px;
	color: #fff;
}
.footer h6 {
	height:30px; /* height of replacement image */
    width:30px; /* width of replacement image */
	overflow:hidden;
	position: absolute;
    right: 155px;
	top: 50px;
}
.footer h6:before {
    content:url('../images/thumbtack.png');
    display:inline-block;
    font-size:0;
    line-height:0;
}
.footer span {
	position: absolute;
    right: 10px;
	top: 52px;
	color: #ae5226;
}

/* These styles create the dropdown menus. */
#nav{
	position:absolute;
	right: 0; top: 0;
	border-left:1px solid #777;
}
#nav a{
	display:block;
	font-family:'Lucida Grande',Helvetica,Arial,Verdana,sans-serif;
	color:#fff;
	height:25px;
	text-decoration: none;
	text-shadow:1px 1px 1px #333;
	padding:7px 10px;
	border-right:1px solid #777;
	background:#8d2d1d;
}
#nav a:hover { background:#ae5226; }
#nav li {
	float: left; 
}
#nav li ul{
	position: absolute;
	left:-999em;
}
#nav li:hover ul {
	left:auto;
}
#nav #connect:hover ul {
	right: 0;
	text-align: right;
}
#nav li li {
	width: 160px;
	clear: left; /*not having this will bug out IE8 */
	border:1px solid #777;
} 

/* Home page styles */
.home-main-image {
	width: 683px;
	height: 344px;
	margin: 0 auto;
	margin-bottom: 50px;
	background: url('../images/main-image.jpg');
}
.nav-main {
	margin-top: 257px;
	float: left;
	width: 165px;
	height: 87px;
	padding-left: 5px;
	line-height: 28px;
	border: 1px solid #FFF;
	border-left: 0;
	color: #fff;
	font-size: 19px;
	font-weight: bold;
	background: url('../images/main-nav.png') repeat-x top;
	background: rgba(0,0,0,0.5);
}
.nav-main:hover {
	background: #fff;
	color: #2E6396;
	cursor: pointer;
}
.nav-main.last {
	width: 163px;
	background: url('../images/main-nav-last.png') repeat-x top;
	background: rgba(255,255,255,0.5);
}

.nav-main a {
	display: block; 
	color: #fff; 
	text-decoration: none; 
	outline: none;
	height: 87px;
}
.nav-main a:hover, .nav-main a:active  { color: #2E6396; }
.nav-main.last a { color: #000; position: relative; }
.nav-main.last a span { 
	color: #2e6396;
	line-height: 15px;
	font-size: 13px;
	position: absolute;
	top: 35px;
}

.main-image {
	margin-left: 75px;
}
.header-text {
	float: left;
	color: #FFF;
}
img.inline { max-width: 550px; }

/*Subpage styles*/

.subpage-image { 
	float: right;
	width: 383px;
	margin-right: 60px;
	margin-top: 40px;
}
.subpage-image img { max-width: 100%; }

.subpage-text {
	float: left;
	text-align: left;
	width: 550px;
	padding-left: 90px;
	font-size: 14px;
	position: relative;
}

.signature { padding: 10px 0 30px 0; }

.quote {
	position:absolute;
	top: 330px;
	padding-left: 10px;
}

.case-studies-text {
	width: 882px;
	text-align: left;
	margin-left: 100px;
}
.contact-text {
	width: 277px;
	float:left;
	text-align: left;
	height: 600px;
	margin-left: 90px;
}
.contact-text h4 { font-weight: normal; }
.contact-text p { font-size: 1.3em; color: #36f; }
.contact-form {
	width: 250px;
	float:left;
	text-align: left;
	height: 600px;
	margin-left: 50px;
}
textarea { 
	width: 250px; 
	height:200px;
}
.contact-image {
	float: right;
	height: 306px;
	width: 383px;
	margin-right: 20px;
	margin-top: 0px;
}

#vsTable {
	margin: 20px 0;
	font-size: 0.857em; /* 12px */
	background: #F5FAFA;
	color: #707070;
	line-height: 1.25em;
}
#vsTable .left {
	width: 250px;
	padding-left: 10px;
	text-align: left;
}
#vsTable .title {
	width: 126px; 
}
#vsTable .hover {
	background: #ebeff4; /* CSS won't allow text-decoration styles for colgroups */
}
#vsTable th { height: 50px; padding: 10px 0; vertical-align: top; line-height: 1.4em; }
#vsTable td { height: 40px; vertical-align: middle; }
#vsTable th, #vsTable td {
	text-align: center;
}
#vsTable a {
	width: 100%;
	height: 100%;
	display: block;
}
#vsTable td img {
	position: relative;
	top: 14px;
}

.expandable {
	width: 435px;
	margin: 10px 35px;
	display: none;
}
.expandable ul {
	margin-left: 35px;
	list-style: circle;
}
.expandable ul ul {
	list-style: disc;
}
h4.button {
	font-size: 1.3em;
	color: #000;
	padding: 1em;
}
h4.button:hover {
	text-decoration: underline;
	cursor: pointer;
}

.column.left {
	margin: 0 0 20px 90px;
	width: 505px;
	float: left;
}
.column.right {
	width: 505px;
	float: left;
}
.column.thin { margin-bottom: 0; }
.column.left img,
img.pdf { padding-left: 5px; position: relative; top: 5px; }

.indent { display: block; }
.indent.middle { margin-left: 3em; }
.indent.right { margin-left: 4em; }

blockquote {
	margin: 1.5em 3em;
}
blockquote.big {
	margin: 0.5em 2em 3.5em 2em;
	color: #8d2c1d;
	font-size: 1.3em;
	font-weight: bold;
}
.quote { 
	color: #8d2c1d;
	font-weight: bold;
	position: absolute;
	right: 0; top: 9em;
}
.quotemark.left{
	width: 21px;
	height: 17px;
	float: left;
	margin-right: 0.5em;
	position: relative;
	bottom: 0.25em;
	background: url('../images/quotes.png');
}
.quotemark.right{
	width: 22px;
	height: 17px;
	float: right;
	margin-left: 0.5em;
	position: relative;
	bottom: 0.25em; right: 1em;
	background: url('../images/quotes.png') top right;
}