.filter {
    background: #fff;
    box-shadow: 0 8px 16px 0 rgba(28, 50, 84, 0.07);
    min-height: 4.8rem;
    flex: 1 1 auto;
    margin-bottom: 3rem;
    max-height: calc(100vh - 140px);
    overflow: auto;
}
.filter__options {
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
}
.filter__option {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}
.filter__option__select {
    user-select: none;
}
.filter__checkbox {
    margin-right: 1rem;
    position: relative;
    height: 2.2rem;
    width: 2.2rem;
    border: 0.1rem solid rgba(104, 119, 141, 0.3);
    border-radius: 0.6rem;
    outline: none;
    transition: all 250ms;
}
.filter__checkbox__inner {
    opacity: 0;
    width: 100%;
    cursor: pointer;
    height: 100%;
    margin: 0;
    position: absolute;
    z-index: 100;
}
.filter__checkbox::after {
    content: "";
    position: absolute;
    background: url("../../images/icons/icon-checkmark-green.svg");
    opacity: 0;
    left: 50%;
    top: 50%;
    width: 1.5rem;
    height: 1rem;
    transform: translate(-50%, -50%);
    transition: 350ms ease-in-out;
}
.filter__checkbox-checked {
    border: 0.1rem solid #9ade19;
}
.filter__checkbox-checked::after {
    opacity: 1;
}
.filter__default {
    background: transparent;
    box-shadow: none;
}
.filter__anchor {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.filter__anchor::after {
    content: "";
    position: absolute;
    height: 40px;
    border-radius: 0 1.6rem 1.6rem 0;
    width: 4px;
    background: #9ade19;
    left: -30px;
    opacity: 0;
    transition: opacity 250ms ease-in-out;
}
.filter__anchor:hover::after {
    opacity: 1;
}
.filter__anchors {
    width: 100%;
}
.filter__bg {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #000;
    transition: opacity 250ms;
    opacity: 0;
    left: 0;
    z-index: -99;
}
.filter__bg-active {
    position: fixed;
    opacity: 0.5;
    z-index: 99;
    top: 0;
}
.filter__group {
    background: #fff;
    box-shadow: 0 8px 16px 0 rgba(28, 50, 84, 0.07);
    left: 0;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    border-radius: 10px;
    z-index: 10;
    overflow: hidden;
}
.filter__label {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0.75rem 20px;
    cursor: pointer;
}
.filter__label__text {
    color: #03274f;
    font-family: "Ubuntu Medium";
    font-size: 16px;
    line-height: 24px;
    margin-right: 0.5rem;
}
.filter .arrow {
    transition: all 350ms;
    margin-left: auto;
}
.filter .arrow-g {
    fill: #03274f;
    transition: all 350ms;
}
.filter__body {
    overflow: hidden;
    max-height: 0;
    width: 100%;
    background: #fff;
    transition: 250ms height;
}
.filter__items {
    padding: 0 2rem 2rem 2rem;
    height: auto;
    overflow: auto;
}
.filter__open {
    border-radius: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    max-height: inherit;
    overflow: inherit;
}
.filter__open .filter__body {
    height: auto;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    max-height: calc(100vh - 165px);
}
.filter__open .filter__group {
    position: relative;
    top: 0rem;
    z-index: 101;
    box-shadow: 0 0.8rem 1.6rem 2rem rgba(28, 50, 84, 0.05);
}
.filter__open .arrow {
    transform: rotate(180deg);
}
.filter__open .arrow-g {
    fill: #94d200;
}
.filter__sticky .filter__group {
    position: fixed;
    top: 7rem;
    border-radius: 0;
    z-index: 101;
    box-shadow: 0 0.8rem 1.6rem 0.2rem rgba(28, 50, 84, 0.05);
}
@media (min-width: 992px) {
    .filter {
        min-height: 0;
        position: sticky;
        top: 135px;
    }
    .filter__label {
        padding: 2rem;
    }
    .filter__default {
        background: #fff;
        box-shadow: 0 8px 16px 0 rgba(28, 50, 84, 0.07);
    }
    .filter .arrow {
        display: none;
    }
    .filter__group {
        position: relative;
    }
    .filter__body {
        max-height: inherit;
    }
    .filter__items {
        padding: 0;
        max-height: inherit;
    }
    .filter__anchor {
        margin: 2rem 3rem;
    }
    .filter__bg {
        display: none;
    }
    .filter filter__open .filter__group {
        position: absolute;
        z-index: 1;
        top: 0;
        box-shadow: 0 8px 16px 0 rgba(28, 50, 84, 0.07);
    }
    .filter__sticky .filter__group {
        position: relative;
        z-index: 1;
        top: 0;
        box-shadow: 0 8px 16px 0 rgba(28, 50, 84, 0.07);
    }
}
@media (min-width: 768px) {
    .filter {
        margin-bottom: 0;
    }
}

.filter .arrow--green {
    display: none;
}
