/*
 * style.css, Russell Schmidt 2014
 */

/*
 * section below from normalize.css, 
 * normalize.css v3.0.1 | MIT License | git.io/normalize 
 */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
  max-width: 1080px;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*
 * fonts courtesy of fontsquirrel.com 
 */
/*
@font-face {
    font-family: 'exo_2.0black';
    src: url('../font/exo-2-kit/exo2.0-black-webfont.eot');
    src: url('../font/exo-2-kit/exo2.0-black-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/exo-2-kit/exo2.0-black-webfont.woff') format('woff'),
         url('../font/exo-2-kit/exo2.0-black-webfont.ttf') format('truetype'),
         url('../font/exo-2-kit/exo2.0-black-webfont.svg#exo_2.0black') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'exo_2.0black_italic';
    src: url('../font/exo-2-kit/exo2.0-blackitalic-webfont.eot');
    src: url('../font/exo-2-kit/exo2.0-blackitalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/exo-2-kit/exo2.0-blackitalic-webfont.woff') format('woff'),
         url('../font/exo-2-kit/exo2.0-blackitalic-webfont.ttf') format('truetype'),
         url('../font/exo-2-kit/exo2.0-blackitalic-webfont.svg#exo_2.0black_italic') format('svg');
    font-weight: normal;
    font-style: normal;

}
*/
@font-face {
    font-family: 'exo_2.0bold';
    src: url('../font/exo-2-kit/exo2.0-bold-webfont.eot');
    src: url('../font/exo-2-kit/exo2.0-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/exo-2-kit/exo2.0-bold-webfont.woff') format('woff'),
         url('../font/exo-2-kit/exo2.0-bold-webfont.ttf') format('truetype'),
         url('../font/exo-2-kit/exo2.0-bold-webfont.svg#exo_2.0bold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'exo_2.0italic';
    src: url('../font/exo-2-kit/exo2.0-italic-webfont.eot');
    src: url('../font/exo-2-kit/exo2.0-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/exo-2-kit/exo2.0-italic-webfont.woff') format('woff'),
         url('../font/exo-2-kit/exo2.0-italic-webfont.ttf') format('truetype'),
         url('../font/exo-2-kit/exo2.0-italic-webfont.svg#exo_2.0italic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'exo_2.0light';
    src: url('../font/exo-2-kit/exo2.0-light-webfont.eot');
    src: url('../font/exo-2-kit/exo2.0-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/exo-2-kit/exo2.0-light-webfont.woff') format('woff'),
         url('../font/exo-2-kit/exo2.0-light-webfont.ttf') format('truetype'),
         url('../font/exo-2-kit/exo2.0-light-webfont.svg#exo_2.0light') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'exo_2.0regular';
    src: url('../font/exo-2-kit/exo2.0-regular-webfont.eot');
    src: url('../font/exo-2-kit/exo2.0-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/exo-2-kit/exo2.0-regular-webfont.woff') format('woff'),
         url('../font/exo-2-kit/exo2.0-regular-webfont.ttf') format('truetype'),
         url('../font/exo-2-kit/exo2.0-regular-webfont.svg#exo_2.0regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*
 * Main page specific
 */ 

body {
  background-color: #FFF;
  color: #000;
  background-size: cover;
}

h1 {
  float: none;
  font-family: 'exo_2.0bold';
  font-size: 2.4em;
  color: #000;
}
h2 {
  font-family: 'exo_2.0regular';
  font-size: 1.4em;
  color: #33000D;
}
h4 {
  font-family: 'exo_2.0italic';
  font-size: 1.2em;
  color: #400000;
}

article {
  padding-left: 10px;
}

article a {
  text-decoration: none;
  color: #c32020;
  font-weight: 700;
}

article a:hover {
  color: #f32020;
}

/* 
 * Top *************************
*/

/* Image handling */ 
div#logo-div {
  padding: 0;
}

#logo {
  width: 70px;
  height: auto;
  margin: 0px 5px 0px 5px;
  position: fixed;
  right: 0;
  padding-right: 50px;
}

img.down_arrow {
  height: 36px;
  width: 36px;
}


/*
 * VIDEO
 */

/*
 * Hide the video popup
 */
div#videoPopUp {
  z-index: 5;
  display: none;
  position: absolute;
  top: 20px;
  right: 0;
}

.heroVideo {
  margin: 20px 10px 20px 10px;
}


/* 
 ********************** MENU NAV ********
*/

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: absolute;
  z-index: 10;
}

nav li {
  display: inline-block;
  float: left;
  margin-right: 1px;
}

nav li a {
  display: block;
  min-width: 140px;
  height: 40px;
  text-align: center;
  line-height: 35px;
  font-family: 'exo_2.0light';
  color: #fff;
  background: #2f3036;
  text-decoration: none;
}

nav li:hover a {
  background: #19c589;
}

nav li:hover ul a {
  background: #f3f3f3;
  color: #2f3036;
  height: 40px;
  line-height: 40px;
}

nav li:hover ul a:hover {
  background: #19c589;
  color: #fff;
}

nav li ul {
  display: none;
}

nav li ul li {
  display: block;
  float: none;
}

nav li ul li a {
  width: auto;
  min-width: 150px;
  padding: 0 20px;
}

nav ul li a:hover + .hidden, .hidden:hover {
  display: block;
}

/* Subnav */

.subnav ul {
  list-style-type: none;
  float: left;
}

.subnav li{
  display: block;
}

.subnav a {
  text-decoration: none;
  color: #bb4455;
}

/* End of Subnav */

/* header image formatting */
header {
  margin-top: 0;
}

img#phonelogo {
  width: 28px;
  height: 28px;
}

span#phone_number_logo {
  display: none;
}

nav {
  padding-bottom: 35px;
}

/*
 * Buttons
 */

button.popupButton {
  border-radius: 8px;
  color: #33000D;
  font-size: 2.0em;
  background-color: rgba(255,225,0,1);
  font-family: 'exo_2.0regular';
}
button.popupButton {
  text-decoration: none;
}

button.popupButton:hover {
  background-color: rgba(255,255,10,1);
}

/*
 * Down arrow and in-page navigation
 */

h4.down_arrow_header {
  margin-left: 50px;
}

/*
 * Articles *************************
 */


article.cloudArticle, article#heroArticle {
  overflow: none;
  margin: 30px 10px 0 50px;
}

div.spacer {
  margin-left: 5px;
  padding-left: 5px;
  border-left: solid black 2px;
}

article.blogArticle h2 {
  font-size: 1.3em;
}

article.blogArticle p {
  font-size: 0.8em;
}


article.clearArticle {
  clear: left;
}

article h1 {
  max-width: 60em;
}

article p {
  font-family: 'exo_2.0light';
  max-width: 30em;
  font-size: 0.9em;
}

article img {

  max-width: 400px;
  height: auto;
  z-index: -1;
  float: left;
  padding: 5px;
}

article.video {
  width: 340px;
  margin: 20px 10px 10px 10px;
  float: left;
}

article.video iframe {
  width: 330px;
  height: 247px;
}

footer {
  margin-left: 50px;
  font-family: 'exo_2.0Regular';
}

img#static_hero_image {
  width: 80%;
  min-width: 350px;
  height: auto;
  padding: 10px;
}

#static_product_image img {
  width: 350px;
  height: auto;
  padding: 10px 100px 0 0;
}

article ul {
  width: 100%;
  min-width: 240px;
}

article ul li {
  padding-bottom: 10px;
  font-family: 'exo_2.0Regular';
  width: 40%;
  min-width: 220px;
  padding-right:;
}

p.article_image img, {
  width: 100%;
  height: auto;
}

img.product_image {
  width: 100%;
}

/*
****** HERO ARTICLE lead article ******
 */

article#heroArticle h1, article#heroArticle h2 {
  max-width: 960px;
}

article#heroArticle ul {
  list-style-image: url('../img/icon/phone-25x25.jpg');
}

article#heroArticle li {
  font-family: 'exo_2.0Regular';
  font-size: 18px;
  line-height: 26px;
}

article#heroArticle {
  width: 100%;
}

article#heroArticle p {
  float:left;
  max-width: 50%;
  padding-left: 2%;
  font-size: 1.2em;
}

div.fifth {
  width: 19%;
  float: left;
}

div.fifth img {
  width: 75%;
  float: none;
  padding-left: 0%;
  padding-bottom: 1%;
}

div.fifth h6, div.fifth a {
  font-size: 1em;
  padding-top: 1%;
  margin-top: 0;
}

div.fifth p {
  font-size: 0.8em;
  width: 80%;
}

/*
 * TWO COLUMN DESIGN **********************
 */


div.column {
  margin-top: 10px;
  padding: 10px 40px 10px 10px;
  float: left;
  max-width: 360px;
}

div.column img {
  float: left;
}

div.column p {
  width: 90%;
  padding: 0 0 0 10px;
}

div.column_left {
}

div.column_right {
}

.clearDiv2 {
  width: 100%;
  overflow: auto;
}

/* 
 * PICTURES for expanding pics with javascript *
 */
.column img{
  width: 85%;
  padding: 1%;
  min-width: 300px;
}

#largeImgPanel {
  text-align: center;
  visibility: hidden;
  position: fixed;
  z-index: 100;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(100,100,100, 0.5);
}

#largeImgPanel img#largeImg {
  width: 100%;
  height: auto;
  margin: 0; 
  padding: 0;
}

div#imageInstruction {
  overflow: hidden;
  width: 100%;
}

div#imageInstruction h3 {
  text-align: center;
  color: #444;
  font-size: 0.95em;
}


/* 
 * * * Footer * * *
 */
 footer {
  overflow: auto;
  width: 100%;
 }

/* Form styling */
.contact_form form {
  width: 85%;
  float: left;
  margin: 2% 4% 2% 4%;
  min-width: 350px;
  font-family: 'exo_2.0Regular';
}

.contact_form label {
  float:left;
  width: 15%;
  font-weight: 700;
  min-width: 8%;
  font-size: 13px;
}

.contact_form textarea, .contact_form input {
  margin-bottom: 2%;
  
}

.contact_form input {
  width: 40%;
  font-size: 13px;
}

.contact_form textarea {
  width: 80%;
  height: 25%;
}

.contact_form input.button {
  width: 13%;
  min-width: 80px;
}

.phone_number_link a {
  text-decoration: none;
  color: black;
  font-weight: 600;
}

/*
 *======================================================================================
 * responsive *********************************
 *======================================================================================
 */

@media screen and (max-width: 800px) {
  
  /* 
   * Responsive Nav
   */

  span#phone_number_logo {
    display: inline;
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 24px;
    font-family: 'exo_2.0bold';
  }

  .container { 
    width: 100%; 
  }
  
  ul {
    position: static;
    display: block;
    width: 100%;
  }

  li {
    margin-bottom: 1px;
    width: 100%;
  }

  ul li, li a,  {
    width: 100%;
  }

  #logo {
    position: relative;
    display: inline;
  }
  
  /*
  End of responsive nav section
  */

  /* 
  Responsive subnav section
  */
  .subnav {
    display: none;
  }

  /* 
  End of responsive subnav section
  */

  div#imageInstruction {
    margin-top: 180px;
  }


  h1, article h1 {
    font-size: 22px;
    width: 100%;
  }

  article h6 {
    font-size: 10px;
    font-weight: 200;
  }

  #hero h1 {
    font-size: 28px;
  }

  h2, article h2, #hero_copy h2 {
    font-size: 18px;
    width: 100%;
  }

  h4, article h4, #hero_copy h4 {
    font-size: 14px;
  }

  p.phone_number {
    font-size: 20px;
  }

  button.popupButton {
    font-size: 16px;
  }

  div#videoPopUp {
    display: none;
  }

  .hide_mobile {
    display: none;
  }

  article img {
    max-width: 200px;
    height: auto;
  }

  article#heroArticle ul {
    list-style-image: none;
    width: 99%;
  }

  article#heroArticle li {
    font-size: 14px;
    width: 99%;
  }

  article.cloudArticle, article#heroArticle {
    margin: 10px 5px 5px 10px;
  }

  article h1 {
    min-width: 14em;
  }

  article p {
    font-size: 10px;
  }

  /* START OF RESPONSIVE COLUMN */

  div.column {
    margin-top: 10px;
    padding: 2px;
    float: none;
    width: 100%;
    max-width: 760px;
  }

  div.column img {
    float: left;
  }

  div.column p {
    width: 95%;
    padding: 0 0 0 10px;
  }

  /* END OF RESPONSIVE COLUMN */

  #static_product_image img {
    padding: 5px;
  }

  img.product_image {
    width: 300px;
    padding-left: 20px;
  }

  footer {
    width: 95%;
    padding: 0 0 0 10px;
    margin: 0;
  }

  /* END RESPONSIVE */
}