:root {
    --jre-blue: #004976;
    --jre-grey: #424141;
    --jre-red: #A50034;
    --jre-light-blue: #4971a1;
}

.btn-jre-blue {
    background-color: var(--jre-blue);
    color: white;
    --bs-btn-hover-bg: var(--jre-blue);
    --bs-btn-hover-color: white;
}

.btn-jre-grey {
    background-color: var(--jre-grey);
    color: white;
    --bs-btn-hover-bg: var(--jre-grey);
    --bs-btn-hover-color: white;
}

.btn-jre-red {
    background-color: var(--jre-red);
    color: white;
    --bs-btn-hover-bg: var(--jre-red);
    --bs-btn-hover-color: white;
}

.btn-jre-light-blue {
    background-color: var(--jre-light-blue);
    color: white;
    --bs-btn-hover-bg: var(--jre-light-blue);
    --bs-btn-hover-color: white;
}

.text-jre-blue {
    color: var(--jre-blue);
}

.text-jre-grey {
    color: var(--jre-grey);
}

.text-jre-red {
    color: var(--jre-red);
}

.text-jre-light-blue {
    color: var(--jre-light-blue);
}

.navmenu-jre-blue {
    background-color: var(--jre-blue);
    border: 0px;
}

.dropdown-item-jre-blue {
    background-color: var(--jre-blue);
    border: 0px;
}

    .dropdown-item-jre-blue:hover {
        background-color: var(--jre-blue);
        color: white;
    }

    .dropdown-item-jre-blue:active, .dropdown-item-jre-blue.active {
        background-color: var(--jre-blue);
    }


::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-thumb {
    background: #ababab;
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: padding-box;
}

    ::-webkit-scrollbar-thumb:hover {
        border: 0;
    }

::-webkit-scrollbar-track {
    background: transparent;
}

/*tom-select styling*/
/*fit to width the dropdowns*/
.ts-dropdown {
    width: auto !important;
}
/*dont let the dropdown items wrap text*/
.ts-dropdown-content {
    white-space: nowrap !important;
}
/*dont let the selected item wrap text*/
.ts-control {
    white-space: nowrap !important;
}

    .ts-control .item {
        padding-right: 2rem !important;
    }
    /*takes up a lot of room if empty (has a default of 7rem)*/
    .ts-control input {
        min-width: 3.5rem !important;
    }
/*override tom-select putting half opacity on disabled controls*/
.disabled .ts-control {
    opacity: 1 !important;
}
/*set selected color of the dropdown item to jre blue*/
.ts-dropdown-content .selected {
    background-color: var(--jre-blue) !important;
    color: white !important;
}
    /*set highlighted color of the dropdown item to jre blue*/
    .ts-dropdown-content .selected:hover {
        color: white !important;
    }

.ts-wrapper.multi .item.active {
    background-color: var(--jre-blue) !important;
    color: white !important;
}

.Invalid-Signature {
    border: 1px solid red !important;
}

.jre-sorting {
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2.5px;
    margin-left: 7px;
}

.jre-sorting-asc {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.jre-sorting-desc {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    margin-bottom: 3.5px;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

label.required:after {
    content: "*";
    color: red;
}

@media print {
    div.tooltip {
        display: none;
    }
}