/* --- Reset Bootstrap Classes --- */
body {
background: #231F20 url(../img/bg_lines.jpg) repeat 0 130px;
color: #FFF;
width: 100%;
overflow-x: hidden;
}
a {
  color: #ffffff;
}

a:hover,
a:focus {
	color: #C1D82F;
}

.bottom_nav a:hover {
  font-weight: bold;

}
.breadcrumb {
	background: none;
	margin-left: 4px;
}
.breadcrumb a {
  color: #BFBFBF;
}
.btn-warning {
	font-weight: bold;
}
.btn-srss {
 	background-color: #A6BC2A;
 	border-color: #829D25;
	font-weight: bold;
	color: #ffffff;
}
.btn-srss:hover,
.btn-srss:focus,
.btn-srss:active,
.btn-srss.active,
.open .dropdown-toggle.btn-srss {
  color: #ffffff;
  background-color: #829D25;
  border-color: #829D25;
}

/* --- Global --- */
.footer {
	margin-top: 12px;
	margin-bottom: 18px;
	font-size: 14px;
}
.footer a, .footer a:visited {
	text-decoration: none;
}
.footer .wa_logo {
	float: left;
}
.footer .bottom_nav {
	position: absolute;
	right: 0;
	top: 15px;
}

/* --- Layout --- */
.content_box {
	background-color: #231F20;
	margin-bottom: 27px;
	border-radius: 10px;
	border: 2px solid #120F10;
}
.content_box h1 {
	font-size: 45px;
	line-height: 1em;
	text-shadow: 1px 1px #333333;
	margin-top: 27px;
	margin-bottom: 18px;
}
.content_box h2 {
	font-size: 36px;
	margin: 18px 0 18px 0;
	color: #C1D82F;
}
.content_box h3{
	margin: 27px 0 9px 0;
	color: #ffffff;
}
.content_box h4 {
	font-size: 24px;
	margin: 27px 0 9px 0;
	color: #C1D82F;
}
.content_box p {
	font-size: 16px;
	line-height: 1.5em;
	color: #bfbfbf;
	margin: 0 0 18px 0;
}
.content_box ul {
	color: #bfbfbf;
	margin: 0 0 18px 0;
	font-size: 16px;
	line-height: 1.5em;
}
.content_box li {
	margin-bottom: 6px;
}
.content_box p a, .content_box li a {
	color: #ffffff;
	text-decoration: underline;
}
.content_box p a:hover, .content_box li a:hover {
	color: #C1D82F;
	text-decoration: underline;
}

/* --- Content --- */
/* --- Home ---*/
.home_intro {
	margin-top: 36px;
	padding: 0 0 10px 0;
    overflow: auto;
}
.home_intro h1 {
	font-size: 24px;
	color: #ffffff;
	line-height: 1.5em;
	margin: 27px 0 0 0;
}
.home_intro h1 span {
	font-weight: bold;
}
.home_intro h2 {
	color: #829D25;
	margin: 9px 0 27px 0;
	font-size: 27px;
	font-weight: normal;
	line-height: 1.25em;
	/*border-left: 18px solid #3E3538;*/
	/*padding-left: 12px;*/
	border-radius: 10px 0 0 10px;
}
.srss_acronym {
	font-size: 0.8em;
	font-weight: bold;
	vertical-align: baseline;
}

/*--- About Us page image --- */
.img_firebreaks {
	border: 3px solid #3E3538;
	border-radius: 10px;
	background: url(../img/firebreaks.jpg) no-repeat;
	height: 556px;
	max-width: 254px;
	margin: 18px 0;
}

/* --- Product Page Layouts --- */
.thumbnail {
	color: #FFF;
	padding: 2px;
	min-height: 570px;
	background-color: #353334;
	border: none;
	position: relative;
	text-align: center;
}
.thumbnail img {
	width: 306px;
	height: auto;
	padding: 6px;
	border: 1px solid #CCC;
	border-radius: 5px;
	text-align: center;
}
.thumbnail h3 {
	line-height: 45px;
	color: #FFF;
	margin-top: 18px;
	text-align: center;
}
.thumbnail p {
	color: #FFF;
	text-align: left;
	margin: 9px 20px 40px;
	font-size: 1.1em;
}
.thumbnail .btn {
  position: absolute;
  right: 20px;
  bottom: 20px;
}

.but-info {
  right: 120px !important;
}

#flood_container .thumbnail {
  min-height: 600px;
}

#enviroment_container .thumbnail{
  min-height: 590px;
}


/* --- Product Page Intro Banners --- */
.banner_fire {
	background: #231F20 url(../img/banner_fire_2.jpg) no-repeat 0 0;
}
.banner_flood {
	background: #231F20 url(../img/banner_flood.jpg) no-repeat 0 0;
}
.banner_agriculture {
	background: #231F20 url(../img/banner_agriculture.jpg) no-repeat 0 0;
}
.banner_environment {
	background: #231F20 url(../img/banner_environment.jpg) no-repeat 0 0;
}
.banner_marine {
	background: #231F20 url(../img/banner_marine.jpg) no-repeat 0 0;
}
.banner_custom {
	background: #231F20 url(../img/banner_custom.jpg) no-repeat 0 0;
}

.banner_fire h1, .banner_flood h1,  .banner_agriculture h1, .banner_environment h1, .banner_marine h1,.banner_custom h1, .banner_research h1  {
	margin: 0 0 0 65px;
	padding-top: 36px;
}

.banner_fire h2, .banner_flood h2, .banner_agriculture h2, .banner_environment h2, .banner_marine h2, .banner_custom h2, .banner_research h2 {
	color: #949C51;
	font-size: 32px;
	margin: 0 0 0 65px;
}
.banner_fire h2 {
	color: #F6931D;
}
.banner_flood h2 {
	color: #569BBE;
}
.banner_agriculture h2 {
	color: #D3E27A;
}
.banner_environment h2 {
	color: #E9EC9A;
}
.banner_marine h2 {
	color: #569BBE;
}
.banner_custom h2 {
	color: #949C51;
}
.banner_research h2 {
	color: #949C51;
}
.banner_box {
	background: rgba(0,0,0,0.7);
	margin-left: -15px;
	margin-top: 45px;
	margin-bottom: 36px;
	width: 52%;
}
p.intro_fire, p.intro_flood, p.intro_agriculture, p.intro_environment, p.intro_marine, p.intro_custom, p.intro_research {
	color: #ffffff;
	font-size: 22px;
	margin: 18px 20px 0 65px;
	padding-bottom: 36px;
}

.btn-green {
 	background-color: #A6BC2A;
 	border-color: #677D3C;
	font-weight: bold;
	color: #ffffff;
}
.btn-green:hover,
.btn-green:focus,
.btn-green:active,
.btn-green.active {
  color: #ffffff;
  background-color: #677D3C;
  border-color: #677D3C;
}

/* --- Product pages - right services columns --- */
.content_services {
	border-radius: 4px;
	margin-bottom: 18px;
}
.content_services h2 {
	color: #000000;
	border-bottom: 1px solid #353334;
	margin: 9px 9px 9px 9px;
	text-shadow: none;
}
.content_services h2 {
	color: #ffffff;
	margin: 18px;
	text-shadow: none;
}
.content_services p {
	color: #000000;
	margin: 9px 18px;
}
.content_services ul {
	color: #000000;
}
.content_services h3 {
	margin: 27px 18px 0 18px;
}
.content_services a[href^="mailto"]  {
	-ms-word-break: break-all;
     word-break: break-all;
     word-break: break-word;
-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;
}
.content_services a:hover {
	color: #000000;
}

.fire {
	background-color: #DF8B3D;
}
.flood {
	background-color: #7AA2B6;
}
.agriculture {
	background-color: #a5b06b;
}
.environment {
	background-color: #8F9162;
}
.marine {
	background-color: #4180B4;
}

.fire h2 {
	border-bottom: 1px solid #ffa755;
}
.flood h2 {
	border-bottom: 1px solid #8dbbd2;
}
.agriculture h2 {
	border-bottom: 1px solid #c5d280;
}
.environment h2 {
	border-bottom: 1px solid #b0b379;
}
.marine h2 {
	border-bottom: 1px solid #509ddd;
}
.movedown {padding-top: 36px;}

/* --- fix bootstrap columns --- */
.minuspad {
	padding-right: 0;
}

/* --- RESEARCH PAGES --- */
/*
.banner_research {
	background: #231F20 url(../research/img/banner_aod.jpg) no-repeat 0 0;
}
*/
.banner_research .banner_box {
  background: rgba(0,0,0,0.7);
  margin-left: -15px;
  margin-top: 45px;
  margin-bottom: 36px;
  width: 60%;
}
.banner_research .spacer {
  height: 250px;
}
div.aod_image {
	width: 100%;
	/*height: 750px;*/
	overflow: hidden;
	position: relative;
	margin-bottom: 36px;
	border-radius: 4px;
}
div.lst_image {
  width: 100%;
  /*height: 750px;*/
  overflow: hidden;
  position: relative;
  margin-bottom: 36px;
  border-radius: 4px;
}
div.fdi_image {
	width: 800px;
	height: 582px;
	overflow: hidden;
	position: relative;
	margin-bottom: 36px;
	border-radius: 4px;
}
.content_services form {
	color: #000000;
	margin: 0 20px 18px 20px;
}
.ui-datepicker-inline {
	width: 90%;
	margin: auto;
	margin-bottom: 18px;
	margin-top: 18px;
}

/*.ui-datepicker-next:hover, .ui-datepicker-prev:hover {
	border: 1px solid #949C51;
	background: #C1D82F;
}*/

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
border: 1px solid #949C51;
background: #C1D82F;
font-weight: bold;
color: #ffffff; }

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
border: 1px solid #949C51;
background: #C1D82F;
color: #000;}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
color: #000000; }

/*.ui-datepicker-today {
	color: #000000;
}*/

/* --- Medium Devices --- */
@media only screen and (max-width: 992px)  {

	p.intro_fire, p.intro_flood, p.intro_agriculture, p.intro_environment, p.intro_marine , p.intro_custom, p.intro_research {
		font-size: 22px;
		margin: 18px 20px 0 65px;
		padding-bottom: 36px;
	}

	.banner_box {
		background: rgba(0,0,0,0.7);
		margin-left: -15px;
		margin-top: 45px;
		margin-bottom: 36px;
		width: 100%;
	}
/* --- END MQ --- */
}

/* --- Small Devices - Mobile first styles - set at Bootstrap Tablet breakpoint --- */
@media only screen and (max-width: 770px)  {

	/* --- Reset --- */
	.thumbnail img {
		width: 250px;
		height: auto;
	}

	p.intro_fire, p.intro_flood, p.intro_agriculture, p.intro_environment, p.intro_marine , p.intro_custom, p.intro_research {
		margin: 18px 20px 0 65px;
		padding-bottom: 36px;
	}

	.footer .bottom_nav  {
		margin: 0 20px 27px 0;
	}
	.footer .bottom_nav .pipe {
		display: none;
	}
	.footer .bottom_nav a {
		display: block;
		margin-bottom: 3px;
		text-align: right;
	}
	.footer .bottom_nav a:last-child {
		margin-bottom: 18px;
	}

/* --- END MQ --- */
}

/* --- Extra hacks for Bootstraps intermediate 768 to 1008 breakpoints --- */
@media only screen and (max-width: 1007px)  {
	.minuspad {
		padding-right: 15px;
	}
}

/* --- Large Device specific - set at Bootstrap Tablet breakpoint --- */
@media only screen and (min-width: 770px)  {

	.thumbnail {
		height: auto;
	}
	.thumbnail img {
		width: 250px;
	/*	width: 100% !important;*/
		height: auto !important;
	}

/* --- END MQ --- */
}
