.gallery-section{
    padding: 50px 0;
}
/* 
.modal.in .modal-dialog {
    transform: translate(0%, 0%);
}

.ekko-lightbox{
    display: flex;
    justify-content: center;
    align-items: center;
}

.ekko-lightbox-container{
    width: 100%;
    height: unset!important;
    max-width: 100%;
}


.ekko-lightbox-nav-overlay a span{
    color:#ffffff;
    font-size: 40px;
}

.ekko-lightbox-nav-overlay a span:hover{
    color:#d3d3d3;
}

 .ekko-lightbox-nav-overlay a:nth-child(1){
    position:absolute;
    top: 50%;
    left: -100px;
}

.ekko-lightbox-nav-overlay a:nth-child(2){
    position: absolute;
    top:50%;
    right: -100px;
} 

.light-box-img{
    margin-bottom:15px;
}

.light-box-img img{
    width: 100%;
    margin-bottom: 15px;
}
 */

/* ==============Testimonial Slider============= */

.slick-next:before {
    font-size: 30px!important;
    color: #DD3F4A!important;
}


.slick-prev:before, .slick-next:before {
    font-size: 30px!important;
    color: #DD3F4A!important;
}

.slick-track{
    height: 180px;
}

.slick-prev {
    left: -30px!important;
}

.slick-dots li button:before{
    color: #dd3f4a!important;
    font-size: 7px!important;
}

.slick-dots li.slick-active button:before {
    color: #dd3f4a !important;;
}

.slick-dots{
  top:110%;
}



.slide.prev,.slide.next{
  background: #dd3f4a96;
  transition: all 0.3s ease;
  
}

.slide.prev:hover{
  background: #DD3F4A;
}

.slide.next:hover{
  background: #DD3F4A;
}





@media(max-width:600px){
    .modal.in .modal-dialog {
        transform: translate(0%, 100%);
        max-width: 400px;
    }

    .ekko-lightbox-nav-overlay a:nth-child(1){
        position:absolute;
        top: 45%;
        left: 0;
        background: #ffffff;
        padding: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
    }
    
    .ekko-lightbox-nav-overlay a:nth-child(2){
        position: absolute;
        top:45%;
        right: 0;
        background: #ffffff;
        padding: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
    } 
    .ekko-lightbox-nav-overlay{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .ekko-lightbox-nav-overlay a span{
        color:#000000;
    }
    
}


@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)
and (orientation : portrait) {
    .modal.in .modal-dialog {
        transform: translate(0%, 100%);
    }

    .slick-track{
        height: 140px;
    }
}


@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
 
    .modal.in .modal-dialog {
        transform: translate(0%, 100%);
    }

    .slick-track{
        height: 140px;
    }

    .slick-prev {
        left: -30px!important;
    }

    .slick-next{
        right: -20px !important;;
    }

}


/* ========================== */

.wrapper{
    max-width: 1100px;
  }
  .gallery{
    display: flex;
    flex-wrap: wrap;
  }
  .gallery .image{
    padding: 7px;
    width: calc(100% / 3);
  }
  .gallery .image span{
    display: flex;
    width: 100%;
    overflow: hidden;
  }
  .gallery .image img{
    width: 100%;
    vertical-align: middle;
    transition: all 0.3s ease;
    aspect-ratio: 1/1;
  }
  .gallery .image:hover img{
    transform: scale(1.1);
  }
  
  .preview-box{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    max-width: 700px;
    width: 100%;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    border-radius: 3px;
    padding: 0 5px 5px 5px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.2);
  }
  .preview-box.show{
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.3s ease;
  }
  .preview-box .details{
    display: flex;
    align-items: center;
    padding: 12px 15px 12px 10px;
    justify-content: space-between;
  }
  .preview-box .details .title{
    display: flex;
    font-size: 18px;
    font-weight: 400;
  }
  .details .title p{
    margin: 0 5px;
  }
  .details .title p.current-img{
    font-weight: 500;
  }
  .details .icon{
    color: #838fab;
    font-size: 20px;
    cursor: pointer;
  }
  .preview-box .image-box{
    display: flex;
    width: 100%;
    position: relative;
  }
  .image-box .slide{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    height: 50px;
    width: 35px;
    line-height: 50px;
    text-align: center;
    border-radius: 3px;
  }
  .slide.prev{
    left: 0px;
  }
  .slide.next{
    right: 0px;
  }
  .image-box img{
    width: 100%;
    border-radius: 0 0 3px 3px;
  }
  .shadow{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    display: none;
    background: rgba(0,0,0,0.45);
  }


  .certi-gallery .image span{
    border: 2px solid #838fab;
    border-radius: 5px;
  }
  
  @media(max-width: 1000px){
    .gallery .image{
      width: calc(100% / 2);
    }
  }
  @media(max-width: 600px){
    .gallery .image{
      width: 100%;
      padding: 4px;
    }
  }