@import url(https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);

.input-selection {
    border-radius: 0.3em 0 0 0.3em !important;
    /* background: red !important; */
}

button {
    padding: 0.8em 1.8em;
    font-family: 'poppins';
    border-radius: 0.5em;
    cursor: pointer;
    font-weight: 400;
    font-size: 1em;
    text-wrap: nowrap;
}

textarea {
    resize: none;
    font-family: 'poppins';

}

.italic {
    font-style: italic !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    cursor: default;
    font-weight: normal;
}


input {
    font-family: 'poppins';
    font-size: 1em;
    color: #6b6b6b;
}

input:read-only {
    cursor: pointer;
}

#modal-candidature-new-list-tojo {
    position: fixed;
    overflow-y: auto;
    height: 100%;
    /* padding: 1em; */
    background: rgba(0, 0, 0, 0.336);
    width: 100%;
    display: block;
    left: 0;
    top: 0;
    z-index: 999 !important;
}

#modal-candidature-new-list-tojo :is(p, span, h1, h2, h3, h4, h5, h6, ) {
    cursor: default;
}

.modal-header-new-list-tojo {
    background: rgba(40, 146, 245, 1);
    color: #fff;
    /* position: sticky;
    top: 0; */
}

.modal-section-new-list-tojo {
    background: #fff;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%);
    margin: 1em auto;
    width: 90%;
    /* max-height: 90%;
    overflow-x: auto; */
}

.row-modal-header-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.8em 1.5em;
    font-size: 1.3em;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* TR */
.modal-body-new-list {
    padding: 0.8em 1.5em;

}

.tr-modal-body-list-tojo {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* outline: 1px solid #000; */
    align-items: center;
}

.th-modal-body {
    flex: 1;
    max-height: 5em;
    flex-direction: row;
    align-items: center;
    height: 5em;
    display: flex;
    border: 1px solid rgba(88, 88, 86, 0.5)
}

.th-modal-body p {
    padding: 0.8em;
    font-weight: 500;
}

/* TBODY */
.tbody-modal-body {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin-top: 0.5em;
    color: rgba(88, 88, 86, 1);
}


.tr-modal-tbody-body {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    outline: 1px solid rgba(88, 88, 86, 0.3);
    align-items: center;
    border-radius: 5px;
    /* gap: 1em; */
    /* width: 55em; */
}


.td-modal-body {
    flex: 1;
    max-height: 5em;
    flex-direction: row;
    align-items: center;
    max-height: max-content !important;
    padding: 0.5em;
    display: flex;
    /* outline: 1px solid rgba(0, 0, 0, 1); */
    /* background: red; */
}

.td-modal-body p {
    padding: 0.8em;
    /* font-weight: 500; */
}

/* UL BODY */
.ul-tbody-modal-body {
    margin-left: 1.5em;
}


.ul-tbody-modal-body li p {
    padding: 0;
}

.ul-champs-personnalise {
    list-style: none;
    margin-left: 0.55em;
}

.ul-champs-personnalise li {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5em;

}

.span-choice-garant-or-active {
    font-size: 0.6em;
    background: rgba(3, 168, 78, 1);
    padding: 0.2em 1em;
    border-radius: 1.5em;
    font-weight: 600;
    color: #fff;
}

.span-choice-garant-or-active.active-garant {
    background: rgba(40, 146, 245, 1);

}

.span-choice-garant-or-active.active-candidat {
    background: rgba(3, 168, 78, 1);

}

/* LAST */
.last-td-modal-body-tojo {
    /* background: red; */
    /* flex: 0; */
    /* display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center !important; */
    width: 50%;
}

.row-action-tbody-modal {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* justify-content: center !important; */
    gap: 0.5em;
}

.row-action-tbody-modal i {
    cursor: pointer;
    transition: 0.1s;
}

.row-action-tbody-modal i:hover {
    scale: 1.05;
}

@media screen and (max-width: 930px) {
    html {
        font-size: 0.8em !important;
    }



    .modal-section-new-list-tojo {
        position: unset;
        background: #fff;
        position: absolute;
        top: 0;
        margin: 0 auto;
        left: 0;
        transform: translate(0, 0);
        width: 100%;
    }

    /* THEAD */
    .thead-modal-body-list-tojo {
        display: none;
    }

    .td-modal-body::before {
        font-weight: bold;
        width: 100%;
    }

    .td-modal-body:nth-child(1):before {
        content: 'Nom de la configuration';
    }

    .td-modal-body:nth-child(2):before {
        content: 'Pièces justificatives pour le Candidat';
    }

    .td-modal-body:nth-child(3):before {
        content: 'Pièces justificatives pour le Garant';
    }

    .td-modal-body:nth-child(4):before {
        content: 'Champs personnalisés';
    }

    .td-modal-body:nth-child(5):before {
        content: 'Actions';
    }

    .tr-modal-tbody-body {
        display: flex;
        flex-direction: column;
        align-items: left !important;
        gap: 0;
    }

    .tbody-modal-body {
        display: flex;
        flex-direction: column;
        gap: 1em;
        margin-top: 0.5em;
        color: rgba(88, 88, 86, 1);
    }

    .td-modal-body::before {
        padding-bottom: 1em;
    }

    .td-modal-body {
        width: 100%;
        /* background: red; */
        flex: 1;
        display: flex;
        flex-direction: row;
        gap: 0.5em;
        justify-content: space-between;
        border-bottom: 1px solid rgba(88, 88, 86, 0.3);
        padding: 1em;

    }

    #modal-candidature-new-list-tojo {
        position: unset !important;
        /* overflow-y: auto; */
        height: 100%;
        /* padding: 1em; */
        background: rgba(0, 0, 0, 0.336);
        width: 100%;
        display: block;
    }

}

@media screen and (max-width: 400px) {
    .td-modal-body {
        width: 100%;
        /* background: red; */
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: left;
        gap: 1em;
        border-right: 1px solid rgba(88, 88, 86, 0.3);
        justify-content: start;
        /* padding: 1em; */

    }

    .row-action-tbody-modal {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        /* justify-content: center !important; */
        gap: 0.5em;
    }

    .td-modal-body p {
        width: 100%;
    }

    .td-modal-body ul {
        width: 100%;
    }

    .td-modal-body::before {
        border-bottom: 1px solid rgba(88, 88, 86, 0.3);
        font-weight: bold;
        width: 100%;
    }
}