/* For Normal Displays */

#slides {
  display: none
}

/* For Smaller Displays */
@media only screen and (max-width: 960px) {
  .slide-container, .popup-gallery, .body-container, #about-text {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }

  header, footer {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }

  #cssmenu {
    margin-left: 20px;
    margin-right: 20px;
  }

  .image {
    padding: .25%;
    width: 23.8%;
    height: auto;
  }

  #contact-wrap {
    width: 440px;
    height: 1250px;
    margin: 0 auto;
  }

  #contact-form {
   margin-right: 30px;
  }

  #map {
    float: none;
    display: block;
  }
}

/* For tablets & smart phones */
@media only screen and (max-width: 768px) {

  #footer-wrap {
    height: 200px;
  }

  #footer-contact-wrap {
    float: none;
    padding: 15px 0 10px 0;
    margin: 0 auto;
    width: 250px;
    text-align: center;
  }

  #copyright-wrap {
    float: none;
    margin: 0 auto;
    text-align: center;
  } 
} 

@media only screen and (max-width: 600px) {
  
}


/* For smartphones */
@media only screen and (max-width: 470px) {

  /*
  .popup-gallery {
    margin: auto;
    width: 275px;
  }
  */

  .image {
    padding: 1%;
    width: 47%;
    height: auto;
  }

  #contact-wrap {
    width: 280px;
    height: 1100px;
  }

  #contact-form, #contact-us, #map {
    width: 280px;
    display: block;
  }

  #map{
    height: 280px;
  }

  input, textarea {
    width: 280px;
    padding-left: 0;
    padding-right: 0;
  }
}


/* -------------------------------------------
MENU RESPONSIVE CSS
---------------------------------------------*/

@media all and (max-width: 960px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 960px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 960px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 960px), only screen and (min-device-pixel-ratio: 2) and (max-width: 960px), only screen and (min-resolution: 192dpi) and (max-width: 960px), only screen and (min-resolution: 2dppx) and (max-width: 960px) {
  #cssmenu {
    width: auto;
  }

  #cssmenu ul {
    width: auto;
    border-radius: 5px;
  }

  #cssmenu .submenuArrow,
  #cssmenu #indicatorContainer {
    display: none;
  }

  #cssmenu > ul {
    height: auto;
    display: block;
  }

  #cssmenu > ul > li {
    float: none;
  }

  #cssmenu li,
  #cssmenu > ul > li {
    display: none;
  }

  #cssmenu ul ul,
  #cssmenu ul ul ul,
  #cssmenu ul > li:hover > ul,
  #cssmenu ul ul > li:hover > ul {
    position: relative;
    left: auto;
    top: auto;
    opacity: 1;
    padding-left: 0;
  }

  #cssmenu ul .has-sub::after {
    display: none;
  }

  #cssmenu ul li a {
    padding: 12px 20px;
  }

  #cssmenu ul ul li a {
    border: 0;
    background: none;
    width: auto;
    padding: 8px 35px;
    color: white;
  }

  #cssmenu ul ul li:hover > a {
    background: none;
    color: #BFBFBF;
  }

  #cssmenu ul ul ul a {
    padding: 8px 50px;
  }

  #cssmenu ul ul ul ul a {
    padding: 8px 65px;
  }

  #cssmenu ul ul ul ul ul a {
    padding: 8px 80px;
  }

  #cssmenu ul ul ul ul ul ul a {
    padding: 8px 95px;
  }

  #cssmenu > ul > #menu-button {
    display: block;
    cursor: pointer;
  }

  #cssmenu #menu-button > a {
    padding: 14px 20px;
  }

  #cssmenu ul.open li,
  #cssmenu > ul.open > li {
    display: block;
  }

  #cssmenu > ul.open > li#menu-button > a {
    color: #fff;
    border-bottom: 1px solid rgba(150, 150, 150, 0.1);
  }

  #cssmenu #menu-button::after {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    right: 20px;
    top: 15px;
  }

  #cssmenu #menu-button::before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #ffffff;
    right: 20px;
    top: 25px;
  }

  #cssmenu ul.open #menu-button::after,
  #cssmenu ul.open #menu-button::before {
    border-color: #fff;
  }
}


/* -------------------------------------------
MAGNIFIC POPUP RESPONSIVE CSS 
---------------------------------------------*/
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {

  /* Remove all paddings around the image on small screen*/
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; 
  }
  .mfp-img-mobile img.mfp-img {
    padding: 0; 
  }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; 
  }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; 
  }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; 
  }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; 
    }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; 
  }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; 
    } 
  }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); 
  }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; 
  }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; 
  }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; 
    } 
  }

  .mfp-ie7 .mfp-img {
    padding: 0; 
  }
  .mfp-ie7 .mfp-bottom-bar {
    width: 600px;
    left: 50%;
    margin-left: -300px;
    margin-top: 5px;
    padding-bottom: 5px; 
  }
  .mfp-ie7 .mfp-container {
    padding: 0; 
  }
  .mfp-ie7 .mfp-content {
    padding-top: 44px; 
  }
  .mfp-ie7 .mfp-close {
    top: 0;
    right: 0;
    padding-top: 0; 
  }
}

