body {
    /*font-family: 'Poppins', sans-serif; */
    background: #fafafa;
}

:root {
    --color-alert-error-bg: #d9534f;
    --color-alert-error-text: #dc3545;
    /* From housing system */
    --custom-primary-dark: #28285e;
    --custom-secondary-dark: #3a3a79;
    --custom-primary-light: #4f4f94;
    --custom-secondary-light: #00819d;
}

/*___________________________CONTENT CONTAINER___________________________*/

#content {
    width: 100%;
    margin: 6.5rem 0 0 0;
    max-height: 100vh;
}

/*___________________________ALERT MESSAGES_____________________________
 commented until rota is not integrated and we can solve inconsistencies 06-02-24
.alert{
    text-align: center;
    margin: 0;
    border-radius: 0;
    position: absolute;
    width: 100vw;
}

.alert.alert-success {
    color: black;
}

.alert.alert-error {
    background: var(--color-alert-error-bg);
}
*/
.reset-password-form ul{
    list-style: none;
    color: grey;
}

/* ___________________________RESET PASSWORD_____________________________*/

.reset-password-form input {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.errorlist{
    list-style: none;
    padding-left: 0px;
    font-size: 0.875em;
    margin-top: 0.25rem;
}
.errorlist li{
    color: red !important;
}
.toast-body ul li{
    color: white !important;
}

/* ___________________________NAV-TABS (user profile)_____________________________*/

 .nav-tabs .nav-link .active{
    color: black;
 }
 .nav-tabs .nav-link {
    color: grey;
 }

 .tab-content {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-top: none;
}

/*
@media (max-width: 768px) {
    Data tables

    .dataTables_wrapper .dataTables_filter input {
        width: 200px !important;
    }

    .dataTabs.nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        margin-bottom: 1.2rem;
        border-bottom: none;
    }

    .dataTabs.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        border: none;
        background: var(--custom-primary-dark);
        color: #FFFFFF;
        border-radius: 10px;
        text-align: center;
        white-space: pre;
    }

    .dataTabs.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
        border: none;
        background: rgba(0, 0, 0, .03);
        color: #000000;
        border-radius: 10px;
        text-align: center;
        margin: 0 7px;
        white-space: pre;
    }

    .dataTabContent.tab-content {
        border: none;
        padding: 0;
        margin: 0

    }

    .dataTabs.nav-tabs .nav-link {
        white-space: nowrap;
    }
}*/

/* ___________________________   UNICORN ERRORS     _____________________________*/


.unicorn-error-message {
    color: #cc0f35;
}

[unicorn\:error\:invalid] {
    border: 1px solid red !important;
}
[unicorn\:error\:required] {
    border: 1px solid red !important;
}
[unicorn\:error\:max_length] {
    border: 1px solid red !important;
}
[unicorn\:error\:min_length] {
    border: 1px solid red !important;
}
/* ____________________________________TABLES_____________________________________*/

thead.bg-color {
    background: var(--custom-primary-dark);
}
tbody tr td .action {
    cursor: pointer;
}


/* ___________________________   FORMS     _____________________________*/

.fieldFormWrapper{
    margin-bottom: 10px;
}
.fieldFormWrapper label{
    margin-bottom: 0px;
}

/* _______________________ form label input fields ____________________*/

.form-card {
    background: white;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.175);
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}
.form-group > label {
    top: 18px;
    left: 6px;
    position: relative;
    background-color: white;
    padding: 0px 5px;
    font-size: 0.9em;
    z-index: 2;
}
/* control size of the input field
.form-control {
    height: calc(1.5em + 0.75rem + 15px);
}
*/
/* _________________________   HEADERS STYLES  ________________________*/


.bg-thead {
    background: var(--custom-secondary-dark) !important;
    color: white ;
}

.accordion-button{
    transition: background 0.5s ease, color 0.5s ease;
}

.accordion-button[aria-expanded="true"].bg-accordion-head {
    background: var(--custom-secondary-dark) !important;
    color: white !important;
}


/* _________________________   BTN, SUBMIT BTNS  ________________________*/


.btn-basic.bg-btn-submit {
    background: var(--custom-secondary-dark) !important;
    color: white;
}

.btn-basic.bg-btn-dark {
    background: var(--custom-secondary-dark) !important;
    color: white;
}

.btn-basic {
    text-transform: uppercase;
    word-wrap: break-word;
    white-space: normal;
    cursor: pointer;
    border: 0;
    border-radius: 0.125rem;
    -webkit-box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
    -webkit-transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out;
    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;
    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,-webkit-box-shadow 0.15s ease-in-out;
    padding: 0.84rem 2.14rem;
    font-size: .81rem;
    border-bottom: 3px solid var(--custom-secondary-light);
}

.btn-basic:hover, .fab-content:hover {
    outline: 0;
    -webkit-box-shadow: 0 5px 11px 0 rgb(0 0 0 / 18%), 0 4px 15px 0 rgb(0 0 0 / 15%);
    box-shadow: 0 5px 11px 0 rgb(0 0 0 / 18%), 0 4px 15px 0 rgb(0 0 0 / 15%);
}

.action-buttons button {
    border: 0;
    background-color: transparent;
}

/* _________________________   DATA TABLES  ________________________*/

.page-item.active .page-link {
    color: #fff !important;
    background-color: var(--custom-secondary-dark) !important;
    border-color: var(--custom-secondary-dark) !important;
}

.page-link {
    color: var(--custom-secondary-dark) !important;
}

h1.card-count {
    font-size: 5em;
    color: var(--custom-secondary-dark);
}

/* _________________________   TAB PANELS ________________________*/

.tab-content {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-top: none;
}

@media (max-width: 768px) {


    .dataTables_wrapper .dataTables_filter input {
        width: 200px !important;
    }

    .customTabs.nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        margin-bottom: 2rem;
        border-bottom: none;
    }

    .customTabs.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        border: none;
        background: var(--custom-primary-dark);
        color: #FFFFFF;
        border-radius: 10px;
        text-align: center;
        white-space: pre;
    }

    .customTabs.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
        border: none;
        background: rgba(0, 0, 0, .03);
        color: #000000;
        border-radius: 10px;
        text-align: center;
        margin: 0 7px;
        white-space: pre;
    }

    .customTabsContent.tab-content {
        border-top-left-radius: 15px !important;
        border-top-right-radius: 15px !important;
        border-top: 1px solid #dee2e6;
    }

    .customTabs.nav-tabs .nav-link {
        white-space: nowrap;
    }
}

.btn-add {
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: center;
    width: 25px;
    height: 25px;
    color: white;
    border-radius: 50%;
    background: var(--custom-primary-dark);
    cursor: pointer;
}
.btn-add:hover {
 color: white;

}


.form-card {
    background: white;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.175);
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}
.form-group > label {
    top: 18px;
    left: 6px;
    position: relative;
    background-color: white;
    padding: 0px 5px;
    font-size: 0.9em;
    z-index: 2;
    border: none;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;

}

/* _________________________   CARD STYLES ________________________*/

.card-default-message {
    min-height: 47vh;
    display:flex;
    justify-content: center;
    align-items:center;
}

/* _________________________   COMPANIES CHECKBOX ________________________*/

#id_alerts_enabled {
    display: block;
    min-height: 2.5rem;
    margin-left: 0.7rem;
}
/* ________________ FIX DATATABLES HEADER FONT COLOR ___________________*/

table.dataTable thead.bg-thead th {
    color: white !important;
}

/* _________________________   NAV PILLS STYLES ________________________*/
/* ______ primarily used for rate cards _________*/

.nav-pills .nav-link.active {
    background-color: var(--custom-primary-dark) !important;
    color: white;
}

.nav-pills .nav-link {
    background-color: transparent;
    color: var(--custom-secondary-dark);
}

/* _________________________ FIX DATATABLES WIDTH ON SIDENAV COLLAPSE ________________________*/

table.table.table-hover.data-table.no-footer.dataTable {
    width: 100%!important;
}

.dt-scroll-headInner {
    width: 100%!important;
}

/* _________________________ Add pointer to a tag ________________________*/

.a-modal-link {
    cursor: pointer;
}