/*! CSS customizations */

/********************************************************
** Global - Generic styles that will apply across multiple themes
*********************************************************/

.highlight { 
    padding: 0.2em;
    background-color: #fcf8e3;
}

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

.input-group-text:hover {
    cursor: pointer;
}

.breadcrumb {
    padding: 0px;
    border: none;
    border-radius: 0px;
    background-color: transparent;
    font-size: 12px;
}

#environment_indicator {
    border-color: #B30900;
    background: #B30900;
    padding: 0px;
    margin-bottom: 0px;
    text-align: center;
    font-size: 14pt;
    color: #fff;
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

.clearfix {
    clear: both;
}

.bg-light {
    background-color: rgba(0, 0, 0, 0.03) !important;
}

.well {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
}

.lead {
    margin-bottom: 10px;
    font-size: 22.5px;
    font-weight: 300;
    line-height: 1.4;
}

.lead_card_header {
    font-size: 22.5px;
    font-weight: 300;
    line-height: 1.4;
}
.underline_header {
    margin-bottom: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 110%;
    font-weight: 500;
    line-height: 1;
    border-bottom: solid 1px #dddddd;
}

.underline_header_muted {
    margin-bottom: 10px;
    padding-bottom: 10px;
    line-height: 1;
    border-bottom: solid 1px #dddddd;
    color: grey;
}

.sub_header {
    margin-bottom: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 120%;
    font-weight: 500;
    line-height: 1;
}

a {
    color: #005E75;
    text-decoration: underline;
}

.navbar-dark .navbar-nav .nav-link {
    color: #FFF;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    background-color: #fff;
}
.nav-tabs .nav-link.active {
    border-bottom: 1px solid transparent;
    font-weight: bold;
}

.btn-group-xs > .btn, .btn-xs {
    padding: 1px 5px;
    font-size: 10px;
    line-height: 1.5;
}

.is-invalid .select2-selection, .needs-validation ~ span > .select2-dropdown{
    border-color:#B30900 !important;
}

/* Custom required asterisk */
.required:after {
    content:" *";
    color: #B30900;
}

.logo_text {
    color: #FFF !important;
    border-top: 1px solid #888;
    font-size: 17px;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.logo_text a {
    color: #FFF !important;
    margin-top: 4px;
    text-decoration: none;
}

.logo_sub_text, .logo_sub_text a {
    color: #FFF !important;
    font-size: 12px;
    text-decoration: none;
    margin-bottom: 4px;
    margin-top: 4px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.logo_sub_sm_text, .logo_sub_sm_text a {
    color: #FFF;
    font-size: 12px;
    text-decoration: none;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.global_timestamp {
    font-size: 13px;
    text-align: right; 
    color: #888!important;
}

.site_message {
    padding:20px;
}

.site_message_info {
    background-color: yellow;
    padding:20px;
}

 /* App-specific */
.input-group-addon {
    padding: 8px 12px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    color: #6f6f6f;
    text-align: center;
    background-color: #fafafa;
    border: 1px solid #ccc;
    border-radius: 5px !important;
    border-left: 1px solid #cccccc !important;
    width: 100%;
}

.password_show_button, .password_hide_button, .ssn_show_button, .ssn_hide_button, 
.alternate_id_hide_button, .alternate_id_show_button, .birth_date_hide_button, .birth_date_show_button {
    cursor: pointer; 
    font-size: 11px;
}

.long_checkbox_label {
    position:relative;
    padding-left:3ch;
    display: block;
    margin-bottom: 5px;
}
.long_checkbox {
    position: absolute;
    left: 0;
    margin-top: 3px !important;
}

.admin_label {
    font-size: 80%;
    background-color: yellow;
    cursor: pointer;
}

.tool_tip {
    cursor: pointer;
}

.tab-content {
    margin-bottom:15px;
}

.form-control-xs {
    padding: .125rem .25rem !important;
    font-size: .75rem !important;
}

#builder.form-inline {
    display: block !important; 
}

.query-builder .rule-container, .query-builder .rule-placeholder, .query-builder .rules-group-container {
    border-radius: 0px;
}

.search_button {
    float: right;
    padding: 8px 10px;
    margin-left: -15px;
    background: #d7d7d7;
    font-size: 17px;
    border: none;
    cursor: pointer;
}

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
  }
  
.ui-autocomplete > li > div {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
}

.ui-helper-hidden-accessible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.ui-state-highlight {
    font-weight:bolder;
}

.jexcel_content::-webkit-scrollbar {
    width: 20px !important;
    height: 20px !important;
}

.jexcel {
    white-space: normal !important;
}

.card-title {
    margin-bottom: 0 !important; 
}

#error_message a {
    color: #FFF;
    text-decoration: underline; 
}

/* Overrides for jQuery UI datetime */

.ui-timepicker-select {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #222;
    background-color: #fff;
    border-color: #d8d8d8;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.ui-datepicker-current, .ui-datepicker-close {
    display: inline-block;
    font-weight: 700;
    line-height: 1.5;
    color: #000;
    background-color: #f0f0f0;
    border-color: #f0f0f0;
    border-style: solid;
    margin-right: 10px;
    border-width: 0 1px 4px 1px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    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;
}

/********************************************************
** Wordpress styles
*********************************************************/
.announcement_date {
    background-color: #97c23D;
    padding: 5px;
    color: white;
    text-align: center;
}

#page {
    line-height: 35px;
}

#page p {
    margin-bottom: 20px;
}
    
#page h1 {
    margin-bottom: 30px;
}

#page h3 {
    font-size: 16px;
    margin-top:20px;
    margin-bottom:10px;
}

#page h4 {
    font-size: 14px;
    margin-top:20px;
    margin-bottom:10px;
}

#page .img-thumbnail {
    margin-top:8px;
    max-width: inherit;
}

#page table.table {
    font-size:14px;
}

#gdpr-cookie-message {
    position: fixed;
    bottom: 0;
    width: 100%;
    color: white;
    padding: 20px;
    z-index: 1000;
}

.tox-promotion {
    display: none !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    font-size: 12px;
}

/********************************************************
** Override datatables style 
*********************************************************/
.table thead {
    background-color: #f6f6f6;
}

.dataTables_filter {
    float: right !important;
}

div.dataTables_wrapper div.dataTables_filter input {
    width: 300px;
}

table.dataTable {
    cursor: pointer;
}

table.dataTable tbody tr.selected {
    background-color: #ADD8E6;
}

/* Used to show loading message on initial datatables load */
.initial_datatable_loader {
    top: 50%;
    left: 50%;
    width: 230px;
    margin-left: -115px;
    text-align: center;
    padding: 5px;
    display: block;
}

/* Used in application review stop */
.table > :not(:first-child) {
    border-top: inherit;
}

.select2-container--bootstrap-5.select2-container--disabled .select2-selection, .select2-container--bootstrap-5.select2-container--disabled.select2-container--focus .select2-selection {
    background-color: #f0f0f0;
    margin-top: -2px;
}

/* Shown on datatable no results */
.dataTables_empty {
    text-align: center;
}

table.dataTable {
    margin-top: 10px;
    border: #dee2e6 solid 1px !important;
    border-collapse: collapse !important;
    margin-bottom: 10px !important;
}

td.details-control {
    background: url('../images/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.shown td.details-control {
    background: url('../images/details_close.png') no-repeat center center;
}

table.table.dataTable>tbody>tr.selected>* {
    box-shadow: inherit !important;
    color: inherit !important;
}

table.dataTable > tbody > tr.child span.dtr-title {
    width: 100%;
}

table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order:before, table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order:before, table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order:before, table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order:before {
    line-height: 11px !important;
}

div.table-responsive>div.dt-container>div.row {
    margin: inherit !important;
}

div.dt-processing{
    position: absolute;
    width:230px;
    top: 30% !important;
}

div.dt-processing>div:last-child {
    margin: 0;
}

table.table.dataTable>tbody>tr.selected a.btn-primary {
    color: #FFF;
}

div.dt-processing>div:last-child>div {
    background: none;
    animation-timing-function: none;
}

/********************************************************
** Bubble styles
*********************************************************/

.speech {
    color: #000;
    background: #f0f0f0;
    position: absolute;
    padding: 20px;
    border-radius: 10px;
}

.speech::after {
    content: "";
    border: 15px solid transparent;
    position: absolute;
}

.bottom.speech::after {
    border-top-color: #f0f0f0;
    border-bottom: 0;
    bottom: -20px; left: 50%;
    margin-left: -20px;
}

.top.speech::after {
    border-bottom-color: #f0f0f0;
    border-top: 0;
    top: -20px; left: 50%;
    margin-left: -20px;
}

.left.speech {
    margin-right: 20px;
}

.left.speech::after {
    border-right-color: #f0f0f0;
    border-left: 0;
    left: -14px; top: 30px;
}

.right.speech::after {
    border-left-color: #f0f0f0;
    border-right: 0;
    right: -20px; top: 50px;
    margin-top: -20px;
}

/********************************************************
** Media queries
*********************************************************/

@media (max-width: 575.98px) {
    #tab-content.tab-content .card-default {
        border-top-color: #dddddd;
    }

    .nav-tabs {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .speech {
        position: relative;
    }

    .left.speech {
        margin-right: 0px;
        margin-bottom: 10px;
    }

    .left.speech::after {
        border-right-color: transparent;
        border-left: 0;
        left: 0px; top: 0px;
    }

    .address-option {
        flex-direction: column;
    }

    .select-button {
        width: 100%;
        margin-top: 10px; 
    }
}

@media (max-width: 992px) {
    #admin_menu_left_container {
        display:none;
    }

    .add_row_container {
        margin-bottom: 10px !important;
    }

    select#license_level {
        font-size:11px;
    }
}

@media (min-width: 992px) {
    #admin_nav {
        display:none;
    }

    .address-option {
        flex-direction: row;
        align-items: center; 
    }

    .select-button {
        margin-left: auto; 
    }
}