/********************** Similar Apartment Filter **********************/

body {
    overflow: auto;
}

.overflow-hide-pop-up {
    overflow-y: hidden !important;
}

.overflow-show-pop-up {
    overflow: auto !important;
}


/********************** Pop Ups Style **********************/

@keyframes pop-up-open {
    0% {
        top: 100%;
        left: 50%;
        transform: translateX(-50%) scale(1)
    }
    100% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1)
    }
}

@keyframes pop-up-close {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1)
    }
    100% {
        top: 0%;
        left: 50%;
        transform: scale(0)
    }
}

.pop-up-details {
    display: none;
    position: absolute;
}

.pop-up-details.active-pop-up {
    animation: pop-up-open 500ms;
    transform: translate(-50%, -50%) scale(1);
    display: block;
}

.pop-up-details.deactive-pop-up {
    animation: pop-up-close 500ms;
}

.pop-up-details::-webkit-scrollbar {
    display: block;
    width: 9px;
}

.pop-up-details::-webkit-scrollbar-button {
    display: none;
}

.pop-up-details::-webkit-scrollbar-track {
    background-color: #00000000;
}

.pop-up-details::-webkit-scrollbar-track-piece {
    background-color: #00000000;
}

.pop-up-details::-webkit-scrollbar-thumb {
    background-color: #00000040;
    border: 1px solid #ffffff40;
    border-radius: 24px;
}

.pop-up-details::-webkit-scrollbar-thumb:hover {
    background-color: #05174940;
    border: 1px solid #ffffff40;
    border-radius: 24px;
}

.pop-up-details {
    position: fixed;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: ease;
    border: 0px;
    border-radius: 10px;
    z-index: 100;
    background-color: white;
    width: 50%;
    min-height: auto;
    max-height: 90%;
    min-width: 300px;
    display: block;
    scroll-behavior: smooth;
    overflow-y: scroll;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    overflow: overlay;
}

.pop-up-inner-image {
    width: 100% !important;
}

.pop-up-close-button {
    position: absolute;
    background: transparent;
    border: none;
    top: 10px;
    right: 20px;
    font-size: 20px;
    color: #369494;
    z-index: 20;
}

.pop-up-close-button:hover {
    cursor: pointer;
    color: #000;
}

#pop-up-overlay {
    position: fixed;
    transition: 200ms;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(217, 217, 217, 40%);
    filter: blur(1);
    pointer-events: none;
    opacity: 0;
}

#pop-up-overlay.active-pop-up {
    opacity: 1;
    background-color: rgba(12, 12, 12, 0.1);
    backdrop-filter: blur(1px);
    pointer-events: all;
    z-index: 99;
}


/************ New Pop Up ************/

.pop-up-appointment-full-bg {
    background: url(../images/bg_book_appointment.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.pop-up-team-full-bg {
    background: url(../images/medical-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.appointment-full-width input,
.appointment-full-width textarea {
    width: 100%;
}

.pop-up-team-full-bg p {
    color: #fff;
}

.costume-pop-up-container {
    padding: 20px
}

.appointment-submit {
    left: auto;
    margin: 20px auto;
    right: auto;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

.pop-up-head-image-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 300px
}

.pop-up-head-image {
    width: 100%;
    position: absolute;
    object-fit: cover;
    height: 100%;
    width: 100%;
    vertical-align: top;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pop-up-text-align {
    padding: 2px 20px;
}

.pop-up-details h3 {
    margin: 10px 0 0 0;
    padding: 0 20px;
    font-size: calc(10px + 1vw);
}

.pop-up-profile-image {
    position: sticky;
    bottom: 0;
    width: 50%;
    z-index: -1;
}

.pop-up-doctor-card {
    color: #fff;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    margin: 15px 20px 0 20px;
    padding: 5px 0px;
    border-radius: 5px;
}

.pop-up-doctor-card h3 {
    color: #fff;
    font-size: calc(15px + 1vw);
}

.pop-up-head-image-news {
    width: 50%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.pop-up-center-text {
    text-align: center;
}