.page-top-banner {
    background: url('../images/clinic/10.jpg');
    height: 40vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.middle-apply {
    margin: 50px 0;
}

#gallery {
    padding: 0 0 40px 0;
    margin-bottom: 40px;
}

.img-wrapper {
    position: relative;
    margin: 10px 0;

}

.img-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.img-wrapper:hover {
    cursor: pointer;
    transition: .4s ease-in-out;
}

.img-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.img-overlay ion-icon {
    color: #fff;
    font-size: 20px;
}

#overlay {
    background: rgba(0, 0, 0, 0.7);
    background: linear-gradient(45deg, #372e1b, #0c0b0bad);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#overlay img {
    margin: 0;
    width: 800px;
    height: 600px;
    object-fit: contain;
    padding: 0 10px;
}

@media screen and (min-width: 768px) {
    #overlay img {
        width: 80%;
    }
}

@media screen and (min-width: 1200px) {
    #overlay img {
        width: 50%;
    }
}

#nextButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
}

#nextButton ion-icon {
    font-size: 30px;
}

#prevButton ion-icon {
    font-size: 30px;
}

#nextButton:hover {
    opacity: 0.7;
    cursor: pointer;

}

@media screen and (min-width: 768px) {
    #nextButton {
        font-size: 3em;
    }
}

#prevButton {
    color: #fff;
    font-size: 20px;
    transition: opacity 0.8s;
}

#prevButton:hover {
    opacity: 0.7;
    cursor: pointer;

}

@media screen and (min-width: 768px) {
    #prevButton {
        font-size: 3em;
    }
}

#exitButton {
    color: #fff;
    font-size: 2em;
    transition: opacity 0.8s;
    position: absolute;
    top: 10%;
    right: 4%;
}

#exitButton:hover {
    opacity: 0.7;
    cursor: pointer;

}

@media screen and (min-width: 768px) {
    #exitButton {
        font-size: 3em;
    }
}