/***** Classes spécifiques pour certains éléments uniques *****/

/***** Login *****/
.login-window {
    width: 25rem;
}

/* Bouton Modifier Coordonnées */
.margin-top-neg {
    margin-top: -4.25rem;
    margin-right: -0.5rem;
}

/* Bouton Ajouter un Collaborateur */
.margin-top-neg-2 {
    margin-top: -2.65rem;
    margin-right: 0.5rem;
}

/* Formulaire de contact qui colle à la flèche */
.margin-top-neg-3 {
    margin-top: -1.65rem;
}

.contact-arrow-up-transparent {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid transparent;
    display: block;
    margin: 0 auto;
}

.contact-arrow-up-turquoise {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid var(--turquoise);
    display: block;
    margin: 0 auto;
}

div.col-2.selected-inv {
    color: var(--white);
    background-color: var(--bt-orange);
}

div.col-2.selected-inv:after {
    border-left-color: var(--bt-orange);
}

div.col-10.selected-inv {
    color: var(--bt-orange);
}

/* Page des formulaires avec positionnements fixes spécifiques */
#formPageHeader {
    background-color: var(--lt-grey);
    height: 5.5rem;
}

#space {
    height: 2rem;
    top: 5.5rem;
    background-color: var(--lt-grey);
    width: 100%;
    z-index: 2;
}

.star-order-link:hover .fa-question-circle {
    color: var(--bl-grey);
}

.star-order-link:hover .fa-question-circle:hover {
    color: var(--bt-orange);
}

.validation a {
    color: var(--black);
}

.impModelPrestSupp:hover {
    color: var(--bt-orange);
}

.modalInfo {
    word-break: break-word;
}

a:not(:hover) {
    text-decoration: none !important;
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.form-group:not(.margin-bottom-smallest) {
    margin-bottom: 1rem;

    & label {
        margin-bottom: .5rem;
    }
}

.row>.col {
    position: relative;
}

.actions {
    margin-right: -3px !important;
}

table.dataTable {
    & tr {

        & th,
        & td {
            color: inherit;
            padding: .75rem !important;
            text-align: left !important;
        }
    }
}

.close {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--black);
    text-shadow: 0 1px 0 var(--white);
    background: none;
    border: none;
}

.btn-outline-secondary.yesRadioBtn {
    --bs-btn-color: var(--turquoise);
    --bs-btn-border-color: var(--turquoise);
    --bs-btn-hover-bg: var(--turquoise);
    --bs-btn-hover-border-color: var(--turquoise);
    --bs-btn-active-bg: var(--turquoise);
    --bs-btn-active-border-color: var(--turquoise);
    --bs-btn-disabled-color: var(--turquoise);
    --bs-btn-disabled-border-color: var(--turquoise);
}

.dt-container {
    margin-bottom: 50px;

    & table>colgroup {
        display: none;
    }

    & .dt-search {
        display: none;
    }

    &#persona_table_wrapper {
        & .dt-search {
            display: block;
            padding-left: 67px;
            top: -3px;
            position: relative;
        }
    }

    &>.dt-info {
        position: absolute;
        left: 0;
        bottom: -40px;
    }

    &>.dt-paging {
        position: absolute;
        right: 0;
        bottom: -50px;

        & button {
            padding: .5rem .75rem;
            line-height: 1.25;
            background-color: var(--white);
            border: 1px solid var(--pl-grey);
        }
    }

    & th.dt-orderable-asc,
    & th.dt-orderable-desc {
        white-space: nowrap;
        text-align: left !important;

        & .dt-column-title,
        & .dt-column-order {
            vertical-align: middle;
            display: inline-block !important;
        }

        & .dt-column-title {
            white-space: normal;
        }

        & .dt-column-order {
            white-space: nowrap;
            margin-left: 5px;
            position: relative !important;
            bottom: auto !important;
            top: auto !important;
            left: auto !important;
            right: auto !important;

            &:before,
            &:after {
                position: relative !important;
                bottom: auto !important;
                top: auto !important;
                left: auto !important;
                right: auto !important;
                display: inline-block !important;
                opacity: .3 !important;
            }

            &:before {
                content: "\2191" !important;
            }

            &:after {
                content: "\2193" !important;
            }
        }
    }

    & .dt-ordering-asc span.dt-column-order:before,
    & .dt-ordering-desc .dt-column-order:after {
        opacity: 1 !important;

    }
}

#admin_prest_home,
#admin_combo_home {
    & .dt-search {
        display: block !important;
        float: right;
        margin-bottom: 10px;
    }
}

#searchByDiv {
    & input[type="search"] {
        width: 100%;

        &:focus+.loupe {
            right: 1em;
        }
    }

    & .loupe {
        left: auto;
        right: .5em;
        position: absolute;
    }
}

.select2-container {
    width: 100% !important;
    display: block !important;
}

.prestation_MC {

    & #addSubject,
    & .btn-checkbox[data-val=prop] {
        display: none;
    }

    & .btn-checkbox.col-4,
    & .btn-checkbox-checked.col-4 {
        width: 50%;
    }

    & #zone .btn-checkbox.col-4,
    & #zone .btn-checkbox-checked.col-4 {
        width: 100%;

        &:nth-child(2),
        &:nth-child(3) {
            display: none;
        }
    }
}

.ts-wrap {
    position: relative;
    font: 14px/1.4 system-ui, Segoe UI, Roboto, Arial, sans-serif
}

.ts-control {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid var(--turquoise);
    background: #fff;
    cursor: text
}

.ts-control:focus-within {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .15)
}

.ts-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.ts-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 9999px;
    padding: 3px 8px;
    background: #eef2ff;
    border: 1px solid #c7d2fe
}

.ts-tag button {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    line-height: 1
}

.ts-input {
    flex: 1 0 140px;
    min-width: 120px;
    border: 0 !important;
    outline: 0;
    padding: 4px 0;
}

.ts-input::placeholder {
    color: #9ca3af
}

.ts-clear {
    margin-left: auto;
    appearance: none;
    border: 0;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 4px 8px;
    cursor: pointer
}

.ts-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 6px;
    max-height: 240px;
    overflow: auto;
    z-index: 50;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .08)
}

.ts-item {
    padding: 8px 10px;
    cursor: pointer
}

.ts-item[aria-selected="true"] {
    background: #f3f4f6
}

.ts-item[aria-disabled="true"] {
    opacity: .5;
    cursor: not-allowed
}

.ts-item.ts-active {
    background: #edf2ff
}

.ts-helper {
    padding: 8px 10px;
    color: #6b7280
}

.ts-hidden {
    display: none !important
}

select.countrys {
    display: none !important
}

select.countrys.emptyRequiredField+.ts-wrap {
    border: 2px solid var(--red) !important;
}

.version {
    position: fixed;
    bottom: 10px;
    right: 10px;
}