/* Style card praticien */
/* List cards */

.section-count-filter {
    display: flex;
    align-items: center;
}

.anchor-pays {
    display: flex;
    justify-content: center;
    position: sticky;
    top: 65px;
    z-index: 20;
    background-color: white;
    padding: 2rem 0 1rem;
}

.anchor-pays a {
    color: var(--turquoise);
    border: 1px solid var(--turquoise);
    padding: .5rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    margin: 0 1rem;
}

.filter-selected {
    display: flex;
    justify-content: flex-start;
    position: sticky;
    top: 100px;
    z-index: 20;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 1rem;
}

.filter-selected p {
    color: var(--turquoise);
    border: 1px solid var(--turquoise);
    padding: .2rem .5rem;
    border-radius: 50px;
    font-size: .8rem;
    margin: 5px;
}

.cards-praticiens hr {
    margin-top: 2rem;
    border-color: rgba(0, 0, 0, .1);
}

.cards-praticiens .grid-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 3rem;
    grid-row-gap: 3rem;
    margin-left: 2rem;
    margin-top: 2rem;
    margin-right: 1rem;
}

.title-location {
    display: flex;
    flex-direction: column;
    margin: 0;
    position: sticky;
    top: 70px;
    min-height: 58px;
    padding: 3rem 0 0;
}

.title-location__region {
    font-size: 2em;
    color: var(--turquoise);
    background-color: var(--white);
    padding: 2rem 0;
    min-height: 65px;
    max-height: 65px;
}
.title-location__region-hide {
    font-size: 2em;
    color: var(--turquoise);
    min-height: 65px;
    max-height: 65px;
    padding: 2rem 0;
}

.title-location__departement {
    font-size: 1.5em;
    color: var(--opale);
    background-color: var(--white);
    padding-bottom: 1rem;
}

.count-cards {
    color: var(--opale);
    font-size: 1.6em;
    display: block;
    min-width: max-content;
}

/* Infos */
.card-praticien {
    display: flex;
    justify-content: space-between;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, .3);
    border-radius: 15px;
    height: 100%;
}

.card-praticien .body__infos {
    width: 45%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-praticien .body__infos .body__infos-name {
    color: var(--opale);
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-praticien .body__infos .body__infos-specialities {
    margin-bottom: 1rem;
}

.card-praticien .body__infos .body__infos-specialities p {
    font-size: 1em;
    font-weight: normal;
    margin: 0;
    color: var(--turquoise);
}

.card-praticien .body__infos .body__infos-address {
    color: var(--turquoise);
    font-size: 1em;
}

.card-praticien .body__infos hr {
    width: 25%;
    border-top: 2px solid var(--opale);
    margin-bottom: 1rem;
}

/* Infos */
.card-praticien .body__profil {
    background: linear-gradient(90deg, transparent 50%, var(--turquoise) 0%);
    border-radius: 0 15px 15px 0;
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.card-praticien .body__infos-img {
    min-width: 124px;
    max-width: 124px;
    min-height: 124px;
    max-height: 124px;
    border-radius: 62px;
    border: 3px solid var(--turquoise);
    background-color: white;
    margin-bottom: 2rem;
}

.card-praticien .body__infos-img.avatar {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0;
}

.card-praticien .body__infos-img.avatar-women {
    background-image: url('/wp-content/plugins/mydeveloper-widget-custom/assets/images/praticiens/avatar_femme.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: -3px 3px;
}

.card-praticien .body__infos-img.avatar-men {
    background-image: url('/wp-content/plugins/mydeveloper-widget-custom/assets/images/praticiens/avatar_homme.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: -3px 3px;
}

@media (max-width: 1450px) {
    .cards-praticiens .grid-card {
        grid-row-gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .cards-praticiens .grid-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .cards-praticiens .grid-card {
        grid-template-columns: repeat(1, 1fr);
    }
}

.card-wait-loader {
    width: 100vw;
    height: 91vh;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, .5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.card-wait-loader img {
    width: 90px;
    transform: translateY(-95px);
}

.card-wait-loader span {
    font-size: 1.3em;
    color: var(--white);
    display: block;
    margin-bottom: 1rem;
}

.card-wait-loader .loader {
    border-top: 10px solid var(--yellow) !important;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    border: 16px solid transparent;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}