/*CUSTOM SCRIPTS BEGIN*/

#cr_scripts_container
{
    table-layout: fixed;
    width: 100%;
}

#cr_scripts_side_menu
{
    padding: 8px;
    text-align: center;
    vertical-align: top;
    width: 170px;
}

#cr_scripts_side_menu_wrapper
{
    text-align: center;
}

.cr_scripts_side_menu_element
{
    /*background: #efefef;*/
    /*border: 1px solid;*/
    /*border-color: #666666;*/
    font-weight: bold;
    padding: 0px;
    margin-bottom: 8px;
}

.cr_scripts_side_menu_element > a
{
    background: #efefef;
    border: 1px solid;
    border-color: #666666;
    display: block;
    font-size: 12px;
    font-weight: bold;
    padding-bottom: 8px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 8px;
    text-align: center;
    text-decoration: none;
}

.cr_scripts_side_menu_element > a:hover
{
    background-color: rgba(127, 127, 127, 0.5);
    box-shadow: 2px -2px 2px #595959;
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
}

.cr_scripts_side_menu_element.selected > a
{
    background-color: rgba(127, 127, 127, 0.5);
    box-shadow: 2px -2px 2px #595959;
    font-size: 12px;
    text-decoration: none;
}

#cr_scripts_main_content
{
    padding: 10px;
    vertical-align: top;
}

h1, h2, h3
{
   color: #565656;
}

#cr_scripts_bdr_main_table
{
    /*background: #55ffff;*/
    border-collapse: collapse;
    border: 0px;
    table-layout: auto;
    width: 100%;
}

#cr_scripts_bdr_main_table tr td
{
    padding-left: 2px;
    padding-right: 2px;
}

tr.cr_scripts_bdr_header_row td
{
    padding-bottom: 3px;
}

tr.cr_scripts_bdr_header_row:not(:first-child) td
{
    padding-top: 18px !important;
}

.cr_scripts_bdr_org_header_cell
{
    margin: 0px;
    padding: 0px;
    vertical-align: middle;
}

.cr_scripts_bdr_category_row
{
    background: #ebebed;
    border-bottom: 1px solid;
}

.cr_scripts_bdr_category_cell
{
    font-weight: bold;
}

td.cr_scripts_bdr_category_cell
{
    /*min-width: 10%;*/
}

td.cr_scripts_bdr_category_cell.primary
{
    min-width: 30%;
    width: 30%;
}

tr.cr_scripts_bdr_opportunity_row
{
    border-bottom: 1px solid #d1d1d1;
}

tr.cr_scripts_bdr_opportunity_row.even
{
    background: #f6f6f6;
}

tr.cr_scripts_bdr_opportunity_row:hover
{
    background: #ecf7ff;
}

td.cr_scripts_bdr_opportunity_cell
{
    padding-bottom: 5px;
    padding-top: 5px;
}

td.cr_scripts_bdr_opportunity_cell > a
{
    text-decoration: none;
}

a.cr_scripts_bdr_org_header
{
    color: #565656;
    font-size: 16px;
    font-weight: bold;
    text-decoration: underline;
}

a.cr_scripts_bdr_org_header:hover
{
    color: #121212;
}

.cr_scripts_pdf_logo
{
    /*width: 10px;*/
    display: inline-block;
    height: 18px;
    margin: 0px;
    padding: 0px;
}

.cr_scripts_pdf_link
{
    color: #565656;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
    margin-right: 5px;
}

.cr_scripts_pdf_link:hover
{
    color: #121212;
    text-decoration: underline;
}

.cr_scripts_pdf_comment
{
    border-left: 2px solid;
    color: #565656;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
    margin-right: 5px;
}

.cr_scripts_pdf_month_select
{
    font-size: 11px;
}

.cr_scripts_pdf_download_link
{
    border-left: 2px solid;
    margin-left: 8px;
    padding-left: 8px;
    text-decoration: none;
}

.cr_scripts_pdf_download_link:hover
{
    text-decoration: underline;
}

a.cr_scripts_bdr_opp_name
{
    font-weight: bold;
    /*text-decoration: none;*/
}

.cr_red
{
    color: #fa3232;
}

.cr_green
{
    color: #00af2e;
}

.cr_bold
{
    font-weight: bold;
}

.cr_nowrap
{
    white-space: nowrap;
}


/*CUSTOM SCRIPTS END*/

/*GMAPS BEGIN*/

#gmaps_map
{
    height: 600px;
    width: 900px;
}

.bdr_info_content
{
    font-weight: bold;
}

input[type=checkbox]:hover
{
    -webkit-box-shadow: 0px 0px 10px #1300ff;
    box-shadow: 0px 0px 10px #1300ff;
}

.gmaps_opp_map_options_control_wrapper
{
    position: relative;
    width: 100px;
}


.gmaps_opp_map_options_control_text
{
    background: #efefef;
    border: 1px solid #000000;
    /*border-radius: 3px;*/
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    box-sizing: border-box;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 12px;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    width: 100px;
}

.gmaps_opp_map_options_control_text:hover
{
    background-color: #bfbfbf;
}

.gmaps_opp_map_options_control_menu
{
    background: #efefef;
    border: 1px solid #000000;
    box-sizing: border-box;
    display: none;
    left: 0px;
    position: absolute;
    top: 21px;
    width: 100px;
}

.gmaps_opp_map_options_control_menu_category_wrapper
{
    cursor: pointer;
    display: flex;
    font-size: 12px;
    font-weight: bold;
    padding-bottom: 2px;
    padding-left: 10px;
    padding-right: 5px;
    padding-top: 2px;
    position: relative;
}

.gmaps_opp_map_options_control_menu_category_wrapper:hover
{
    background-color: #bfbfbf;
}

.gmaps_opp_map_options_control_menu_category_wrapper_label
{
    align-self: center;
    display: inline-block;
    margin-right: auto;
}

.gmaps_opp_map_options_control_menu_category_wrapper_arrow
{
    align-self: center;
    display: inline-block;
    margin-left: auto;
}

.gmaps_opp_map_options_control_menu_category_hover_wrapper
{
    background: #efefef;
    border: 1px solid #000000;
    box-sizing: border-box;
    cursor: auto;
    display: none;
    flex-direction: column;
    flex-shrink: 0;
    flex-wrap: nowrap;
    margin-right: auto;
    max-height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 0px;
    position: absolute;
}

.gmaps_opp_map_options_control_menu_category_hover_element
{
    align-items: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    flex-wrap: nowrap;
    font-size: 12px;
    font-weight: bold;
    /*margin-right: auto;*/
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    white-space: nowrap;
}

@-moz-document url-prefix()
{
    .gmaps_opp_map_options_control_menu_category_hover_element
    {
        padding-right: 22px;
    }
}

.gmaps_opp_map_options_control_menu_category_hover_element:hover
{
    background-color: #bfbfbf;
}

.gmaps_opp_map_options_control_menu_category_hover_element_checkbox
{
    display: flex;
    margin-right: none;
    /*padding-bottom: 2px;*/
    padding-left: 2px;
    padding-right: 2px;
}

.gmaps_opp_map_options_control_menu_category_hover_element_label
{
    display: flex;
    margin-right: auto;
    padding-left: 2px;
    padding-right: 0px;
}

/* TANK CAPACITY PREDICTIONS */
.tank_uptake_table
{
    border: 1px #000000 solid;
    border-collapse: collapse;
    box-sizing: border-box;
}

.tank_uptake_table tr td
{
    border: 1px #000000 solid;
    padding: 2px;
    text-align: center;
}

.tank_uptake_td_first
{
    background: #d9d9d9;
    font-weight: bold;
}

.tank_uptake_td_vert
{
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -webkit-transform: rotate(180.0deg);
    transform: rotate(180deg);
    writing-mode: vertical-lr;
    -ms-writing-mode: tb-rl;
    width: 1.2em;
}

.tank_uptake_td_header
{
    font-weight: bold;
}

.tank_uptake_td_axp
{
    background: #f8cbad;
}

.tank_uptake_td_ttc
{
    background: #fff2cc;
}

.tank_uptake_td_ucb
{
    background: #ddebf7;
}

.tank_uptake_td_uct
{
    background: #d0cece;
}

.tank_uptake_td_paor
{
    background: #9df7a2;
}

.tank_uptake_td_pcor
{
    background: #e7ace8;
}

/**
 * 31/01/2020 John Millis:
 * Added styles typically HTML field emphasis.
 */
.sticky_note_yellow
{
    background-color: yellow;
    padding: 6px;
    -webkit-box-shadow: -2px 2px 6px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: -2px 2px 6px 0px rgba(0,0,0,0.5);
    box-shadow: -2px 2px 6px 0px rgba(0,0,0,0.5);
}
.sticky_note_red
{
    background-color: tomato;
    padding: 6px;
    -webkit-box-shadow: -2px 2px 6px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: -2px 2px 6px 0px rgba(0,0,0,0.5);
    box-shadow: -2px 2px 6px 0px rgba(0,0,0,0.5);
}

/**
* 2021-05-20 Alex Klimentov:
*   Simple classes for the Lab Management system
*/

.lab_manager_table
{
    border: 1px solid;
    border-color: #666666;
    border-collapse: collapse;
}

.lab_manager_table tr th
{
    background-color: #efefef;
    border: 1px solid;
    border-color: #666666;
    color: #444444;
    font-size: 14px;
    font-weight: bold;
    padding: 2px;
    text-align: center;
}

.lab_manager_table tr td
{
    border: 1px solid;
    border-color: #666666;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 6px;
}

.lab_manager_cell_grey
{
    background-color: rgba(198, 198, 198, 0.20);
}

.lab_manager_cell_green
{
    background-color: rgba(0, 198, 0, 0.20);
}

.lab_manager_cell_red
{
    background-color: rgba(198, 0, 0, 0.20);
}

/**
* 2022-05-18 Alex Klimentov:
*   Simple classes for the Maternal Blood system
*/

.maternal_blood_table
{
    border: 1px solid;
    border-color: #666666;
    border-collapse: collapse;
}

.maternal_blood_table tr th
{
    border: 1px solid;
    border-color: #666666;
    color: #222222;
    font-size: 14px;
    font-weight: bold;
    padding: 2px;
    text-align: center;
}

.maternal_blood_table tr td
{
    border: 1px solid;
    border-color: #666666;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 6px;
}

.maternal_blood_table_cell_header
{
    background-color: rgba(100, 100, 100, 0.40);
}

.maternal_blood_table_cell_odd
{
    background-color: rgba(255, 255, 225, 0.20);
}

.maternal_blood_table_cell_even
{
    background-color: rgba(255, 225, 225, 0.20);
}

/**
* 2022-06-12 Alex Klimentov:
*   Simple classes for the Opportunities Analytics system
*/

.opportunities_analytics_lead_source_selector
{
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

.opportunities_analytics_lead_source_selector tr td
{
    padding: 1px 5px;
}

.opportunities_analytics_left
{
    border-right: 2px solid #999999;
}

.opportunities_analytics_left tr td
{
    text-align: center;
    vertical-align: middle;
}

.opportunities_analytics_wrapper_right
{
    vertical-align: top;
    padding-left: 5px;
}

.opportunities_analytics_right_main
{
    border: 1px solid #999999;
    border-collapse: collapse;
}

.opportunities_analytics_right_main tr td
{
    border: 1px solid #999999;
    border-collapse: collapse;
    font-size: 14px;
    padding: 5px;
    text-align: right;
    vertical-align: middle;
}

.opportunities_analytics_right_main_header
{
    background-color: rgba(50, 50, 256, 0.20);
    font-weight: bold;
    font-size: 16px;
}

/**
* 2022-06-29 Alex Klimentov:
*   Simple classes for the Manual Serology page
*/

#manual_serology_wrapper
{
    align-items: flex-start;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    display: flex;
    flex-direction: column;
}

#manual_serology_panel_select
{
    border: 1px solid #242424;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    display: flex;
    margin: 10px;
    padding: 10px;
    width: auto;
}

#manual_serology_panel_existing, #manual_serology_panel_new
{
    border: 1px solid #242424;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    display: none;
    margin: 10px;
    padding: 10px;
    visibility: hidden;
    width: auto;
}

#manual_serology_panel_existing_fetch_results_desc, #manual_serology_panel_new_fetch_results_desc
{
    border: 1px solid #242424;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    display: none;
    flex-direction: column;
    margin: 10px;
    padding: 10px;
    visibility: hidden;
    width: auto;
}

#manual_serology_panel_existing_fetch_results, #manual_serology_panel_new_fetch_results
{
    border: 1px solid #242424;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    display: none;
    flex-direction: column;
    margin: 10px;
    padding: 10px;
    visibility: hidden;
    width: auto;
}

.manual_serology_panel_existing_result, .manual_serology_panel_new_result
{
    font-size: 12px;
    padding: 5px;
}

.manual_serology_panel_existing_result:hover, .manual_serology_panel_existing_result.selected
{
    background-color: rgba(127, 127, 127, 0.5);
    box-shadow: 0px 0px 1px 1px #595959;
    cursor: pointer;
    font-weight: bold;
}

.manual_serology_panel_new_result:hover, .manual_serology_panel_new_result.selected
{
    background-color: rgba(127, 127, 127, 0.5);
    box-shadow: 0px 0px 1px 1px #595959;
    cursor: pointer;
    font-weight: bold;
}

.manual_serology_panel_existing_result_new_header, .manual_serology_panel_new_result_new_header
{
    font-size: 12px;
    font-weight: bold;
    padding-bottom: 5px;
    text-decoration: underline;
}

.manual_serology_panel_existing_result_new_input, .manual_serology_panel_new_result_new_input
{
    font-weight: bold;
}

.manual_serology_panel_existing_result_file_required, .manual_serology_panel_new_result_file_required
{
    font-weight: bold;
}

.manual_serology_panel_existing_result_file_optional, .manual_serology_panel_new_result_file_optional
{
    font-style: italic;
}


.flex {
    display: flex;
}

.flex-row {
    flex-direction: row;
}

.flex-col {
    flex-direction: column;
}

.loading-overlay {
    position: absolute;
    width: 100%;
    height: 250px;
    background-color: black;
    opacity: 0.5;
    top: 0;
    left: 0;
    display: none;
}

.loading-spinner {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    top: calc(50% - 40px);
    left: calc(50% - 40px);
}
.loading-spinner div {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: loading-spinner 1.2s linear infinite;
}

.loading-spinner div:nth-child(1) {
    animation-delay: 0s;
    top: 37px;
    left: 66px;
}
.loading-spinner div:nth-child(2) {
    animation-delay: -0.1s;
    top: 22px;
    left: 62px;
}
.loading-spinner div:nth-child(3) {
    animation-delay: -0.2s;
    top: 11px;
    left: 52px;
}
.loading-spinner div:nth-child(4) {
    animation-delay: -0.3s;
    top: 7px;
    left: 37px;
}
.loading-spinner div:nth-child(5) {
    animation-delay: -0.4s;
    top: 11px;
    left: 22px;
}
.loading-spinner div:nth-child(6) {
    animation-delay: -0.5s;
    top: 22px;
    left: 11px;
}
.loading-spinner div:nth-child(7) {
    animation-delay: -0.6s;
    top: 37px;
    left: 7px;
}
.loading-spinner div:nth-child(8) {
    animation-delay: -0.7s;
    top: 52px;
    left: 11px;
}
.loading-spinner div:nth-child(9) {
    animation-delay: -0.8s;
    top: 62px;
    left: 22px;
}
.loading-spinner div:nth-child(10) {
    animation-delay: -0.9s;
    top: 66px;
    left: 37px;
}
.loading-spinner div:nth-child(11) {
    animation-delay: -1s;
    top: 62px;
    left: 52px;
}
.loading-spinner div:nth-child(12) {
    animation-delay: -1.1s;
    top: 52px;
    left: 62px;
}
@keyframes loading-spinner {
    0%, 20%, 80%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
}

.border-bottom {
    border-bottom: 1px solid black !important;
}

.border-collapse {
    border-collapse: collapse !important;
}

.width-100 {
    width: 100% !important;
}

.width-50 {
    width: 50% !important;
}

.width-fit-content {
    width: fit-content !important;
}

.min-width-100 {
    min-width: 100% !important;
}

.overflow-auto {
    overflow: auto !important;
}

.position-fixed {
    position: fixed !important;
}

.position-relative {
    position: relative !important;
}

.position-initial {
    position: initial !important;
}

.position-absolute {
    position: absolute !important;
}

.visibility-hidden {
    visibility: hidden !important;
}

.visibility-visible {
    visibility: visible !important;
}

.margin-top-30px {
    margin-top: 30px !important;
}

.padding-top-0px {
    padding-top: 0 !important;
}

.padding-10px {
    padding: 10px !important;
}

.padding-0px {
    padding: 0 !important;
}

.margin-0px {
    margin: 0 !important;
}

.table-layout-fixed {
    table-layout: fixed !important;
}

.sugar_ajaxloading_mask {
    display: flex;
    justify-content: center;
    align-items: center;
}