/* CSS reset (adapted from Blueprint CSS 0.81) */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-style: inherit;
  font-weight: inherit;
  font-size: 100%;
  vertical-align: baseline;
}
/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }
/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
/* Remove annoying border on linked images. */
a img { border: none; }

ul li, ol li, img { vertical-align: bottom; } /* IE6-7 margin bugfix */
/* end CSS reset */

h1, h2, h3, h4, h5, h6, p, pre, blockquote, form, ul, ol, dl { margin: 6px 0 0 0; }
body { line-height: 1.5; }

/* Main application stylesheet */
/* general tag styles */
body {
    background-color: #fff;
    text-align: center;
    font-size: 11px;
    font-family: tahoma, verdana, sans-serif;
    color: #000;
    margin: 0px;
	font-weight: bold;
    } 

li, dd, blockquote { margin-left: 20px; }
ul{ list-style-image: url(/images/bullet.png); }  

h1,h2,h3,h4,h5,h6 { font-size: 1em; font-weight: bold; color: #8F0000; line-height: 1; margin-bottom: 0.5em; }
h1 { font-size: 1.7em; }
h2 { font-size: 1.3em; color: #000; font-family: Palatino, Times, serif; }
td { vertical-align: top; text-align: left; }         
th { vertical-align: top; text-align: left; font-weight: bold; }

hr{
	margin-top: 30px;
	margin-bottom: 30px;
}

h1{
	font-family: Palatino, Times, serif;
	color: #921015;
	background: url(/images/h1-bg.png) repeat-x;
	padding-bottom:25px;
	font-size: 20px;
}

a { color: #8F0000; text-decoration: none; }
a:visited { color: #8F0000; }
a:hover { color: #8F0000; text-decoration: underline; }

p{ padding-bottom: 10px; }

/* useful general styles */
.bold { font-weight: bold; }
.left { float: left; } 
.clear { clear: both; }
.center  { text-align: center; } 
ol.alpha { list-style-type: lower-alpha; }
hr.dot{ background: url(/images/hr-dot.png) repeat-x; border: 0px !important; margin-bottom: 12px; margin-top: 10px; }

/* outer container styles */
#primary_wrapper {
    margin: auto;
    margin-top: 0px;
    width: 960px;
    }

#secondary_wrapper {
    width: auto;
    padding: 0px;
    float: left;
    text-align: center;
    background-color: #fff;
    }

/* header */
#header { 
    float: left; 
    clear: right;
    width: 960px;
	padding-top: 30px;
	padding-bottom: 30px;
    text-align: left;
}

#header #logo { float: left; }

#header #address { float: right; text-align: right; width: 397px; }
    
/* content_for_layout container */
#main_content {
    float: left;
    width: 960px;
    color: #000;
    text-align: left;
	margin-bottom: 60px;
	font-size: 12px;
	padding-top: 20px;
	line-height: 1.8;
    }

#contact-left{
	float: left;
	width: 380px;
}
#contact-right{
	float: right;
	width: 512px;
	text-align: right;
}

.content_block ul{
	margin-left: -2px;
}

#left-nav{
	float: left;
	width: 220px;
	margin-right: 20px;
}
#left-nav ul{
	float: left;
	list-style-type: none !important;
	margin: 0px;
	padding: 0px;
	margin-top: 10px;
}
#left-nav ul li{
	float: left;
	padding: 0px;
	margin: 0px;
	list-style-type: none !important;
	padding-bottom: 20px;
	padding-left: 0px;
}
#left-nav ul li a{
	display: block;
	width: 199px;
	padding-left: 10px;
}

#subnav-content{
	float: left;
	width: 720px;
}

/* footer */
#footer {
    float: left;
	width: 960px;
    font-size: .8em;
    background: #000;
    color: #fff;
	text-align: center;
	margin-bottom: 20px;
	font-weight: normal !important;
    } 

#footer #copyright, #footer #credits, #footer #credits a {
	color: #fff;
    }

#details{
	float: left;
	width: 500px;
	padding: 10px 0px 0px 10px;
	text-align: left;
}
#details a{
	color: #fff;
}

#linkedin{
	float: right;
	width: 280px;
	text-align: right;
	padding-right: 10px;
	padding-top: 10px;
}

#credits a { text-decoration: none; color: #000; }
#credits a:hover { text-decoration: underline; }

#flash-notice, #flash-error, #flash-success { float: left; padding: 3px 10px; font-weight: bold; margin-top: 10px; width: 940px; text-align: center; }
#flash-notice { color: black; background-color: #fff1a8; }
#flash-error { color: white; background-color: #cc0000; }
#flash-success { color: black; background-color: #e6efc2; }

/* Forms (adapted from Blueprint CSS 0.81) */

form.formtastic label    { display: block; width: 100px; display: inline-block; line-height: 1.2em; vertical-align: top; padding-top: 5px; }
form.formtastic ul       { list-style-type: none; }
form.formtastic abbr[title=required] { margin-left: 2px; color: red; text-decoration: none; border-bottom: none; }
form.formtastic .inline-errors { display: none; }
form.formtastic .inline-hints { display: inline; font-size: 0.8em; margin-left: 3px; }
form.formtastic li.error input, form.formtastic li.error textarea, form.formtastic li.error select { background: #fff4f4; border-color: #ff0000; }

label       { font-weight: bold; }
fieldset    { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size:1.2em; }
label { line-height: 3em; }

input[type=submit] { margin: 10px 0 10px 120px; }

input[type=text], input[type=password],
input.text, input.title,
textarea, select {
  background-color:#fff;
  border:1px solid #bbb;
}
input[type=text]:focus, input[type=password]:focus,
input.text:focus, input.title:focus,
textarea:focus, select:focus { border-color:#666; }

input[type=text], input[type=password],
input.text, input.title, textarea, select { margin:0.5em 0; }

input.text,
input.title   { width: 300px; padding:5px; }
input.title   { font-size: 1.5em; }
textarea      { padding: 5px; }

input[type=checkbox], input[type=radio],
input.checkbox, input.radio {
  position:relative; top:.25em;
}

form.inline { line-height:3em; }
form.inline p { margin-bottom:0; }

/* form errors */
.fieldWithErrors input, .fieldWithErrors textarea, .fieldWithErrors select {
	border: 1px solid red !important;
} 
.fieldWithErrors {
	display: inline;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px 7px 0px 7px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px -7px -3px -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

/* navbar */
.sf-menu {
	float: left;
	width: 960px;
	min-height: 43px;
	background: url(/images/nav-bg.png) repeat-x;
	background-color: #8d0e12;
}
.sf-menu a {
	text-decoration: none;
	font-weight: normal !important;
}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color: #fff;
}

.sf-menu li .current {
    text-decoration: underline;
}    

.sf-menu li {
	font-family: Palatino, Times, serif;
	display: block;
	padding: 14px 56px 14px 55px;
	font-size: 140%;
}
.sf-menu li li {
	background: #444;
}
.sf-menu li li li {
	background: #555;
}
.sf-menu li:hover, .sf-menu li.sfHover,
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
	text-decoration: underline;
	color: #fff;
}

.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu {
	line-height: 1.0;
}
.sf-menu ul {
	position: absolute;
	top: -999em;
	width: 10em; /* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
	width: 100%;
}
.sf-menu li:hover {
	visibility: inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	float: left;
	position: relative;
}
.sf-menu a {
	display: block;
	position: relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left: 0;
	top: 2.5em; /* match top ul list item height */
	z-index: 99;
}
ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top: -999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	left: 10em; /* match ul width */
	top: 0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top: -999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left: 10em; /* match ul width */
	top: 0;
}

.sf-menu a.sf-with-ul {
	padding-right: 2.25em;
	min-width: 1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position: absolute;
	display: block;
	right: .75em;
	top: 1.05em; /* IE6 only */
	width: 10px;
	height: 10px;
	text-indent: -999em;
	overflow: hidden;
	background: url('/images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top: .8em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}

a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

.sf-shadow ul {
	background:	url('/images/shadow.png') no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}
