.main-brand {
    text-decoration: none;
}

.sub-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    padding-block: 0.688rem;
}

.sub-brand__main {
    font-size: 1.25rem;
    color: var(--bs-primary);
    letter-spacing: -1px;
}

.sub-brand__text {
    font-size: 1rem;
}

.main-banner__user-info {
    font-size: 0.8rem;
    gap: 6px;
}

h2 {
    position: relative;

    &:not(.h1, .h3, .h4, .h5, .h6)::before {
        content: '';
        width: 18px;
        height: 4px;
        background-color: var(--bs-primary);
        position: absolute;
        bottom: 0;
        left: 0;
        transform: translateY(100%);
    }
}

.link-chevron {
    &::after {
        color: var(--bs-primary);
    }
}

.bg-body-secondary--leak-left {
    position: relative;

    &::before {
        content: '';
        position: absolute;
        inset: 0;
        left: -100em;
        background-color: rgba(var(--bs-secondary-bg-rgb), var(--bs-bg-opacity)) !important;
    }

    > * {
        position: relative;
    }
}

.item {
    border-bottom: 1px solid var(--bs-dark);
    padding-bottom: 1.875rem;
    margin-bottom: 1.875rem;

    ul {
        list-style-type: none;
    }

    &.no-icons {
        ul {
            padding-left: 0;
        }
    }

    li {
        & + li {
            margin-top: .5rem;
        }
    }

    &:where(:not(.no-icons)) {
        li {
            position: relative;

            &::before {
                content: '';
                background-image: url('./images/icon-contrat.png');
                background-size: 20px 20px;
                width: 20px;
                height: 20px;
                position: absolute;
                left: -2rem;
            }

            &.pdf {
                &::before {
                    background-image: url('./images/icon-facture.png');
                }
            }

            &.info {
                &::before {
                    background-image: url('./images/icon-download.png');
                }
            }
        }
    }
}

.table {
    th {
        background-color: #D6D6D6;
        text-align: center;
        border: 1px solid #D6D6D6;
    }

    td {
        border: 1px solid #D4DAE2;
    }
}

#menu {
    padding-block: 1.875rem;

    @media (min-width: 768px) {
        padding-right: 1.875rem;
    }
}

#contenu {
    padding-block: 1.875rem;

    @media (min-width: 768px) {
        padding-left: 1.875rem;
    }
}

#contenu:has(#formRecherche) {
    margin-left: 0 !important;
}

.go > a.link-chevron {
    font-size: 14px;
}

.bloc {
    margin-bottom: 24px;
}

.link-dark {
    text-decoration: underline;
}

.active-svg {
    fill: var(--bs-primary);
}

.form-label {
    font-size: 1rem;
}

.nouveaute span.bouton {
    display: block;
    padding: 5px 0px 3px 0px;
    text-align: center;
}

.break200px {
    max-width: 200px;
    word-wrap: break-word;
}

.break100px {
    max-width: 100px;
    word-wrap: break-word;
}

.title {
    border-bottom: 1px dotted;
    cursor: help;
}

.fs-7 {
    font-size: .875rem !important;
}

.nord {
    background: url(images/arrows/nord.png) no-repeat 4px 4px;
    padding: 0 0 0 20px;
}
.nordest {
    background: url(images/arrows/ne.png) no-repeat 4px 4px;
    padding: 0 0 0 20px;
}
.est {
    background: url(images/arrows/est.png) no-repeat 4px 4px;
    padding: 0 0 0 20px;
}
.sudest {
    background: url(images/arrows/se.png) no-repeat 4px 4px;
    padding: 0 0 0 20px;
}
.sud {
    background: url(images/arrows/sud.png) no-repeat 4px 4px;
    padding: 0 0 0 20px;
}

.navbar-sep + .navbar-nav {
    padding-left: 32px;
    margin-left: 32px;
    position: relative;

    &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 18px;
        background-color: var(--bs-white);
    }
}

.no-shadow {
    box-shadow: none !important;
}

input[readonly], textarea[readonly], input.disabled, textarea.disabled, select.disabled, input:disabled, textarea:disabled , select:disabled {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-secondary-color);
    opacity: 1;
}
input[readonly]:focus, textarea[readonly]:focus {
    background-color: var(--bs-secondary-bg) !important;
    color: var(--bs-secondary-color) !important;
}

.alignleft {
    text-align: left !important;
}
.aligncenter {
    text-align: center !important;
}
.alignright {
    text-align: right !important;
}

a.js-dynamic-modal-button {
    text-decoration: none;
}

.itemOnglet li, .tab-content li {
    padding-bottom: 10px;
}
.itemOnglet li:last-child, .tab-content li:last-child {
    padding-bottom: 0px;
}
.itemOnglet li a, .tab-content li a {
    text-decoration: none;
}