@media (max-width: 640px) {
    .g-right{
        display:none;
    }
  nav ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  nav ul li {
    height: 20%;
  }
  nav ul li a {
    font-size: 11px;
  }
  nav li a:after {
    font-size: 0.6rem;
    bottom: -25px;
  }
  nav li a:hover:after {
    transform: translateY(0);
  }
  .open-overlay {
    right: 1rem;
  }
  nav li a:before {
    width: 25px;
  }
}
@media screen and (max-width: 700px) {
    .to input[type="text"]{
        width:100%;
        margin-left:0 !important;
    }
    .text input[type="text"], .text textarea{
        width:100%;
    }
    .text{
        width:100%;
    }
    .contact{
        margin-left:-15px;
    }
    .contact-top{
        right:0;
    }
   
    ul.list1 {
        padding: 0;
            margin-top: 30px;
    }
    .footer-bottom .col-md-5 img {
    padding: 0 2em;
}
    .h-c{
    font-size: 8vw;
    padding-left: 15px;
}
   .simply-countdown > .simply-section .simply-word {
    color: #004682;
    
}
.home-contact {
    height:auto;
        padding-bottom: 100px;
        
}
.g-left{
    width: 70px;
}
    .about h1{
        font-size: 1.5em;
    line-height: 1.5;
    }
    .about h2{
        font-size: 1em;
    line-height: 1.5;
    }
    .about-logo{
        margin:10px 0;
    }
    .overlay-navigation{
            top: 60px;
    }
    .hht {
    
    font-size: 24!important;
}
.htt {
    font-size: 15px!important;
    
    top: 20%!important;
    line-height: 1.8em!important;
   
}
    .hth{
        height:auto!important;
    }
    .l-map{
        margin-top: 60px;
    }
    .header-top img {
    margin-left: unset !important;
}
  .a-p{
    padding: 0;
  }
  .h-logo{
  max-width: 180px;
  }
  .open-overlay{
    top:-50px;
  }
  .social-links{
        top: -47px;
        right: 70px;
        margin-top: 0;
  }
  .simply-countdown > .simply-section{
    width: 50px;
    height: 50px;
  }
  .simply-countdown > .simply-section .simply-amount {
    font-size: 30px;
    margin-top: -30px;
     color: #004682;
}
.opening_hours {
    position: relative;
    background: #00b9be;
   top: 0 !important;
    left: 0 !important;
    padding: 5%;
    width: 100%;
}
.past-events{
  padding:50px 0 !important;
  height: auto;
  overflow:hidden;
}
.social {
    float: right;
}
#places-map{
    padding:0;
    height: calc(50% - 120px);
    background-size: 100%;
}
#places-map .marker-dubai {
    left: 59%;
    top: -70%;
    
}
.globe{
    margin-top: 50px;
}
}
@media (min-width: 640px) {
  .blog-card {
    flex-direction: row;
    max-width: 700px;
  }
  .blog-card .meta {
    flex-basis: 40%;
    height: auto;
  }
  .blog-card .description {
    flex-basis: 60%;
  }
  .blog-card .description:before {
    transform: skewX(-3deg);
    content: "";
    background: #fff;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
  }
  .blog-card.alt {
    flex-direction: row-reverse;
  }
  .blog-card.alt .description:before {
    left: inherit;
    right: -10px;
    transform: skew(3deg);
  }
  .blog-card.alt .details {
    padding-left: 25px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1200px) {
    .m-header{
        min-height: 50px;
    }
    .social-links{
        right:7%;
        margin-top: 20px;
    }
    #lang-form #dropdown-wrapper{
        margin-top:0;
    }
    .open-overlay{
            top: 0.7rem;
    }
    .hth{
        height: auto!important;
    }
    .snip1543{
            margin: 5px;
    max-width: 230px;
    min-width: 230px;
    }
    .snip1543 img{
        height:auto;
    }
    past-events {
    padding-top: 100px !important;
        
    }
    .home-contact{
        padding-top: 150px;
    }
    figure.snip1477{
        min-width: 300px;
    max-width: 340px;
    }
    .past-events{
            height: auto;
    }
    .l-map {
        max-width: none;
    }
    .footer-bottom .col-md-5 img{
    padding: 0;
}    
ul.list1{
    padding:0;
}
   }
   @media only screen and (min-width: 600px) and (max-width: 1024px) {
        .mybin {

    left: 54.4vw;
    top: 35.8%;
}  
        .contact-top_left{
        display:none;
    }
    
    .about h1 {
   
    font-size: 3rem;
}
.about h2 {
    font-size: 2rem;
}
    .about-logo {
    margin-top: 70px;

}
.adres {

    font-size: 30px;
}
.l-img{
    margin-bottom: 20px;
    margin-bottom: 20px;
}
.h-logo{
    padding-top: 5px;
}
   }
   @media only screen and (min-width: 1024px) and (max-width: 1300px) {
        .about h1 {
   
    font-size: 3rem;
}
.about h2 {
    font-size: 2rem;
}
  .mybin {

    left: 54.4vw;
    top: 35.8%;
}  
    
   }
   @media (max-width: 320px) {
       .l-img{
           margin-bottom: 30px;
       }
       nav ul li{
           flex-basis: 18%;
       }
       .social-links {
    right: 20px;
    top:-37px;
}
.h-logo {
    max-width: 150px;
        padding-top: 10px;
}
.m-header{
    min-height: 60px;
}
.open-overlay {
    top: -40px;
}
.about{
        padding: 80px 0;
}

   }