/* Dark Sky Styles       */
/* Author: Erik Straight */
/* Date: 4/13/16         */

body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  background: #FFFFFF;
}

a {
  color: #06F;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.body-wrapper {
  margin: 0 auto;
}

.clear {
  clear: both;
}

nav {
  display: table;
  width: 100%;
  background-color: #333;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 300;
  -webkit-text-size-adjust: 100%;
}

nav > .inner {
  margin: 6px auto;
  width: 80%;
  max-width: 900px;
  text-align: center;
  white-space: nowrap;
}

nav a {
  padding: 0 5%;
  position: relative;
  top: -8px;
  color: #FFF;
  text-decoration: none;
}

nav a:hover {
  opacity: 0.75;
  text-decoration: none;
}

nav a.logo {
  top: 0;
}
nav a.logo img {
  height: 30px;
}

nav a.twitter {
  top: -3px;
  padding: 1%;
}
nav a.twitter img {
  max-width: 100%;
  max-height: 100%;
  height: 20px;
}

nav a span#phone-icon {
  position:relative;
  top: 2px;
  margin: 2px;
  font-size: 22px;
}

nav a span#phone-icon img {
  position: relative;
  top: 1px;
  left: -3px;
  width: 16px;
}

header {
  text-align: center;
}

header > .inner {
  width: 100%;
  margin: 0 auto;
  max-width: 1000px;
}

header h1 {
  font-weight: 400;
  font-size: 2.5em;
  margin: 0.7em 0 0.45em;
}

header p {
  margin: 0 18%;
  font-weight: 300;
  font-size: 1.1em;
  line-height: 1.6em;
}

.devices-image {
  width: 100%;
  padding: 35px 0;
}

.devices-image img {
  max-width: 100%;
  max-height: 100%;
  height: 400px;
  padding: 0 20px;
}

.devices-image img:nth-child(2) {
  height: 250px;
}

.product-links {
  background-color: #F5F5F5;
  text-align: center;
  padding: 25px 0;
}

.product-links a {
  text-decoration: none;
}

.product-links a:first-child {
  margin-right: 15px;
}

.product-links a:last-child {
  margin-left: 15px;
}


#quotes,
#quotes-mobile {
  padding: 16px 0;
  background-color: #F5F5F5;
}

#quotes-mobile {
  display: none;
}

#quotes > .inner,
#quotes-model > .inner {
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
}

.quote-box {
  float: left;
  width: 25%;
}

.quote-box p {
  padding: 0 12px;
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  margin: 0;
  text-align: center;
  height: 100%;
}

.quote-box p span {
  display: block;
  text-align: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  margin-top: 5px;
}

#descriptions .description-container:first-child {
  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(top,  #ffffff 75%, #dddddd 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #ffffff 75%,#dddddd 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #ffffff 75%,#dddddd 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dddddd',GradientType=0 ); /* IE6-9 */
}

#descriptions .description-container:not(:first-child) {
  background: #C1C0C0; /* Old browsers */
  background: -moz-linear-gradient(top,  #C1C0C0 82%, #949393 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #C1C0C0 82%,#949393 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #C1C0C0 82%,#949393 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C1C0C0', endColorstr='#949393',GradientType=0 ); /* IE6-9 */
}

.description-container:first-child .description-text {
  padding-left: 6%;
  padding-right: 1%;
}

.description-text {
  width: 31%;
}

.description-text h3 {
  font-size: 1.4em;
}

.description-text p {
  font-size: 1.1em;
  font-weight: 300;
  line-height: 1.7;
}

.description-image {
  width: 60%;
  text-align: center;
}

.description-image img {
  max-width: 100%;
  max-height: 100%;
  height: 450px;
  padding: 0 35px;
}

.description-image img:last-child {
  height: 500px;
}


/* ALTERNATE SECTION STYLES */

h3 {
  font-size: 1.6em;
}

#new-descriptions {
  /*padding: 20px 10%;*/
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
}

#new-descriptions > div {
  clear: both;
  padding: 20px 10%;
  margin: 0 auto;
  max-width: 780px;
}

#new-descriptions .left {
  float: left;
}

#new-descriptions .right {
  float: left;
}

#new-descriptions .text {
  line-height: 1.8;
  width: 60%;
  margin-top: 45px;
}

#new-descriptions .image {
  text-align: center;
  width: 40%;
}

#new-descriptions .image.left {
  margin-left: -50px;
}

#new-descriptions .text p {
  font-weight: 300;
  font-size: 1.0em;
}

.description-space {
  clear: both;
}

#new-descriptions .image img {
  height: 450px;
}

footer {
  margin: 35px 0;
  font-size: 11px;
  color: #b6b6b6;
  text-align: center;
}

footer p {
  margin: 4px;
}


/* Mobile Styles */

@media (max-width: 1140px) {
  .description-text {
    width: 45%;
    padding: 2% 0;
  }

  .description-image {
    width: 45%;
  }
}

@media (max-width: 900px) {
  header h1 {
    font-size: 1.5em;
    margin: .5em 0;
  }

  header p {
    font-size: 1.1em;
    margin: 0 7.5%;
  }

  .description-container {
    padding: 35px 0 12px 0;
  }

  .devices-image img, .description-image img, .description-image img {
    max-width: 95%;
    max-height: 95%;
    height: 275px;
  }

  .devices-image img:nth-child(2) {
    height: 240px;
  }

  .description-image {
    text-align: center;
  }

  .product-links a:first-child {
    margin-right: 5px;
  }

  .product-links a:last-child {
    margin-left: 5px;
  }

  .description-container:first-child .description-text, .description-container .description-text {
    padding: 0 2%;
  }

  .description-text {
    width: auto;
    padding: 2% 0;
  }

  .description-image {
    width: auto;
  }


  /* ALTERNATE STYLES */
  .image img {
    height: 400px;
  }

}

@media (max-width: 700px) {

  .devices-image img {
    height: 215px;
    padding: 0 15px;
  }

  .devices-image img:nth-child(2) {
    height: 170px;
  }

  .description-text h3 {
    font-size: 1.1em;
    text-align: center;
  }

  .description-text p {
    font-size: 1em;
  }


  /* ALTERNATE STYLES */
  #new-descriptions > .div {
    display: table;
  }

  #new-descriptions .text {
    display:table-header-group;
    width: 90%;
    margin: 0 auto;
    float: none;
  }

  #new-descriptions .image {
    display:table-footer-group;
    width: 90%;
    margin: 0 auto;
    float: none;
  }
  #new-descriptions .image.left {margin-left: auto;}

  .image img {
    height: 375px;
  }
}

@media (max-width: 695px) {

  nav {
    font-size: 15px;
  }

  nav a {
    padding: 2%;
  }

  #quotes {
    display: none;
  }

  #quotes-mobile {
    display: block;
  }

  .quote-box {
    width: 100%;
    margin: 10px auto 25px;
    float: none;
  }

  .quote-box p {
    font-size: 17px;
  }

  header h1 {
    margin: 25px 2% 10px;
  }

  .devices-image img:nth-child(2) {
    height: 125px;
  }

  .product-links {
    background-color: #F5F5F5;
    text-align: center;
    padding: 10px 0;
  }

  /* ALTERNATE STYLES */
  #new-descriptions {
    padding: 25px 0;
  }

  #new-descriptions > div {
    padding: 15px 5%;
  }

  h3 {
    font-size: 1.2em;
    text-align: center;
  }

  .text {
    line-height: 1.5;
  }

  .image img {
    height: 250px;
  }
}

@media (max-width: 335px) {
  nav > .inner {
    width: 90%;
  }
  nav .inner a {
    padding: 1%;
  }
  .devices-image img {
    /*height: 175px;*/
    padding: 0 10px;
  }
  .product-links a:first-child {
    margin-right: 0;
  }

  .product-links a:last-child {
    margin-left: 0;
  }


  /* ALTERNATE STYLES */
  .text {
    line-height: 1.2;
  }
  .image img {
    height: 225px;
  }
}

/* Mobile styles for nav */
@media (max-width: 695px) {
  nav {
    font-size: 15px;
  }
  nav a {
    padding: 1.2%;
  }
}

@media (max-width: 500px) {
  nav > .inner {
    width: auto;
  }
}

@media (max-width: 335px) {
  nav .inner a {
    padding: 1%;
  }
}
