*{
    margin: 0;
}

#slider{    
    display: flex;
    justify-content: center;
    align-items: center;    
    position: relative; 
    margin-top: 30px;
}

.gallery-container{
    width: 1600px;
    margin: auto;
}
#controls{
    display: flex;
    justify-content: space-between;
    
}
#myModal #controls,  #block-galleryoverview #controls{border-top: none;}
#controls i{
    color: #fff;
    font-size: 1rem;
}

.previous, .next{
    cursor: pointer;
    border-radius: 50%;
    transition: 0.7s ease-in-out;
    border: none;
    background-color: transparent;
}
.slide-img{
    width: 100%;
    margin: auto;
/*    cursor: pointer; */
    transition: 0.5s;
}
@media(max-width:1600px) {
    .gallery-container{
        width: 94% !important;
    }
}

/* New CSS for Lightbox Gallery */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 55px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #153342;
    
  }

   /* Modal Content */
   .modal-content {
    position: relative;
    background-color: #153342;
    margin: auto;
    padding: 0;
    width: 80% !important;
    max-width: 1200px;
    border: none !important;
    background-color: #153342 !important;
  }

  
  .mySlides {
    display: none;
  }
  
  .cursor {
    cursor: pointer;
  }

  /* Number text (1/3 etc) */
  .numbertext {
    color: #000;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0px;
    left: 295px;
  }
  
/* next button CSS */
.next-btn{
    position: absolute;
    right: 190px;
    bottom: 0;
    padding: 6px;
    width: 35px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.7s ease-in-out;
    border: none;
    background-color: transparent;
}
.next-btn img, .previous-btn img{width: 100%;}

/* Close button */
.close{
    position: absolute;
    right: 283px;
    top: -20px;
    padding: 6px;
    width: 35px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.7s ease-in-out;
    border: none;
    background-color: transparent;
    outline: none;
}
.close img{width: 125%;}

.previous-btn{
    position: absolute;
    bottom: 0;
    right: 230px;
}
.modal .modal-content .previous-btn{
    top: 0% !important;
    left: 24.5% !important;
}
.modal .modal-content .next-btn{
    top: 0%;
    right: 25%;
}
.modal .modal-content .previous-btn img{
    width: 125%;
}
.modal .modal-content .next-btn img{
    width: 125%;
}
.gallery-img{
   /* width: 100% */
    width: auto;
}
.modal-box-image{width: 50%;}
.previous img, .next img{width: 40%;}
/* .tns-slide-active:nth-child(odd) {
    margin-top: 50px !important;
   
} */

.viewall-gallery{
    position: relative;
    text-align: right;
    padding-right: 20px;
    padding-bottom: 30px;
}
.viewall-gallery a{
    font-family: 'Book Antiqua Regular';
    position: absolute;
    top: -49px;
    right: 10px;
    color: #232323;
    text-decoration: none;
}
.viewall-gallery a:hover{color: #232323;}
.viewall-arrow{
    padding: 10px;
}
.home-block-title-wrapper h2{
    font-family: 'Alegreya Sans SC Medium';
}

/* Gallery overview page CSS starts here*/
/* #block-galleryoverview{margin-bottom: 50px;} */
.gallery-overview-heading{
    text-align: center;
    font-size: 48px;
    font-family: 'Book Antiqua Italic';
}
.gallery-img-col img{
    width: 100%;
    cursor: pointer;
}
.gallery-img-col{
    padding: 24px !important;
}
.images-img-col{
    margin-bottom: 25px;
}
/*
.gallery-row:nth-child(2) .col-md-4, .gallery-row:nth-child(3) .col-md-4{
    height: 300px;
    overflow: hidden;
}
.gallery-row:nth-child(3){padding-top: 24px;}
.gallery-row:nth-child(4){padding-top: 24px;} 
*/
.previous{
    position: absolute;
    top: 50%;
    left: 4%;
    z-index: 9999;
    transform: translate(-50%, -50%);
}
.next{
    position: absolute;
    top: 50%;
    right: -1%;
    transform: translate(-50%, -50%);
}
.tns-item{
    padding-right: 10px !important;
}
.gallery-container .controls{
     display: block !important;
}
