/*
*
* Filter structure (button, panel, and panel sections)
*
*/

.filter {
    z-index: 4;
    position: absolute;
    transition: top 0.25s ease;
    pointer-events: none;
}

#filter_panel {
    height: 350px;
    position: absolute;
    pointer-events: all;
}

#filter_btn {
    position: absolute;
    pointer-events: all;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    color: black;
    background-color: rgb(145, 255, 145);
    border-radius: 25px;
}

@media (min-width: 920px) {
    #filter_btn {
        width: 200px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 919px) {
    #filter_btn {
        width: 120px;
        height: 40px;
        font-size: 18px;
    }
}

#filter_btn:hover {
    background-color: rgb(93, 177, 93);
    color: lightgray;
    -webkit-text-stroke: 1px black;
}

#filter_btn:active {
    background-color: rgb(28, 95, 28);
    color: lightgray;
}

#panel_header {
    z-index: 2;
    background-color: rgba(222, 243, 255, 0.7);
    height: 60px;
    position: absolute;
    font-family: "Arial";
    font-weight: bold;
    color: rgb(41, 41, 41);
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    border-top: 5px solid rgba(0, 53, 133, 0.7);
    border-left: 5px solid rgba(0, 53, 133, 0.7);
    border-right: 5px solid rgba(0, 53, 133, 0.7);
}

#panel_body {
    background-color: rgba(222, 243, 255, 0.7);
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    padding-top: 0;
    padding-bottom: 0;
    border-left: 5px solid rgba(0, 53, 133, 0.7);
    border-right: 5px solid rgba(0, 53, 133, 0.7);
}

#panel_footer {
    z-index: 1;
    background-color: rgba(222, 243, 255, 0.7);
    height: 80px;
    position: absolute;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    border-bottom: 5px solid rgba(0, 53, 133, 0.7);
    border-left: 5px solid rgba(0, 53, 133, 0.7);
    border-right: 5px solid rgba(0, 53, 133, 0.7);
}


/*
*
* Subfilter
*
*/

.subfilter {
    float: left;
    position: relative;
    width: 220px;
    height: 95%;
    margin-top: 0;
    margin-bottom: 0;
    font-family: "Arial";
    font-weight: bold;
    color: rgb(41, 41, 41);
    font-size: 14px;
}

.subfilter_header {
    height: 30px;
    text-align: center;
    font-family: "Arial";
    font-weight: bold;
    color: rgb(41, 41, 41);
}

.subfilter_header img {
    position: absolute;
    width: 80%;
    height: 80%;
    pointer-events: none;
}

.subfilter_header p {
    margin-left: 0;
}

.checkbox_list {
    height: 80%;
    overflow-y: auto;
    /* background-color: green; */
}


/*
*
* Checkboxes
*
*/

.check-button {
    border-radius: 25px;
    border: 3px solid rgb(0, 116, 179);
    float: center;
    margin-left: 7px;
    margin-right: 7px;
    margin-bottom: 10px;
    background-color: rgb(200, 236, 255);
}

#list {
    position: relative;
}

#header-button {
    position: absolute;
    width: 30px;
    height: 30px;
    left: 0;
    top: 3px;
}

#header-span {
    height: 10px;
}

.check-button img {
    position: absolute;
    pointer-events: none;
}

.check-button:hover {
    background: rgb(134, 213, 255);
    cursor: pointer;
}

.check-button label {
    width: 100%;
    cursor: pointer;
}

.check-button label span {
    text-align: center;
    text-overflow: ellipsis;
    padding: 1px 0px;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 25px;
}

.check-button label input {
    display: none;
}


/* .check-button label input:indeterminate+span {
    background-color: rgb(192, 192, 192);
} */

.check-button input:checked+span {
    background-color: rgb(75, 168, 255);
    color: rgb(255, 255, 143);
    text-shadow: 1px 1px #ff5e00;
}

#atm {
    left: 4px;
    top: 2px;
    width: 30px;
    height: 30px;
}

#rel {
    left: 10px;
    top: 6px;
}


/*
*
* Slider
*
*/

.slider_container {
    position: absolute;
    width: 80%;
    height: 30px;
    top: 40px;
}

#study_period_checkbox {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    left: 10px;
}

#panel_footer label {
    height: 60px;
    position: absolute;
    font-family: "Arial";
    font-weight: bold;
}

#study_period_label {
    left: 40px;
    top: 15px;
    font-size: 14px;
    color: rgb(41, 41, 41);
}

#slider_value_label {
    left: 140px;
    top: 12px;
    font-size: 18px;
    color: rgb(0, 102, 255);
}

#year_label {
    font-size: 18px;
    color: rgb(41, 41, 41);
}

#slider {
    position: absolute;
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

#slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #0062b3;
    cursor: pointer;
}

#slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #0062b3;
    cursor: pointer;
}


/*
*
* Header contents - All checkbox and instructions
*
*/

#check-all {
    width: 200px;
    text-overflow: ellipsis;
    position: absolute;
    font-family: "Arial";
    font-weight: bold;
    color: rgb(41, 41, 41);
    font-size: 14px;
}

#instructions {
    position: absolute;
}