/*

/////////////////////////////////
/////// TABLE OF CONTENTS ///////
/////////////////////////////////

1:  TABLETS
2:  TABLETS & LARGER
3:  DESKTOP

/************************************************************************/
/* TABLETS **************************************************************/
/************************************************************************/
@media screen and (min-width: 569px) and (max-width: 1024px) {
  /* Section Name */

  /* Video */
  /*.video{
    height:200px!important;
  }
  .video #youtube {
    height: 200px!important!important;
  }
  .video-placeholder-text.expanded{
    min-height:200px !important;
    height: 100% !important;
  }*/
  #video-container.expanded{
    /*height:100% !important;
    min-height:200px !important;*/
    padding-bottom: 56.25%;
  }

    .carousel-inner > .item .carousel-img {height:531px;}
    .quote-nav {bottom:50px;}
  
} /* END TABLETS */


/************************************************************************/
/* TABLETS & MOBILE *****************************************************/
/************************************************************************/
@media screen and (max-width: 1024px) {
  .show-mobile {
    display: block;
  }
  .hide-mobile {
    display: none !important;
  }

  /* Structure */
  .container, .container-small, .container.contained {
    max-width: 90%;
  }
  .container .default, .container .secondary, .container.contained .default, .container.contained .secondary{
    text-align:left!important;
  }
  #page-content {
    padding-top: 100px;
  }

  /* Header/Nav */
  #mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
  }
    #mobile-nav nav li.active{
      border-bottom:none;
    }
    #mobile-nav nav li ul.sub-menu {
      /*border-left:1px solid #798776;*/
      display:none;
      margin-bottom:15px;
    }
    #mobile-nav nav li ul.sub-menu li {
      margin-left:15px;
      border-top:1px solid #798776;
      border-bottom:1px solid #798776;
    }

    #mobile-bar {
      height: 60px;
    }
    #mobile-bar .logo {
      height: 46px;
      background-size: 158px 46px;
      margin: 7px 0;
    }
    #search-toggle {
      position: absolute;
      right: 60px;
      width: 60px;
      line-height: 60px;
      text-align: center;
      font-size: 18px;
      color: #7e7e7e;
    }
    #nav-toggle {
      position: absolute;
      right: 0;
      background: #98a394;
      color: #fff;
      line-height: 60px;
      width: 60px;
      text-align: center;
      font-size: 18px;
    }
    #mobile-menu {
      display: none;
      background: #6f7c6a;
      position: absolute;
      top: 60px;
      padding:8px 20px;
      left: 0;
      right: 0;
    }
      #mobile-menu :before {
        content: '';
        display: block;
        width: 0;
        height: 0;
        border-bottom: 5px solid #6f7c6a;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        position: absolute;
        top: -5px;
        right: 25px;
      }
        #mobile-menu li {
          border-bottom: 1px solid #98a394;
        }
          #mobile-menu li:last-child {
            padding-bottom: 0;
            margin-bottom: 0;
            border-bottom: 0;
          }
        #mobile-menu a {
          color: #fff;
          text-transform: uppercase;
          letter-spacing: 2px;
          padding: 13px 10px;
          font-weight: 600;
          display:block;
        }
    #top-bar {
      background: #7e7e7e;
      text-align: center;
      font-weight: 600;
      font-size: 17px;
      color: #fff;
      line-height: 40px;
      text-transform: uppercase;
    }

  /* Search */
  #mobile-nav .searchform {
    position: absolute;
    width: 100%;
  }
    #mobile-nav .search-toggle {
      position: absolute;
      right: 60px;
      width: 60px;
      line-height: 60px;
      top: 0;
      font-size: 17px;
      color: #7e7e7e;
      text-align: center;
    }
    #mobile-nav .searchfield {
      display: none;
      position: absolute;
      left: 0;
      padding: 20px 130px 20px 10px;
      border: none;
      background: #fff;
      text-align: right;
      color: #7e7e7e;
      font-size: 13px;
      width: 100%;
    }
      #mobile-nav .searchfield.show {
        display: block;
      }

  /* Call To Action */
  .call-to-action {
    padding: 50px 0;
  }
    .call-to-action h3 {
      margin: 0;
      display: block;
    }
    .call-to-action a {
      margin-top: 20px;
    }

  /* Footer */
  #menu-footer {
    text-align: center;
  }
  #menu-footer li {
    margin: 0 10px;
  }
    #menu-footer li:last-child {
      margin: 0 20px;
    }    

  /* Blog */
  .blog-content {
    padding: 50px 0;
  }
    #main-col {
      float: none;
      width: 100%;
      margin: 0;
    }
    #sidebar {
      display: none;
    }

    /* Sliders + Carousel */
    .carousel-control {
        display:none;
    }
  
  .tabbed.side_posts nav.side_posts {
    max-width:150px;
    width:60%;
  }
  .tabbed.side_posts nav.side_posts a {
    padding:15px 1px;
  }

  .accordion-title {
    letter-spacing:0;
    line-height: 20px;
  }

  #footer .container, #footer .container-small, #footer .container.contained {
    margin:0 auto;
  }

  #footer .container p, #footer .container-small p, #footer .container.contained p{
    text-align:left;
    margin-bottom:10px;
  }
  #footer p.copyright{
    font-size:11px;
  }

  #footer .mobile_show{
    display:block;
  }

} /* END TABLETS & MOBILE */


/************************************************************************/
/* MOBILE *************************************************************/
/************************************************************************/
@media screen and (max-width: 569px) {
  html, body, blockquote {
    font-size: 12px;
  }

  blockquote cite {
    text-align: center;
    margin-top: 20px;
  }

  /* Heading */
  h1 {
    font-size: 34px;
    margin-bottom: 10px;
  }

  h2 {
    font-size: 22px;
    padding-bottom: 15px;
  }

  h2:after{
    left:25%;
  }

  h3 {
    font-size: 28px;
    line-height:24px;
  }

  .sub-title {
    font-size: 11px;
  }

  h2 > .sub-title {
    margin-top: 10px;
    line-height:16px;
  }

  .post h2 {
    clear:both;
  }

  /* Header/Nav */

  /* Slide Show */
    .carousel-inner > .item .bg {
        height:220px;
    }
    .carousel-inner > .item .slide-content {
        position:relative;
        bottom:0;
        background:#9da49b;
    }
    .carousel-inner > .item .slide-content h1 {
        padding-top:50px;
    }
    .carousel-inner > .item .slide-content p {
        font-size:12px;
    }
    .carousel-inner > .item .slide-content .btn-secondary {
        margin-bottom:50px;
    }
  .slide-show .slide {
    height: auto;
  }
    .slide-background-image {
      position: relative;
      height: 220px;
    }
    .slide-show-content {
      position: relative;
      bottom: auto;
      background: #9da49b;
      padding: 50px 0;
    }
      .slide-show-content p {
        font-size: 12px;
        line-height: 18px;
      }
  .slide-show-nav a {
    top: 65px;
    margin: 0;
    font-size: 50px;
  }
    .slide-show-nav #next {
      right: 5px;
    }
    .slide-show-nav #prev {
      left: 5px;
    }

  /* Call Out */
  .call-out {
    padding: 50px 0;
  }
    .call-out p.default {
      font-size: 12px;
      line-height: 18px;
    }
    .call-out p.secondary {
      font-size: 11px;
      line-height: 20px;
    } 

  /* Call To Action */
  .call-to-action h3 {
    font-size: 30px;
    line-height:35px;
  }

  /* Tabs - Fancy */
  .tabbed.fancy nav a {
    height: 42px;
    padding: 0;
    line-height: 46px;
    font-size: 25px;
  }
    .tabbed.fancy nav a.active:after {
      bottom: -7px;
      margin-left: -7px;
      border-top: 7px solid #fff;
      border-left: 7px solid transparent;
      border-right: 7px solid transparent;
    }
    .tabbed.fancy nav a span {
      display: none;
    }

  .tabbed.fancy .tab-content {
    padding: 40px 0;
    height:200px;
  }
  .tabbed.fancy .tab-content p{
    line-height:22px;
  }
    .tabbed.fancy .tab-content h2 {
      margin-bottom: 15px;
    }

  /* Tabs - Posts */
  .tabbed.posts {
    padding: 50px 0;
  }
    .tab-post {
      padding: 40px 0 10px;
    }
    .tab-post .image {
      float: none;
      width: 100%;
      margin-right: 0;
      margin-bottom: 20px;
    }
    .tab-post .post-preview {
      float: none;
      width: 100%;
    }

    /* Tabs - side posts */
    .tabbed.side_posts nav.side_posts{
      width:100%;
      margin-bottom:40px;
    }
    .tabbed.side_posts .tab-post {
      padding:45px 0;
      margin-left:2px;
    }

   .tabbed.side_posts .tab-content-container.side_posts {
    width:50%;
   }
   .tab-content-container.side_posts .tab-post .image{
    float:none;
   }

  /* Tabs - Standard */
  .tabbed.standard {
    padding: 50px 0;
  }

  .tabbed.standard nav a {
    display:block;
    float:none;
    padding:15px 17px;
  }
  .tabbed.standard nav a.active:after{
    display:none;
  }

  /* Tabs - Side */
  .tabbed.side nav, .tabbed.side .tab-content-container,
  .tabbed.side-images nav, .tabbed.side-images .tab-content-container {
    float: none;
    width: 100%;
    padding: 0;
  }

  .tabbed.side nav, .tabbed.side-images nav {
    margin-bottom:25px;
  }

    /* Tabs - Side with Image */
    .tabbed .tab-image {
        width:100%;
        height:250px;
        top:auto;
        bottom:0;
    }
    .tabbed .tab-image-content {
        width:100%;
        padding-bottom:200px;
    }

  /* Testimonials */
  .quote-image {
    position: relative;
    height: 170px;
    width: 100%;
    display:none!important;
  }
  .testimonial-content {
      padding: 50px 0;
      height:450px;
      text-align: center;
      width: 100%;
  }
  .quote-nav {
      bottom:105px;
      width:100%;
    /*margin-top: 20px;*/
    /*position: relative;*/
  }
  .quote-image .caret {
    border-left: 15px solid transparent;
    border-left-color:none;
    border-top: none;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #fff;
    left: 50%;
    margin-left: -15px;
    top: auto;
    bottom: 0;
  }

   /* Video */
  /* .video{
    height:200px!important;
  }
  .video #youtube {
    height: 200px!important;
  }
  .video-placeholder-text.expanded{
    height:200px!important;
  }
  #video-container.expanded{
    height:200px!important;
    min-height:200px!important;
  }*/

  .play-button {
    font-size: 14px;
    padding: 7px 20px;
    border-radius: 4px;
    margin-top: 10px;
  }

  .imaged-list .container.top ul li{
    float:none;
    margin:35px auto;
    width:100%;
  }
  .imaged-list .container.top .list-content{
    float:none;
    margin:0 auto;
  }

  .imaged-list .list-img{
    float:none; 
    margin:0 auto;
    display:block;
    background-repeat:no-repeat;
    height:120px;
  }
  .imaged-list .list-content{
    width:100%;
    text-align:center;
    float:none;
  }


  /* Page Gallery */
  .post-gallery {
    padding: 50px 0;
    text-align: center;
  }
    .post-item {
      width: auto;
      margin: 0 0 40px 0;
      float: none;
      text-align:left!important;
    }
      .post-preview .excerpt {
        margin: 20px 0;
      }

  /* Image Carousel */
  .image-carousel {
    padding: 50px 0;
  }
  .image-carousel + .call-out {
    padding: 25px 0 50px;
  }
  .image-carousel nav {
    margin-top: 10px;
  }
  .carousel-inner > .item .carousel-img {height:170px;}
  .carousel-indicators {display:none;}
  .img-carousel .carousel-control {
    display:block;
  }
  a.carousel-control i{
    top:5%;
  }
  /* Image Collage */
  .image-collage {
    background: #9da49b !important;
    height: 20px !important;
  }
  #contact-area {
    width:360px;
  }
  #contact-area input, #contact-area textarea {
    width: 58%;
  }

  #contact-area input.btn-secondary{
    float:left;
    margin-right:17%;
  }

  .content.default.two .column {
    float:none;
    width:100%;
    padding:15px 0;
  }

  .content.default.three .column {
    float:none;
    width:100%;
    padding:15px 0;
  }

  .post .post-preview .image{
    height:200px;
  }
  .post .post-preview h2{
    font-size:25px; 
    line-height:30px;
  }

} /* END MOBILE */

@media screen and (max-width: 767px) {
    html, body, blockquote {
        font-size: 13px;
    }
}
