/* Gallery Section */
.gallery-section {
    padding: 3rem 0;
}
.gallery-section .gallery
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.gallery-section .row>* {
    padding-right: .25rem;
    padding-left: .25rem;
}

.gallery-section .gallery img {
    height: 180px;
    width: 220px;
    margin: 7px;
}

.gallery-section .gallery .image:hover {
    filter: drop-shadow(4px 4px 6px gray);
    transform: scale(1.05);
    cursor: pointer;
    transition: 1s;
}

.preview-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    color: #173747;
    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: #085982;
    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: 60px;
    line-height: 50px;
    text-align: center;
    border-radius: 3px;
}

.image-box .slide.prev {
    left: -12px;
}

.slide.next {
    right: -12px;
}

.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);
}

.image-box .prev i,
.image-box .next i{
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 9px;
    top: 45%;
    cursor: pointer;
}
.light-mode .image-box .prev i,
.light-mode .image-box .next i{
    background-color: rgba(255, 255, 255, 0.9);
    color: #111;
    padding: 9px;
    top: 45%;
    cursor: pointer;
}

.image-box .next i:hover,
.image-box .prev i:hover {
    opacity: .8;
}

/* Media Query */
@media only screen and (max-width: 480px) {
    .gallery-section .gallery img {
        height: 120px;
        width: 160px;
        margin: 7px;
    }
}