:root {
    --urgent-dark: #2f4154;
    --urgent-blue: #34495e;
    --anti-flash-white: #F8F8F8;
    --alice-blue: #D8E0E9;
}

html {
    font-size: 15px;
}

@font-face {
    font-family: 'open_sansregular';
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "open_sansregular", Helvetica, Arial, sans-serif;
}

@media (min-width: 768px) {
    html {
        font-size: 15px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: var(--anti-flash-white);
    font-family: "open_sansregular", Helvetica, Arial, sans-serif;
}

.navbar {
    height: 50px;
}

.navbar-background {
    background-color: var(--urgent-blue);
}

.accordion-body {
    margin-top: 0.5em;
    padding-left: 1.5em;
    padding-right: 1.5em;
}

label {
    font-size: 1rem;
    /*font-weight: 600;*/
    color: #34495e
}


.accordion-button:not(.collapsed) {
    background-color: var(--urgent-blue);
    color: white;
}

    .accordion-button:not(.collapsed)::after {
        filter: invert(1) brightness(2);
    }

.disabled {
    pointer-events: none;
}

.table {
    font-size: 12px;
    border: 1px solid #eef0f0;
    background-color: #ffffff;
}

    .table th {
        font-size: 14px;
        color: #526476;
    }

    .table > tbody > tr:nth-child(even) > td, .table-striped > tbody > tr:nth-child(even) > th {
        background-color: #EDF6FC;
        color: #34495e;
    }

table > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: white;
    color: #34495e;
}


table > tbody > tr > td {
    /*font-weight: 600;*/
    color: #34495e;
}

#selectedAssetsTable thead th input[type=text] {
    width: 100%;
}

.urgent-header-underline {
    height: 2px;
    background: linear-gradient(to right, #34495e 30%, rgba(0,123,255,0) 100%);
    border: none;
    margin-top: 0;
    margin-bottom: 0.5em;
    opacity: 0.8
}

.select2-search--inline {
    display: contents;
}

.select2-search__field:placeholder-shown {
    width: 100% !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple {
    position: relative;
    padding-right: 32px;
}

#selectedAssetsDiv .select2-dropdown {
    min-width: 200px !important;
    max-width: 275px !important;
}

#assetFilterForm .select2-dropdown {
    min-width: 200px !important;
    max-width: 350px !important;
}

#assetFilterForm .select2-container--bootstrap-5 .select2-selection--multiple {
    max-width: 100% !important;
}

#assetFilterForm .select2-container--bootstrap-5 .select2-selection--single {
    max-width: 100% !important;
}

.select2-dropdown {
    max-width: 400px !important;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__option {
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
}

#selectedAssetsTable {
    table-layout: fixed;
    border: 0.5px solid #d0dae3;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(52, 73, 94, 0.03);
}

.ui-datepicker {
    font-size: 0.85rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.1);
    padding: 0.25em;
}

    .ui-datepicker .ui-datepicker-header {
        background: #f8f9fa;
        border-bottom: 1px solid #dee2e6;
        padding: 0.2em 0.3em;
    }

    .ui-datepicker .ui-datepicker-prev,
    .ui-datepicker .ui-datepicker-next {
        top: 50%;
        transform: translateY(-50%);
        width: 1.5em;
        height: 1.5em;
        line-height: 1.5em;
        font-size: 0.9rem;
    }

    .ui-datepicker td a {
        padding: 0.25em 0.4em;
        border-radius: 0.25rem;
    }

        .ui-datepicker td a:hover,
        .ui-datepicker td a.ui-state-hover {
            background-color: #e9ecef;
            color: #212529;
            text-decoration: none;
        }

    .ui-datepicker .ui-datepicker-buttonpane button {
        font-size: 0.8rem;
        padding: 0.25em 0.5em;
        border-radius: 0.25rem;
    }

.datepicker-addon {
    cursor: pointer;
    user-select: none;
}
    .datepicker-addon i {
        color: #6c757d;
    }



    #selectedAssetsTable th .input-group {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}


#selectedAssetsTable th .input-group-text.datepicker-addon {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
}


#selectedAssetsTable th .form-control-sm {
    height: calc(1.5em + 0.5rem);
}

#selectedAssetsTable td:nth-child(2) {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
}

.toast-bg {
    background-color: #2f4154;
    color: white;
}

.toast-icon {
    font-size: 1.35rem;
    line-height: 1;
    color: white;
    margin-right: 0.75rem;
    margin-left: 0.75rem;
    align-self: center;
}

#toastContainer {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.last-task-reference {
    color: #02c235;
}