a, a:link, a:visited {
    color: #aa0000;
}

h1 {
  font-weight:400;
	font-size: 2em;
	margin: 20px 0;
}

h2 {
  font-size: 1.8em;
}

h2 a, [role="main"] h2 a, [role="main"] h3 a {
  color: #333;
  text-decoration: none !important;
  background-image: linear-gradient(to top,
    rgba(0,0,0,0) 5%,
    rgba(0,0,0,.4) 7%,
    rgba(0,0,0,.4) 9%,
    rgba(0,0,0,0) 9%
    );
}

h2 a:hover, [role="main"] h2 a:hover, h3 a:hover, h2.panel-title a {
  color: #a00;
  background-image: none;
}

h3, .h3, aside h2 {
  font-size: 1.5em;
	margin-bottom: 0;
}

aside h2 + form {
  margin-top: 10px;
}

aside h3 {
  font-size: 1.2em;
}

h3:first-child, h4:first-child { 
   margin-top: 0;
}

section h2 {
    color: #333;
    text-align: left;
    margin-bottom: 10px;
    display: block;
    white-space: normal;
    text-transform: none;
}

section h2.h3 {
    color: #333;
    text-align: left;
    margin-bottom: 10px;
    display: block;
    white-space: normal;
    text-transform: none;
}

#content h3 + p, #content h3 + ul, #content h3 + ol, #content h3 + dl, #content .h3 + p, #content .h3 + ul, #content .h3 + ol, #content .h3 + dl, #content aside h2 + p, #content aside h2 + ul, #content aside h2 + ol, #content aside h2 + dl  {
    margin-top: .4em;
}

h3 + h4, h3 + div h4:first-child, h3 + img, h3 + div img:first-child {
  margin-top: 10px;
}

section h4, h4 {
  color: #333;
}

h5 {
  font-size: 1.1em;
	font-weight: 600;
	margin-bottom: 0;
}

#content h5 + p, #content h5 + ul, #content h5 + ol, #content .h5 + p, #content .h5 + ul, #content .h5 + ol {
    margin-top: .4em;
}

figure + h2, .figure + h2, figure + h3, .figure + h3 {
margin-top: 1.4em;
}


p {margin-bottom: 14px;}

img {
	max-width: 100%;
	height: auto;
}

img.media-object {
	max-width: none;
}

.leftfloat, .rightfloat {
    display: block;
}


blockquote footer {
  background-color: transparent;
	color: #333;
	text-align: right;
	padding-top: 14px;
}

blockquote footer cite {
	font-style: italic;
}


blockquote footer cite em {
	font-style: normal;
}

/*blockquote footer cite:before {
    content: '—';
}*/

blockquote + h2 {
    margin-top: 0;
}

table {
  width: 100%;
  padding: 0;
  margin-bottom: 2.5em;
}

table th, table td {
  padding: 5px 5px 4px;
  text-align: left;
}

table th {
  font-weight: bold;
  vertical-align: middle;
}

table td, table tbody th {
  vertical-align: top;
}

table td {
  border-top: 1px solid #ddd;
}

.zebra-striped tbody tr:nth-child(odd) td, .zebra-striped tbody tr:nth-child(odd) th {
  background-color: #efefef;
}

.cross-striped:hover tbody tr:nth-child(odd) td {
  background-color: transparent;
}

.zebra-striped tbody tr:hover td {
  background-color: #fdffc0 !important;
}

.cross-striped {
  overflow: hidden;
}

.cross-striped tbody td, .cross-striped tbody th {
  position: relative;
}

.cross-striped tbody td:hover::after,
.cross-striped tbody th:hover::after {
  content: "";
  position: absolute;
  background-color: #fdffc0;
  left: 0;
  top: -5000px;
  height: 10000px;
  width: 100%;
  z-index: -1;
}

ol ol {
  list-style-type: lower-alpha;
}

ol ol ol {
  list-style-type: upper-roman;
}

ol ol ol ol {
  list-style-type: decimal;
}

dt, dd {
  font-size: 16px;
  line-height: 1.5em;
}

dd {
  margin-bottom: 1.5em;
}

dd + dd {
  margin-top: -1.4em;
}

dl.list-inline {
  margin-left: 0;
}

dl.list-inline dt:after {
  content: ":";
}

dl.list-inline dd {
  padding-right: 20px;
  padding-left: 3px;
  margin-bottom: 0;
}


dl.list-inline dt, dl.list-inline dd {
  display: inline-block;
}

.row ~ hr {
  margin-bottom: 30px;
}

hr ~ .row blockquote footer {
  padding-bottom: 0;
}

#global-dropdown .dropdown-toggle {
    padding-top: 5px;
}

#global-dropdown a:hover, #global-dropdown a:active, #global-dropdown a:focus {
    background: #666 !important;
    color: #fff;
    }
    
.panel {
    -webkit-box-shadow: none;
    box-shadow: none;
    }
    
.form-check-inline+.form-check-inline {
    margin-left: .90em;
}
    

/* -------- main content -------- */

main a, body.land #main-container a {
    text-decoration: underline;
}

#content {
  padding-bottom: 30px;
  margin-top: 50px; 
  }


#content li ul, #content li ol {
  margin-bottom: 0;
  }

#content address {
  margin-top: 10px;
  }

#content dd address {
  margin-top: 0;
  }

/* -------- accordian -------- */


h2.panel-title a {
  display: block;
  border-bottom: none;
}






/* ----------------------------------------------------- */
/* ----------------------------------------------------- */
/* ----------------------------------------------------- */




/* ---------------iconised links------------------------- */

@media screen {

a[href$='.pdf'], a[href$='.PDF'], a[href$='.doc'], a[href$='.DOC'], a[href$='.docx'], a[href$='.DOCX'] {
    padding-right:20px;
}

a[href$='.pdf']:after, a[href$='.PDF']:after {
	content: ' \f1c1';
	font-family: FontAwesome;
	color: #000;
	position: absolute;
    padding-left:5px;
	font-weight: 400;
}

a[href$='.doc']:after, a[href$='.DOC']:after, a[href$='.docx']:after, a[href$='.DOCX']:after {
	content: ' \f1c2';
	font-family: FontAwesome;
	color: #2a3281;
	position: absolute;
    padding-left:5px;
	font-weight: 400;
}
	
}



/* ----------------------------------------------------- */
/* ----------------------------------------------------- */
/* ----------------------------------------------------- */


@media only screen and (max-width: 480px) {
    #site-heading { padding-top: 0; }
	#search-stack { top: 0; }
	.navbar-default .navbar-toggle { border: 1px solid #ddd; width: auto; padding: 9px 10px; max-height: none; top: 0; }
    .navbar-collapse { top: 30px; }
    

}

@media (min-width: 768px) {
	#main-container	p.intro {font-size: 1.5em; line-height: 1.6em; margin: 6px 0 30px 0;}
	blockquote {border-left: none;margin: 3em; margin-left: 6.4em;}
	blockquote.extended {margin: 1em; margin-left: 2em;}
	blockquote:last-child {margin-bottom: 0;}
	blockquote p {font-size: 1.4em !important; line-height: 1.3em;}
	blockquote.extended p {font-size: 1.1em !important; line-height: 1.3em; font-weight: 400;}
	blockquote p:first-child:before, blockquote img + p:before {content: "\f10d"; font-family: FontAwesome;	float: left; margin-left: -1.3em; font-size: 2.5em; color: #d5d5d7; line-height: 1.2em;}
	blockquote.withthumb p {padding-left: 160px;}
	blockquote.withthumb:before, blockquote.withthumb:after { content: " "; display: table;}
	blockquote.withthumb:after { clear: both;}
	#footer-top ul li {display: inline-block; border-right: 1px solid #ccc; width: 18%; text-align: center;}
	#footer-top ul li:last-child {border-right: none;}
	.nivo-caption h3 { background-color: rgba(0,0,0,.9); }
	#footer-top h2 span {display: block; font-size: 2em; color: #a32136; padding-bottom: 4px;}
	#footer-top h2 {text-align: center;font-weight: 300;font-size: 1.5em;width: 100%;}
	.leftfloat {float: left;margin: 5px 30px 30px 0;}
	.rightfloat {float: right;margin: 5px 0 30px 30px;}
	body.nonav #search-stack {top: 41px;}
	body.nonav #header-bg { border-bottom: 1px solid #D9D9D9;}
	.btn-lg { font-size: 18px; }

}

@media (max-width: 767px) {
  #site-heading {margin-top: 10px !important;}
  /*#opener .brand{height: 75px;}*/
  blockquote.withthumb img {display: none;}
	.navbar {-webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none;}
	.navbar-toggle {float: none; margin-left: 15px;}
  #sidebar .navbar-collapse.collapse { display: none !important; }
	#banner_cont {min-height: 0;}
	#content {margin-top: 0;}
  #banner_cont #banner-caption { display: none; }
  #newRadios {text-align: left;}
  dl.list-inline dt { display: inline; }
  dl.list-inline dt:before { content:"\a"; white-space: pre; }
  section h2 { color: #333; text-align: left; margin-bottom: 10px; display: block; white-space: normal; text-transform: none; }
  #main-nav .navbar-collapse { min-width: 320px !important; }
}



@media(min-width:992px){
  .two-col { -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; }
	.three-col { -webkit-column-count: 3; -moz-column-count: 3; column-count: 3; }
	#search-stack {  width: 400px; float: right; }
	#rightcolumn { padding-left: 30px;}
  .navbar-default {background-color: transparent;}

}


@media (max-width: 991px) {
    #site-heading a { line-height: 1em;}
    #sidebar {margin-top: 30px; clear: both;}
    #search-stack form input {width: 160px;}
}


@media (max-width: 400px) {
    #site-heading { font-size: 2.2em; }
}


