:root {
    --kce-lightblue: #bbf3fd;
    --kce-medblue: #349fd5;
    --kce-blue: #004588;
}

.colourway {
    height:25px;
    width:25px;
    margin-right:5px;
}

.filter-item {
    display: flex;
}

    .filter-item input {
        display: block;
    }

@media (max-width:992px) {
    .filter-item input {
        display: none;
    }
}

.toggle-sort, .toggle-sort-desktop, .mbfilter > a {
    text-decoration: none;
}

.select-item-sort.selected::after, .filter-element.feselected a.toggle-desk::after, .mbfilter.feselected a.toggle-filters::after {
    content: "\f147";
    font-family: dashicons;
    float: right;
    font-size: 20px;
    line-height: 20px;
}

.filter-element.feselected a.toggle::before {
    content: "\f147";
    font-family: dashicons;
    float: left;
    font-size: 20px;
    line-height: 20px;
}

.custom-filters-desktop {
    display: none !important;
}

span.icon-filter {
    background-image: url(../images/filters.svg);
    background-size: 20px 17px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    display: inline-block;
    width: 20px;
    height: 17px;
    margin-right: 10px;
}

.filters-heading span.icon-filter {
    width: 24px;
    height: 20px;
    background-size: 24px 20px;
    top: 2px;
    position: relative;
}

.custom-filters {
    float: none !important;
    max-width: 500px !important;
    margin-left: auto;
    margin-right: auto;
}

.open-wrapper {
    display: flex;
}

.filter-item.selected {
    background-color: #e9e6ed;
}

.filter-toggle span {
    float: right;
}

.filter-content {
    display: none;
}

.filter-content-sort {
    display: block;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.strategus-open {
    display: none;
    width: 50%;
    border: 1px solid #ededed;
}

    .strategus-open:first-child {
        border-right: none;
    }

.strategus-filters {
    display: block;
}

.strategus-sort {
    display: block;
}

.filter-button-group {
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.filter-button {
    display: block;
    width: 100%;
    margin-top: 20px;
    background-color: #fff;
    border: 1px solid #c4c4c4;
    color: #c4c4c4;
    border-radius: 0;
    padding-top: 13px;
    padding-bottom: 13px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

a.clear-button {
    text-decoration: none !important;
    color: #333 !important
}

.strategus-filters .filter-element {
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.strategus-filters .filters-heading, .strategus-sort .filters-heading {
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.strategus-sort .filters-heading {
    text-align: center;
}

.filter-element .filter-content {
    border-bottom: 1px solid #ededed;
}

.filter-toggle a {
    font-size: 16px;
    color: #333;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #ededed;
    text-decoration: none;
}

.filter-toggle:last-child a {
    border-bottom: none;
}

.filter-toggle a:before, .filter-toggle a:after {
    display: table;
    content: " ";
}

.filter-toggle a:after {
    clear: both;
}

.filter-item a, .sort-item a {
    display: block;
    padding: 12px 12px;
    color: #333;
    display:flex;
}

.filter-item.selected a::after {
    content: "\f147";
    font-family: dashicons;
    float: right;
    font-size: 20px;
    line-height: 30px;
}

.dashicons.dashicons-arrow-down-alt2 {
    margin-left: 8px;
    margin-top: 2px;
}

.dashicons.dashicons-admin-settings {
    margin-left: 8px;
    margin-top: 2px;
}

.strategus-open {
    display: block;
    text-align: center;
}

    .strategus-open > a, .strategus-open-desktop > a {
        color: #333;
        font-size: 16px;
        padding: 13px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.strategus-filters {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(36,36,36,0.6);
    z-index: 200;
    overflow-y: scroll;
}

.strategus-sort {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(36,36,36,0.6);
    z-index: 200;
}

.strategus-sort-close-bg, .strategus-filters-close-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 300;
}

.strategus-filters .form-rep, .strategus-sort .filter-element {
    background: #fff;
    z-index: 20000000;
    position: relative;
    padding: 21px 20px 30px 30px;
    padding-left: 20px !important;
    margin: 0;
    bottom: -100vh;
    width: 100%;
    top: auto;
    transition: bottom .2s;
}

.woocommerce-page .strategus-sort.slideEffect .filter-element, .woocommerce-page .strategus-filters.slideEffect .form-rep {
    bottom: 0;
}

.strategus-sort-close-btn, .strategus-filters-close-btn {
    top: 16px;
    right: 14px;
    position: absolute;
    display: block;
    z-index: 3000;
    width: 30px;
    height: 30px;
}

    .strategus-sort-close-btn:hover, .strategus-filters-close-btn:hover {
        cursor: pointer;
    }

    .strategus-sort-close-btn .dashicons, .strategus-filters-close-btn .dashicons {
        font-size: 30px;
        color: #666;
    }

.strategus-sort::before {
    display: block;
}

.filters-heading {
    font-size: 18px;
    line-height: 18px;
    text-align: left;
    margin-bottom: 28px;
}

.strategus-sort::before {
    font-size: 18px;
    line-height: 18px;
    text-align: center;
    margin-bottom: 28px;
    position: static !important;
}

.custom-filters {
    margin-bottom: 30px;
}

.filter-toggle > div.filtername {
    font-size: 9px;
    display: none;
}

@media (min-width: 768px) {
    .filter-toggle a {
        font-size: 18px;
        padding: 13px 0;
    }

    .filter-item a, .sort-item a {
        font-size: 17px;
        padding: 15px 15px;
    }

    .filters-heading {
        font-size: 21px;
        line-height: 21px;
    }

    .strategus-filters .form-rep, .strategus-sort .filter-element {
        padding: 54px 20px 50px 30px;
    }

    .strategus-sort-close-btn, .strategus-filters-close-btn {
        top: 26px;
        right: 24px;
        position: absolute;
        display: block;
        z-index: 3000;
        width: 40px;
        height: 40px;
    }

        .strategus-sort-close-btn .dashicons, .strategus-filters-close-btn .dashicons {
            font-size: 40px;
        }

    .filter-button {
        margin-top: 35px;
    }
}

@media (min-width:992px) {
    .filter-toggle > div.filtername {
        display: block;
    }

    .filter-button {
        display: block;
        width: 100%;
        margin: 0 !important;
        background-color: #fff;
        border: 1px solid var(--kce-medblue);
        border-radius: 0;
        color: var(--kce-medblue);
        padding-top: 13px;
        padding-bottom: 13px;
        text-transform: uppercase;
        margin-bottom: 20px;
    }

    .filter-toggle > a {
        color: #333;
        font-size: 16px;
        padding: 0;
        margin: 0;
        border: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    @media (min-width:1200px) {
        .filter-toggle {
            padding: 13px 40px;
        }
    }
}
