/* @override 
  http://vei.hmgdev.com/css/main.css */

/* @group Resets */
 html, button, input, select, textarea {
  color: #222;
}
html {
  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, img, video {
  vertical-align: middle;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
textarea {
  resize: vertical;
}
.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}
.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;
}
/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *     attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the  class.
 * 2. The use of  rather than  is only necessary if using
 *     to contain the top-margins of child elements.
 */
 .clearfix:before, .clearfix:after {
  content:" ";
  /* 1 */
  display: table;
  /* 2 */
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}
/* @end */

/* @group Fonts */

/* Condensed */
 @font-face {
  font-family:'League Gothic Condensed';
  src: url('../fonts/leaguegothic-condensed-regular-webfont.eot');
  src: url('../fonts/leaguegothic-condensed-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/leaguegothic-condensed-regular-webfont.woff') format('woff'), url('../fonts/leaguegothic-condensed-regular-webfont.ttf') format('truetype'), url('../fonts/leaguegothic-condensed-regular-webfont.svg#league_gothic_condensed-Rg') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* @end */
 body, html {
  height: 100%;
  margin: 0;
  font: 400 15px/1.8 "Lato", sans-serif;
  color: #777;
}
header {
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #000;
  height: 150px;
}
.logo {
  position: absolute;
  float: left;
  display: block;
  width: 360px;
  height: auto;
  top: 10px;
  left: 2em;
}
.phone {
	position: absolute;
	top: 28px;
	right: 2em;
	color: #fff;
  text-align: right;
}
nav {
  font: 32px'League Gothic Condensed';
  text-transform: uppercase;
  letter-spacing: 4px;
  margin: 3em 16px 11px;
  clear: both;
  text-align: center;
}
nav a {
  font-style: normal;
  color: #fff;
  text-decoration: none;
}
nav a:hover {
  color: #d1c69e;
}
nav ul li {
  display: inline-block;
  padding: 5px 15px;
}
.certification {
  position: fixed;
  top: 13em;
  right: 3em;
  z-index: 99;
}
.certification img {
  width: 200px;
  height: auto;
}
.certHeader {
  font: 32px 'League Gothic Condensed';
  position: absolute;
	top: .5em;
	right: 2em;
  text-align: center;
  line-height: 96px;
  letter-spacing: 3px;
  margin: .5em;
  height: 92px;
}
.certHeader a {
    color: #9e9a9a;
   transition: all 1.5s ease-in-out 0s;
}
.certHeader:hover a {
    color: #000;
}
.certHeader a img.certImage {
  position: absolute;
  right:0em;
  top: -20.3em;
  width: 210px;
  transition: all 1s ease-in-out 0s;
}

.certHeader:hover a >.certImage {
  position: absolute;
  right:0em;
  top: -.3em;
  width: 210px;
}

h1 {
  display: block;
  width: 100%;
  column-span: all;
  margin: 0 0 !important;
}
h2 {
  font-size: 2.5em;
  font-weight: bold;
  text-transform: capitalize;
  color: #404040;
  letter-spacing: 2px;
}
.dark h2 {
  color: #fff;
}
h3 {
  letter-spacing: 5px;
  text-transform: uppercase;
  font: 20px "Lato", sans-serif;
  color: #111;
}
p {
  text-align: left;
  letter-spacing: 2px;
}
p.button a {
  position: relative;
  text-align: center;
  display: flex;
  width: 20%;
  margin: auto;
  padding: .5em 1em;
  background-color: #413b33;
  border-radius: 5px;
}
p.button a:hover {
  color: #fff;
}
a {
  color: #9e9a9a;

  text-decoration: none;
}
/*a[type]{
  display: block;
  background: transparent;
  height: 135px;
}*/
:target:before {
content:"";
display:block;
height:150px; /* fixed header height*/
margin:-150px 0 0; /* negative fixed header height */
}
.content {
  height: 100%;
  position: relative;
}
.first, .second, .third, .fourth, .fifth, .seventh, .pick{
  position: relative;
  opacity: 0.85;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.first {
  background-image: url("../img/frame1.jpg");
  min-height: 800px;
}
.second {
  background-image: url("../img/frame2.jpg");
  min-height: 500px;
}
.third {
  background-image: url("../img/frame3.jpg");
  min-height: 500px;
}
.pick {
  background-image: url("../img/Pick.jpg");
  min-height: 500px;
}
.fourth {
  background-image: url("../img/frame4.jpg");
  min-height: 600px;
}
.fifth {
  background-image: url("../img/frame5.jpg");
  min-height: 600px;
}
.seventh {
  background-image: url("../img/CMM-Probe.jpg");
  background-position: bottom;
  min-height: 800px;
}
.contactFirst {
  position: relative;
  opacity: 0.85;
  background: url("../img/VTL-Cut-Ready.jpg") center top no-repeat fixed;
  background-size: cover;
  min-height: 800px;
}
.cta {
  font-family:'League Gothic Condensed';
  font-size: 4em;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1em;
  text-shadow: 0 4px 10px black;
}
.large {
  font-size: 3.6em;
  line-height: 1em;
}
.subheading {
  background-color:transparent !important;
  font-size:25px;
  color: #f7f7f7;
  text-transform: uppercase;
    text-shadow: 0 4px 10px black;
}
.white {
  color: #fff;
}
.black {
  color: #000;
}
.red {
  color: #a30000;
}
.odd {
  background-color: #f5f5f5;
}
.even {
  
}
.col2 {
  column-count: 2;
  column-gap: 2em;
}
.caption {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #000;
}
.right {
  float: right;
  clear: right;
}
.right img {
  margin-left: 2.5em;
}
.caption span.border {
  background-color: none;
  color: #fff;
  padding: 18px;
  font: 28px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  letter-spacing: 10px;
  text-shadow: 0 1px 2px black;
}
.caption span.borderContact {
  background-color: #111;
  color: #fff;
  padding: 18px;
  font: 25px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  letter-spacing: 10px;
}
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 3em;
  text-shadow: 0 5px 10px black;
}
.basic {
  color: #777;
  background-color:white;
  text-align:center;
  padding:50px 80px;
  text-align: justify;
  overflow: hidden;
}
.dark {
  color:#ddd;
  background-color:#282E34;
  text-align:center;
  padding:50px 80px;
  text-align: justify;
  overflow: hidden;
}
.last {
  color:#ddd;
  background-color: #272e34;
  text-align:center;
  padding:50px 80px;
  text-align: center;
  overflow: hidden;
}
.last p {
  text-align: center;
}

#rmenu {
    display: none;
}

.client h3, .last h3, .services h3 .equipment h3{
  color: #b8b5b5;
}
.certLink {
  color: #820903;
  font-weight: 400;
}
/* @group Services */

.servicesFirst, .servicesSecond, .servicesThird {
  position: relative;
  opacity: 0.85;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.servicesFirst {
  background-image: url("../img/spindle.jpg");
  min-height: 800px;
}
.servicesSecond {
  background-image: url("../img/g60-flybar.jpg");
  min-height: 500px;
}
.servicesThird {
  background-image: url("../img/mc-bore.jpg");
  min-height: 500px;
}
.options {
  padding-top: 1em;
  font-family: 'League Gothic Condensed';
  font-size: 2em;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
}
.alt-options {
  font-family: 'Open Sans';
  font-size: 1em;
  text-align: right;
}
.options a, .alt-options a {
  display: inline-block;
  margin: 0 .5em;
  padding: 3px 10px;
} 
.options a:hover, .alt-options a:hover {
  color: #000;
}
/* @end */

/* @group Equipment */
.equipmentFirst, .equipmentSecond, .equipmentThird {
  position: relative;
  opacity: 0.85;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.equipmentFirst {
  background-image: url("../img/frame4.jpg");
  min-height: 800px;
}
.equipmentSecond {
  background-image: url("../img/frame2.jpg");
  min-height: 500px;
}
.equipmentThird {
  background-image: url("../img/frame3.jpg");
  min-height: 500px;
}

.equipmentObject {
  margin: 1.5em 0 1.5em 1em;
}
.equipmentDescription {
  letter-spacing: 1px;
  font-family: Lato;
  text-transform: capitalize;
  color: #111;
  line-height: 20px;
  font-size: 16px;
}
.equipmentDescription:hover {
  color: #b37b08;
  cursor: pointer;
}
.equipmentDescription:before {
  display: inline-block;
  background: url(../img/arrows.png) top center no-repeat;
  content: '';
  width: 12px;
  height: 13px;
  margin: 0 .5em;
}
.equipmentDescription.open {
  color: #b37b08;
}
.equipmentDescription.open:before {
  background: url(../img/arrows.png) bottom center no-repeat;
}
.equipmentDescription.closed:before {
  background: url(../img/arrows.png) top center no-repeat;
}
/*.equipmentDetails{
   margin: 1em 0;
   visibility: hidden;
   height: 0;
   opacity: 0;
   transition: visibilty .1s ease-in-out, opacity .5 linear, height 0s linear;
}
.equipmentDescription:hover + .equipmentDetails {
 visibility: visible;
  height: auto;
  opacity: 1;
  background-color: #fff;
}*/
.line {
  padding: 3px;
}
.detailName {
  display: inline-block;
  min-width: 14em;
  margin-left: 3em;
}
.detail {
  margin-left: 3em;
}


/* @end */

/* @group Form */
.formObject {
  width: 50%;
  margin: auto;
  text-align: right;
}
.formObject p {
  text-align: right;
}
.formItem {
  margin: 2em 0;
}

.formItem label {
  margin-right: 1.5em;
}
.formItem input[type='text'], .formItem input[type='email'], .formItem input[type='tel'] {
  height: 27px;
  border: 1px solid #d6d6d6;
}
.formItem textarea {
  border: 1px solid #d6d6d6;
}
#c button {
    background: #d57366;
    border: 0;
    padding: 6px 12px;
    font-size: 1.6em;
    color: #fff;
}

/* @end */

/* @group Footer */
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  
}
footer > div {
  width: 33%;
}


/* @end */

/* Turn off parallax scrolling for tablets and phones */

@media only screen and (max-width : 1112px) {
    .logo {
      width: 230px;
      height: auto;
      left: 1em;
    }
    .phone {
      top: 0px;
      right: 1em;
    }
    p.button a{
      width: 50%;
    }
    .certHeader {
      font: 28px 'League Gothic Condensed';
    	top: 1em;
    	right: 1em;
    }
    .certHeader a img.certImage {
      position: absolute;
      right:-15em;
      top: -1.3em;
      transition: all 1s ease-in-out 0s;
    }
    .certHeader:hover a >.certImage {
      position: absolute;
      right:0em;
      top: -.3em;
      width: 150px;
    }

}

@media only screen and (max-width : 1024px) {
  .first, .second, .third, .fourth, .fifth {
    background-attachment: scroll;
    background-position: left;
  }
  .logo {
    width: 260px;
    height: auto;
    left: 1em;
  }
  .phone {
    top: 0px;
    right: 1em;
  }
  p.button a{
    width: 50%;
  }
  .certification {
    position: fixed;
    top: 13em;
    right: 3em;
    z-index: 99;
  }
  .certification img {
    width: 150px;
    height: auto;
  }
  .certHeader a img.certImage {
    position: absolute;
    right:-15em;
    top: -1.3em;
    transition: all 1s ease-in-out 0s;
  }
  .certHeader:hover a >.certImage {
    position: absolute;
    right:-1.0em;
    top: -.7em;
    width: 150px;
  }
  
}
@media only screen and (max-width: 800px){
    body, html {
        color: #000;
    }
    .basic {
      color: #000;
    }
    .cta {
      font-size: 2.6em;
    }
    .large {
      font-size: 3.7em;
    }
    .logo {
      width: 40%;
      margin: auto;
    }
    .phone {
      left: 0;
      bottom: 0;
      top: auto;
      right: 0;
      margin: auto;
      text-align: center;
    }
    .phone br {
      content: '';
    }
    .phone br:after {
      content: ' • ';
    }
    
    #rmenu {
        display: block;
        font-size: 3em;
        float: right;
        margin: .5em 1.5em;
    }
    #navigation {
      display: none;
    }
    .certification {
      position: fixed;
      top: 13em;
      right: 0;
      z-index: 99;
      left: 0;
      width: 150px;
      overflow: hidden;
      margin: auto;
    }
    .certification img {
      width: 150px;
      height: auto;
      /*visibility: visible;*/
    }
    #sidr {
      width: 40%;
    }
    #sidr a {
      font-size: 1.5em;
      letter-spacing: 5px;
      font-family: 'Open Sans';
      text-transform: uppercase;
    }
    .sidr.right {
      right: -40%;
    }
    p.button a{
      width: 50%;
      text-align: center;
    }
    .caption span.border {
      line-height: 72px;
      box-decoration-break: clone;
      -webkit-box-decoration-break: clone;
    }
    .certHeader {
      font: 24px 'League Gothic Condensed';
    	top: 1.5em;
    	right: 6em;
    }
    .certHeader a img.certImage {
      position: absolute;
      right:0em;
      top: -11.3em;
      transition: all 1s ease-in-out 0s;
    }
    .certHeader:hover a >.certImage {
      position: absolute;
      right: 0em;
      top: -.7em;
      width: 150px;
    }
    footer > div {
      min-width: 100%;
      width: 100%;
    }
    .formObject {
      width: 90%;
      margin: auto;
      text-align: right;
    }
}
@media only screen and (max-width: 480px){
    body, html {
        color: #000;
    }
    .basic {
      color: #000;
    }
    .logo {
      width: 200px;
    }
    .phone {
      font-size: .8em;
    }
    .cta {
      font-size: 2.5em;
    }
    .large {
      font-size: 3.8em;
    }
    #rmenu {
        display: block;
        font-size: 2em;
        float: right;
        margin: .5em .5em;
    }
    #navigation {
      display: none;
    }
    #sidr {
      width: 60%;
    }
    #sidr a {
      font-size: 1em;
      letter-spacing: 5px;
      font-family: 'Open Sans';
    }
    .sidr.right {
      right: -60%;
    }
    .dark, .basic {
      padding: 50px 30px;
    }
    h1 {
      text-align: center;
    }
    h2 {
        font-size: 1.8em;
    }
    h3 {
        letter-spacing: 4px;
        text-align: left;
        font: 15px "Lato", sans-serif;
    }
    .last h3 {
      text-align: center;
    }
    p {
      margin: 1em .5em;
    }
    .equipmentDescription {
        text-align: left;
    }
    .line {
      overflow: hidden;
      font-size: .86em;
    }
    .detailName {
        float: left;
        margin-left: 0em;
    }
    .detail {
      margin-left: 0em;
      float: right;
    }
 
    .formObject textarea {
      width: 90% !important;
    }
    .grecaptcha-badge {
      visibility: hidden;
    }
    .last {
      padding: 50px 30px;
      display: block;
      clear: both;
    }
    .options, .alt-options{
      padding-top: 0;
      font-size: 1.5em;
      font-family: 'League Gothic Condensed';
      text-transform: uppercase;
      text-align: center;
    }
    .options a, .alt-options a {
      margin: 0;
    }
    .first {
      background-image: url("../img/frame1-sm.jpg");
      background-attachment: scroll;
    }
    .second {
      background-image: url("../img/frame2-sm.jpg");
       background-attachment: scroll;
    }
    .third {
      background-image: url("../img/frame3-sm.jpg");
       background-attachment: scroll;
    }
    .fourth {
      background-image: url("../img/frame4-sm.jpg");
       background-attachment: scroll;
    }
    .fifth {
      background-image: url("../img/frame5-sm.jpg");
       background-attachment: scroll;
    }
    .seventh {
      background-image: url("../img/CMM-Probe-sm.jpg");
      background-attachment: scroll;
    }
    p.button a{
      width: 96%;
      font-size: .86em;
      text-align: center;
    }
    .caption span.border {
      font-size: 23px;
      line-height: 72px;
       box-decoration-break: clone;
       -webkit-box-decoration-break: clone;
    }
    .certHeader {
      font: 24px 'League Gothic Condensed';
    	top: 4em;
    	right: 0em;
      left: 0;
      text-align: center;
    }
    .certHeader a img.certImage {
      position: absolute;
      right:0;
      left: 0;
      top: -11.3em;
      transition: all 1s ease-in-out 0s;
      margin: auto;
    }
    .certHeader:hover a >.certImage {
      position: absolute;
      right: 0;
      left: 0;
      top: -.7em;
      width: 150px;
    }
}
@media only screen and (max-width: 360px){
    .logo {
        position: relative;
        float: left;
        display: block;
        width: 240px;
        height: auto;
        margin: auto;
    }
    .formObject {
      width: 96%;
      margin: auto;
      text-align: center;
    }
}