﻿/* Custom CSS generally relevant for Tableau dashboard pages.*/
.dashboard-header {
    padding: 25px;
    background-color: #edf1f7;
}

.dashboard-buttons {
    padding: 15px 0px;
}

.dashboard-buttons .nav li {
    padding-left: 8px;
    padding-right: 8px;
}

.dashboard-buttons .nav li a {
    padding-top: 15px;
    padding-bottom: 15px;
}

.dashboard-buttons .nav li a {
    background-color: white;
}

.dashboard-buttons .nav li a:hover {
    background-color: lightgray;
}

.dashboard-buttons .nav li.active a {
    background-color: #0071bc;
}

.help-link {
    text-align: right;
    float: right;
    margin-top: 24px;
}

.dashboard {
    margin-top: 25px;
}

.dashboard-text {
    float: right;
    clear: both;
    padding-top: 25px;    
}

.dashboard-text.no-padding {
    padding-top: 0px;
}

.dasboard-warning {
    clear: both;
    padding-top: 10px;
    font-style: italic;
    color: rgb(120,120,120);
    display: none;
}

h2 {
    clear: both;
}

.noMarginBottom{
    margin-bottom:0px;
}

.noMarginTop{
    margin-top:0px;
}

/* Custom CSS generally relevant for Area Health Resources Files dashboard pages.*/
/* AHRF content styles: Title - Explore Workfoce Data & Clinician Data*/
.dashboard-AHRF {
    margin-top: 25px;
    padding-top: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #cbd7e7;
    margin-bottom: 20px;
}

.dashboard-AHRF-table {
    padding-bottom: 20px;
}

@media (max-width:320px){
    .dashboard-AHRF-table {
        padding-bottom: 30px;
    }
}

.dashboard-AHRF-table-title {
    float: right;
    padding-top: 6px;
    padding-left: 15px;
}

/*Health Profession tooltip*/
.dashboard-AHRF-dropdown-list-wrapper .tooltip {
    top: -15px;
}

.dashboard-AHRF-dropdown-list-wrapper .tooltip-inner {
    width: 550px;
}
.tooltipHandle{
    cursor: pointer;
}
/*AHRF dropdown menus title*/
.dashboard-AHRF-dropdown-list-wrapper {
    position: relative;
    border-radius: 8px;
    background-color: #fff;
    padding: 15px 45px 30px 45px;
}
/*AHRF dropdown menus layout*/
#healthProfessionDropdown {
    padding-left: 0;
    padding-right: 5px;
}

#healthProfessionSubDropdown {
    padding-left: 5px;
}

#popolationDropdown {
    padding-right: 5px;
}

#populationSubDropdown {
    padding-left: 5px;
    padding-right: 20px;
}

#stateDropdown1 {
    padding-right: 5px;
}

#stateDropdown2 {
    padding-left: 5px;
    padding-right: 20px;
}

#stateDropdown {
    padding-left: 5px;
}

#resetBtn {
    padding-top: 30px;
    padding-left: 0;
}

#submitBtn {
    padding-top: 30px;
    padding-left: 5px;
}

/*AHRF dashboard Print excel*/
#AHRFDataSelectionWrapper {
    position: relative;
    background-color: #edf1f7;
    border: 1px solid #ddd;
    /* height: 40px;*/
}

#AHRFDataPrinting {
    padding: 8px 12px 8px 20px;
}

#AHRFDataPrinting h6 {
    margin: 0;
    padding: 5px 5px 6px 0;
    display: inline;
}

#AHRFDataPrinting #downloadLinks {
    float: right;
    color: #205493;
    font-size: 16px;
    display: inline;
    padding-right: 10px;
}

@media (max-width: 1280px){

    #submitBtn {
        padding-left: 20px;
    }

}

@media (max-width: 1024px) {
    #releaseYearDropdown, #healthProfessionDropdown, #healthProfessionSubDropdown,
    #popolationDropdown, #populationSubDropdown, #stateDropdown, #stateDropdown1, #stateDropdown2 {
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 5px;
    }
    /*#resetBtn, #submitBtn {
        padding-left: 5px;
    }*/
    /*#popolationDropdown, #populationSubDropdown {
        width: 100%;
    }*/
    #AHRFDataPrinting #downloadLinks{
        position: relative;
        display: block;
        float: initial;
    }

}

/*The margin between two rows*/
.dashboard-AHRF-dropdown-list-wrapper .row:first-child {
     margin-bottom: 10px;
}

.dropdownListLabel {
    margin-bottom: 4px;
}

/*Adjust the last dropdown list label font size*/
.dashboard-AHRF-dropdown-list-wrapper .row .form-group .col-md-2 {
    font-size: 16px;
}

/*Define customized outline property for doms*/
#healthProfession, #healthProfessionSub, #populationDisplay, #populationSub, #ahrfdStateSelection1, #ahrfdStateSelection2 {
    outline: 6px solid #cbd7e7 !important;
}
#populationDisplay {
    margin-left: 5px;
}
#healthProfession:focus, #healthProfessionSub:focus, #populationDisplay:focus, #populationSub:focus {
    outline-offset: 0;
}

/*AHRF dashboard content*/
.dashboard-AHRF-Details {
    position: relative;
    border-radius: 8px;
}

#AHRFDetailList {
    padding-top: 20px;
    padding-bottom: 30px;
}

/*Toggle HP & Release Year Descriptions*/
#ToggleRYDescription, #ToggleHPDescription {
    cursor: pointer
}

@media (max-width:1024px) {
    #healthProfession, #healthProfessionSub, #populationDisplay, #populationSub {
        outline: 0px !important;
    }

    .dashboard-AHRF-dropdown-list-wrapper .row:first-child {
        margin-bottom: 0px;
    }

    .dropdownListLabel {
        margin-bottom: 0px;
    }

    .dashboard {
        margin-top: 0px;
    }

    .dashboard-text {
        padding-top: 0px;
    }

    .form-group {
        margin-bottom: 0px;
    }
    #populationDisplay {
        margin-left: 0px;
    }

    .dashboard-AHRF-dropdown-list-wrapper {
        padding: 0px;
    }
}
@media (min-width:768px) and (max-width:1024px) {

    .dashboard-AHRF {
        margin-top: 0px;
        padding-top: 0px;
    }
    /*#resetBtn, #submitBtn {
        margin-right: 25px;
    }*/

}
@media (min-width:769px) and (max-width:1024px) {
    #popolationDropdown,  #populationSubDropdown {
        width: 26%;
    }

    #stateDropdown1, #stateDropdown2 {
        width: 40%;
    }
}

@media (max-width:768px) {
    #resetBtn, #submitBtn {
        padding-top: 10px;
        justify-content: flex-end;
        display: flex;
    }
    /*.popupContentStep {
        width: 7% !important;
    }*/
    .popupContentCircle {
        padding-left: 10px !important;
    }
}
@media (min-width:1025px) {
    #popolationDropdown, #populationSubDropdown {
        width:28%;
    }

    #stateDropdown1, #stateDropdown2 {
        width: 40%;
    }
}
@media (max-width:480px){
    /*.popupContentStep {
        width: 20% !important;
    }*/
   
}
.popupContentCircle {
    background: #205493;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-right: 5px;
    text-align: center;
    width: 1.6em;
    padding-left: 10px;
}
.popupContentStep {
    color: #205493;
    font-weight: bold;
    width: 60px;
}
.popupTitle {
    color: #205493;
    font-weight:bold;
}
.sticky{
    top:0;
    position:sticky;
    z-index:100;
}
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
/*.methodsAndDefinitions {
    font-weight: 500;
    color: #205493;
}*/
/* The Modal (background) */
.modalBrowserDetect {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    padding-top: 20%; /* Location of the box */
    padding-bottom:20%;
    padding-left:10%;
    padding-right:10%;
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-contentBrowserDetect {
    background-color: #fefefe;
    margin: auto;
    padding: 50px;
    border: 1px solid #888;
    width: 80%;
}
.pModalContentBrowserDetect {
    text-align:center;
    font-size:16pt;
    font-weight:bold;
    margin:0px;
}

.dashboard-AHRF-table-title {
    float: right;
    padding-top: 6px;
    padding-left: 15px;
}

.dashboard-AHRF-btns {
    display: inline-flex;
}

    .dashboard-AHRF-btns .btn {
        color: #205493;
        font-family: "Merriweather",serif;
        font-weight: 400;
        font-size: 20px;
        border-radius: 8px;
        margin-right: 16px;
    }

    .dashboard-AHRF-btns .btn-primary {
        color: #fff;
        /*background-color: #2D83BF;*/
        border-color: #2D83BF;
    }

#stateDropdown1{
    width: 40%;
}

#stateDropdown2{
    width:42%
}

.dgrid-scrollerOverride {
    overflow-x: auto;
    overflow-y: scroll;
    position: absolute;
    top: 0px;
    margin-top: 90px !important;
    bottom: 0px;
    width: 100%;
}
.dgrid-headerOverride{
    overflow:hidden;
    height:90px !important;
}
#grid-header tr:first-child {
    border-bottom: 1px solid;
}
#grid-header .thPercentage, #thColSpanSecondPart, #thColSpanFirstPart {
    border-right: 1px solid;
}
/*#grid-header tr:first-child label{
    padding-right:5px;
    padding-left:5px;
}*/
.form-control{
    background-color:#fff;
}
.esri-widget__table tr th{
width:70%
}
.esri-widget__table tr td{
    width:30%
}
.dgrid .dgrid-hider-toggle {
    display: none;
}

.dgrid-overrideAhrfDiverity{
    height:22em !important;
}

.radio-inline + .radio-inline {
    margin-left: 0px;
}
/*no hide/show column option used to allocate space*/
/*.dgrid-header-row{
    right:unset;
}*/