h1 {
    margin: 10px;
}

.showDesktopOnly {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.showMobileOnly {
    display: block;
}

.fadeSticky {
    position: sticky;
    top: 60px;
    padding: 10px 0;
    background: linear-gradient(180deg, rgba(243, 243, 243, 1) 0%, rgba(243, 243, 243, 1) 45%, rgba(243, 243, 243, 0.9) 90%, rgba(243, 243, 243, 0.7) 95%, rgba(243, 243, 243, 0) 100%);
    z-index: 3;
}

.showbottom {
    background: white;
    position: sticky;
    bottom: 5%;
    z-index: 5000;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    line-height: 40px;
    height: 54px;
    justify-content: center;
}

select[disabled] {
    background-color: #ffffff !important;
    color: #c4c4c4 !important;
}

.showtop {
    background: white;
    position: sticky;
    top: 0;
    z-index: 5000;
    width: 98%;
    display: flex;
    flex-wrap: wrap;
    line-height: 40px;
    height: 42px;
    justify-content: space-between;
    padding: 4px 7px 5px 4px;
}

.nolink {
    text-decoration: none;
}

#treeWrap {
    padding:0;
    box-sizing: border-box;
    border:1px solid var(--edogs-color-light-grey);
    border-radius: 5px;
    background-color: #fff;    
}

.filterWrapper {
    margin-bottom: 50px;
}


.badge {
    background: #7d7d7d;
    text-align: center;
    padding: 2px;
    border-radius: 14px;
    height: 22px;
    width: 22px;
    line-height: 22px;
}

.regWrap, .resultCountBox {
    display: none;
}

#jumpUp {
    bottom: 60px;
}

.opaque {
    opacity: 0.3;
}
.pl10 {
    padding-left:10px !important;
}

.primaryFilter.range .activatedFilter {
    display: flex;
}

.noComma:after {
    content: " " !important;
}

.commaBefore:before {
    content: ", "
}

.primaryFilter .activatedFilter span:not(:empty):not(:last-child):not(.from):not(.to):after {
    content: ", ";
}

.primaryFilter .activatedFilter .range span:not(:last-child):after {
    content: ", ";
}

.dropdown.activatedFilter {
    padding-left: 10px;
    font-size: smaller;
}

.primaryFilter .activatedFilter {
    color: grey;
    font-size: 0.85em;
}

.dropdown .showLayer.open ~ .activatedFilter {
    display: none;
}

.resultCountButton {
    border-radius: 5px;
    width: 95%;
    height: 45px;
    line-height: 43px;
}

@media(min-width: 988px) {
    .showMobileOnly {
        display: none;
    }
    
    .filterWrapper {
        border-radius: 5px;
        float: left;
        width: 22%;
        margin-right: 2%;
    }
    
    .showLayer {
        font-size: 16px;
        margin-bottom: 15px;
        font-weight: bold;
    }

    .dropdown .showLayer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 10px;
        padding-bottom: 5px;
        margin-bottom: 0;
    }

    .primaryFilter.dropdown {
        border-bottom: 1px solid #cdcdcd;
    }

    .primaryFilter.dropdown:last-of-type {
        border-bottom: 0;
    }

    .dropdown .showLayer.open {
        border-bottom: none;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .dropdown .showLayer .iconfont {
        display: block;
    }

    .dropdown .showLayer.open .iconfont {
        transform: rotate(90deg);
    }

    .showLayer .iconfont {
        display: none;
    }

    .layerBack {
        display: none;
        justify-content: space-between;
    }

    .dropdown .activatedFilter {
        display: block;
        padding: 0 0 5px 10px;
    }

    .dropdown .activatedFilter .removeFilter {
        font-size: 11px;
        padding: 0 !important;
        margin: 0;
        cursor: pointer;
        position: absolute !important;
        top: 4px;
        right: 5px;
    }

    .dropdown .secLayer {
        display: none;
        position: relative;
        padding: 10px;
        z-index: 2;
        background: #fff;
        border: 0;
        max-height: 395px;
        overflow-y: auto;
        margin-bottom: 10px;
        line-height: 1.4em !important;
    }

    .dropdown .secLayer .filter {
        width: 100%;
        margin-bottom: 10px;
    }

    .dropdown .secLayer .filter:last-child {
        margin-bottom: 0;
    }

    #txtHintBig {
        position: absolute;
        margin-left: 898px;
        width: 190px;
    }

    #txtHintBig.fixed {
        position: fixed;
        top: 80px;
        z-index: 1;
    }

    #txtHintBig.posAbsBottom {
        position: absolute;
        bottom: 10px;
    }


    .regWrap, .resultCountBox {
        width: 100%;
        display: block;
        margin: 0 0 10px 0;
    }

    .regWrap div, .regWrap a {
        border: 1px solid #cdcdcd;
    }
}

@media(max-width: 987px) {
    .showDesktopOnly {
        display: none;
    }

    #treeWrap {
        z-index: 999999;
        overflow-x: hidden;
        overflow-y: scroll;
        height: 100vh;
        width: 100vw;
    }
    
    .selectFilterBar {
        background-color: #FFFFFF;
        position: sticky;
        bottom: 0;
        z-index: 5000;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        line-height: 40px;
        height: 54px;
        justify-content: center;
        padding-top: 25px;
        flex-direction: column-reverse;
        align-content: center;
    }

    .primaryFilter {
        padding: 15px 15px 15px 0;
        margin-left: 10px;
    }

        .primaryFilter:after {
            content: "";
            border-bottom: 1px solid #f4f4f4;
            position: absolute;
            width: 100%;
            padding-top: 15px;
        }

        .primaryFilter .showLayer {
            font-size: 16px;
            font-weight: bold;
        }

    .showLayer .iconfont {
        color: #7d7d7d;
        position: absolute;
        right: 10px;
        font-size: 20px;
    }

    .primaryFilter .activatedFilter {
        font-size: 12px;
    }


    .activatedFilter .removeFilter {
        display: none;
    }

    .secLayer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #ffffff;
        z-index: 1000;
        display: none;
        opacity: 0;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .layerBack {
        background-color: #fff;
        padding: 10px;
        display: flex;
        justify-content: space-between;
        position: sticky;
        top: 0;
        z-index: 1001;
        border-bottom: 5px solid #f4f4f4;
    }

        .layerBack .iconfont {
            color: #7d7d7d;
        }

    .layerContent {
        background-color: #fff;
        padding: 10px;
        font-size: 16px;
        margin-bottom: 50px;
    }

        .layerContent label.checkbox {
            padding-top: 10px;
            padding-bottom: 10px;
            padding-right: 25px;
        }

            .layerContent label.checkbox:after {
                content: "";
                border-bottom: 1px solid #f4f4f4;
                position: absolute;
                display: block;
                width: 106%;
                left: -10px;
                padding-top: 10px;
            }

            .layerContent label.checkbox:last-child:after {
                display: none;
            }

            .layerContent label.checkbox:first-child {
                padding-top: 0 !important;
            }

            .layerContent label.checkbox:last-child {
                padding-bottom: 0 !important;
                border-bottom: none;
            }

        .layerContent label.checkbox {
            padding-left: 0;
            width: 100%;
        }

            .layerContent label.checkbox:first-child span {
                top: 0;
            }

        .layerContent label.checkbox span {
            top: 4px;
            right: 0 !important;
            left: unset;
            border: 0;
            font-size: 20px;
            color: #4d4d4d !important;
            padding-right: 2px;
        }

    .checkbox .iconfont.nodisplay {
        display: block;
        color: #f1f1f1 !important;
    }

    /*price mobile*/
    .layerContent .properties {
        margin-bottom: 20px;
    }

    .slideLayerIn {
        animation-name: slideInRight;
        animation-duration: 0.3s;
        animation-fill-mode: both;        
        display: block;
        width: 100vw;        
    }

    @keyframes slideInRight {
        0% {
            transform: translateX(100%);            
            opacity: 0;
        }

        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }

    .slideLayerOut {
        animation-name: slideOutRight;
        animation-duration: 0.3s;
        animation-fill-mode: both;
    }

    @keyframes slideOutRight {
        0% {
            transform: translateX(0);            
            opacity: 1;
        }

        100% {
            transform: translateX(100%);
            opacity: 0;
        }
    }
}
