/* Dropdown */
.dropdown {
    font-size: 14px;
    font-family: 'MediaSans-Light';
    /*text-transform: uppercase;*/
    margin-right: 10px;
    margin-bottom: 10px;
}
.dropdown label {
    text-transform: none;
}
.dropdown .filter_name {
    text-decoration: underline;
    padding-left: 15px;
    background: url('../img/arrow_down.svg') no-repeat left center;
    background-size: 8px;
    cursor: pointer;
    width: 100%;
}
.dropdown .options {
    position: absolute;
    z-index: 10;
    display: none;
    max-width: 300px;
    min-width: 100px;
    box-sizing: border-box;
    background: white;
    padding: 20px 0 10px 10px;
    max-height: 345px;
}
.dropdown .options li {
    box-sizing: border-box;
    padding-right: var(--default-spacing);
    line-height: 17px;
    margin-bottom: 7px;
}
.dropdown .options li a:hover {
    color: var(--current-color);
}
.dropdown .options label {
    font-family: 'MediaSans-Light';
    font-size: 13px;
    margin-bottom: 5px;
    cursor: pointer;
}
.dropdown .options .selected {
    color: var(--current-color);
}
.dropdown .options .letter {
  font-size: 25px;
  font-family: 'MediaSans-Black';
  text-transform: uppercase;
}
.dropdown.dates img {
    width: 18px;
    vertical-align: middle;
}
.dropdown .options li.selected,
.dropdown .options li.selected a {
    color: var(--current-color);
}


/* Filters */
.filters:last-child {
    margin-bottom: var(--big-spacing);
}
.filters button {
    color: #000;
    font-family: 'MediaSans-Black';
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.filters button.submit {
	display: none;
}

/* Current filters */
.current_filters {
    margin-bottom: var(--big-spacing);
}
.current_filter {
    background: var(--current-color);
    color: #fff;
    padding: 5px;
}
.current_filter .remove {
    color: #fff;
}



@media only screen and (min-width: 768px) {

    /* Dropdowns */
    .dropdown {
        margin-right: var(--default-spacing);
    }
    .dropdown .filter_name {
        padding-left: 20px;
        background-size: 10px;
    }
    
    /* Filters */
    .filters {
        display: flex;
        justify-content: start;
    }
    .current_filter_content {
        display: flex;
        flex-direction: row-reverse;
        margin-top: var(--default-spacing);
    }
    .current_filter_content .details {
        width: 70%;
        box-sizing: border-box;
        padding-left: var(--default-spacing);
    }
    .current_filter_content .thumbnail {
        width: 30%;
    }
    .current_filter_content .thumbnail img {
        width: 100%;
    }
}


/* 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: var(--current-color);
    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);
}
