/* Filters */
.filters {
    margin: 20px 0;
}
.filters .filter input[type=text],
.filters .filter label,
.filters .filter a {
    font-size: 14px;
    font-family: 'regular-regular';
    line-height: 18px;
    text-transform: uppercase;
    padding-top: 3px;
    max-width: calc(100% - 35px);
}
.filters .filter.pmr label {
    font-size: 14.5px;
    font-family: 'regular-black';
    margin-left: 15px;
}
.filters .filter {
    display: inline-block;
    position: relative;
    margin-right: 10px;
    margin-bottom: 10px;
    width: calc(33% - 4px);
    float: left;
}
.filters .filter:nth-of-type(3n) {
    margin-right: 0;
}
.filters .filter:nth-of-type(5n) {
    margin-right: 10px;
}
@media only screen and (min-width: 1280px) {
    .filters .filter {
        width: calc(20% - 8px);
    }
	.filters .filter:nth-of-type(5n) {
        margin-right: 0;
    }
	.filters .filter:nth-of-type(3n) {
        margin-right: 10px;
    }
}
.filters h3 {
    font-size: 14px;
}
.dropdown h4 {
    display: inline-block;
    cursor: pointer;
    font-weight: normal;
    font-family: 'regular-black';
    text-transform: uppercase;
    font-size: 18.5px;
    line-height: 14px;
    width: 100%;
    height: 30px;
    display: inline-block;
}
.dropdown h4:after {
    content: '';
    display: inline-block;
    float: right;
    background-image: url('../img/dropdown_arrow_down.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    width: 13px;
    height: 13px;
    margin: 4px;
}
.dropdown.opened h4:after {
    background-image: url('../img/dropdown_arrow_opened.png');
}
.filters button {
    background: transparent;
    color: #000;
    border: 0;
    font-family: 'regular-black';
    text-transform: uppercase;
    font-size: 14px;
    padding: 0 15px 17px 0;
    cursor: pointer;
    /* float: right; */
    line-height: 15px;
    height: 30px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.filters button.submit {
	display: none;
}
.filters button:hover {
	background: #fff;
}
.filters a.button_reset {
    display: inline-block;
    background: #F2F2F2;
    color: #000;
    border: 0;
    font-family: 'regular-black';
    text-transform: uppercase;
    font-size: 14px;
    padding-right: 15px;
    cursor: pointer;
    /* float: right; */
    line-height: 15px;
    height: 30px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.filter .options {
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    display: none;
    padding-top: 0px;
    padding-left: 5px;
    font-family: 'regular-medium';
    z-index: 10;
}
.filters .filter.selected .options {
    display: block;
}
.filters .filter .options .selected {
    font-family: 'regular-black';
}
.filters .filter .options ul li {
    margin-bottom: 10px;
}
.filters .filter h5 {
    font-family: 'regular-medium';
}
.filters .filter input[type=text] {
    height: 20px;
    font-family: 'regular-black';
    font-size: 14px;
}
.filters .filter.dates .date {
    margin-bottom: 10px;
    line-height: 14px;
}
.filters .filter.dates img {
    width: 18px;
    vertical-align: middle;
}


/* checkboxes */
.filters input[type=radio],
.filters input[type=checkbox] {
    position: absolute;
    left: -9999px;
}
.filters input[type=radio]+label,
.filters input[type=checkbox]+label {
    position: relative;
    padding-left: 20px;
    cursor: pointer;
}
.filters [type="radio"]:not(:checked)+label:before,
.filters [type="checkbox"]:not(:checked)+label:before,
.filters [type="checkbox"]:checked+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 14px;
    height: 14px;
    background: #fff;
}
.filters [type="radio"]:checked+label:before,
.filters [type="checkbox"]:not(:checked)+label:after,
.filters [type="checkbox"]:checked+label:after {
    content: ' ';
    background: #000;
    width: 14px;
    height: 14px;
    position: absolute;
    top: 2px;
    left: 0px;
    font-size: 0;
    color: #000;
    /*transition: all .2s; */
}
.filters [type="radio"]:not(:checked)+label:after,
.filters [type="checkbox"]:not(:checked)+label:after {
    opacity: 0;
    transform: scale(0);
}
.filters [type="radio"]:checked+label:after,
.filters [type="checkbox"]:checked+label:after {
    opacity: 1;
    transform: scale(1);
}

@media only screen and (max-width: 1279px) {
    .filters .filter {
        width: calc(33% - 5px);
    }
	.filters .filter:nth-of-type(3n) {
        margin-right: 0;
    }
    .filters .filter:nth-of-type(5n) {
        margin-right: 10px;
    }
    .filters .filter .options ul li {
        max-width: 89%;
    }
}
@media only screen and (max-width: 767px) {
    .filters .filter:nth-of-type(2n) {
        margin-right: 0;
    }
   .filters .filter:nth-of-type(3n) {
        margin-right: 10px;
    }
    .filters .filter:nth-of-type(5n) {
        margin-right: 10px;
    }
    .filters .filter {
        width: calc(50% - 5px);
    }
    .filters {
    	max-width: 100%;
    }
}