/************* filtres **************/
.flex {
    display: flex;
    position: relative;
}

.flex .product-list {
    flex-grow: 1;
}

.flex .product-sidebar {
    font-size: 15px;
    margin-right: 15px;
    width: 210px;
    background: #fff;
    flex-shrink: 0;
    transition: all 0.5s ease-in-out;
}

.flex .product-sidebar .header {
    font-weight: bold;
    color: #333;
    padding: 5px;
    text-transform: uppercase;
    text-align: center;
    font-size: 16px;
}

.flex .product-sidebar .header i.pe-icons-filter {
    margin-right: 5px;
}

.flex .product-sidebar .header i.pe-icons-times {
    float: right;
    display: none;
}

.flex .product-sidebar .section {
    background: #4c4c4c;
    color: white;
    margin-top: 20px;
    padding: 6px 12px;
    font-weight: bold;
}

.flex .product-sidebar .box {
    padding: 10px;
}

.flex .product-sidebar .box > label {
    display: block;
    line-height: 18px;
    margin-bottom: 4px;
    font-size: 13px;
}

.flex .product-sidebar .box input {
    margin: 4px 8px 0 0;
    width: 18px;
    height: 18px;
    vertical-align: bottom;
}

.flex .product-sidebar .box.buttons {
    display: none;
}

.flex .product-filter-toggle {
    display: none;
}

.flex .product-filter-toggle button {
    background: #0f0f0f;
    color: white;
    padding: 14px 8px;
    font-size: 16px;
    line-height: 1.42;
    border: 0;
    width: 100%;
}

.flex .product-filter-toggle button i {
    margin-right: 5px;
    vertical-align: middle;
    font-size: 20px;
}

.flex .product-sidebar .box.buttons > button {
    background: black;
    color: white;
    border: 0;
    margin: 5px;
    flex-grow: 1;
    position: relative;
    padding: 8px 12px 8px 35px;
}

.flex .product-sidebar .box.buttons > button > i {
    position: absolute;
    left:10px;
    top:50%;
    margin-top:-10px;
}

.flex .product-sidebar .box.buttons > button.remove-filter {
    background: grey;
}

@media (max-width: 1200px) {

    .flex {
        display: block;
    }

    .flex .product-sidebar {
        position: absolute;
        left: 0;
        max-width: 300px;
        width: 100%;
        z-index: 101;
        border: 1px solid #4c4c4c;
        box-shadow: 1px 1px 12px black;
    }

    .flex .product-sidebar.not-active {
        opacity: 0;
        transform: translateX(-200px);
    }

    .flex .product-filter-toggle {
        display: block;
    }

    .flex .product-sidebar .header i.pe-icons-times {
        display: block;
        font-size: 1.25em;
    }

    .flex .product-sidebar .box.buttons {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
    }
}