html,
body {
    background-color: #f3f4f6;
}

body {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity .15s linear;
}

header .container {
    transition: max-width 1s, transform 1s;
}

.shadow-sm {
    box-shadow: rgb(0 0 0 / 0%) 0 0 0 0, rgb(0 0 0 / 0%) 0 0 0 0, rgb(0 0 0 / 10%) 0 1px 3px 0, rgb(0 0 0 / 10%) 0 1px 2px -1px!important;
}

footer {
    box-shadow: rgb(0 0 0 / 0%) 0 0 0 0, rgb(0 0 0 / 0%) 0 0 0 0, rgb(0 0 0 / 10%) 0 -1px 3px 0, rgb(0 0 0 / 10%) 0 -1px 2px -1px;
}

.prevent-select {
    -ms-user-select: none!important;
    -webkit-user-select: none!important;
    user-select: none!important;
}

[draggable] {
    cursor: move!important;
}

a:focus-visible,
.no-outline *:focus,
.no-outline *:focus-visible {
    -webkit-box-shadow: none;
    outline: none;
    box-shadow: none;
}

span[data-bs-title]:hover {
    text-decoration: overline gray;
}

select[multiple] {
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0 !important;
}

select[multiple]:focus {
    outline: none;
    box-shadow: none;
}

select[multiple] option {
    padding: .375rem .75rem;
}

.select-group label {
    width: 100%;
    margin: 0;
    padding: 6px 12px;
    border-top-left-radius: .375rem;
    border-top-right-radius: .375rem;
}

.select-group select {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

select[multiple]::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
}

span[data-bs-toggle="tooltip"] {
    padding: 2px;
}

.form-control:read-only {
    opacity: 1;
    background-color: #e9ecef;
}

ul.dropdown-menu {
    --bs-dropdown-padding-y: .5rem;
}

ul.dropdown-menu.menu[data-bs-popper] {
    margin-top: 0;
}

ul.dropdown-menu.menu .dropdown-item {
    line-height: 35px;
}

.dropdown.dropdown-secondary .dropdown-item:active,
.dropdown.dropdown-secondary .dropdown-item.active,
.dropdown .dropdown-menu.menu .dropdown-item.active {
    --bs-dropdown-link-active-bg: #6c757d!important;
}

.dropdown-menu.menu li:last-child .dropdown-item,
.dropdown-menu.menu li:last-child .dropdown-item:focus,
.dropdown-menu.menu li:last-child .dropdown-item:hover {
    border-bottom-right-radius: .375rem;
    border-bottom-left-radius: .375rem;
}

ul.dropdown-menu:not(.no-keep):hover,
.nav-link.dropdown-toggle:hover+ul.dropdown-menu:not(.no-keep) {
    display: block;
    right: 0;
}

.reveal-password {
    cursor: pointer;
}

.lighter {
    font-weight: lighter!important;
}

.input-group:not(.has-validation) > :nth-child(2) {
    border-top-right-radius: .375rem !important;
    border-bottom-right-radius: .375rem !important;
}

header,
footer {
    -o-transition: opacity 250ms;
    -webkit-transition: opacity 250ms;
    opacity: 1;
    z-index: 1021;
    transition: opacity 250ms;
}

.th-inner,
tbody th,
tfoot th {
    font-weight: 600;
}

.navbar-brand {
    margin-top: 10px;
    margin-bottom: 10px;
}

.navbar {
    height: 4rem;
    padding: 0;
}

nav.navbar .dropdown-menu {
    padding: 0;
}

.nav-link.active,
.nav-link.active:focus,
.nav-link.active:hover,
.nav-item:hover .nav-link.active {
    border-bottom-color: rgb(13 110 253 / 75%);
}

.nav-link:focus,
.nav-link:hover,
.nav-item:hover .nav-link {
    border-bottom-color: rgb(209 213 219 / 100%);
}

#navbars-menu {
    z-index: 1021;
}

.no-events-all,
.no-events header,
.no-events footer,
.no-events .no-event {
    opacity: .5!important;
    pointer-events: none!important;
}

.select2-container {
    transition: width 3s;
}

.select2-container .select2-selection--single,
.select2-container .select2-selection--single .select2-selection__arrow {
    height: 38px!important;
    border-color: #ced4da!important;
}

.select2-container .select2-selection--single:focus,
.select2-container .select2-search--dropdown .select2-search__field:focus {
    border-color: #86b7fe;
    outline: none;
    color: #212529;
    background-color: #fff;
    box-shadow: 0 0 0 .25rem rgb(13 110 253 / 25%);
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 38px!important;
}

.select-group .select2-container--default .select2-selection--multiple {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#modal-file-list #matriz .fixed-table-toolbar {
    display: none;
}

#modal-file-list #tce .fixed-table-toolbar .bs-bars {
    float: none!important;
}

#modal-file-list .table > :not(caption) > * > * {
    padding: 2px!important
}

.pagination-secondary {
    --bs-pagination-color: #6c757d!important;
    --bs-pagination-hover-color: #5c636a!important;
    --bs-pagination-active-color: #fff!important;
    --bs-pagination-active-bg: #6c757d!important;
    --bs-pagination-active-border-color: #6c757d!important;
}

.pagination-secondary .active .page-link:hover {
    --bs-pagination-active-bg: #5c636a!important;
    --bs-pagination-active-border-color: #565e64!important;
}

.pagination-detail {
    margin-bottom: 0!important;
}

.legend {
    display: flex;
}

[data-bs-toggle="collapse"]:not(.navbar-toggler) {
    padding-left: .5rem!important;
    cursor: pointer;
}

[data-bs-toggle="collapse"]:not(.navbar-toggler)::before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    float: left;
    margin-top: .3rem;
    color: rgb(var(--bs-white-rgb) var(--bs-text-opacity));
    font-style: normal;
    font-variant: normal;
    font-weight: normal !important;
    line-height: 1;
    font-family: bootstrap-icons, sans-serif !important;
    text-transform: none;
    vertical-align: -.125em;
    content: "\f286";
    transition: 0.4s;
}

[data-bs-toggle="collapse"].collapsed:not(.navbar-toggler)::before {
    transition: 0.4s;
    transform: rotate(180deg);
    transform-origin: center;
}

main > .container > h4 {
    color: #0f5d8a;
}

/* ========= Scrollbar ========= */
.scrollbar {
    scrollbar-color: gray darkgray;
    scrollbar-width: thin;
    overflow: auto;
}

.scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.scrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0 2px #fff;
    border-radius: 5px;
    background-color: rgb(0 0 0 / 20%);
    box-shadow: inset 0 0 0 2px #fff;
}

.scrollbar::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #c1c1c1;
}

.scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: rgb(117 117 117);
}

.nav-scroll {
    grid-template-columns: 1fr 1fr;
    display: grid;
    bottom: 0;
    width: calc(100% + 80px);
    height: calc(100% - 140px);
    margin-left: -56px;
    transition: opacity .3s ease-in-out,visibility .3s ease-in-out, height .3s ease-in-out;
}

.nav-scroll.hidden {
	opacity: 0;
	visibility: hidden;
    transition-duration: 0.1s;
}

.nav-scroll .nav-scroll-btn {
    top: calc(100vh - 830px);
    box-sizing: border-box;
    width: 35px;
    height: 48%;
    min-height: 100px;
    padding: 3px;
    border: none;
    background: 0 0!important;
    box-shadow: none;
    transition: border-color .4s ease,background .4s ease,box-shadow .4s ease;
}

.nav-scroll .nav-scroll-btn:hover {
    background: #fff!important;
    box-shadow: 0 0 6px rgb(0 0 0 / 27%)!important;
}

.nav-scroll .nav-scroll-btn em {
    position: absolute;
    top: calc(50% - 17px);
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    padding: 3px;
    border-width: 0 4px 4px 0;
    border-style: solid;
    border-color: #3e5062;
    transition: border-color .4s ease;
}

.nav-scroll .nav-scroll-btn.disabled em {
    border-color: #ccc;
    pointer-events: none;
}

.nav-scroll .nav-scroll-btn.nav-scroll-left {
    justify-self: self-start;
}

.nav-scroll .nav-scroll-btn.nav-scroll-right {
    justify-self: self-end;
}

.nav-scroll .nav-scroll-btn.nav-scroll-left em {
    left: 10px;
    transform: rotate(135deg);
}

.nav-scroll .nav-scroll-btn.nav-scroll-right em {
    justify-self: end;
    right: 10px;
    transform: rotate(-45deg);
}

.hover\:shadow:hover {
    box-shadow: var(--bs-box-shadow)!important;
}

@media (width <= 1199.98px) {
    #navbars-menu > div {
        max-width: 250px;
    }

    #navbars-menu .text-muted {
        display: none;
    }
}

@media (width <= 768px) {
    .dropdown-menu.menu li:first-child .dropdown-item,
    .dropdown-menu.menu li:first-child .dropdown-item:focus,
    .dropdown-menu.menu li:first-child .dropdown-item:hover {
        border-top-left-radius: .375rem;
        border-top-right-radius: .375rem;
    }

    #navbars-menu {
        margin-right: 1rem;
        margin-left: 1rem;
        border-bottom-right-radius: var(--bs-border-radius);
        border-bottom-left-radius: var(--bs-border-radius);
        box-shadow: rgb(0 0 0 / 0%) 0 0 0 0, rgb(0 0 0 / 0%) 0 0 0 0, rgb(0 0 0 / 10%) 0 1px 3px 0, rgb(0 0 0 / 10%) 0 1px 2px -1px !important;
    }
}

@media (width >= 992px) {
    .nav-link {
        border-bottom: 2px solid rgb(0 0 0 / 0%);
        transition: border-bottom-color 150ms;
    }

    .navbar .navbar-collapse,
    .navbar .container-fluid,
    .navbar .navbar-collapse .navbar-nav,
    .navbar .navbar-collapse .navbar-nav .nav-item,
    .navbar .navbar-collapse .navbar-nav .nav-item .nav-link {
        min-height: 64px;
    }

    .navbar-collapse ul.dropdown-menu.menu {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}
