html, body{
  overflow-x: hidden;
}
body {
  font-family: 'Halant', serif;
  color: #223A49;
}
h1, h2, h3 h4, h5, h6 {
  font-family: 'ABeeZee', sans-serif;
}
h2 {
  font-size: 28px; 
  font-weight: normal;
  margin-bottom: 5px;  
}
p {
  font-size: 16px; 
  line-height: 19px; 
  font-weight: 100;
}


/* GRID */

.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15 px; 
  padding-right: 15 px;
  position: relative;
}
.container:before, .container:after {
  content: " ";
  display: table;
}
.container:after {
  clear: both;
}
.one-half, .one-third, .one-fourth {
  width: 96%; 
  float: left; 
  position: relative;
  min-height: 1px;
  margin: 0 2% 20px;
}

/* MEDIA QUERIES */

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
  .one-half {
    width: 46%;
  }
  .one-third {
    width: 29.33333%;
  }
  .one-fourth {
    width: 21%;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* Create an extra-large media query to target TV sets, 
and change the attributes of the text elements within the hero section.*/

/* Since the tv media type has been deprecated accoring to w3schools, 
I've used my 32 inch HD TV screen in my home for the example below.*/

/* Using http://whatsmyscreenresolution.com, my browser window resolution is and 2166 x 1100 when hooked directly into my HD TV. */

/*I've increased the original sizes of the text elements in the hero by 2-3 times the original size.*/


@media (min-width: 2100px) {
  header nav ul > li {
  list-style-type: none;
  display: inline-block;
  margin:0 45px;
}


header nav ul > li > a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 32px;
}

header .hero h1 {
  font-size: 96px;
  font-weight: normal;
  margin: 95px 0 0;
}

header .hero p {
  font-size: 44px;
  line-height: 26px;
  font-weight: 100;
  margin: 20px 0 80px;
}

}

/* HEADER */

header {
  color:#FFFFFF;
  background: #F2F6F1;
  /* Gradient: */
background-image: linear-gradient(-180deg, #2FA49A 0%, #156B61 100%);
background-image: linear-gradient(154deg, #156B61 6%, rgba(111,209,134,0.80) 100%);
padding-bottom: 50px;
}

header nav {
  padding:1em 0;
}

header nav ul {
  display: inline;
  text-align: right;
  float: right;
  margin:0;
}

header nav ul > li {
  list-style-type: none;
  display: inline-block;
  margin:0 15px;
}


header nav ul > li > a {
  color: #FFFFFF;
  text-decoration: none;
}

header nav ul > li > a :hover {
  color: #FFFFFF;
  text-decoration: none;
}

header nav .btn-outline {
  padding: 10px 15px;
  border-radius: 4px;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

header nav .btn-outline :hover {
  color: #FFFFFF;
}

header .hero {
  text-align: left;
  display: block;
  position: relative;
}

header .hero h1 {
  font-size: 48px;
  font-weight: normal;
  margin: 95px 0 0;
}

header .hero p {
  font-size: 22px;
  line-height: 26px;
  font-weight: 100;
  margin: 10px 0 40px;
}

header .hero img {
  display: block;
  margin: 3em auto 0;
  width: 38em;
  height: 24em;
}

/* BUTTONS */

.btn {
  border-radius: 4px;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 30px;
  background: #6FD186;
  border: 2px solid #6FD186;
  box-shadow: 0px 2px 0px 0px #156B61;
}

.btn-hero {
  border-radius: 4px;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 30px;
  background: #6FD186;
  border: 2px solid #6FD186;
  box-shadow: 0px 2px 0px 0px #156B61;
}

/* BENEFITS */

.benefits {
  text-align: center;
  display: block;
  position: relative;
  background: #F2F6F1;
}

.benefits ul {
  margin: 0 auto;
  padding: 4em 0;
}

.benefits ul li {
  list-style-type: none;
  display: inline-block;
    margin-bottom: 40px;
}


.benefits i {
  color: #223A49;
  font-size: 60px;
  margin: 0;
  vertical-align: middle;
}

.benefits h2 {
  color: #223A49;
}

/* PRICING */

.pricing {
  background: #BFF1CB;
  background-size: cover;
  text-align: center;
  padding: 4em 0;
}

.pricing p {
  padding-left: 3em;
  padding-right: 3em;
}

.pricing ul li {
  list-style-type: none;
  text-align: center;
}

.box {
  padding: 0 15px 15px;
  background: #F2F6F1;
  box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.20);
  height: 385px;
  position: relative;
}

.outer-box li {
  margin-top: 40px;
}
.box.middle {
  height: 425px;
}

.box h3 {
  font-family: "ABeeZee", sans-serif;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  background: #223A49;
  box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.40);
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
  margin: 0 -15px 40px;
  padding: 10px 0;
}

.box h4 {
  font-size: 50px;
  font-weight: normal;
  margin: 10px 0px 10px;
  color: #7CC3CB;
}

.box h4 span.month {
  font-family: "ABeeZee", sans-serif;
  font-weight: 100;
  color: #7CC3CB;
  font-size: 20px;
  vertical-align: middle;
}

.box ul li {
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 100;
  text-align: center;
}

.box .btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
}

.small {
  font-size: 14px;
  color: #223A49;
  line-height: 15px;
  font-style: italic;
  text-align: center;
}

/* TESTIMONIALS */

.testimonials {
  background: #FFFFFF;
  display: inline-block;
}

.one-third {
  float: left;
}

.blockquote {
  font-family: "Halant", serif;
  font-size: 18px;
  text-align: center;
}


.blockquote span.quotation {
  font-size: 35px;
   color: #7CC3CB;
}

.blockquote p {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}



/* FINAL CALL TO ACTION */ 

.call-to-action {
  background: #F2F6F1;
}

.call-to-action .final {
  text-align: center;
}

.call-to-action h2 {
  font-family: "ABeeZee", sans-serif;
  color: #223A49;
  display: inline-block;
  margin: 40px;
}

.call-to-action a {
  display: inline-block;
  margin: 20px;
}

/* FOOTER */

footer {
  background-color: #156B61;
  color: #FFFFFF;
  height: 150px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

footer p, footer nav ul {
  font-size: 14px;
  font-weight: 100;
  text-align: center;
  margin: 10px autp 0;
}

footer nav ul li {
  list-style-type: none;
  display: inline;
}

footer nav ul li a {
  color: #FFFFFF;
  text-decoration: none;
}

footer .right-footer-block {
  background-color: transparent;
}

footer .logo {
  padding: 2.35em 0;
  margin: 0 auto;
  display: block;
  float: right;
}

@media (min-width: 992px) {}
  footer {
    background-color: #156B61;
    height: 100px;
   }
   
   footer p, footer nav ul{
     padding: 2em 0;
     text-align: left;
   }

   footer .logo {
     padding: 2em 0 2em 1.5em;
   }
 }

 /* DASHBOARD */

 .dashboard {
    background: #F2F6F1;
 }

.left-nav {
   height: 100%;
   width:280px;
   color: #FFFFFF;
   background: #156B61;
   background-image: linear-gradient(190deg, #156B61 45%, #6FD186 90%);
   float:left;
   position: absolute;
   -webkit-transition: all 0.3s ease-in-out;
   -moz-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;
   transition: all 0.3s ease-in-out;
   transform: translate(-280px,0);
     -webkit-transform: translate(-280px,0); /** Chrome & Safari **/
     -o-transform: translate(-280px,0); /** Opera **/
     -moz-transform: translate(-280px,0); /** Firefox **/
 }
 .left-nav.open {
   display:block;
   width:280px;
   -webkit-transition: all 0.3s ease-in-out;
   -moz-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;
   transition: all 0.3s ease-in-out;
   transform: translate(0,0);
     -webkit-transform: translate(0,0); /** Chrome & Safari **/
     -o-transform: translate(0,0); /** Opera **/
     -moz-transform: translate(0,0); /** Firefox **/
     z-index: 100;
 }
 .hamburger {
   position:absolute;
   z-index: 1000;
   background:#156B61;
   color:#FFF;
   text-decoration: none;
   font-size: 22px;
   padding: 10px 15px;
   border-radius: 4px;
   left: 5px;
   top: 15px;
 }

 @media (min-width:992px) {
   .left-nav {
     height: 100vh;
     width:14.66666667%;
     color:#FFFFFF;
     background: #156B61;
     background-image: linear-gradient(206deg, #5F81A3 0%, #34495E 94%);
     float:left;
     position: fixed;
     display:block;
     transform: translate(0,0);
     -webkit-transform: translate(0,0); /** Chrome & Safari **/
     -o-transform: translate(0,0); /** Opera **/
     -moz-transform: translate(0,0); /** Firefox **/
   }
   .left-nav.open {
     width:14.66666667%;
     transform: translate(0,0);
     -webkit-transform: translate(0,0); /** Chrome & Safari **/
     -o-transform: translate(0,0); /** Opera **/
     -moz-transform: translate(0,0); /** Firefox **/
   }
   .hamburger {
     display:none;
   }
 }

 .left-nav {
    height: 100vh;
    width: 14.66666667%;
    color: #FFFFFF;
    background: #156B61;
    background-image: linear-gradient(190deg, #156B61 45%, #6FD186 90%);
    float: left;
    position: fixed;
    display: block;
 }

 .left-nav .site-logo {
    padding: 20px 0;
    display: block;
    text-align: center;
 }

 .items li {
    padding: 0 6%;
 }

 .left-nav .items p {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    color: #FFFFFF;
    line-height: 40px;
    padding-left: 8px;
 }

 .left-nav .items ul {
    margin: 0 0 40px;
    padding: 0;
 }

 .left-nav .items ul li {
    list-style-type: none;
    margin-bottom: 15px;
 }

 .left-nav .items ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 100;
 }

  .left-nav .items ul li a i {
    width: 16px;
    text-align: center;
    margin-right: 8px;
  } 

  .active {
    background: rgba(255, 255, 255, .30);
    padding-top: 5px;
  }

/* CONTENT */

.content {
  padding: 6em 1% 1.5em;
  float: right;
  width: 98%;
  position: relative;
  background-color: #F2F6F1;
}  

.content .header {
  margin: 0 1% 20px;
}

.content .header h1 {
  font-family: "ABeeZee", sans-serif;
  font-weight: 100;
  margin: 0 0 30px;
  font-size: 36px;
  color: #223A49;
  line-height: 44px;
  float: left;
  display: inline-block;
}

.content .header h2 {
  font-family: "ABeeZee", sans-serif;
  font-weight: 100;
  margin: 0 0 30px;
  font-size: 24px;
  color: #223A49;
  line-height: 44px;
  float: left;
  display: inline-block; 
}

.container img {
  margin-bottom: 10px;
}
.container .header > a {
  margin-left: 5%;
}

.content-item {
  width: 96%;
  margin: 0 2% 25px;
  float: left;
  display: block;
}

.item-box {
  display: block;
  height: 230px;
  background: #FFFFFF;
  box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.40);
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.link-box {
  display: block;
  height: 230px;
  background: #FFFFFF;
  box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.40);
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.item-box > img {
  position: absolute;
  height: 100%;
  width: auto;
  top: 0;
  left: 0;
  right: 0;
}

.item-box h2 {
  font-family: "ABeeZee", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #223A49;
  line-height: 17px;
  margin: 0;
}

.link-box h2 a {
  color: #7CC3CB;
  text-decoration: none;
  font-size: 15px;
  margin-left: 10px;
}

.item-box h2 img {
  width: 16px;
  height: 16px;
  position: relative;
  top: 2px;
  margin-right: 5px;
}

.item-box p {
  font-size: 14px;
  color: #223A49;
  line-height: 18px;
  margin: 5px 0 0;
}
 /* SETTINGS */
 .settings {
   position:relative;
   width:25%;
     float:right;
     margin:-95px;
 }

 .settings img {
   height:35px;
   width:35px;
   border-radius: 50%;
   margin-left: 10px;
   display: inline-block;
 }
 .settings p {
   display: inline-block;
   vertical-align: top;
   padding-top: 8px;
   font-weight: 400;
 }
 .settings a {
   color:#333333;
   text-decoration: none;
   text-align: left;
   float: right;
   margin:-5px 5px 0px 0;
 }
 

/* LARGE MOBILE DEVICE */

@media (max-width:560px) {
  .content {
    padding: 1.5em 1%;
    float: right;
    width: 90%;
    position: relative;
  }
   
  .content-item {
    width: 46%;
    margin: 0 2% 25px;
    float: left;
    display: block;
  }

  p.copyright-crate {
    text-align: center;
  }

  header nav ul {
    float: center;
    margin-left: 60px;
  }

  header .hero h1 {
    text-align: center;
  }

  header .hero p {
    text-align: center;
  }

  .btn-hero {
    float: center;
    margin-left: 140px;
  }

  header .hero img {
  display: block;
  margin: 3em auto 0;
  width: 30em;
  height: 16em;
}
}

/* TABLET */

@media (min-width:768px) {
  .content {
    padding: 1.5em 5%;
    float: right;
    width: 90%;
    position: relative;
  }
  
  .content > .container {
     width: 700px;
   }
  
  .content-item {
    width: 31.33333%;
    margin: 0 1% 25px;
  }

}

/* LAPTOP & DESKTOP */

@media (min-width:992px) {
  .content {
    padding: 1.5em 1%;
    float: right;
    width: 83.33333333%;
    position: relative;
  }
  
  .content > .container {
    width: auto;
  }
  
  .content-item {
    width: 23%;
    margin: 0 1% 25px;
  }

}
