/* ==================================================================

*   Ceevee Media Queries
*   url: styleshout.com
*   03-18-2014

/* ================================================================== */
/* screenwidth less than 1024px
--------------------------------------------------------------------- */
@media only screen and (max-width: 1024px) {
  /* header styles
  ------------------------------------------------------------------ */
  header .banner-text h1 {
    font: 80px/1.1em 'opensans-bold', sans-serif;
    letter-spacing: -1px;
    margin: 0 auto 12px auto;
  }
}
/* screenwidth less than 900px
--------------------------------------------------------------------- */
@media only screen and (max-width: 900px) {
  /* header styles
  ------------------------------------------------------------------ */
  #template {
    padding: 40px 0;
  }
  #template .item-img .big-pic, #template .row {
    width: 100%;
  }
  #template .mobile-pic {
    display: none;
  }
  #template .item-desc {
    margin-top: 5%;
  }
  #template .item-desc h5 {
    font-size: 22px;
  }
  #template .item-desc .item-bloc {
    padding-left: 0;
  }

  /* Call to Action Section
  ------------------------------------------------------------------- */
  #call-to-action .header-col h1:before {
    font-size: 66px;
    line-height: 66px;
  }

  /* Contact Section
  ------------------------------------------------------------------- */
  #contact .section-head {
    margin-bottom: 30px;
  }

  #contact .header-col h1:before {
    font-size: 66px;
    line-height: 66px;
  }

  #contact .section-head p.lead {
    font: 17px/33px opensans-light, sans-serif;
  }
}
/* mobile wide/smaller tablets
---------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
  /* mobile navigation
  -------------------------------------------------------------------- */
  .column, .columns {
    padding: 0 15px;
  }

  #nav-wrap {
    font: 12px 'opensans-bold', sans-serif;
    background: transparent !important;
    letter-spacing: 1.5px;
    width: auto;
    position: fixed;
    top: 0;
    right: 0;
  }
  #nav-wrap .row {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  #nav-wrap .mobile-btn {
    background-color: #1f2024;
    color: #fff;
    line-height: 40px;
  }

  #nav-wrap > a {
    width: 48px;
    height: 48px;
    text-align: left;
    background-color: #CC5200;
    position: relative;
    border: none;
    float: right;
    font: 0/0 a;
    text-shadow: none;
    color: transparent;
    position: relative;
    top: 0px;
    right: 30px;
  }

  #nav-wrap > a:before,
  #nav-wrap > a:after {
    position: absolute;
    border: 2px solid #fff;
    top: 35%;
    left: 25%;
    right: 25%;
    content: '';
  }

  #nav-wrap > a:after {
    top: 60%;
  }

  /* toggle buttons */
  #nav-wrap:not(:target) .row > a:first-of-type,
  #nav-wrap:target .row > a:last-of-type {
    display: block;
  }

  /* hide menu panel */
  #nav-wrap ul#nav {
    height: auto;
    display: none;
    clear: both;
    width: 100%;
    position: absolute;
    top: 40px;
    right: 0;
  }

  /* display menu panels */
  #nav-wrap:target .row > ul#nav {
    display: block;
    padding: 10px 20px 28px;
    background: #1f2024;
    margin: 0;
    clear: both;
  }

  ul#nav li {
    display: block;
    height: auto;
    margin: 0 auto;
    padding: 0 4%;
    text-align: left;
    border-bottom: 1px solid #2D2E34;
    border-bottom-style: dotted;
  }

  ul#nav li a {
    display: block;
    margin: 0;
    padding: 0;
    margin: 12px 0;
    line-height: 16px;
    /* reset line-height from 48px */
    border: none;
  }

  /* Header Styles
  -------------------------------------------------------------------- */
  header .banner {
    padding-bottom: 12px;
    padding-top: 6px;
  }

  /* scrolldown link */
  header .scrolldown {
    display: none;
  }

  /* templates
  --------------------------------------------------------------------*/
  #template h1 {
    margin-bottom: 30px;
  }
  #template .item-img {
    margin-bottom: 0;
  }
  #template .item-desc {
    margin-top: 0;
    text-align: center;
  }
  #template .item-desc h5 {
    font-size: 26px;
  }
  #template .even .item-desc {
    float: none;
  }
  #template .even .item-img {
    float: none;
  }
  #template .even .item-img .big-pic {
    float: none;
  }

  /* services 
  -------------------------------------------------------------------- */
  #services {
    padding: 40px 0 10px;
  }
  #services .services-item .item-icon {
    margin-bottom: 10px;
  }
  #services .services-item {
    margin-bottom: 30px;
  }

  /* Call To Action Section
  /* ----------------------------------------------------------------- */
  #call-to-action {
    text-align: center;
  }

  #call-to-action h2 {
    font: 20px/30px "opensans-light",sans-serif;
  }

  #call-to-action h1 span {
    display: block;
  }

  #call-to-action .header-col h1:before {
    content: none;
  }

  #call-to-action p {
    font-size: 15px;
  }

  /* contact Section
  ----------------------------------------------------------------------- */
  #contact {
    padding-bottom: 0;
  }
  #contact .infos-contact, #contact .infos-bloc {
    text-align: center;
  }
  #contact .form-contact {
    margin-top: 30px;
  }

  /* form */
  #contact label {
    float: none;
    width: 100%;
  }

  #contact input,
  #contact textarea,
  #contact select {
    margin-bottom: 6px;
    width: 100%;
  }

  #contact .buttons {
    text-align: center;
    margin-top: 15px;
  }
  #contact .buttons button {
    margin-left: 0;
  }

  #message-warning, #message-success {
    width: 100%;
    margin-left: 0;
  }

  /* footer
  ------------------------------------------------------------------------ */
  /* copyright */
  footer .copyright li:before {
    content: none;
  }

  footer .copyright li {
    margin-right: 12px;
  }

  /* social links */
  footer .social-links {
    font-size: 22px;
  }

  footer .social-links li {
    margin-left: 18px;
  }

  /* Go To Top Button */
  #go-top {
    margin-left: -22px;
  }

  #go-top a {
    width: 54px;
    height: 54px;
    font-size: 18px;
    line-height: 54px;
  }
}
/* mobile narrow
-------------------------------------------------------------------------- */
@media only screen and (max-width: 480px) {
  /* header styles
  -------------------------------------------------------------------- */
  header .banner {
    padding-top: 24px;
  }

  header .banner-text h1 {
    font: 40px/1.1em 'opensans-bold', sans-serif;
    margin: 0 auto 24px auto;
  }

  header .banner-text h3 {
    font: 14px/1.9em 'librebaskerville-regular', sans-serif;
    width: 90%;
  }

  /* header social links */
  header .social {
    font-size: 20px;
  }

  header .social li {
    margin: 0 6px;
  }

  /* footer
  ------------------------------------------------------------------------ */
  /* social links */
  footer .siret {
    display: none;
  }

  footer {
    padding-top: 10px;
    text-align: center;
  }
  footer .social-links {
    text-align: center;
    padding-top: 15px;
  }
}
