/*

Blue:           #0d1d5b
Blue dark:      #0A174C
Orange:         #2097e2
Orange dark:    #FF6338

*/
.section-filters {
    margin-top: 0px;
    padding-bottom: 30px;
}
.fbindex,
.fbbooking {
    display: inline-flex;
    width: auto;
    padding: 20px 25px 20px;
    z-index: 99;
    /*
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    */
    position: relative;
    background: transparent;
    border-radius: 0px;

}
.fbbooking {
    padding-left: 0;
}

.fbindex.fluid,
.fbbooking.fluid {
    justify-content: space-evenly;
    margin: 0 -5px;
    width: calc(100% + 10px);
}
.fbindex.fluid .filteritem,
.fbbooking.fluid .filteritem {
    width: 100%;
    margin: 0 5px 5px 5px;
}

.filterpanel .field {
    margin: 12px 0;
}

.filterpanel .field.stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.filterpanel .field.checkbox,
.filterpanel .field.radio {
    position: relative;
}
.filterpanel .field.checkbox input,
.filterpanel .field.radio input {
    position: absolute;
    opacity: 0;
}
.filterpanel .field.checkbox label,
.filterpanel .field.radio label {
    display: block;
    padding-left: 32px;
    line-height: 1.3;
    margin: 0;
    cursor: pointer;
    font-size: 15px
}
.filterpanel .field.checkbox label:before,
.filterpanel .field.radio label:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(24, 21, 69, 0.2);
    background: white center center / 20px 20px no-repeat url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAyMCAyMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNS41IDEwbDMgM2w2IC02IiBmaWxsPSJub25lIiBzdHJva2U9IiNGRkYiIHN0cm9rZS13aWR0aD0iMS41Ii8+PC9zdmc+");

    transition: background-color .2s;
}
.filterpanel .field.radio :checked + label:before,
.filterpanel .field.checkbox :checked + label:before {
    background-color: #2097e2;
    border-color: #2097e2;
}
.filterpanel .field.checkbox label:before {
    border-radius: 3px;
}
.filterpanel .field.radio label:before {
    border-radius: 50%;
}

.filterpanel .stepper {
    display: flex;
}
.filterpanel .stepper button {

    -webkit-appearance: none;
    margin: 0;
    border: 1px solid rgba(33, 49, 114, 0.2);
    background-color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #0d1d5b;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.filterpanel .stepper button:hover {
    color: #213172;
    border-color: rgba(33, 49, 114, 0.6);
}
.filterpanel .stepper input {
    -webkit-appearance: none;
    margin: 0 5px;
    border: 1px solid rgba(33, 49, 114, 0.2);
    background-color: #FFF;
    color: #213172;
    height: 36px;
    width: 64px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 0px;
    text-align: center;

    transition: border-color .2s;
}
.filterpanel .stepper input:focus {
    border-color: #213172;
}

.filteritem, .filtertext {
    position: relative;
}
.fbindex .filteritem, .fbindex .filtertext,
.fbbooking .filteritem, .fbbooking .filtertext {
    margin: 0 10px 0px 0;
}
.fbcover .filteritem {
    width: 100%;
}




.fbindex .filteritem > .filterlabel,
.fbbooking .filteritem > .filterlabel {
    font-family: 'condor';
    padding: 15px 20px;
    border: 1px solid rgba(33, 49, 114, 0.3);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.178);
    cursor: pointer;
}

.filtertext {
    padding: 16px 20px 16px 0;
    font-size: 16px;
    line-height: 1;
    margin-right: 0;

}


.fbindex .filteritem.open > .filterlabel,
.fbbooking .filteritem.open > .filterlabel {
    border-color: rgba(33, 49, 114, 1);
    box-shadow: inset 0 0px 0px 1px rgba(33, 49, 114, 1);
    background-color: rgba(255, 255, 255, 1);
    
}
.fbindex .filteritem.set > .filterlabel,
.fbbooking .filteritem.set > .filterlabel {
    border-color: #2097e2;
    color: #2097e2;
    background-color: rgba(32, 152, 226, 0.1);
}
.fbindex .filteritem.set.open > .filterlabel,
.fbbooking .filteritem.set.open > .filterlabel {
    box-shadow: inset 0 0px 0px 1px #2097e2;
}

.filterpanel {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: #FFF;
    border-radius: 0px;
    width: 260px;
    box-shadow: 0 40px 100px -10px rgba(0, 0, 10, 0.1), 0 30px 70px -20px rgba(33, 49, 114, 0.2);
    /* padding-bottom: 70px; */
    z-index: 99999999 !important;
}
.fbcover .filterpanel {
    top: 100%;
}

@media screen and (min-width: 420px) {

    
    .filterpanel {
        width: 360px;
    }
}

.filteritem.open .filterpanel {
    display: block;
}
.filterpanel.large {
    width: 800px;
    /*max-height: calc(100vh - 300px);*/
}


.filterpanel .content {
    position: relative;
    padding: 10px 20px;
    max-height: auto;

}


.filterpanel .content .cols {
    display: flex;
    justify-content: space-evenly;


    padding: 0px 0 20px;
    border-bottom: 1px solid #eee;

}
.filterpanel .content .cols:last-child {
    border-bottom: none;
}
.filterpanel .content .cols .col {
    width: 100%;

}
.filterpanel label {
    font-weight: 700;
    color: #213172;
}

.filterpanel .foot {

    width: 100%;
    height: 70px;
    background: #fff;
    padding: 1rem;
    border-top: 1px solid #ebebeb;
    border-radius: 0 0 5px 5px;
    display: flex;
    justify-content: flex-end;
    align-items: center;

}
.filterpanel.large .foot {
    /* position: absolute;
    bottom: 0; */
}

.filterbar button:not(.searchbox-button):not(.cal-nav) {
    -webkit-appearance: none;
    margin: 0;
    padding: 12px 1.5rem 10px;
    font-size: 14px;
    letter-spacing: 1px;

    line-height: 1;
}
.filterbar button.clear-button {
    padding-left: 0;
    padding-right: 0;
    border: none;
    background: none;
    color: rgba(33, 49, 114, 0.651);
    text-decoration: underline;
    margin-right: 20px;
    letter-spacing: 0 !important;
}
.filterbar button.clear-button:hover {
    color: rgba(33, 49, 114, 0.6);
}
.filterbar button.save-button {
    font-family: 'condor';
    border: 1px solid rgba(33, 49, 114, 0.2);
    background-color: #2097e2 !important;
    color: white;
    border-radius: 100px;
    font-weight: 700;
    text-transform: uppercase;
}
.filterbar button.save-button:hover {
    background-color: #1686cc !important;
}

.filterpanel .subheader {

    font-weight: 700;
    margin: 20px 0 0rem 0;
    line-height: 1;
    color: #213172;
}

.searchbox span.input-group-field {
    font-family: 'condor', sans-serif;
	display: block;
    padding: 1rem;
    line-height: 1;
    background-color: white;
    border: 1px solid #eee;
    font-size: 18px;
}
.searchbox span.input-group-field .placeholder {
    opacity: 0.5;
    font-size: 16px;
    position: relative;

}
.filterbar .input-group {
    cursor: pointer;
}
.filterbar .input-group .input-group-label {
    /*border-radius: 0 !important;*/
    font-size: 18px;
    
}


@media (max-width: 970px) {

    .filterpanel.large {

        max-width: calc(100vw - 60px);
        max-height: auto;
        overflow: hidden;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }
    .filterpanel .content .cols {
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .filterpanel .content .cols .col {
        width: 50%;
        padding:0;

    }

}
@media (max-width: 640px) {
    .fbindex,
    .fbbooking {
       flex-wrap: wrap;
       padding: 0px 0px;
    }
    .filtertext { 
        font-size: 14px;
    }
    .fbindex .filteritem {
        width: calc(50% - 5px);
        margin-bottom: 5px;
        margin-right: 5px;
    }
    .fbbooking .filteritem {
        width: 100%;
    }

    .fbindex .filteritem > .filterlabel,
    .fbbooking .filteritem > .filterlabel {
        font-size: 14px;
        padding: 14px 20px 13px;
    }
    .fbbooking .filteritem > .filterlabel {
        width: 100%;
    }
    .filterpanel .content .cols .col {
        width: 100%;
        padding:0;

    }

}

@media (max-width: 500px) {
    .filterpanel > .content {
        padding: 10px;
    }
}
