/*
    Default Layout: 992px. 
    Gutters: 24px.
    Outer margins: 48px.
    Leftover space for scrollbars @1024px: 32px.
-------------------------------------------------------------------------------
cols    1     2      3      4      5      6      7      8      9      10
px      68    160    252    344    436    528    620    712    804    896    */
/*    Tablet Layout: 768px.
    Gutters: 24px.
    Outer margins: 28px.
    Inherits styles from: Default Layout.
-----------------------------------------------------------------
cols    1     2      3      4      5      6      7      8
px      68    160    252    344    436    528    620    712    */
@media only screen 
  and (max-width: 740px) 
  and (orientation: portrait) {
  
  .navbar-default .navbar-nav li a {
    font-size: 10px;
    font-size: 5vw;
  }

  #banner {
    padding: 50px 0 60px 0;
    padding: 40vw 0 60px 0;
    background-size: contain;
    height: 90vh;
  }

  #banner .block .major {
    font-size: 28px;
    font-size: 5vh;    
    line-height: 50px;
    letter-spacing: 6px;
    padding-bottom: 45px;
  }
  #banner .block .minor {
    font-size: 20px;
    font-size: 3vh;
    line-height: 40px;
    line-height: 5vh;
    letter-spacing: 2px;
  }

  .section {
    margin: 30px 0;
  }

  .section .invisible-anc {
    top: -20px; 
  }

  .section .block img {
    padding-top: 0px;
    padding-left: 0px;
  }

  .section-last {
    padding-bottom: 0px;
  }

  footer {
    padding-top: 24px;
    padding-bottom: 27px;
  }

  footer .footer-manu {
    display: none;
  }

  footer p {
    font-size: 10px;
    font-size: 4vw;
  }
}

@media only screen 
  and (orientation: portrait)
  and (min-width: 741px)
  and (max-width: 1024px) {

  body {
    font-size: 18px;
  }  

  .navbar-default .navbar-nav li a {
    font-size: 20px;
    font-size: 3vw;
  }

  header {
    height: 120px;
    height: 10vh;
    padding-top: 3vh;
  }

  #banner {
    padding: 50px 0 60px 0;
    background-size: cover;
    height: 90vh;
  }

  #banner .block .major {
    font-size: 36px;
    font-size: 6vh;
    line-height: 90px;
    letter-spacing: 6px;
    padding-bottom: 45px;
  }
  #banner .block .minor {
    font-size: 28px;
    font-size: 3vh;
    line-height: 40px;
    line-height: 5vh;
    letter-spacing: 2px;
  }

  .section {
    margin: 30px 0;
  }

  .section .invisible-anc {
    top: -20px; 
  }
  .section .service-item .desc {
    font-size: 18px;
    line-height: 1.5;
  }

  .section .block img {
    padding-top: 0px;
    padding-left: 0px;
  }

  .section-last {
    padding-bottom: 0px;
  }

  footer {
    padding-top: 24px;
    padding-bottom: 27px;
  }

  footer .footer-manu {
    display: none;
  }

  footer p {
    font-size: 10px;
    font-size: 2vw;
  }
}

@media only screen 
  and (orientation: landscape)
  and (min-width: 567px)
  and (max-width: 767px) {

  .navbar-default .navbar-nav li a {
    font-size: 16px;
  }

  #banner {
    background-size: contain;
    padding: 50px 60px 0;
  }

  #banner {
    padding: 25px 0 60px 0;
    background-size: cover;
  }

  #banner .block .major {
    font-size: 36px;
    font-size: 4vw;
    line-height: 45px;
    letter-spacing: 6px;
    padding-bottom: 20px;
  }
  #banner .block .minor {
    font-size: 28px;
    font-size: 3vw;
    line-height: 40px;
    line-height: 5vw;
    letter-spacing: 2px;
  }

  .section {
    margin: 30px 0;
  }

  .section .invisible-anc {
    top: -20px; 
  }
  .section .service-item .desc {
    font-size: 18px;
    line-height: 1.5;
  }

  .section .block img {
    padding-top: 0px;
    padding-left: 0px;
  }

  .section-last {
    padding-bottom: 0px;
  }

  

  footer {
    padding-top: 15px;
    padding-bottom: 10px;
  }
}

@media only screen 
  and (min-width: 1280px) {
    .container {
      width: 1200px;
      width: 95vw;
    }
}

/*    Wide Mobile Layout: 480px.
    Gutters: 24px.
    Outer margins: 22px.
    Inherits styles from: Default Layout, Mobile Layout.
------------------------------------------------------------
cols    1     2      3      4      5
px      68    160    252    344    436    */
/*  Retina media query.
  Overrides styles for devices with a 
  device-pixel-ratio of 2+, such as iPhone 4.
-----------------------------------------------   
*/ 