.card-list input[type=search]::-ms-clear { display: none; width : 0; height: 0; }
.card-list input[type=search]::-ms-reveal { display: none; width : 0; height: 0; }
/* clears the ‘X’ from Chrome */
.card-list input[type="search"]::-webkit-search-decoration,
.card-list input[type="search"]::-webkit-search-cancel-button,
.card-list input[type="search"]::-webkit-search-results-button,
.card-list input[type="search"]::-webkit-search-results-decoration { display: none; }

.list-section b {
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
}
.card-list .filter-holder {
    min-height: 90px;
}
.card-list .filter-wrap {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
}
.card-list .filter-wrap.sticky {
    position: fixed;
    width: 100%;
    top: 122px;
    left: 50%;
    transform: translateX(-50%);
    background: #f3f3f3;
    z-index: 10;
}
.filter-wrap.sticky:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: #ffffff;
    height: 100%;
    z-index: -1;
}
.filter-wrap.sticky.bg-grey:before {
    background: #f3f3f3;
}
.card-list input,
.card-list .filter-box {
    border: 1px solid #858384;
    box-sizing: border-box;
    border-radius: 15px;
    background: white;
    min-width: 280px;
    height: 56px;
    padding: 0 16px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}
.card-list .filter-box {
    cursor: pointer;
}
.card-list .filter-box.active {
    background: #0D456D;
    color: white;
}
.card-list .filter-box.active path {
    fill: white;
}

.card-list .filter-list {
    position: absolute;
    z-index: 5;
    padding: 16px 16px 0px 16px;
    overflow: scroll;
    background: #FFFFFF;
    box-shadow: 0px 2px 6px rgb(13 28 40 / 15%);
    border-radius: 15px;
    width: auto;
    top: calc(100% + 8px);
    left: 0;
    min-width: 320px;
}
.card-list #filter-sort {
    border: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='11' height='6' viewBox='0 0 11 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.5 6L11 0H0L5.5 6Z' fill='%230D456D'/%3E%3C/svg%3E%0A");
    padding: 0;
    height: 58px;
    margin: 0;
    margin-left: 8px;
    background-color: transparent;
    cursor: pointer;
    padding-right: 40px;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 20px;
    margin-bottom: 16px;
    line-height: 16px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkbox-container .checkmark {
    position: absolute;
    top: 0px;
    left: 0;
    width: 15px;
    height: 15px;
    background: #F8F9F7;
    border: 1px solid #0D456D;
    box-sizing: border-box;
    border-radius: 2px;
}
/* .checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
} */
.checkbox-container input:checked ~ .checkmark {
    background-color: #0D456D;
}
.checkbox-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}
.checkbox-container .checkmark:after {
    left: 4px;
    top: 0px;
    width: 3px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.checkbox-bg {
    display: none;
    position: absolute;
    background: #F3F3F3;
    height: calc(100% + 16px);
    width: calc(100% + 32px);
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    z-index: -1;
}
.checkbox-container:hover .checkbox-bg,
.checkbox-container input:checked ~ .checkmark ~ .checkbox-bg {
    display: block;
}


.filter-pills-wrap > div {
    white-space: nowrap;
}
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    margin-left: 8px;
}
.filter-pill {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #858384;
    box-sizing: border-box;
    border-radius: 5px;
    margin-bottom: 8px;
    height: 32px;
    padding-left: 8px;
    padding-right: 8px;
}

/* Mobile filters */
@media screen and (max-width: 991px) {
    .filter-options {
        min-width: 100%;
    }
    .filter-options .left,
    .filter-options .search {
        flex-grow: 1;
    }
	.filter-options div.label {
		display: none;
	}

	.filter-box {
		min-width: unset !important;
	}

    .filter-box svg.filter-chevron {
        display: none;
    }

    .md-filter-button {
        border: 1px solid #858384;
        box-sizing: border-box;
        border-radius: 15px;
        background: white;
        min-width: unset !important;
        height: 56px;
        width: 56px;
        padding: 0 16px;
        position: relative;
    }

    .md-filter-button #filter-sort {
        height: 56px;
        width: 56px;
        background: none;
        position: absolute;
        top: 0; 
        left: 0;
        text-indent: 9999px;
        background-image: url("data:image/svg+xml,%3Csvg width='18' height='12' viewBox='0 0 18 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 12H6V10H0V12ZM0 0V2H18V0H0ZM0 7H12V5H0V7Z' fill='black'/%3E%3C/svg%3E%0A");
        background-repeat: no-repeat;
        background-position: center;
        margin: 0px;
    }

    .card-list .filter-list {
        width: 100vw;
        height: 100vh;
        top: 0;
        left: 0;
        position: fixed;
        z-index: 999;
        overflow-y: scroll;
    }

    .card-list .filter-list .filter-box-toggle-mobile {
        position: absolute;
        top: 32px;
        right: 16px;
        height: 22px;
        width: 25px;
        background-image: url("data:image/svg+xml,%3Csvg width='15' height='14' viewBox='0 0 15 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.1406 1.41L12.7306 0L7.14062 5.59L1.55062 0L0.140625 1.41L5.73063 7L0.140625 12.59L1.55062 14L7.14062 8.41L12.7306 14L14.1406 12.59L8.55062 7L14.1406 1.41Z' fill='%230D456D'/%3E%3C/svg%3E%0A");
        background-repeat: no-repeat;
        background-position: center center;
        cursor: pointer;
    }

    .filter-options #filter-search {
        max-width: none;
        width: 100%;
        min-width: 0;
    }
    
}

.com-anchor {
    margin-top: -220px;
    display: block;
    position: absolute;
}

[data-post-type="commisioned-projects"] .content ul {
    list-style: disc;
    padding-left: 15px;
    margin-bottom: 16px;
}