* {
    scrollbar-color: unset;
}

html {
    font-size: 1rem;
}

body {
    font-family: "lexend" !important;
    font-weight: 400;
}

.page{
    overflow-x: hidden;
}

/* Header */
header {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    box-shadow: unset !important;

    .avatar {
        background-color: var(--tblr-secondary);
        font-size: 1rem;
        font-weight: 400;
        font-family: "lexend";
    }
}

.logo {
    width: 158px !important;
    height: auto !important;
}

a {
    transition: opacity 0.15s linear;
}

a:hover {
    /* opacity: 0.7; */
    text-decoration: unset !important;
}

/* Menu sidebar*/
aside.navbar.navbar-vertical {
    padding: 7px 0 0 10px;

    .navbar-brand {
        padding-bottom: 15px !important;
        width: 100%;
    }

    i {
        margin-right: 0.625rem;
        font-size: 17px;
        color: var(--tblr-gray-600);
    }

    .navbar-collapse .navbar-nav {
        position: relative;
    }

    .navbar-collapse .navbar-nav .nav-link {
        padding: 8px 10px;
    }

    .navbar-collapse>ul>li>.dropdown-menu>.dropdown-item {
        white-space: normal;
        align-items: baseline;
    }

    .nav-link {
        align-items: baseline;
        border-radius: 3px;
    }

    .nav-link.active,
    .nav-link.show,
    .dropdown-item.active,
    .nav-link:hover {
        background: rgba(0, 0, 0, 0.02) !important;
    }

    .menu-footer {
        margin-top: auto;
        margin-bottom: 1.375rem;
    }

    .menu-footer a {
        padding: 12px;
        font-family: "lexend";
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.4;
        white-space: normal;
        color: var(--tblr-primary);
        border-radius: 4px;
        border: 1px solid var(--tblr-primary);
    }

    .menu-footer a:hover {
        color: var(--tblr-white);
    }
}

@media (max-width: 480px) {
    aside.navbar.navbar-vertical {
        padding: 14px 6px;
    }

    aside .navbar-nav {
        background: var(--tblr-white);
        padding: 10px;
        border-radius: 4px;
    }

    aside .navbar-toggler{
        background-color: var(--tblr-gray-300);
    }

    aside .navbar-collapse {
        transition: all 0.7s ease;
    }

    aside.navbar.navbar-vertical .menu-footer{
        margin-bottom: 0;
    }

    #mobile-menu .navbar-nav {
        min-height: 0px;
        will-change: height;
        transition: height 0.8s ease;
    }

    #mobile-menu .navbar-collapse.collapse.show .navbar-nav {
        height: 100%;
    }
}

/* Fil d'ariane */
.breadcrumb-item.active {
    color: var(--tblr-muted) !important;
    font-weight: 400 !important;
}

/* Titres */
h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    margin-bottom: 0;
}

h1 {
    font-family: "gotham" !important;
    font-weight: 450;
    font-size: 2.75rem !important;
    inline-size: 65%;
    line-height: 3rem;
}

h3.card-title {
    font-family: "lexend";
    font-weight: 800;
}

h4 {
    font-family: "lexend";
    font-weight: 600;
    font-size: 1.125rem;
}

/* Bouton */
.btn {
    padding: 12px;
    font-family: "lexend";
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
        opacity 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary,
.btn-secondary {
    color: var(--tblr-white) !important;
}

.btn-primary:hover,
.btn-primary:active {
    opacity: 0.7;
    background: var(--tblr-primary);
    background-color: var(--tblr-primary) !important;
}

.btn-secondary:hover,
.btn-secondary:active {
    opacity: 0.7;
    background: var(--tblr-secondary);
    background-color: var(--tblr-secondary) !important;
}

.btn-success:hover,
.btn-success:active {
    opacity: 0.7;
    background: var(--tblr-success);
    background-color: var(--tblr-success) !important;
}

.btn i {
    margin-right: 8px;
    font-size: 19px;
    line-height: 0;
}

.btn {
    align-items: baseline!important;
}

/* Listes */
ul {
    list-style-position: inside;
}

/* Cible le bouton impression */
.container-fluid:has(.la-print) {
    position: relative;
}

.btn:has(.la-print) {
    position: absolute;
    bottom: 0;
    right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;

    i {
        display: contents;
    }
}

/* Liens */
a:hover {
    text-decoration: unset;
}

a.btn,
.btn-link:hover,
table .btn-link:hover,
.btn-link:active,
table .btn-link:active {
    color: var(--tblr-form-input-color);
    border: 1px solid var(--tblr-border-color);
    border-radius: 3px;
}

.btn-link:hover,
table .btn-link:hover {
    background-color: rgba(var(--tblr-info-rgb), .2);
}

/* Inputs */
.form-control {
    padding: .75rem;
    font-size: 1rem;
}

input[type="file"] {
    padding-left: 1rem;
}

select,
.form-select {
    padding: 0.75rem !important;
    font-size: 1rem !important;
}

/* Intro */
.intro {
    margin-bottom: 3.3125rem;
}

/* COMPONENTS */
/* Carte */
.carte {
    height: 100%;
}

.carte-body {
    height: inherit;
}

.carte .carte-body a {
    position: relative;
    display: block;
    padding: 25px 32px;
    height: inherit;
    background: var(--tblr-white);
    color: var(--tblr-body-color);
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--tblr-border-color);
    transform: translateY(0);
    transition: background 0.25s ease, transform 0.2s linear,
        box-shadow 0.3s ease-out;
}

.carte .carte-body a:hover {
    background: var(--tblr-light);
    transform: translateY(-5px);
    box-shadow: 2px 5px 2px 0px rgba(0, 0, 0, 0.03);
}

.carte .carte-body a p {
    margin-bottom: unset;
}

.carte-title {
    line-height: 1.8rem;
}

.carte-text {
    line-height: 1.5rem;
}

.carte i {
    width: 100%;
    display: flex;
    justify-content: end;
    color: var(--tblr-primary);
    font-size: 3rem;
}

.hidden {
    display: none !important;
}

/* Composant carte natif */
@media (max-width: 480px){
    .card-footer{
        display: grid;
        gap: 0.5rem;
    }
}

.card .card-body .card-title{
    font-weight: var(--tblr-font-weight-medium)!important;
}

.card .card-body .card-text *:last-child{
    margin-bottom: unset!important;
}

.card:has(.accordion){
    margin-bottom: 1rem;
    padding: 2rem;

    .accordion{
        background: var(--tblr-gray-100);
    }
}

/* Formulaire */
.form-wrapper {
    padding: 1.25rem;
    background-color: var(--tblr-white);
    border-radius: 3px;
    border: 1px solid rgba(0, 40, 100, 0.12);
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}

input.form-control {
    border-radius: 3px !important;
    font-family: "lexend";
}

input,
label {
    color: var(--tblr-form-input-color) !important;
}

label {
    font-size: 1rem;
    font-family: "lexend";
    font-weight: 600;
}

/* Titre de vue */
.header-operation {
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 2.5rem !important;
}

/* VUES */
/* Login / Register */
.login .logo,
.register .logo {
    width: 215px !important;
}

.titre-login {
    padding: 1.875rem 0 1.25rem;
    margin-bottom: 0;
    font-size: 1.125rem;
    font-weight: 800;
}

.login .form-label,
.register .form-label {
    padding: unset;
    font-size: 1rem;
}

.login .form-check .form-check-label {
    font-weight: 400;
}

/* Reset password */
.card-body:has(.btn-reset-pw) {
    padding: var(--tblr-card-spacer-x);
}

.btn-reset-pw {
    font-size: 0.65rem;
}

@media (min-width: 480px) {
    .btn-reset-pw {
        font-size: 0.85rem;
    }
}

/* Bandeau info dashboard Fiche societe */
.info-bandeau{
    color: var(--tblr-primary);
}

/* Tarte au citron*/
div#tarteaucitronAlertBig:before{
    content:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 24 24" fill="none" stroke="%230081c2" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-info-circle"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" /><path d="M12 9h.01" /><path d="M11 12h1v4h1" /></svg>')!important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 1rem auto;
}