/* =====================================
    MEDIA QUERIES.
===================================== */
@media (max-width:1640px) {
  .grid-five-col .grid-sizer,
  .grid-five-col .grid-box {
    width: 25%;
  }

  .grid-three-col .grid-sizer,
  .grid-three-col .grid-box {
    width: 33%;
  }
}

@media (max-width:1400px) {
  .multicolor-layer {
    height: 100%;
    background: transparent;
    padding: 0;
    margin: 5rem 0;
  }

  .about-img-layer {
    padding-left: 0;
  }

  .about-layer {
    padding-right: 0;
  }

  .grid-five-col .grid-sizer,
  .grid-five-col .grid-box {
    width: 33%;
  }

  .grid-three-col .grid-sizer,
  .grid-three-col .grid-box {
    width: 33%;
  }
  grid-three-col
}

@media (max-width:1300px) {

  .social-media {
    display: none;
  }
  /*.social-media {
    user-select: none;
    position: absolute;
    top: 50%;
    left: 1.5%;
    text-align: left;
    z-index: 1 !important;
  }

  .social-media ul li {
    margin: 10px 20px;
    font-size: 20px;
    z-index: 2;
    display: inline-block;
    text-align: center;
  }*/

}

@media (max-width:1200px) {
  .container {
    max-width: 95%;
  }

  .flickity-page-dots {
    display: none;
  }

  .social-media-index {
    position: absolute;
    top: 58%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1 !important;
  }

  .social-media-index ul li {
    margin: 10px 20px;
    font-size: 20px;
    z-index: 2;
    display: inline-block;
    text-align: center;
  }

  .slider-caption h1 {
    font-size: 45px;
    line-height: 55px;
    color: #FFF;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero-box {
    margin-top: 5rem;
  }

  .front-box {
    background-color: #FFF;
    padding: 20px;
    margin: 10px;
    -webkit-box-shadow: 0 0 11px 0 rgba(6, 22, 58, .14);
    -moz-box-shadow: 0 0 11px 0 rgba(6, 22, 58, .14);
    box-shadow: 0 0 11px 0 rgba(6, 22, 58, .14);
  }

  /*.pages-hero .social-media {
    display: none;
  }*/
}

@media (max-width:1090px) {
  .grid-sizer,
  .grid-box {
    width: 49%;
  }

  .section-title {
    width: 70%;
  }

  .call-to-action {
    height: 100%;
    padding: 2rem 1.8rem 1.8rem;
  }

  .call-left,
  .call-right {
    float: none;
    padding: 0;
    text-align: center;
  }

  .call-right {
    margin-top: 10px;
  }

  .call-button {
    margin-top: 15px;
  }

  .aside-left {
    padding-right: 0;
  }

  .aside-right {
    padding-left: 0;
  }

  .testimonials-layer {
    padding: 50px 0;
  }

  .pages-hero {
    height: 350px;
  }

  .grid-five-col .grid-sizer,
  .grid-five-col .grid-box {
    width: 50%;
  }

  .grid-three-col .grid-sizer,
  .grid-three-col .grid-box {
    width: 50%;
  }

  .feature-img-thumb {
    /*display: none;*/
  }

  .blogs-bg .pages-title {
    width: 80%;
  }

  .ca-left-side p {
    margin: 10px 0;
  }
}

@media (max-width:767px) {
  .social-media ul li {
    margin: 0 15px;
    font-size: 18px;
  }

  .social-media-index ul li {
    margin: 0 15px;
    font-size: 18px;
  }

  .slider-caption h1 {
    font-size: 35px;
    line-height: 45px;
  }

  .slider-caption .subtitle {
    font-size: 14px;
  }

  .front-box {
    margin: 10px 0;
  }

  .section-title {
    width: 80%;
  }

  /*.home-slider {
    width: 100%;
    height: 100vh;
  }

  .hero-slider {
    width: 100%;
    height: 100vh;
  }*/

  .testimonials-layer {
    padding: 20px 0 10px 0;
  }

  .testimonials-layer:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(36, 133, 176, 0.5);
  }

  .testimonial-carousel {
    background-color: transparent;
  }

  .destination-box:hover figcaption,
  .destination-box.hover figcaption {
    height: 150px;
  }

  .activitie-thumb {
    margin: 0;
  }

  .error-page-content {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    transform: translate(0%, 0%);
    text-align: center;
    color: #FFF;
    padding: 0 5rem;
  }

  .error-page-content {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    transform: translate(0%, 0%);
    text-align: center;
    color: #FFF;
    padding: 0 5rem;
  }

  .blog-prev-caption {
    background-color: rgba(255, 255, 255, 0.90);
    position: absolute;
    bottom: 0;
    margin: 0;
  }

  .social-post {
    margin-bottom: 15px;
  }

  .share-link {
    display: inline-block;
    margin: 0 5px;
  }

  .pages-title h1 {
    font-size: 30px;
    line-height: 35px;
  }

  .blogs-bg .pages-title h1 {
    font-size: 30px;
    line-height: 35px;
  }

}

@media (max-width:750px) {
  .section-title {
    width: 90%;
  }

  ul.footer-menu li {
    margin: 0 10px;
    font-size: 13px;
  }

  .grid-five-col .grid-sizer,
  .grid-five-col .grid-box {
    width: 100%;
  }

  .grid-three-col .grid-sizer,
  .grid-three-col .grid-box {
    width: 100%;
  }

  .error-page-content {
    position: absolute;
    padding: 0 3rem;
  }

  .error-page-content h1 {
    font-size: 6rem;
  }

  .blogs-bg .pages-title {
    width: 100%;
  }

  .blog-prev-caption {
    position: relative;
  }

}

@media (max-width:480px) {
  .social-media ul li {
    margin: 0 10px;
    font-size: 16px;
  }

  .social-media-index ul li {
    margin: 0 10px;
    font-size: 16px;
  }

  .section-title {
    width: 95%;
  }

  .comment-box .media {
    display: block !important;
  }

  .comment-box .media .mr-3 {
    margin-bottom: 20px;
  }
}

@media (max-width:380px) {
  .social-media ul li {
    margin: 0 5px;
    font-size: 16px;
  }

  .social-media-index ul li {
    margin: 0 5px;
    font-size: 16px;
  }
}

@media (max-width:350px) {
  ul.footer-menu {
    display: block !important;
    text-align: center;
  }

  ul.footer-menu li {
    margin: 5px;
  }

}
@media only screen and (max-width: 768px) {
  .video-parallax {
    background-image: url("https://via.placeholder.com//1920x1080");
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow:hidden;
    display: block;
    align-items: center;
  }

  .video-index{
    margin: auto;
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
}


@media only screen and (max-width: 1200px) {
  .text-on-line{
    bottom: 39px;
  }
}

@media only screen and (max-width: 1190px) {
  .text-on-line{
    bottom: 36px;
  }
}

@media only screen and (max-width: 1160px) {
  .text-on-line{
    bottom: 35px;
  }
}

@media only screen and (max-width: 1130px) {
  .text-on-line{
    bottom: 34px;
  }
}

@media only screen and (max-width: 1100px) {
  .text-on-line{
    bottom: 33px;
  }
}

@media only screen and (max-width: 1070px) {
  .text-on-line{
    bottom: 32px;
  }
}

@media only screen and (max-width: 1040px) {
  .text-on-line{
    bottom: 31px;
  }
}

@media only screen and (max-width: 1010px) {
  .text-on-line{
    bottom: 30px;
  }
}

@media only screen and (max-width: 980px) {
  .text-on-line{
    bottom: 28px;
  }
}

@media only screen and (max-width: 950px) {
  .text-on-line{
    bottom: 27px;
  }
}

@media only screen and (max-width: 920px) {
  .text-on-line{
    bottom: 26px;
  }
}

@media only screen and (max-width: 890px) {
  .text-on-line{
    bottom: 24px;
  }
}

@media only screen and (max-width: 860px) {
  .text-on-line{
    bottom: 23px;
  }
}

@media only screen and (max-width: 830px) {
  .text-on-line{
    bottom: 21px;
  }
}

@media only screen and (max-width: 800px) {
  .text-on-line{
    bottom: 20px;
  }
}

@media only screen and (max-width: 770px) {
  .text-on-line{
    bottom: 19px;
  }
}

@media only screen and (max-width: 740px) {
  .text-on-line{
    bottom: 17px;
  }
}

@media only screen and (max-width: 710px) {
  .text-on-line{
    bottom: 16px;
  }
}

@media only screen and (max-width: 680px) {
  .text-on-line{
    bottom: 15px;
  }
}

@media only screen and (max-width: 650px) {
  .text-on-line{
    bottom: 13px;
  }
}

@media only screen and (max-width: 620px) {
  .text-on-line{
    bottom: 11px;
  }
}

@media only screen and (max-width: 590px) {
  .text-on-line{
    bottom: 10px;
  }
}

@media only screen and (max-width: 560px) {
  .text-on-line{
    bottom: 9px;
  }
}

@media only screen and (max-width: 530px) {
  .text-on-line{
    bottom: 8px;
  }
}

@media only screen and (max-width: 500px) {
  .text-on-line{
    bottom: 7px;
  }
}

@media only screen and (max-width: 470px) {
  .text-on-line{
    bottom: 5px;
  }
}

@media only screen and (max-width: 440px) {
  .text-on-line{
    bottom: 4px;
  }
}

@media only screen and (max-width: 410px) {
  .text-on-line{
    bottom: 3px;
  }
}




@media only screen and (max-width: 992px) {
  .margin-top-5{
    margin-top: 5px;
    width: 50%;
  }

  .image-center-corp{
    height: 300px;
    width: 100%;
  }

  .max-width-tour-image{
    margin: 0;
    position: absolute; /* position the image absolutely within the container */
    top: 50%; /* position the top of the image at the vertical center of the container */
    left: 50%; /* position the left of the image at the horizontal center of the container */
    transform: translate(-50%, -50%); /* move the image back up and to the left by half its own width and height */
    min-width: 100%; /* allow the image to overflow horizontally */
    min-height: 100%; /* allow the image to overflow vertically */
  }

  .description-images-container {
    display: flex;
    flex-wrap: nowrap; !important;
    flex-direction: row; !important;
  }

  .description-images {
    flex: none; !important;
    max-width: 50%; !important;
    height: 200px; !important;
  }

  .description-images-trips-points {
    flex: none; !important;
    max-width: 50%; !important;
    height: 200px; !important;
  }

  .description-images-trips {
    flex: none; !important;
    max-width: 50%; !important;
    height: 200px; !important;
  }

  .description-points-container {
    padding-top: 10px;
  }

  .marine-life{
    margin-top: 5px;
    margin-left: 15px;
    margin-right: 15px;
  }

  .desc-image{
    height: fit-content;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 0px;
  }

  .row-descr-max{
    height: fit-content;
  }

  .mt-3-sites-description{
    margin-top: 0rem;
  }

  .youtube-video-description{
    height: 15rem; !important;
  }

  .description-bg{
    height: 300px;
  }
}

@media only screen and (max-width: 880px) {
  .description-images-trips-points {
    flex: none;!important;
    max-width: 60%;!important;
    height: 200px;!important;
  }

  .description-images-trips {
    flex: none;!important;
    max-width: 40%;!important;
    height: 200px;!important;
  }
}

@media only screen and (max-width: 760px) {
  .description-images-trips-points {
    flex: none;!important;
    max-width: 70%;!important;
    height: 200px;!important;
  }

  .description-images-trips {
    flex: none;!important;
    max-width: 30%;!important;
    height: 200px;!important;
  }
}

@media only screen and (max-width: 660px) {
  .index-carousel{
    display: none;
  }

  .description-images-trips-points {
    flex: none; !important;
    max-width: 100%; !important;
    height: 200px; !important;
  }

  .description-images-trips {
    display: none;
  }

  .description-bg{
    height: 200px;
  }
}

