/* 
=====================================================================
*   Woo Media Queries
*   url: styleshout.com
*   05-02-2014
/* ================================================================== */


/* screenwidth less than or equal 1024px
--------------------------------------------------------------------- */
@media only screen and (max-width: 1024px) {

   /* Hero Section
   ------------------------------------------------------------------ */
   .hero-text { width: 82%; }
   .hero-text h1 { font: 38px/1.2em 'opensans-light', sans-serif; } 
   .ewappicon ul li{margin: 12px 7px;}
	
	/* downloads Section
   ------------------------------------------------------------------- */
   #downloads .text-container { width: 82%; }

   /* Call To Action Section
   ------------------------------------------------------------------- */
   #call-to-action h2 { font: 26px/36px 'montserrat-bold', sans-serif; }
   #call-to-action p { font-size: 16px; }

}

/* screenwidth less than or equal 900px
--------------------------------------------------------------------- */
@media only screen and (max-width: 900px) {

	/* General and Common Styles */
   .section-head h1 { font: 40px/40px '微軟正黑體','opensans-light', sans-serif; line-height: 1.4em; }
   .section-head2 h1 { font: 40px/40px '微軟正黑體','opensans-light', sans-serif; line-height: 1.4em; }
   .section-head3 h1 { font: 40px/40px '微軟正黑體','opensans-light', sans-serif; line-height: 1.4em; }

   /* Header Styles
   ------------------------------------------------------------------ */
   header .header-social { font-size: 18px; }
   header .header-social li { margin-right: 15px; }

    /* Hero Section
   ------------------------------------------------------------------ */
   #hero { padding-top: 50px; }
   .hero-text { width: 88%; }
   .hero-text h1 { font: 35px/1.2em 'opensans-light', sans-serif; }
   .hero-text p { font: 15px/30px 'opensans-regular', sans-serif; } 
  
   /* nav-wrap */
   #nav-wrap { font: 10px 'opensans-light', sans-serif; }

   ul#nav {
    margin-left: 20px;
   }

   ul#nav li {
    padding: 8px 10px;
   }

   #About {
   padding-top: 200px;
   padding-bottom: 400px;
   }

   #Project {
   padding: 0 0 50px 0; 
   }

   .row-contact{
      padding: 0;
      width: 100%;
   }

   .contactbox {
   width: 100% !important;
   margin-top: 0;
   padding: 20px 60px;
   position: relative;
   }

   /* map */
   #map {
      height: 600px;
   }

   .row-about-banner {
    max-width: 50%;
   }


   /* Footer
   ------------------------------------------------------------------- */
   footer .right-cols .columns { width: 50% !important; }
   footer .right-cols .columns:last-child { 
      clear: left; 
      float: left;      
   }

   /*----Page Part---*/
   .col-text {
   padding: 60px 40px;
   }

   .col-text ul li{
   font: 18px/18px "微軟正黑體",'opensans-light', sans-serif;
   }

   .col-contact {
   width: 100% !important;
   padding: 0;
   margin-top: 0; 
   position: relative;
   }

   .contactbox2{
   padding: 20px 60px;
   position: relative;
   top: 0;
   }

   .hot-call{
     top: 0;
     position: relative;
   }


}

/* screenwidth less than 768px - mobile/smaller tablets
---------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {

	/* General and Common Styles 
	.section-head ,.section-head2 { padding: 0 30px; }*/


   /* mobile navigation
   -------------------------------------------------------------------- */
   #nav-wrap {
      font: 11px 'opensans-light', sans-serif;
      background: transparent !important;
      letter-spacing: 1.5px;  
      color: #515968;
      
      position: absolute;
      top: 0;
      right: 0;
      z-index: 999;
   }
   #nav-wrap > a {	   
      text-align: left;
		border: none;            
      color: #fff;
      font-size: 12px;
      height: 54px;
      line-height: 54px; 
      float: right;     
                        
      font: 0/0 a;
      text-shadow: none;
      color: transparent;

      position: relative;
      top: 0px;
      right: 36px;
   }
	#nav-wrap > a:before {
	   font-family: 'FontAwesome';
      content: "\f0c9";
      color: #595656;
      margin: 0;
      font-size: 25px;
      line-height: 54px;
      text-align: left;      
      display: block; 
      float: right;     
	}

   /* hide menu panel */
   #nav-wrap ul#nav {
      padding: 24px 36px 48px 36px;
      background: #222; 
      height: auto;
      display: none;
      clear: both;
      width: auto; 
            
      position: relative;
      top: 0;
      right: 30px;           
   }

   ul#nav {
    margin-left: 25px;
   }
   
   /* 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;           
   }

   ul#nav li {
      display: block;
      height: auto;      
      text-align: left;
      border-bottom: 1px solid #2D2E34;
      border-bottom-style: dotted; 
   }
  
   ul#nav li a {  
      display: block;   
      width: auto; 
      color: #888888; 
      margin: 0;
      padding: 0;      
      line-height: 16px; /* reset line-height from 54px */
      border: none;
   }  



   /* Header Styles
   -------------------------------------------------------------------- */
   header .logo { margin-right: 36px; }

   /* Hero Section
   -------------------------------------------------------------------- */
   #hero { padding-top: 48px; }
   .hero-text { width: 92%; }
   .hero-text h1 { font: 31px/1.2em 'opensans-light', sans-serif; }
   .hero-text p { font: 14px/24px 'opensans-light', sans-serif; } 

   /* Hero CTA Buttons */
   #hero .buttons { margin-bottom: 30px; }
   #hero .buttons .button {
      display: block;
      width: 70%;
      margin: 0 auto 18px auto;
      font: 13px/24px 'opensans-light', sans-serif;
      letter-spacing: 1.5px;
   }
   
   /* footer
   ------------------------------------------------------------------------ */
   footer { text-align: center; }
   footer .info { padding-right: 30px; }
   footer .info p { margin-bottom: 18px; }
   footer h3:before { text-align: center; }
   footer .right-cols {       
      width: 90% !important;
      margin: 0 auto ;
      margin-bottom: 42px; 
      text-align: center;
   }
   footer .right-cols .columns {
      float: left;       
      padding: 0 30px;    
   }
   footer .right-cols .columns:last-child { 
      clear: both; 
      float: left;
   }   

   /* Go To Top Button */
   #go-top { margin-left: -22px; }
   #go-top a {
   	width: 54px;
   	height: 54px;
      font-size: 18px;
      line-height: 54px;
   }

}

/* 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;             
   }

   ul#nav {
    margin-left: 0px;
   }

   /* Hero Section
   -------------------------------------------------------------------- */
   #hero { padding-top: 42px; }
   .hero-text { width: 96%; }
   .hero-text h1 { font: 25px/1.2em 'opensans-light', sans-serif; }
   .hero-text p { font: 13px/24px 'opensans-light', sans-serif; } 

   #Features {
    padding: 60px 0;
   }

   #hero-slider{
      display: none;
   }
   #hero-slider-m{
      display: block;
   }

   .row-about-banner {
    max-width: 80%;
   }

   .timeline-container {
    padding: 0 40px;
   }

   .con-y {
    padding: 0 0 120px 0;
   }

   .agent-box-content{
      margin-top: 40px;
   }

   .agent-box h1 {
    font: 30px / 30px "微軟正黑體", 'opensans-light', sans-serif;
    line-height: 38px;
   }

   .agent-box {
    margin: 0 25px;
   }


   /* Footer
   ------------------------------------------------------------------- */
   footer .right-cols .columns { padding: 0 10px; }        

}

/* screenwidth less than or equal 420px - mobile narrow
  -------------------------------------------------------------------------- */
@media only screen and (max-width: 420px) { 

    /* Hero Section
   -------------------------------------------------------------------- */
   .hero-text { width: 100%; }
   #hero{
      padding-top: 54px;
   }

   #About {
   padding-top: 100px;
   padding-bottom: 400px;
   }

   #Project {
   padding: 0 0 50px 0; 
   }

   .row-contact{
      padding: 0;
      width: 100%;
   }

   .contactbox {
   width: 100% !important;
   margin-top: 0;
   padding: 80px 20px;
   position: relative;
   }

   /* map */
   #map {
      height: 400px;
   }  

   /*----Pages Part----*/

   #Intro{
      padding-top: 0px;
   }

   .hot-call{
     padding: 25px 30px;
   }

   .col-text{
     padding: 60px 50px;
   }

   footer .copyright li:before {
    padding-left: 4px;
    padding-right: 4px;
   }

} 

/* make sure the menu is visible on larger screens
  -------------------------------------------------------------------------- */

@media only screen and (min-width: 768px) {
   
   #nav-wrap ul#nav { display: block !important; }

}









