/* SMALLER THAN 500 */

@media only screen and (device-width: 768px) {
  header .logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }

  .site-nav {
    float: none;
    margin: 30px 0 40px;
    width: 100%;
    text-align: center;
  }

  .sub-nav {
    float: none;
    margin: 30px 0 0;
    width: 100%;
    text-align: center;
  }
}

@media only screen and (max-width: 499px) {
  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }

  header .logo {
    width: 70%;
    float: none;
    margin: 40px 15%;
  }

  .language {
    float: none;
    margin: 10px 0px 0px 0px;
    display: block;
  }

  .site-nav {
    float: none;
    width: calc(100% - 50px);
    text-align: center;
    position: fixed;
    top: 0px;
    left: calc(-100% + 50px);
    margin: 0px;
    z-index: 500;
    transition: left 0.25s;
  }

  .open {
    left: 0px;
  }

  .open .mobile-menu img {
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  .mobile-menu {
    position: absolute;
    top: 0px;
    right: -50px;
    width: 50px;
    height: 50px;
    background-color: #a48b69;
  }

  .mobile-menu img {
    width: 25px;
    height: 17px;
    margin: 16px 0px 0px 0px;
    transition: transform 0.25s;
  }

  .site-nav a:link,
  .site-nav a:visited,
  .site-nav a:hover,
  .site-nav a:active {
    font-size: 13px;
    color: #5b5348;
    text-decoration: none;
    font-weight: 300;
    background-color: #ffe2ac;
    padding: 4px 0;
    width: 100%;
    display: block;
  }

  .site-nav a:nth-of-type(odd) {
    background-color: #f6d69b;
  }

  .sub-nav {
    background-color: #c0a989;
    text-align: center;
    width: 100%;
    padding: 20px 0;
    color: #ffffff;
  }

  .sub-nav p {
    margin: 0;
    font-size: 20px;
    line-height: 150%;
  }

  .slider {
    width: 100%;
    height: 100px;
  }

  .slidercontainer {
    width: 100%;
    height: 100px;
  }

  .slidecaption {
    width: 100%;
    padding-top: 100px;
  }

  .slidecaption h1 {
    font-size: 28px;
    line-height: 32px;
    margin: 0 30px 10px;
  }

  .slidecaption p {
    font-size: 22px;
    margin: 0 0 40px;
  }

  .mainwrapper {
    width: 100%;
  }

  .col-half,
  .col-full,
  .col-third,
  .col-twothirds {
    width: 90%;
    margin-right: 0;
    float: none;
    padding: 20px 5% 0;
  }

  .col-fourth {
    width: 45%;
    margin-right: 5%;
    padding: 20px 0 0;
    margin-left: 0;
  }

  .col-fourth:last-of-type {
    margin-right: 5% !important;
  }

  .col-twothirds-half {
    width: 47.5%;
    margin-right: 5%;
    padding: 20px 0 0;
    margin-left: 0;
  }

  .col-twothirds-half:nth-of-type(even) {
    margin-right: 0 !important;
  }

  .blue-module-half,
  .blue-module-third {
    padding: 30px 10% 15px;
    width: 80%;
  }

  .blue-module-third {
    margin-bottom: 20px;
  }

  .symptom {
    padding-top: 0px;
    padding-bottom: 0;
    margin-bottom: 10px;
  }

  .browse-arrow-left,
  .browse-arrow-right {
    padding-top: 60px;
  }

  .browse-arrow-left {
    margin-left: 40px;
  }

  .grey-module-third {
    padding: 30px 0 15px;
    width: 100%;
  }

  .grey-module-third img {
    margin-bottom: 20px;
    width: 100%;
    height: auto;
  }

  .testimonial-image {
    margin: 10px 0 20px;
    width: 100%;
    height: auto;
  }

  .contenth1 {
    padding: 30px 5% 0;
    margin-bottom: 0;
  }

  .padding-top-60 {
    padding-top: 0;
  }

  .index-thumb-fourth {
    margin: 10px 0 20px;
    width: 100%;
    height: auto;
  }

  .footerwrapper {
    width: 100%;
    padding: 60px 0;
    background: url(../graphics/footer-bg-gradient.png) center top repeat-x #bba482;
    margin-top: 60px;
  }

  footer {
    width: 90%;
    margin: 0 5%;
    text-align: center;
    color: #ffffff;
  }

  footer h1 {
    font-size: 25px;
  }

  footer a:link,
  footer a:visited,
  footer a:hover,
  footer a:active {
    color: #ffffff;
  }

  .titleimage {
    margin-bottom: 20px;
  }

  .main-img {
    margin-bottom: 20px;
    width: 100%;
    height: auto;
  }

  iframe {
    width: 100%;
    height: 250px;
  }

  .media-link-img {
    margin-bottom: 20px;
    width: 100%;
    height: auto;
  }

  .eSlider {
    width: 169px;
  }

  .kiropraktikot-logo {
    margin-top: 70px;
    width: 100%;
  }

  .padder {
    padding: 0px 20px 0px 20px;
  }

  .mobile-bottom-margin {
    margin-bottom: 30px !important;
  }

  .mobile-height {
    height: 60px;
  }

  .videocontent {
    width: 100%;
  }
}
