/*
  Theme Name: eco
  Theme URI:
  Author: Ben Coleman
  Author URI:
  Description: Theme for eco
  Version: 1.0
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/glp-2.0.html
  Tags: soil
  Text Domain: eco
*/

/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
  font-family: 'Roboto', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
}

.lighter {
  font-weight: lighter;
}

.form-control {
  background-color: #f1f2f2 !important;
  border: transparent !important;
}
/*--------------------
HEADER
---------------------*/
nav.navbar-default {
  padding: 20px;
  background-color: transparent;
  border-color: transparent;
}

ul.nav.navbar-nav.menu li a {
  text-transform: uppercase;
  color: #5a3620;
  font-weight: bolder;
}

header#home {
  background: url(img/header-background.jpg) no-repeat;
  background-position: 90% 20%;
  background-size: cover;
}

@media (max-width: 470px) {
	header#home {
		background: url(img/mobile-background.jpg) no-repeat;
		background-size: cover; 
	}
}

header#about {
  background: url(img/nav-bg.jpg) no-repeat;
  background-position: 90% 20%;
  background-size: cover;
}

header .contact h4 {
  font-size: 36px;
  color: #5a311f;
}

header .contact img {
  padding-right: 7px;
  margin-bottom: 3px;
}

header .hero {
  padding: 10%;
}

header .hero img {
  padding: 35px;
}

header .hero p {
  margin-top: 5%;
  font-size: 30px;
  color: #5a311f;
}

.btn-success {
  background-color: #04471e !important;
  border: 1px solid #fff !important;
}

.main-menu {
  margin-top: 40px;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
  border: transparent;
}

.quote {
  color: #ffffff !important;
  border-radius: 35px !important;
  width: 275px;
  font-size: 15px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  text-transform: uppercase;
  transition: 0.5s ease-in-out;
}

.quote:hover {
  background: transparent !important;
  border: 1px solid #000 !important;
  color: #000 !important;
  transition: 0.5s ease-in-out;
}


/*--------------------
MAIN
---------------------*/

section#main .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 125px;
  color: #fff;
}

section#main .info h3 {
  line-height: 39px;
  font-size: 36px;
  padding-bottom: 15px;
}


section#main .btn-default {
  background: transparent;
  color: #fff;
  border-radius: 25px;
  width: 125px;
  transition: 0.5s ease-in-out;
}

section#main .btn-default:hover {
  background: #fff;
  color: #000;
  transition: 0.5s ease-in-out;
}



/*--------------------
ABOUT
---------------------*/

/* reset height :/ */
.navbar {
  margin-bottom: 0px !important;
  padding-bottom: 20px;
}

.page-title {
  background: #5a311f;
  color: #ffffff;
  padding-top: 10px;
  padding-bottom: 10px;
}

.page-title h2 {
  font-size: 39px;
}

section#option-one,
section#option-two {
  padding-top: 40px;
}

.p-f {
  padding-bottom: 40px;
  padding-top: 40px;
}

.intro {
  padding-bottom: 20px;
}

section#option-one .first {
  font-size: 33px;
}

.intro {
  font-size: 19px;
}

section#option-one h3,
section#option-one h4,
section#option-two h3,
section#option-two h4 {
  color: #5a311f;
}

section#option-one h4,
section#option-two h4 {
  font-weight: bold;
  font-size: 34px;
  padding-bottom: 10px;
}

section#option-one .kit-text,
section#option-two .kit-text {
  padding-bottom: 30px;
}

section#option-one .kit-text p {
  font-size: 24px;
  color: #5a311f;
  font-weight: bold;
}

section#option-one .kit-text h3,
section#option-two .kit-text h3 {
  font-weight: lighter;
  font-size: 35px;
}

.testing-kit h5 {
  font-size: 18px;
  padding-top: 25px;
  padding-bottom: 10px;
  color: #5a311f;
  text-transform: uppercase;
  font-weight: bold;
}

.testing-kit p {
  font-size: 17px;
}

.hazard {
  padding-top: 5px;
  padding-bottom: 10px;
}

.four-steps {
  padding-top: 50px;
  padding-bottom: 50px;
}

.recommended h5 {
  color: #5a311f;
  font-weight: bold;
}

.recommended h5,
.recommended p {
  font-size: 18px;
}

.recommended img {
  padding-left: 80px;
}

.four-steps img {
  padding: 15px;
}

.included h3 {
  font-size: 35px;
  padding-top: 40px;
  padding-bottom: 20px;
  margin-left: 19px;
  font-weight: lighter;
}

.included {
  padding-bottom: 50px;
}

.included li.tick {
  list-style-image: url(img/tick.jpg);
  margin-top: 5px;
}

.included ul {
  font-size: 16px;
  padding-left: 10px;
}

.included li {

  margin-bottom: 21px
}

.nested li {
  list-style: disc;
}

section#option-two {
  background-color: #f8f8f8;
}

section#option-two .first {
  font-size: 23px;
}

section#option-two .second {
  font-size: 16px;
}

section#option-two p {
  padding-top: 15px;
  color: #5a311f;
}


/* ====== */

.about-box-new-quote {
	background: url(img/about-dif-no-hover.jpg) no-repeat;
	background-size: 100%;
	height: 320px;
	transition: 0.75s linear;
	}

.about-box-new-quote:hover {
	background: url(img/about-dif-hover.jpg) no-repeat;
	background-size: 100%;
	height: 320px;
	transition: 0.75s linear;
}

.contact-box-new {
	background: url(img/contact-dif-page-no-hover.jpg) no-repeat;
	background-size: 100%;
	height: 320px;
	transition: 0.75s linear;
}

.contact-box-new:hover {
	background: url(img/contact-dif-hover.jpg) no-repeat;
	background-size: 100%;
	height: 320px;
	transition: 0.75s linear;
}

.quote-box-new {
	background: url(img/quote-dif-page-no-hover.jpg) no-repeat;
	background-size: 100%;
	height: 320px;
	transition: 0.75s linear;
}

.quote-box-new:hover {
	background: url(img/quote-dif-page-hover.jpg) no-repeat;
	background-size: 100%;
	height: 320px;
	transition: 0.75s linear;
}


/* new 3 blocks for the homepage ':( */

.about-box {
	background: url(img/about-no-hov.jpg) no-repeat;
	background-size: 100%;
	height: 400px;
	transition: 0.75s linear;

}

.about-box:hover {
	background: url(img/about-hov.jpg) no-repeat;
	background-size: 100%;
	height: 400px;
	transition: 0.75s linear;
}

.quote-box {
	background: url(img/quote-no-hov.jpg) no-repeat;
	background-size: 100%;
	height: 400px;
	transition: 0.75s linear;

}

.quote-box:hover {
	background: url(img/quote-hov.jpg) no-repeat;
		background-size: 100%;
	height: 400px;
	transition: 0.75s linear;
}

.contact-box {
	background: url(img/contact-no-hov.jpg) no-repeat;
	background-size: 100%;
	height: 400px;
	transition: 0.75s linear;

}

.contact-box:hover {
	background: url(img/contact-hov.jpg) no-repeat;
		background-size: 100%;
	height: 400px;
	transition: 0.75s linear;
}

.controls img {
	position: relative;
}

.controls h3  {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  top: 125px;
  color: #fff;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  font-size: 32px;
}


section#main .row {
	margin-top: 15px;
}


.controls .info h3 {
  line-height: 39px;
  font-size: 36px;
  padding-bottom: 15px;
}

.controls .btn-default {
  background: transparent;
  color: #fff;
  border-radius: 25px;
  width: 125px;
  transition: 0.5s ease-in-out;
}

.controls .btn-default:hover {
  background: #fff;
  color: #000;
  transition: 0.5s ease-in-out;
}

/*--------------------
CONTACT
---------------------*/
section#contact {
  padding-top: 50px;
  padding-bottom: 90px;
}

section#contact h3 {
  font-size: 38px;
  font-weight: lighter;
  color: #5a311f;
}

section#contact a {
	color: #000;
	font-weight: normal;
}

section#contact textarea,
section#get-a-quote textarea {
  display: block;
  height: 187px;
}

section#get-a-quote textarea {
  width: 262px;
}

.map h3 {
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 29px;
  font-weight: lighter;
  color: #5a311f;
}

#contact ul {
  padding-left: 20px;
  padding-top: 10px;
  font-size: 20px;
}

#contact ul li:first-child {
  font-weight: lighter;
}

#contact li {
  margin-top: 20px;
}

#contact .location {
  list-style-image: url(img/location.jpg);
}

#contact .telephone {
  list-style-image: url(img/telephone.jpg);
  font-weight: bolder;
}

#contact .mail {
  list-style-image: url(img/mail.jpg);
  font-weight: bolder;
}

#contact form {
  padding-top: 40px;
}

.send {
  margin-top: 20px;
  width: 250px;
  border-radius: 25px !important;
}

/*--------------------
QUOTE
---------------------*/
section#get-a-quote {
  padding-top: 40px;
  padding-bottom: 140px;
}

section#get-a-quote h3 {
  margin-top: 11px;
  padding-bottom: 30px;
  font-weight: bolder;
}

section#get-a-quote h4 {
  font-weight: lighter;
  font-size: 25px;
}

section#get-a-quote h5 {
  font-size: 18px;
  font-weight: bold;
}

section#get-a-quote h3,
section#get-a-quote h4,
section#get-a-quote h5 {
  color: #5a311f;
}

.add-info h3 {
  padding-bottom: 56px !important;
}

span#information {
  background: url('img/information.jpg') no-repeat;
  width: 13px;
  height: 14px;
  display: inline-block;
}

/*--------------------
FOOTER
---------------------*/
footer {
  padding-top: 50px;
  color: #5a311f;
}

footer a {
  color: #5a311f;
}

footer .ft-p {
  font-size: 49px;
}

footer p {
  margin: 0;
}

footer p:nth-child(2) {
  font-size: 30px;
}

footer span {
  color: #68b42d;
  font-weight: bolder;
}

footer ul {
  padding-top: 20px;
}

footer ul li {
  display: inline-block;
  font-size: 10px;
  font-weight: lighter;
}

.cnt-det {
  display: block !important;
}


/* Rob's Fixes */

.new_page {
	margin-top: 30px;
	font-size: 17px;
}

.hero p {
	font-weight: bold;
}

ul.nested {
	padding-left: 30px;
	padding-top: 20px;
}

footer a {
	transition: 0.5s ease-in-out;
}

footer a:hover {
	color: #04471E;
	transition: 0.5s ease-in-out;
	text-decoration: none;
}

.testing-kit {
	padding-top: 48px;
}

.four-steps {
	padding-bottom: 0;
}

.contact label {
	font-weight: bolder;
}

.required-input {
	color: red;
}

input[type="submit"] {
	background: #05481f;
	color: #ffffff;
	width: 207px;
	padding-top: 5px;
	padding-bottom: 5px;
	border-radius: 20px;
	margin-top: 15px;
	transition: 0.5s ease-in-out;
	border: 1px solid #05481f;f
}

input[type="submit"]:hover {
	background: transparent;
	transition: 0.5s ease-in-out; 
	color: #05481f;
}


@media only screen and (max-width: 991px ) {

}


/* JavaScript Hide Inf*/
.hide-inf small{
  display: none;
}

span#information small {
  position: absolute;
  background: #5a311f;
  color: #fff;
  width: 200px;
  z-index: 999999;
  bottom: 50px;
  padding: 5px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 35em) {
  footer p {
    font-size: 19px !important;
  }
  .navbar.navbar-default {
    background: #5a311f !important;
  }
  .navbar.navbar-default a {
    color: #fff !important;
  }

  #logo {
    height: 40px !important;
    width: 40px !important;
  }

  .brochure {
    max-width: 100% !important;
  }

  .contact h4 {
    color: #fff !important;
  }

  .contact img {
    display: none !important;
  }
  
  #bs-example-navbar-collapse-1 {
	  margin-top: 60px;
  }

  .fix-mob {
    /*top: 39px !important;*/
  }
  
  header#home .navbar.navbar-default {
	padding-bottom: 60px;
  }
  
  section#main .info h3,
section#main .info a {
	padding: 25px !important;
}

section#main .col-sm-12 {
	margin-top: 10px;
	height: 249px !important;
}

.controls .quote-img,
.controls .get-in-touch {
	margin-top: 10px;
	height: 220px !important;
}

}

@media only screen and (min-width: 700px) {
	nav .navbar-nav.navbar-right {
		margin-top: -29px;
	}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
/******************** new *****************************************/
.box_wrapper h2{
    color: #fff;
font-size: 30px;
font-weight: 400;
text-align: center;
}
 
#main a,#main  a:hover{
text-decoration: none;
}
#main  a:hover, .controls a:hover{
background: #5E3929;
color: #fff;
border: #fff solid 1px;
}
.box_wrapper:hover .box_inner, .box_wrapper:focus .box_inner {
    -ms-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}
.box_wrapper{
width: 100%;
    height:300px;
    overflow: hidden;
    position: relative;
    float: left;
    display: inline-block;
    /*cursor: pointer;*/

}
.box_inner {
    height: 100%;
    display: inline-block;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.box_wrapper:hover .box_inner:before, .box_wrapper:focus .box_inner:before {
    display: block;
}


.box_inner:before {
    content: "";
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
   
}
 .box_wrapper .link{
  border:#56311F 1px solid;
 color: #56311F;
 background-color: #fff;
border-radius: 20px;
padding: 8px 20px;
display:block;
text-align: center;
width:112px;
margin: 0 auto;
 }
 .caption{
 height: 100%;
    width: 100%;
    background-size: cover;
  position: relative;
  top: 60%;
  transform:      translateY(-30%);
   background-repeat: no-repeat;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}