/* Multiple Reference Areas / Mulriple Time Periods*/
.shiny-options-group {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: baseline;
    border: 1px solid #003299;
    border-radius: 8px;
    width: 45rem;
    height: 3.2rem;
    margin-left: 0!important;
}

.radio-active {
    color: white !important;
    background-color: #003299 !important;
    border-radius: 6px;
}

.radio {
    padding-top: 5px;
    padding-bottom: 5px;
    width: 25rem;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

/* Remove dot from radio button */
input[type="radio"]{
    visibility: hidden;
    height: 0;
    width: 0;
}

/* radio button styling */
.filter_picker {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.filter_picker_item {
    align-self: flex-end;
}

.row {
    margin-left: 0.3rem !important;
}

.indicator_picker {
    gap: 1rem;
}

.indicator-filter-container {
    display: flex;
    flex-direction: row;
    gap: 19rem;
}

.shiny-input-container:not(.shiny-input-container-inline) {
    max-width: 215px !important;
}


/* select indicator dropdown width */
.dropdown-menu {
    z-index: 2000 !important;
}
#filter_inputs-label_selection_ui > div > div {
    width: 410px !important;
}

.filter_states {
    margin-left: 0.3rem;
}

.refresh_button {
    margin-top: 2.5rem;
    margin-left: 10px;
}

#filter_inputs-refresh {
    color: #003299;
}

#filter_inputs-refresh {
    border: none;
}

/* material switch*/
.material-switch>label:before {
    height: 22px !important;
    margin-top: -10px !important;
    border-radius: 12px !important;
}

.material-switch>label:after {
    background: #fff !important;
    height: 18px !important;
    width: 18px !important;
    margin-top: -4px !important;
    left: 1px;
}

.close-all-section {
    display: flex;
    gap: 10px;
}

.toggle-group {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 17rem;
}

.select-btn {
    width: 100%;
    font-size: 12px;
    line-height: 2;
    margin-top: 3px;
    border: 1px solid;
    border-radius: 3px;
    background-color: #fff;
    border-color: #ccc;
}

.select-btn:hover {
    background-color: #e6e6e6;
}

.select-btn-small {
    width: 50%;
    position: relative;
    float: left;
    font-size: 12px;
    line-height: 2;
    margin-top: 3px;
    margin-bottom: 3px;
    border: 1px solid;
    border-radius: 3px;
    background-color: #fff;
    border-color: #ccc;
}

.select-btn-small:hover {
    background-color: #e6e6e6;
}

#global_table > div:nth-child(2) > div > div.table-header-row > div.close-all-section > div.form-group.shiny-input-container {
    width: 50px !important;
    max-width: 20% !important;
}

.dropdown-select-active {
    background-color: #e6e6e6;
}

.dropdown-select-deselect-all {
    display: flex;
}

/* plot switch*/
.plot-switch {
    width: 30em;
}

#plot-switch {
    margin: auto;
    width: 50%;
}

/* the first svg should be blue */
#line_svg {
    fill: #003299;
}

#bar_svg {
    fill: white;
}


.radiobtn {
    min-width: 180px !important;
}

.btn-plot-switch-button {
    background-color: #003299;
    color: white;
    height: 5rem !important;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    width: 5rem;
    border-radius: 0;
}

.btn-plot-switch-button:hover {
    background-color: white;
    color: #003299;
}

.btn-plot-switch-button.active {
    background-color: #fff;
    color: #003299;
}


.btn-plot-switch-button.active svg {
    fill: #003299;
}

[role=listbox] {
    max-height: 16em !important;
}

/* Responsive elements */
@media (max-width: 839px) {
    .filter_picker {
        flex-direction: column;
    }
    .filter_picker_item {
        align-self: flex-start;
    }
}

@media (max-width: 500px) {
    .radiobtn {
        min-width: 130px !important;
    }
}
