/*styles*/
  .hidden-sm{
    display: none
  }

  #contact1 {
    background:url(../img/contact/contact1.jpg);
    background-size:cover;
  }

  #contact3 {
    background:url(../img/contact/contact3.jpg);
    background-size:cover;
  }

  #contact3-mobile {
    background:url(../img/contact/contact3.jpg);
    background-size:cover;
  }

  .mobile-bg{
    display: none
  }

  .icon-contacts {
    font-size:1em;
    vertical-align:middle;
    margin:5px auto;
    color:#fff;
    width:40px;
    height:40px;
    padding:10px;
    border-radius:20px;
    background:#4f99ff;
    display:block;
    text-align:center;
    box-sizing:border-box;
  }

  .no-bullets li {
    margin:0 50px;
    padding:2px 0;
  }

  .no-bullets li:before {
    content:""!important;
    margin-right:0!important;
  }

  #google-maps {
    width:60%;
    padding-bottom:50%;
    height:0;
    overflow:hidden;
    position:absolute;
    left:25%;
    top:30%;
  }

  #google-maps iframe {
    position:absolute;
    top: 0;
    left: 0;
    width:100%!important;
    height:100%!important;
  }

  #contact2 h2 {
    font-size:2.4em;
  }

  #contact2 h3 {
    font-size:1.8em;
  }

  #contact2 p {
    font-size:1.4em;
  }

  #contact3 .block50l {
    padding-left:0;
    padding-right:4%;
  }

  #contact3 .block50r {
    padding-right:0;
    padding-left:4%;
  }

  #contact3 .block-black {
    margin-top:7%;
  }

  #contact-page .pager-instruction {
    bottom:-30%!important;
    position:absolute;
  }

  #contact-page .cycle-pager {
    bottom:-25%!important;
    position:absolute;
  }

  .subpage-block {
    width:45%;
    height:50%;
  }

  #contact1 .wide-textbox {
    width:82%;
    left:10%;
  }

  #contact2 img {
    height: 100%;
    width: auto;
  }

  #contact2 .subpage-block {
    width: 45%;
    right: 10%;
  }

@media screen and (max-width: 991px) {

  #map-m{
    display: none;
  }
  #submit{
    width:auto !important;
  }

  #contact1 .block30{
    width: 100%;
    clear: both
  }

  #contact1 .wide-textbox{
    position: relative;
    margin-top: 35%;
    display: inline-block;
  }

  #contact1{
    height:auto;
  }

  #contact1 .block50{
    width: 100%;
    clear: both;
    padding: 0 !important;
  }

  #map{
    height: 50%;
    width: 100%;
    clear: both;
  }

  #contact2{
    height:auto;
    font-size: 12px;
  }

  #contact2 .block100{
    position: relative;
        height: 50vw;
  }

  #google-maps{
    margin: 0;
    width: 100%;
  }

  #contact2 .block60{
    width: 100%;
  left: 0;
  padding:8%;
  font-size: 0.9em;
  height:100%;
  }

.mobile-bg{display:block; width:100%; height:50vw;}
  
  #contact3{    background:url(../img/bg.jpg) !important;
    background-size: cover;
    height:auto;}
    #contact3 .block-black {
  margin-top: -10%;
    }

    #contact2 img{
  height: auto;
  display: none;
}

#google-maps {
    margin: 0;
    margin: 0 !important;
    width: 100%;
    left: 0;
    top: 0;
}

#google-maps {
    margin: 0;
    width: 100%;
    position: relative;
    left: 0;
}

#contact2 img {
    height: 100%;
    width: auto;
    display: none;
}
}


@media screen and (min-width: 2400px) {
#contact-page{
  font-size: 1.5em;
}

#contact2 p{
  font-size: 1em;
}

#contact3 .block-black,#contact3 .block-black input, #contact3 .block-black textarea{
  font-size: 1.2em
}
}

@media screen and (min-width: 1000px) {
.subpage-block{
  font-size: 0.8em;
}

}

@media screen and (max-width: 480px) {
  .subpage-block{

    font-size: 0.8em;

  }
  }


@media screen and (max-width: 1024px) and (min-height:600px){
#contact1 .wide-textbox {
    width: 77%;
    left: 16%;
}
}