body {
    background-color: #fbfbfb;
}
@media (min-width: 992px) {
    main {
        padding-left: 240px;
    }
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    padding: 58px 0 0; /* Height of navbar */
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
    width: 240px;
    z-index: 600;
}

#main-navbar{
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
}

@media (max-width: 992px) {
    .sidebar {
        width: 100%;
    }
}
.sidebar .active {
    border-radius: 5px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    background-color: #121E72;
    border-color: #121E72;
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: 0.5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}
.table-responsive {
    overflow-x: auto;
}

.btn-info-modal {
    --mdb-btn-padding-top: 0 !important;
    --mdb-btn-padding-bottom: 0 !important;
    --mdb-btn-padding-x: 0.5rem !important;
    --mdb-btn-border-radius: 0.75rem !important;
}

#sidebarMenu.collapse.show{
    height: fit-content;
}

nav a.list-group-item{
    height: 40px;
}

.ripple-wave{
    display: none;
}

main{
    overflow: auto;
    margin-top: 75px;
}

.bi-plus-circle-fill{
    font-size: 30px;
}
#togglePassword, .togglePassword{
    position: absolute;
    top: 4px;
    right: 8px;
}
#togglePassword .bi, .togglePassword.bi{
    font-size: 20px;
}
table thead th{
    background-color: #121E72!important;
    color: white!important;
    vertical-align: middle;
    white-space: nowrap;
}
.subItem{
    display: block;
    width: 100%;
    height: 100%;
}

td{
    vertical-align: middle!important;
}
.red-checkbox:checked{
    background-color: red;
}
.red-checkbox, .red-checkbox:checked{
    border-color: red;
}
.green-checkbox:checked{
    background-color: green;
}
.green-checkbox, .green-checkbox:checked{
    border-color: green;
}
.regular-checkbox, .regular-checkbox:checked{
    border-color: #121E72;
}
.regular-checkbox:checked{
    background-color: #121E72;
}
.red-text{
    color: red;
}
.green-text{
    color: green;
}
.regular-text{
    color: #121E72;
}
textarea.auto-resize-textarea::placeholder{
    visibility: hidden!important;
    /*color: transparent;*/
}
@media (max-width: 900px) {
    textarea.auto-resize-textarea::placeholder{
        visibility: visible!important;
        /*color: #6c757d;*/
    }
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    display: none; /* Hide by default */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's above everything else */
}

table thead th{
    text-align: center;
}

table tbody tr td{
    text-align: left;
    /*white-space: nowrap;*/
}

.form-label{
    margin-bottom: 0.3rem!important;
}

#example_wrapper>div:nth-child(2), #tabFirmy_wrapper>div:nth-child(2){
    overflow-y: auto!important;
}

#example thead th span:nth-child(1){
    display: flex;
    text-align: center;
}

#example thead th{
    padding-left: 10px;
}

.accordion-button:focus{
    box-shadow: none;
}

/*.accordion-button:not(.collapsed){*/
/*    background-color: #FFF;*/
/*}*/