.body-no-scroll {
    overflow: hidden;
}

.overlay-modal {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, .5);
    display: none;
    backdrop-filter: blur(10px);
}

.overlay-modal-contact {
    width: 100%;
    height: 0;
    position: absolute;
    border-radius: 22px 22px 0 0;
    z-index: 6;
    transition: .3s;
}
.overlay-modal-contact.show-contact {
    height: 100%;
    background-color: rgba(0, 0, 0, .3);
    backdrop-filter: blur(8px);
    transition: background-color, background-color .3s;
}

/* MODAL */
#modal-infos-praticiens {
    position: fixed;
    width: 500px;
    height: 775px;
    top: 100vh;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: -10px 10px 20px rgba(0, 0, 0, .3);
    border-radius: 30px 30px 25px 25px;
    z-index: 1010;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
}

#modal-infos-praticiens.modal-show {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s all ease-in-out;
}

#modal-infos-praticiens.modal-hide {
    transform: translate(-50%, 100vh);
    transition: 0.3s all ease-in-out;
}

/* MODAL - Header */
.modal__header .i-light-circle-xmark {
    position: absolute;
    right: 10px;
    top: 10px;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
}

.modal__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--turquoise);
    padding: 3rem 2rem 0;
    border-radius: 25px 25px 20em 20em / 25px 25px 5em 5em;
}

.modal__header_name {
    color: var(--white);
    font-size: 2em;
    display: block;
    text-align: center;
}

.separator-header {
    width: 15%;
    border-color: var(--white);
    margin: 1rem 0 !important;
}

.modal__header_specialities {
    color: var(--yellow);
    display: block;
    font-size: 1.5em;
}

.modal__header__photo {
    width: 124px;
    height: 124px;
    background-color: var(--white);
    border-radius: 75px;
    border: 2px solid var(--turquoise);
    margin-bottom: -62px;
    z-index: 5;
    margin-top: 3rem;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0;
}

.modal__header__photo.avatar-women {
    background-image: url("/wp-content/plugins/mydeveloper-widget-custom/assets/images/praticiens/avatar_femme.png") !important;
}

.modal__header__photo.avatar-men {
    background-image: url("/wp-content/plugins/mydeveloper-widget-custom/assets/images/praticiens/avatar_homme.png") !important;
}



/* MODAL - Body */
.modal__body {
    background-color: var(--white);
    height: 100%;
    width: 100%;
    padding: 2rem 2rem 0 2rem;
}

.title-modal {
    color: var(--turquoise);
    font-size: 1.5em;
    margin-bottom: 1rem;
    font-weight: 600;
}

.separator-body {
    margin: 1rem 0 !important;
    height: 1px;
    border-width: 0;
    background-color: var(--turquoise) !important;
}

.modal__body__contact {
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: center;
    margin-top: 3rem;
    background-color: var(--white);
    border-radius: 15px;
    padding: 1rem 0;
    transition: .5s;
    bottom: 0;
    z-index: 6;
}

.modal__body__contact a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--turquoise);
    margin: 0 10px;
}

.modal__body__contact i {
    font-size: 2.5em;
    margin-bottom: 0.3em;
}

.modal__body__contact i:hover,
.modal__body__contact i:focus {
    color: var(--opale);
}

.modal__body__contact span {
    font-size: 0.7em;
}

.modal__body__contact.show-contact {
    box-shadow: 0 0 20px rgba(0, 0, 0, .3);
    bottom: -12rem;
    transition: bottom .5s;
}

.modal__body__address p:nth-child(4) {
    margin-bottom: 1rem !important;
    margin-top: 4px;
    border: 1px solid var(--opale);
    padding: 5px 15px;
    width: max-content;
    border-radius: 50px;
    font-size: 1em;
    display: flex;
    cursor: pointer;
}

.modal__body__address p:nth-child(4):hover {
    border: 1px solid var(--opale);
    background-color:  var(--opale);
    color: white;
}

.modal__body__address .praticien-itinerary i {
    font-size: 20px;
    margin-right: 10px;
}

.modal__body__address p {
    color: var(--opale);
    font-size: 1.2em;
    margin: 0;
}

.modal__body__address a {
    color: var(--opale);
    font-size: 1.2em;
    margin: 0;
}
.modal__body__address a:hover,
.modal__body__address a:focus {
    color: var(--turquoise);
}

/* MODAL - Footer */
.modal__footer__action {
    display: flex;
    justify-content: space-evenly;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 0 0 25px 25px;
    position: relative;
    z-index: 10;
}

.modal__footer__action-call i {
    margin-right: 1em;
}

@media (max-width: 767px) {
    #modal-infos-praticiens {
        width: 350px;
        height: 700px;
        max-width: 95vw;
        max-height: 95vh;
        overflow-y: scroll;
    }
}