.filter-wrap .overlay-layout {
    background-color: #F7F9FC;
}

.filter-wrap .overlay-layout .overlay-content {
    margin-bottom: 86px;
}

.filter-wrap .overlay-header {
    background-color: white;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: black;
    height: 64px;
    line-height: 64px;
    box-shadow: 0 0.9px 2px #00000029;
}

.filter-switch {
    background: #0096ff url('/resources/images/products/roll/filter.svg') no-repeat 14px center;
    border: none;
    color: white;
    display: block;
    height: 48px;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    padding-left: 44px;
    box-shadow: 0 0.9px 2px #00000040;
    border-radius: 2px;
}

.filter {
    text-align: left;
    padding: 0 20px 20px 20px;
    max-width: 342px;
    margin: 10px auto;
    overflow: auto;
}

.params {
    padding: 12px 0;
    min-height: 48px;
}

.params a {
    display: inline-block;
    color: #24272E;
    font-size: 16px;
    padding: 2px 15px 2px 20px;
    background: url('/resources/images/products/roll/delete.svg') no-repeat left center;
    white-space: nowrap;
}

.params a:last-child {
    padding-right: 0;
}

.filter-clear {
    color: #0096FF;
    border: none;
    background: none;
    font-size: 16px;
    display: block;
}

.filter .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #24272E;
    font-size: 21px;
    font-weight: bold;
    padding: 27px 0 10px 0;
    border-top: 1px solid #d0d4d9;
    margin-top: 32px;
    position: relative;
}

.filter .title:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 17px
}

.filter .title .mu {
    font-size: 12px;
    padding: 10px 15px;
}

.filter .checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.filter .checkbox input {
    width: 20px;
    height: 20px;
}

.filter .checkbox label {
    padding-left: 10px;
    color: #24272E;
    font-size: 14px;
}

.filter-buttons-wrap,
.overlay-footer {
    height: 86px;
}

.filter-buttons-wrap {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background-color: white;
}

.filter-buttons {
    max-width: 342px;
    display: flex;
    justify-content: space-between;
    margin: auto;
}

.filter-buttons a,
.filter-buttons button {
    display: block;
    height: 42px;
    line-height: 40px;
    width: calc(50% - 5px);
    border: 1px solid #4396f7;
    border-radius: 4px;
    text-align: center;
}

.filter-buttons button {
    background-color: #4396f7;
    color: white;
}

@media (min-width: 374px) {
    .filter-buttons {
        margin: 15px auto;
    }
}

@media (min-width: 768px) {

    .filter-clear {
        text-align: right;
        padding: 14px 0 0 0;
    }

    .params {
        padding: 0;
        margin-top: -2px;
        min-height: 52px;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) {

    .filter-wrap .overlay-layout .overlay-content {
        margin-bottom: 0;
    }

    .roll-wrap .filter {
        display: block;
        margin: auto;
    }

    .filter-switch {
        display: none;
    }

    .filter-buttons-wrap {
        display: none;
    }

    .filter .title .mu {
        padding: 0;
    }
}

@media (min-width: 1201px) {
    .filter .title .mu {
        padding: 10px 15px;
    }
}