/* ########################################## Element Overrides ######################################################*/
h1 {
    font-size: 2rem;
    font-weight: bold;
}

h2 {
    font-size: 1.5833rem;
    font-weight: bold;
}

h3 {
    font-size: 1.0833rem;
    font-weight: bold;
}

p {
    font-size: 0.75rem;
    margin-bottom: 0;
}

span {
    font-size: 0.9rem;
}

select:not(.input-no-height):not(.input-no-border),
input:not(.input-no-height):not(.input-no-border)
{
    height: 2.25rem !important;
    background-color: #F2F2F2 !important;
    border: none !important;
}

select.input-no-height,
input.input-no-height {
    background-color: #F2F2F2 !important;
    border: none !important;
}

input[type="radio"] {
    cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 0.5rem;
}

.alert-icon {
    background: radial-gradient(at center, white 40%, transparent 40%);
    position: absolute;
    top: -0.5rem;
    right: 0;
    font-size: 1.3rem;
}

select.show-label:disabled,
input.show-label:disabled { 
    background-color: #DBDBDB !important;
}

input.uneditable-background:disabled {
    background-color: #DBDBDB !important;
}
select.uneditable-background:disabled {
    background-color: #DBDBDB !important;
}

a:hover {
    color: #293352;
}

th:focus {
    outline: none;
}

/* ########################################## Placeholder Styles #####################################################*/
input::placeholder {
    color: #6E6C6B !important;
    font-size: 0.9vw;
    opacity: 1; /* Firefox */
}

input:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #6E6C6B !important;
    font-size: 0.9vw;
}

input::-ms-input-placeholder { /* Microsoft Edge */
    color: #6E6C6B !important;
    font-size: 0.9vw;
}

input:disabled::placeholder {
    color: #cccccc !important;
    font-size: 0.9vw;
    opacity: 1; /* Firefox */
}

input:disabled:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #cccccc !important;
    font-size: 0.9vw;
}

input:disabled::-ms-input-placeholder { /* Microsoft Edge */
    color: #cccccc !important;
    font-size: 0.9vw;
}

@media screen and (min-width: 1600px) {
    .form-check-label,
    input::placeholder {
        font-size: 14px !important;
    }
    input:-ms-input-placeholder { /* Internet Explorer 10-11 */
        font-size: 14px !important;
    }

    input::-ms-input-placeholder { /* Microsoft Edge */
        font-size: 14px !important;
    }

    input:disabled::placeholder {
        font-size: 14px !important;
    }

    input:disabled:-ms-input-placeholder { /* Internet Explorer 10-11 */
        font-size: 14px !important;
    }

    input:disabled::-ms-input-placeholder { /* Microsoft Edge */
        font-size: 14px !important;
    }
    
    .page-title {
        font-size: 25px !important;
    }
}

@media screen and (max-width: 1300px) {
    .form-check-label,
    input::placeholder {
        font-size: 14px !important;
    }
    input:-ms-input-placeholder { /* Internet Explorer 10-11 */
        font-size: 14px !important;
    }

    input::-ms-input-placeholder { /* Microsoft Edge */
        font-size: 14px !important;
    }

    input:disabled::placeholder {
        font-size: 14px !important;
    }

    input:disabled:-ms-input-placeholder { /* Internet Explorer 10-11 */
        font-size: 14px !important;
    }

    input:disabled::-ms-input-placeholder { /* Microsoft Edge */
        font-size: 14px !important;
    }
}


/* ########################################## Background and Font Colors #############################################*/
.background-grey {
    background: #f2f2f2 !important;
}

.background-color-white {
    background-color: #FFFFFF !important;
}

.background-lightred {
    background: #FCF0F0;
}

.base-font-darkblue {
    color: #293352;
}

.base-font-grey {
    color: #6E6C6B;
}
.base-font-lightgrey {
    color: #A9A9A9;
}

.base-font-red {
    color: #FF675F !important;
}
.base-font-yellow {
    color: #E8AE20;
}
.base-font-green {
    color: #499e21;
}
.font-family-arial {
    font-family: "Arial", serif;
}

.background-darkblue-gradient {
    background: linear-gradient( 0deg, rgba(24, 27, 48, .94), rgba(77, 79, 128, .94)) fixed;
}

/* ########################################## Border Styles ##########################################################*/
.border-top-1 {
    border-top: 1px solid #dee2e6 !important;
}

.border-bottom-1 {
    border-bottom: 1px solid #dee2e6 !important;
}

.no-border{
    border:none !important;
}

/* ########################################## Button Styles ##########################################################*/
.btn-primary {
    background-color: #293352 !important;
    border-color: #293352 !important;
    width: 170px;
    height: 36px;
    border-radius: 24px;
    color: #ffffff !important;
    font-size: 0.875rem;
    font-weight: bold;
}

.btn-primary:hover {
    background: linear-gradient( 0deg, rgba(24, 27, 48, .94), rgba(77, 79, 128, .94));
}

.btn-outline-secondary {
    background-color: Transparent !important;
    border-color:     #293352 !important;
    width:            178px;
    height:           35px;
    border-radius:    24px;
    color:            #293352 !important;
    font-size:        0.875rem;
    font-weight:      bold;
}

.btn-outline-secondary-inverted {
    background-color: #293352 !important;
    border-color:     #293352 !important;
    width:            178px;
    height:           35px;
    border-radius:    24px;
    color:            white !important;
    font-size:        0.775rem;
    /*font-weight:      bold;*/
}

.btn-outline-secondary-white {
    background-color: Transparent !important;
    border-color: #dee2e6  !important;
    width: 170px;
    height: 36px;
    border-radius: 24px;
    color:  #dee2e6  !important;
    font-size: 0.875rem;
    font-weight: bold;
}

.btn-outline-secondary > a:hover,
.btn-outline-secondary:hover,
.btn-outline-secondary:disabled {
    background: linear-gradient( 0deg, #D9D9D9, rgba(255, 255, 255, 0.94));
}

.btn-sm {
    width: 100px;
    height: 26px;
    font-size: 0.625rem;
    padding: .25rem .5rem;
    line-height: 1.5;
}


/* ########################################## Formatting #############################################################*/
.error-message::first-letter {
    text-transform: capitalize;
}

.alert {
    text-align: left;
    font-size: 16px;
}

.flex-basis-100 {
    flex-basis: 100%;
}

/* ########################################## Typeahead Styles #######################################################*/
.twitter-typeahead {
    width: 100%;
}


/* ########################################## Miscellaneous ##########################################################*/
.hide {
    display: none !important;
}

.error {
    border: #FF675F 1px solid !important;
}

.base-font {
    font-family: "Arial";
    font-weight: 400;
}

.input-group {
    border-radius: 5px;
}

.form-check-input {
    height: 1.2rem !important;
}

.form-check-label {
    font-size: 0.9vw;
}

.darkblue-links-styling.btn:hover {
    outline:         none;
    box-shadow:      none;
    text-decoration: underline !important;
}

.darkblue-links-styling {
    font-family: "Arial", serif;
    font-size: 1.2vw;
    color: #293352;
    text-decoration: none solid rgb(41, 51, 82);
}

.page-title {
    font-size: 1.5vw;
    margin-bottom: 0;
}

.table-cell-size {
    font-size: 12px;
}

.white-space-pre {
    white-space: pre;
}

.op-0 {
    opacity: 0;
}

.white-space-break {
    white-space: break-spaces;
}
/* ########################################## Tooltip Styles #########################################################*/
/*
note:
.orportal-tooltip is what you hover on
.orportal-tooltipbox is the box that shows when you hover
.orportal-tooltiptext is the text inside the box
*/

.orportal-tooltipbox {
    position: absolute;
    /*max-width: 75%;*/
    display: grid;
    border-radius: 3px;
    background-color: #293352;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    z-index: 5;
    visibility: hidden;

    /* fade in tooltip */
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    right: 0;
}

.orportal-tooltiptext {
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    color: #ffffff;
    text-decoration: none solid rgb(255, 255, 255);
    text-align: left;
    line-height: 1rem;
    padding-right: .5rem;
}
/* tooltips have different color links (the default colors are low contrast with the BG) */

.orportal-tooltiptext a {
    color: #FFE838;
}

.orportal-tooltiptext a:hover {
    color: #FFFFFF;
}

/* textbox to differentiate hover over textbox from over icon*/

.orportal-tooltipbox-hoverdiv {
    right: auto !important;
    left: 0;
    transform: translate(0, -125%);
}

.orportal-bigtooltip {
    width: 30rem;
}

.orportal-tooltip:hover div.orportal-tooltipbox-hoverdiv.orportal-tooltipbox {
    visibility: visible;
    opacity: 1;
}

.orportal-tooltip:hover:not(div) div.orportal-tooltipbox{
    visibility: visible;
    opacity: 1;
}

/* override Boostrap tooltip style */
.tooltip-inner {
    background-color : #293352 !important;
}

/* ################################################# Modal Styles ################################################### */
.modal-osp-icon {
    /* Shrink the OSP icon image */
    height: 35px;
    width:  34px;
}
.modal-shadow {
    box-shadow: 0px 1px 15px rgba(0,0,0,0.2);
}
.orportal-modal-header-background {
    background-color : #F2F2F2;
}
.orportal-modal-header-text {
    font-family : Arial;
    font-weight : bold;
    font-size   : 19px;
    color       : #293352;
}
.orportal-modal-paragraph-text {
    font-family : Arial;
    font-weight : normal;
    font-size   : 12px;
    color       : #6E6C6B;
}
/* overwrite boostrap overlay styling */
.modal-backdrop {
    background-color : #DADADA !important;
    opacity          : 50% !important;
}

/* ################################################# Override Datatable Styles ####################################### */
:root {
    --dt-row-selected: 234, 241, 250; /* #eaf1fa */
    --dt-row-selected-text: 33, 37, 41; /* #212529 */
}

table.dataTable,
table.dataTable tbody tr {
    box-sizing: content-box;
    background-color: #fff !important;
}

/* override all select, sorting and hover highlight backgoround color */
table.dataTable tbody tr.rowSelectedHighlight,
table.dataTable tbody tr.selected,
table.dataTable tbody tr.selected > .sorting_1,
table.dataTable tbody tr:hover,
table.dataTable tbody tr:hover > .sorting_1
{
    background-color: #EDEEF7 !important;
}
.rowSelectedHighlight {
    background-color: #EDEEF7 !important;
}
.dataTables_filter {
    float:left !important;
}
.dataTables_length {
    float:right !important;
}

table.dataTable {
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

div.dt-container.dt-empty-footer tbody>tr:last-child>* {
    border-bottom: none;
}

/* set the icon close to the text */
table.dataTable thead span.sort-icon {
    display: inline-block;
    padding-left: 5px;
    width: 10px;
    height: 10px;
}

.table-search-input-box {
    height: 2.25rem !important;
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
    border-left: 0 !important;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.paginate_button {
    color: #293352 !important;
}

.paginate_button:hover,
.paginate_button.current:hover {
    color: white !important;
    background: #293352 !important;
    border: 1px solid#293352!important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current.orportal-current:hover {
    color: white !important;
}

.dataTables_wrapper {
    font-size: 12px;
}

.vertical-queue-container .dt-search {
    padding-left: .5rem;
}

.paginate_button.disabled,
.paginate_button.disabled:hover {
    color: white !important;
    cursor: default;
    background: transparent !important;
    border: none !important;
}

.paginate_button.current {
    background: #f2f2f2 !important;
    border: none !important;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .dataTables_paginate .paginate_button{
    color: #293352 !important;
}

table.dataTable thead th {
    background: transparent !important;
    white-space: nowrap;
}

table.dataTable thead th,
table.dataTable thead td {
    padding: 10px 10px !important;
}

table.dataTable tbody th,
table.dataTable tbody td {
    padding-top    : 15px !important;
    padding-bottom : 15px !important;
}
table.dataTable thead span.sort-icon {
    color: #293352 !important;
    display:        inline-block;
    padding-left:   0.3125rem;
    width:          15px;
    height:         15px;
    vertical-align: middle;
}

table.dataTable thead .sorting_asc span.sort-icon,
table.dataTable thead .sorting_desc span.sort-icon
{
    vertical-align: top;
}

div.dt-paging span.ellipsis {
    display: none;
}

table.dataTable thead .dt-orderable-asc.dt-orderable-desc span {
    background: url('DataTables-1.10.18/images/sort_both_orportal.png') no-repeat right;
    padding-right: 1.5rem;
}
table.dataTable thead .dt-orderable-asc.dt-orderable-desc.dt-ordering-asc span {
    background: url('DataTables-1.10.18/images/sort_asc_orportal.png') no-repeat right;
    padding-right: 1.5rem;
}
table.dataTable thead .dt-orderable-asc.dt-orderable-desc.dt-ordering-desc span {
    background: url('DataTables-1.10.18/images/sort_desc_orportal.png') no-repeat right;
    padding-right: 1.5rem;
}

table.dataTable thead .sorting_asc_disabled span {
    background: url('DataTables-1.10.18/images/sort_asc_disabled_orportal.png') no-repeat right;
    padding-right: 1.5rem;
}
table.dataTable thead .sorting_desc_disabled span {
    background: url('DataTables-1.10.18/images/sort_desc_disabled_orportal.png') no-repeat right;
    padding-right: 1.5rem;
}
.orportal-table {
    width: max-content;
    display: none;
    border-collapse: collapse !important;
    border-color: #293352
}

.orportal-table-border {
    border-bottom-style: solid;
    border-bottom-width: medium;
    border-top-style: solid;
    border-top-width: medium;
}
.text-normal {
    white-space: normal !important;
}
.child-cell {
    padding-right: 100px!important;
}
.cursor-pointer {
    cursor: pointer;
}
.sort-icon {
    color: #293352 !important;
}
.orportal-business-account-tooltip-icon {
    position: relative !important;
    top: 0 !important;
}
