/* -- FIXES -- */

.filterSection ul.propsContent,
.filterSection ul.propsContentSelected {
    padding: 0; /* [!] fix of what? */
    margin: 0;
    list-style-type: none;
}

.filterSection .header {
    margin: 0;
}

.filterSection .body .cleanFilter {
    text-decoration: none;
}

/* -- LAYOUT -- */

.filterSection .propsContentSelected.hidden {
    display: none;
}

.filterSection {
    display: flex;
    flex-direction: column;
}

.filterSection .body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.filterSection .body .filters {
    display: flex;
    flex-direction: column;
}

.filterSection .body .filter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.filterSection .filter.typeInterval {
    display: flex;
    flex-direction: column;
}

.filterSection .filter.typeInterval {
    align-self: center;
}

.filterSection .filter.typeInterval .fromToLine {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.filterSection .filter.typeInterval .fromToLine span {
    align-self: center;
}

.filterSection .body .cleanFilter {
    align-self: center;
}

/* -- STYLING -- */

.filterSection {
    text-align: center;
}

.filterSection .header {
    white-space: nowrap;
    background-color: #ee1d25;
    text-transform: uppercase;
    font-size: 15px;
    font-family: 'Roboto Regular';
}

.filterSection .body {
    border-bottom: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    background-color: white;
}

.filterSection .body .filter {
    border-top: 1px solid #e0e0e0;
}

.filterSection .body .cleanFilter {
    border: 2px solid #4dab3b;
    border-radius: 3px;
    color: #359323;
    text-transform: uppercase;
    font-family: 'Roboto Regular';
    font-size: 12px;
}

.filterSection .body .filter:first-child {
    border-top: none;
}

.filterSection .filter.typeInterval .fromToLine input.fromto {
    color: #989898;
    font-family: 'Roboto Bold';
    border: 1px solid #e0e0e0;
    border-radius: 1px;
    width: 57px;
    text-align: center;
}

.filterSection ul.propsContent li label,
.filterSection ul.propsContentSelected li label {
    text-align: left;
}

/* -- SPACING -- */

.filterSection {
    margin-left: 30px;
    min-width: 270px;
}

.filterSection .header {
    line-height: 64px;
}

.filterSection .body {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 8px;
}

.filterSection .body .cleanFilter {
    line-height: 45px;
    margin-top: 5px;
    margin-bottom: 15px;
    min-width: 205px;
}

.filterSection .filter.typeInterval {
    margin-bottom: 30px;
}

.filterSection .filter.typeInterval .fromToLine {
    margin-top: 15px;
}

.filterSection .filter.typeInterval .fromToLine input.fromto {
    line-height: 26px;
    margin-left: 10px;
    margin-right: 10px;
}

.filterSection .section_header {
    margin-top: 17px;
    margin-bottom: 5px;
}

.filterSection ul.propsContent li {
    margin-top: 10px;
    margin-bottom: 10px;
}

.filterSection ul.propsContent li label,
.filterSection ul.propsContentSelected li label {
    max-width: 206px;
}

.filterSection ul.propsContentSelected li {
    margin-top: 10px;
    margin-bottom: 10px;
}

.filterSection .filter.typeMultiselect {
    padding-top: 10px;
}

/* == OVERLAY == */

/* -- LAYOUT -- */

.filterSection .loadOverlay {
    position: absolute;
    z-index: 3;
    display: none;
}

.filterSection.inLoading .loadOverlay {
    display: block;
}

/* -- STYLING -- */

.filterSection .loadOverlay {
    background-color: white;
}

/* -- SPACING -- */

.filterSection .loadOverlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* -- EFFECTS -- */

.filterSection .loadOverlay {
    opacity: 0.5;
    filter: alpha(opacity=50);
}

/* == SLIDER == */

/* -- STYLING -- */

.filterSection .jslider .jslider-bg i,
.filterSection .jslider .jslider-pointer {
    background-image: none;
}

.filterSection .jslider .jslider-bg i {
    background-color: black;
}

.filterSection .jslider .jslider-bg .l {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.filterSection .jslider .jslider-bg .r {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.filterSection .jslider .jslider-pointer {
    width: 20px;
    height: 20px;
    background-color: #ee1d25;
    border-radius: 10px;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.35);
}

/* -- SPACING -- */

.filterSection .jslider  {
    margin-top: 30px;
}

.filterSection .jslider .jslider-pointer {
    margin-left: -10px;
    margin-top: -8px;
}

.filterSection .jslider .jslider-value {
    line-height: 8px;
}

/* == MOBILE == */

/* -- LAYOUT -- */

#filter_checkbox {
    display: none;
}

.filter_open_close {
    display: none;
}

.filter_close {
    display: none;
}

@media screen and (max-width: 963px) {
    /* -- LAYOUT -- */
    .filter_close {
        display: inline;
    }
    #filter_checkbox + .filterSection {
        display: none;
    }
    #filter_checkbox:checked + .filterSection {
        display: flex;
        position: fixed;
        z-index: 599;
    }
    .filter_header_and_close {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }
    .filter_open_close {
        display: block;
    }
    .filter_close {
        display: block;
    }
    /* -- STYLING -- */
    .filter_header_and_close {
        background-color: #ee1d25;
    }
    .filter_close {
        width: 24px;
        height: 24px;
        background-image: url('../img/close.png');
    }
    .filter_open_close {
        width: 75px;
        height: 50px;
        background-image: url('../img/filter.jpg');
    }
    .filter_close:hover {
        background-image: url('../img/close-hover.png');
    }
    .filterSection {
        box-shadow: 0px 0px 2px 2px rgba(128, 128, 128, 0.1);
    }
    /* -- SPACING -- */
    .filterSection {
        top: 0;
        margin-left: 0px;
    }
    .filter_header_and_close {
        padding-left: 10px;
        padding-right: 10px;
    }
}
