.equipe-pedagogique .prof {
    background-color: var(--orange);
    color: white;
    font-weight: 500;
    padding: 15px;
    border-radius: 15px;
    border: 2px solid var(--orange);
    transition: all 300ms ease 0ms;
    cursor: pointer;
}

.equipe-pedagogique .prof p {
    margin: 0;
    padding: 0;
    padding-top: 5px;
}

.equipe-pedagogique .prof .plus-hover {
    display: none !important;
}


.equipe-pedagogique .prof:hover .plus-hover {
    display: block !important;
}


.equipe-pedagogique .prof:hover .plus {
    display: none !important;
}

.equipe-pedagogique .prof:hover {
    background-color: white;
    color: var(--orange)
}

.equipe-pedagogique > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.equipe-pedagogique .prof {
    width: 20%;
    margin-right: 30px;
    margin-bottom: 30px !important;
}

.equipe-pedagogique > div > .prof:nth-child(4n) {
    margin-right: 0;
}

@media (max-width: 1200px) {
    .equipe-pedagogique .prof {
        width: 30%;
        margin-right: 20px;
        margin-bottom: 20px !important;
    }

    .equipe-pedagogique > div > .prof:nth-child(4n) {
        margin-right: 20px;
    }

    .equipe-pedagogique > div > .prof:nth-child(3n) {
        margin-right: 0;
    }
}

@media (max-width: 600px) {
    .equipe-pedagogique .prof {
        width: 45%;
        margin-right: 10px !important;
        margin-bottom: 10px !important;
    }

    .equipe-pedagogique > div > .prof:nth-child(2n) {
        margin-right: 0px !important;
    }
}

/*pop up*/
.pop-bg {
    display: none;
    position: fixed;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 999999;
    align-items: center;
    top: 0;
    left: 0;
}

.pop-bg.active {
    display: flex;
}

.pop-bg .pop-orange {
    width: 60%;
    margin: auto;
    height: 80%;
    display: block;
    background-color: var(--orange);
    border-radius: 15px;
    padding: 40px 60px;
    color: white;
    position: relative;
    max-width: 800px;
}

.pop-close {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 30px;
    position: absolute;
    right: -15px;
    top: -15px;
    cursor: pointer;
    background-image: url("/wp-content/themes/Divi-child/assets/img/croix.png");
    background-repeat: no-repeat;
    background-position: center;
}

.pop-image {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pop-image img {
    height: 180px;
    border-radius: 150px;
    width: 180px;
    object-fit: cover;
    margin-right: 40px;
}

.pop-image > p:last-child {
    text-align: justify;
    /* max-width: 440px; */
    padding: 40px;
}

.pop-image > p:first-child {
    min-width: 180px;
}

.pop-image p {
    display: flex;
    padding: 0;
}

.pop-content h2 {
    color: white;
}

.pop-content h5 {
    color: white;
    font-size: 24px;
    font-weight: 400;
}

.pop-scroll {
    overflow-y: scroll;
    max-height: 34vh;
    padding-right: 20px;
}

.pop-up {
    display: none;
}

.pop-scroll::-webkit-scrollbar-track {
    background: #f1f1f12;
}

.pop-scroll::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 20px
}

.pop-scroll::-webkit-scrollbar {
    width: 10px;
}

.scroll-body {
    overflow-y: hidden;
}
@media (max-width: 980px) {
    .pop-image {
        flex-direction: column;
        margin-bottom: 0px;
    }

    .pop-image > p:last-child {
        padding: 10px 0;
    }

    .pop-image img {
        height: 90px;
        width: 90px;
        margin-right: 0px;
    }

    .pop-image > p:first-child {
        min-width: 90px;
    }

    .pop-bg .pop-orange {
        width: 90%;
        padding: 30px;
    }
}