:root {
    --bs-font-sans-serif: "Montserrat", sans-serif;
    --bs-body-font-family: "Montserrat", sans-serif;
}

html,
body {
    font-family: "Montserrat", sans-serif;
}

body[data-leftbar-theme=dark] .leftside-menu .logo,
body[data-leftbar-theme=light] .leftside-menu .logo {
    background: #ffffff !important;
}

body[data-leftbar-theme=dark] .leftside-menu {
    background: #1f2f5b !important;
}

#leftside-menu-container,
#leftside-menu-container .simplebar-content,
#leftside-menu-container .simplebar-mask,
#leftside-menu-container .simplebar-offset {
    background: #1f2f5b !important;
}

#leftside-menu-container,
#leftside-menu-container .side-nav .side-nav-link,
#leftside-menu-container .side-nav .collapse {
    background-color: transparent !important;
    border-left-color: transparent !important;
}

body[data-leftbar-theme=dark] #leftside-menu-container .side-nav .side-nav-link:hover,
body[data-leftbar-theme=dark] #leftside-menu-container .side-nav .side-nav-link:active,
body[data-leftbar-theme=dark] #leftside-menu-container .side-nav .side-nav-link:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

body[data-leftbar-theme=dark][data-leftbar-compact-mode=condensed] .side-nav .side-nav-item:hover > ul,
body[data-leftbar-theme=dark][data-leftbar-compact-mode=condensed] .side-nav .side-nav-item:hover > .collapse > ul,
body[data-leftbar-theme=dark][data-leftbar-compact-mode=condensed] .side-nav .side-nav-item:hover > .collapsing > ul {
    background: #1f2f5b !important;
}

.leftside-menu .logo span.logo-lg,
.leftside-menu .logo span.logo-sm {
    display: flex;
    align-items: center;
    justify-content: center;
}

.leftside-menu .logo span.logo-lg img {
    max-height: 56px;
    width: auto !important;
    max-width: calc(100% - 10px);
}

.leftside-menu .logo span.logo-sm img {
    max-height: 32px;
    width: auto !important;
    max-width: calc(100% - 6px);
}

body[data-leftbar-compact-mode=condensed]:not(.authentication-bg) .wrapper .leftside-menu .logo {
    background: #ffffff !important;
}

body[data-layout=full][data-leftbar-theme=dark].hide-menu .wrapper .leftside-menu .logo,
body[data-layout=full][data-leftbar-theme=light].hide-menu .wrapper .leftside-menu .logo {
    background: #ffffff !important;
}

.nav-user .account-user-avatar .account-user-icon {
    font-size: 32px;
    line-height: 32px;
    color: #1f2f5b;
}

.btn,
.form-control,
.form-select,
.dropdown-menu,
.modal-content,
.page-title,
.page-title-box,
.navbar-custom,
.card,
.table,
.badge,
.pagination,
.select2-container,
.daterangepicker,
input,
select,
textarea,
button {
    font-family: "Montserrat", sans-serif !important;
}

.fiis-affiliazione-compila .card > .card-header,
#consultazione-footer > .card-header {
    background-color: #1f2f5b !important;
    color: #ffffff !important;
    border-bottom-color: rgba(255, 255, 255, 0.15) !important;
}

.fiis-affiliazione-compila .card > .card-header strong,
#consultazione-footer > .card-header strong {
    color: #ffffff;
    font-weight: 600;
}
