* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

a img {
  border: none;
  outline: none;
}

.hidden {
  position: absolute;
  left: -1000em;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.clearfix {
  overflow: hidden;
  content: "";
  visibility: hidden;
  display: block;
  height: 1px;
  width: 1px;
  clear: both;
}

header, footer, article, aside, section, main {
  display: block;
  width: 100%;
}

input {
  -webkit-appearance: none;
  border-radius: 0;
}

body {
  margin: 0 auto;
  font-family: "Open Sans", Helvetica, sans-serif, sans;
  font-size: 100%;
  position: relative;
  color: #666;
}

.inner {
  display: block;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
}

header {
  background: black url(img/bubbles.jpg) center right no-repeat;
  position: relative;
}
header a.skip {
  position: absolute;
  top: 0;
  left: -1000em;
  background: #a2282e;
  color: white;
  text-decoration: none;
  border-radius: 0px 0px 3px 3px;
}
header a.skip:focus, header a.skip:hover {
  left: 1em;
  top: 0;
  padding: 0.5em 1em;
}
header .branding {
  width: 100%;
  height: auto;
  max-height: 126px;
  background: url(img/swoosh.png) no-repeat;
}
header .vcard {
  display: block;
  position: absolute;
  right: 30%;
  top: 1em;
}
header .vcard .tel {
  color: white;
  font-family: "Arial Black", "Arial", Arial, sans-serif;
  font-size: 1.5em;
  padding-left: 1.5em;
  background: url(img/whitephone.png) 0 0 no-repeat;
  text-shadow: 3px 0 0 black;
}
header .vcard .tel a {
  color: white;
}

nav {
  background: #4a4a4a;
  border-bottom: 2px solid #a2282e;
  -webkit-box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.8);
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.8);
}
nav ul {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 .5em;
}
nav ul li {
  display: inline-block;
  position: relative;
  margin-right: .5em;
  vertical-align: top;
  list-style: none;
}
nav ul li.last {
  margin-right: 0;
}
nav ul li a {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 0;
  padding: 1em .5em .5em;
  min-height: 4em;
}
nav ul li a:hover, nav ul li a:focus {
  background: #501417;
}
nav ul li a.active {
  background: #791e22;
}
nav ul li ul {
  display: none;
}
nav ul li.hover ul {
  display: block;
  position: absolute;
  top: 3em;
  left: 0;
  z-index: 999;
  padding: 0;
  margin: 0;
  min-width: 300px;
}
nav ul li.hover ul li {
  display: block;
  margin: 0;
  padding: 0;
}
nav ul li.hover ul li:first-child {
  padding-top: 1em;
}
nav ul li.hover ul li a {
  background: #a2282e;
  border: none;
  color: white;
  padding: 0.4em 1em .6em;
  transition: background 0.2s;
  min-height: 0;
  border-bottom: 1px solid #791e22;
}
nav ul li.hover ul li a:hover, nav ul li.hover ul li a:focus {
  background: #791e22;
}

main {
  background-size: contain;
  position: relative;
}

.home main {
  background: white url(img/bg.jpg) 0 0 no-repeat;
}

.chemicals main {
  background: #999899 url(img/bubblegum.jpg) 0 0 no-repeat;
}

.environment main {
  background: #999899 url(img/penguin.jpg) 0 0 no-repeat;
  /*	background-size: auto !important;*/
}

.service main {
  background: #999899 url(img/mondotrucks.jpg) 0 0 no-repeat;
}

.monitoring main {
  background: #999899 url(img/monitoring.jpg) 0 0 no-repeat;
}

.equipment main,
.about main,
.contact main {
  background: #999899 url(img/yellowcar.jpg) 0 0 no-repeat;
}

#main {
  width: 100%;
  font-style: italic;
  font-size: 1.2em;
}

.content h1, .content h2, .content h3, .content h4 {
  margin: .5em 0;
  line-height: 1.1em;
  color: white;
}
.content h1 {
  font-style: normal;
  font-weight: normal;
}
.content p, .content ul, .content ol {
  margin: 1em 0;
}
.content ul, .content ol {
  padding-left: 1.5em;
}
.content ul li, .content ol li {
  margin-bottom: 0.5em;
}
.content img {
  max-width: 100%;
  height: auto;
}
.content img.banner {
  display: block;
  margin: 0 auto 1.5em;
}
.content a {
  color: white;
  transition: color 0.1s;
}
.content a:hover, .content a:focus {
  color: #a2282e;
}

.home #main h1, .home #main h2 {
  color: #a2282e;
}
.home #main h3 {
  color: black;
}

.content {
  display: inline-block;
  margin: 0 0 0 45%;
  padding: 0 1em 2em;
  vertical-align: top;
  width: 55%;
  color: white;
  background-color: #999899;
  background: linear-gradient(to left, #999899, rgba(153, 152, 153, 0.8));
  min-height: 1108px;
}

.monitoring .content,
.service .content {
  color: black;
}
.monitoring .content h1, .monitoring .content h3,
.service .content h1,
.service .content h3 {
  color: black;
}
.monitoring .content h2,
.service .content h2 {
  color: #a2282e;
}

.home .content {
  margin: 0;
  width: 70%;
  max-width: 70%;
  margin-right: 1em;
  color: #666;
  background-color: none;
  background: none;
}

.callouts {
  max-width: 306px;
  display: inline-block;
  vertical-align: top;
  background: #eeeded;
  margin: 0 auto;
  text-align: center;
}
.callouts img {
  margin: 1em 1em 0;
}
.callouts img:last-of-type {
  margin-bottom: 1em;
}

.hilite {
  font-weight: 900;
  font-size: 110%;
}

.gmap {
  width: 600px;
  height: 450px;
  border: none;
}

.col {
  width: 30%;
  display: inline-block;
  vertical-align: top;
}

footer {
  background: #e6e6e6;
  color: black;
  padding: 1em 0;
}
footer .vcard {
  padding-left: 2em;
  background: url(img/blackphone.png) 0 0 no-repeat;
}

#bubbles-left {
  position: absolute;
  top: 0px;
  left: 0;
  width: 380px;
  height: 830px;
  background: transparent url(img/cranberry_left.png) no-repeat top left;
}

#bubbles-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 270px;
  height: 730px;
  background: transparent url(img/cranberry_right.png) no-repeat top left;
}

@media screen and (max-width: 1650px) {
  #bubbles-left,
  #bubbles-right {
    display: none;
  }
}
@media screen and (max-width: 1102px) {
  header {
    background: black;
  }
  header .vcard {
    right: 1em;
  }

  header, main {
    position: static;
    display: block;
    width: 100%;
    float: none;
    padding-left: 1em;
    padding-right: 1em;
  }

  nav li {
    margin-right: .2em;
  }
  nav li a {
    padding: 0.125em 0.25em;
    font-size: 90%;
    min-height: 0;
  }

  iframe, object {
    max-width: 100%;
    display: block;
  }

  .callouts {
    max-width: none;
    width: 25%;
  }

  main .callouts img {
    width: 80%;
    height: auto;
  }
}
@media screen and (max-width: 1002px) {
  header .branding {
    background: none;
    max-height: none;
    text-align: center;
  }
  header .branding img {
    max-width: 100%;
    height: auto;
  }
  header .vcard {
    position: static;
    right: 0;
    top: 0;
    text-align: center;
    padding-bottom: 1em;
    font-size: 1.2em;
  }

  main {
    background: #999899 !important;
  }

  .home main {
    background: white !important;
  }

  .banner {
    max-width: 100%;
    height: auto;
  }

  .home .content,
  .content {
    width: 100%;
    max-width: none;
    margin-left: 0;
    min-height: 0;
  }

  .home .content {
    padding-bottom: 0;
  }

  main .callouts {
    display: inline;
    vertical-align: top;
    background: none;
  }
  main .callouts img {
    width: auto;
    margin: 1em 0 0;
  }

  nav {
    display: block;
    height: auto;
    text-align: left;
  }
  nav ul {
    margin-top: -1.2em;
    padding: 0 0 .5em;
  }
  nav ul li {
    display: block;
    margin: 0;
    padding: 0;
  }
  nav ul li br {
    display: none;
  }
  nav ul li a {
    font-size: 110%;
    border-bottom: 1px solid #a2282e;
    padding: 0.5em 0;
    font-weight: 400;
    text-align: center;
    min-height: 0;
  }
  nav ul li a:last-of-type {
    border-bottom: none;
  }
  nav ul li.hover a {
    border-bottom: 1px solid #a2282e;
  }
  nav ul li.hover ul {
    display: block;
    position: static;
    width: 100%;
    max-width: 100%;
    padding: 0;
    top: 0;
  }
  nav ul li.hover ul li:first-child {
    padding-top: 0;
  }
  nav ul li.hover ul li a {
    border-bottom: 1px solid #501417;
    font-size: 115%;
    padding-left: .5em;
  }
  nav ul li.hover ul li a:hover, nav ul li.hover ul li a:focus {
    border-bottom: 1px solid #501417;
  }

  .col {
    width: 100%;
    padding: 1em .5em;
    display: block;
    border-bottom: 1px solid #b3b3b3;
  }
}
