/* 
=====================================================================
*   Woo Media Queries
*   url: styleshout.com
*   05-02-2014
/* ================================================================== */


/* screenwidth less than or equal 900px
--------------------------------------------------------------------- */
@media only screen and (max-width: 900px) {

	/* General and Common Styles */
	.section-head h1 { font: 18px/30px 'opensans-bold', sans-serif; }

    /* Hero Section
   ------------------------------------------------------------------ */
   .hero-text h1 { font-size: 35px/1.2em; }
  
   /* Features Section
   ------------------------------------------------------------------- */
   #features .feature { margin-bottom: 30px; }
   #features .right { padding-left: 18px; }
   #features .left { padding-right: 18px; }
   #features h3 { margin-bottom: 6px; } 

   /* Pricing Section
   ------------------------------------------------------------------- */
   .pricing-tables { 
      width: 82%; 
      margin: 0 auto;
   }

   /* Call To Action Section
   ------------------------------------------------------------------- */
   #call-to-action b { font: 25px/36px 'opensans-bold', sans-serif; } 
   #call-to-action .action { text-align: center; }
   #call-to-action .action .button { font: 14px/24px 'opensans-bold', sans-serif; } 
   #call-to-action p { font-size: 18px; }

   /* Testimonials Section
   ------------------------------------------------------------------- */
   #testimonials blockquote p { font-size: 24px; }  

   /* Subscribe Section
   ------------------------------------------------------------------- */
   #subscribe h1 { margin-bottom: 18px; }
   #mc_embed_signup input[type="submit"] { width: 46%; }
   #mc_embed_signup input[type="email"] { width: 46%; }

   /* Footer
   ------------------------------------------------------------------- */
   footer .right-cols .columns { width: 50% !important; }
   footer .right-cols .columns:last-child { 
      clear: left; 
      float: left;      
   }

}

/* screenwidth less than 768px - mobile/smaller tablets
---------------------------------------------------------------------- */
@media only screen and (max-width: 840px) {

	/* General and Common Styles */
	.section-head { padding: 0 30px; }
    
    header {
        height: 60px;
    }
    header .logo img {
        height: 40px;
    }

   /* mobile navigation
   -------------------------------------------------------------------- */
   #nav-wrap {
      background: transparent !important;
      position: absolute;
      top: 0;
      right: 0;
      margin-top: 6px;
   }
   #nav-wrap > a {	   
      text-align: left;
		border: none;
      font-size: 12px;
      height: 54px;
      line-height: 54px; 
      float: right;     
      color: transparent;

      position: relative;
      top: 0px;
      right: 36px;
   }
	#nav-wrap > a:before {
	   font-family: 'FontAwesome';
      content: "\f0c9";
      color: #62a1d6;
      margin: 0;
      font-size: 25px;
      line-height: 54px;
      text-align: center;      
      display: block;
	}

   /* hide menu panel */
   #nav-wrap #nav {
      padding: 0;
      background: #f3f3f3;
      height: auto;
      display: none;
      clear: both;
      width: 280px; 
            
      position: relative;
      top: 0;
      right: 20px;           
      font-size: 0.85em;
   }
   
   /* display toggle buttons */
	.no-js #nav-wrap:not( :target ) > a:first-of-type,
	.no-js #nav-wrap:target > a:last-of-type  {
	   display: block;
	} 
   .js #nav-wrap > a { display: block; }  

   /* display menu panels - no JS*/
   .no-js #nav-wrap:target > ul#nav  {
      display: block;           
   }

   #nav li {
      display: block;
   }
  
   #nav li a {  
      padding: 4px 16px;
      line-height: 32px;
      border: none;
   }
   
   #nav li li a {
      width: 100%;
   }

    #nav li ul ul {
        margin-left: 15px;
    }


   /* Hero Section
   -------------------------------------------------------------------- */
   #hero { padding-top: 48px; height: 180px; }
   #hero.hero-main { height: 240px; }
   #hero .hero-text { margin-top: 48px; }
   .hero-text h1 { font-size: 28px; padding: 16px; max-width: 100%; }


   /* Features Section
   --------------------------------------------------------------------- */   
   .feature .right {
      padding-left: 30px;
      float: none;
   }
   .feature .left {
      padding-right: 30px;
      float: none;
   }
   #features h3 { text-align: center; }  

   #mainmatter .product-photo { max-width: 100%; padding: 0; }

}

@media only screen and (max-width: 767px) {
    .feature .columns { padding-left: 0; }
}

/* screenwidth less than or equal 480px - mobile wide
  -------------------------------------------------------------------------- */
@media only screen and (max-width: 480px) {   

   /* mobile navigation
   -------------------------------------------------------------------- */
   #nav-wrap { width: 100%; }
   #nav-wrap ul#nav { 
      width: 100%;
      float: none;
      right: 0;             
   }

   .quote-form input { float: none !important; }
   .quote-form .form-label { padding: 0; }
   
   .column, .columns { padding: 0 10px; }
   
   #mainmatter { padding-top: 16px; }
   
   #mainmatter img { max-width: 100%; margin-left: 0; margin-right: 0; }
   
   /* Footer
   ------------------------------------------------------------------- */
   footer .right-cols .columns { padding: 0 10px; }        

}
