@import url(https://lib.hmcms.nl/css/hm.form.rangeslider.1.css);

body .select2-dropdown {
    max-width: calc(100vw - 80px);
}
body .select2-dropdown {
    margin-top: 13px;
}
.lijstweergave .calentim-popup {
    margin-top: 4px;
}

.ha-searcher__guests--selectors {
    margin-top: 14px !important;
}
/*=================================================*/
/*============ API Voorbeeld overrules ============*/
/*=================================================*/
div.ihg-search-wrapper {
    display: flex;
    flex-flow: row nowrap;
    padding:0;
}

div.ihg-search-filter {
    flex: 0 416px;
    margin-right: 40px;
    max-width: 416px;
    min-width: 416px;
    transition: opacity .3s ease;
    padding:0px;
    margin-bottom:30px;
}

div.ihg-search-result {
    position: relative;
    padding:0;
}

.ihg-search_result__list {
    transition: .3s ease;
}

@media screen and (max-width: 960px){
    div.ihg-search-wrapper {
        flex-flow:row wrap;
    }
    div.ihg-search-filter {
        max-width: 100%;
        min-width: 100%;
        width:100%;
        flex:0 100%;
        margin-right: 0;
    }
}


.ihg-search-filter > h2 {
    display: none !important;
}

.ihg-result__distance {
    position: absolute;
    left: 0;
    top: 0;
    background: #fff;
    padding: 14px 34px 14px 14px;
    border-radius: 0 0 25px 0;
    font-size: 0.8125em;
    font-weight: 700;
    background: #003723;
    color: #fff;
    z-index: 1;
}


/*=================================================*/
/*===================== ACTIONS ===================*/
/*=================================================*/
.acco-list__actions {
    display: flex;
    flex-flow: row wrap;
}

    .acco-list__sort select {
        line-height: 50px;
        padding: 0 37px;
        border: 1px solid #6F6F6F;
        border-radius: 50px;
        width: 250px;
        background: url(/ui/inhetgroen/img/icons/sort.svg) #fff no-repeat 18px center !important;
        background-size: 25px 25px !important;
        padding-left: 54px;
    }

    .acco-list__toggle-view {
        margin-left: auto;
    }

    .acco-list__toggle-view ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        background: #E5EAE8;
        border-radius: 50px;
        height: 50px;
    }

        .acco-list__toggle-view ul li a{
            padding: 13px 37px;
            display: flex;
            font-weight: 600;
            text-decoration: none;
        }

        .acco-list__toggle-view ul li.active {
            background: #ffb700;
            color: #fff;
            border-radius: 50px;
        }

.acco-list__criteria {
    display: flex;
    flex-flow: row nowrap;
    flex: 1 auto;
}

    .acco-list__count {
        color: #6F6F6F;
        margin-left: auto;
        line-height: 50px;
        /*margin-top: 25px;*/
        white-space: nowrap;
        text-align: right;
    }

.acco-list__selected-filters {
    border-bottom: 1px solid #B2C2BC;
    margin-bottom: 40px;
    padding-bottom: 30px;
}

.acco-list__criteria-header,
.acco-list__toggle-criteria {
    display: none;
}

.acco-list__sort {
    position: relative;
}

    .acco-list__sort::after {
        content: '';
        position: absolute;
        right: 22px;
        top: 20px;
        width: 8px;
        height: 8px;
        display: block;
        border: 1px solid currentColor;
        transform: rotate(45deg);
        border-top: 0;
        border-left: 0;
        transition: all .3s ease;
    }

        .acco-list__sort.acco-list__sort--open::after {
            transform: rotate(-135deg);
            top: 24px;
        }

/*=================================================*/
/*============== SEARCHEDON =============*/
/*=================================================*/
.listSelectedFilter {
    margin: 17px -8px 0;
    padding: 0;
    display: flex;
    flex-flow:row wrap;
}

.listSelectedFilter__item {
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    background: #F2F5F3;
    border-radius: 20px;
    margin: 4px 8px;
    display: block;
    padding-left: 40px;
    position: relative;
    font-size: 0.875em;
    transition: background .3s ease, color .3s ease;
    cursor: pointer;
    text-decoration: none;
}

    span.date-divider {
        width: 10px;
        height: 1px;
        background: currentColor;
        display: inline-block;
        margin: 4px 6px;
    }

.listSelectedFilter__item:hover {
    background: var(--green);
    color:#fff;
}
.listSelectedFilter__item svg {
    position: absolute;
    left: 20px;
    top:50%;
    transform:translateY(-50%);
}



/*=================================================*/
/*============== HA SEARCHER CRITERIA =============*/
/*=================================================*/
.ha-searcher {
  display: flex;
  flex-flow:column;
}

.ha-searcher__item:not(.ha-searcher__criteria) {
  background: #E5EAE8;
  padding:15px 30px;
}

.ha-searcher__item.ha-searcher__item--postcode {
    padding-top:30px;
}

#field_rating {
    padding-bottom:30px;
}


.ha-searcher__item[data-name="arrivalDeparture"] input{
  width:50% !important;
    padding-top: 20px !important;
    cursor: pointer;
}
  .ha-searcher__item[data-name="arrivalDeparture"] input:first-child{
    border-radius: 10px 0 0 10px;
  }

  .ha-searcher__item[data-name="arrivalDeparture"] input:last-child{
    border-radius: 0 10px 10px 0;
  }

    .ha-searcher__item[data-name="arrivalDeparture"] .ha-searcher__item-field::before, .ha-searcher__item[data-name="arrivalDeparture"] .ha-searcher__item-field::after {
        content: 'Aankomst';
        position: absolute;
        left: 0;
        top: 0;
        width: 50%;
        font-size: .875em;
        padding: 3px 20px;
        margin-top:10px;
        /*pointer-events: none;*/
        display: block;
        height: 49px;
    }

    .ha-searcher__item[data-name="arrivalDeparture"] .ha-searcher__item-field {
        position: relative;
    }

    .ha-searcher__item[data-name="arrivalDeparture"] .ha-searcher__item-field::after {
        left: 50%;
        content:'Vertrek';
        border-left: 1px solid #CECECE;
    }


.ha-searcher__calentim-dateseparator {
  display: none;
}

#field_criteria {
    padding: 30px;
    border: 1px solid #B2C2BC;
    margin-top:40px;
    order:3;
    background: #fff
}



.ha-searcher__item-title {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--green);
}



.ihg-searcher__criteria-item {
    transition: opacity .3s ease;
}

.ihg-searcher__criteria-item.ha-criteria-disabled {
    opacity: 0.25;
}

.ihg-searcher__criteria-item label {
    font-weight: 400;
    padding: 2px 0 2px 30px;
    position: relative;
    display: block;
}

.ihg-searcher__criteria-item label input {
    position: absolute;
    left: 0;
    top: 5px;
}

span.ha-searcher__criteria-count {
    display: none !important;
    font-size: 0.875em;
    margin-left: 5px;
    opacity: .5;
}

.ha-searcher-award h3,
.ihg-searcher__criteria-group h3 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    color: var(--green);
}


.ihg-searcher__criteria-group.ihg-searcher__criteria-group--collapsed .ihg-searcher__criteria-item:nth-child(1n + 7){
    display: none;
}

.ihg-searcher__criteria-group-toggle {
    display: flex;
    flex-flow:row wrap;
    font-weight: 600;
    cursor: pointer;
    margin-top:2px;
}
.ihg-searcher__criteria-group.ihg-searcher__criteria-group--collapsed .ihg-searcher__criteria-group-toggle::after {
    content:'meer';
    margin-left:5px;
}

.ihg-searcher__criteria-group:not(.ihg-searcher__criteria-group--collapsed) .ihg-searcher__criteria-group-toggle::after {
    content:'minder';
    margin-left:5px;
}


html[lang="de"] .ihg-searcher__criteria-group .ihg-searcher__criteria-group-toggle {
    text-indent: -999px;
}

html[lang="de"] .ihg-searcher__criteria-group.ihg-searcher__criteria-group--collapsed .ihg-searcher__criteria-group-toggle::after {
    content:'Zeig mehr';
    text-indent: 0px;
}

html[lang="de"] .ihg-searcher__criteria-group:not(.ihg-searcher__criteria-group--collapsed) .ihg-searcher__criteria-group-toggle::after {
    content:'Zeige weniger';
    text-indent: 0px;
}

html[lang="en"] .ihg-searcher__criteria-group .ihg-searcher__criteria-group-toggle {
    text-indent: -999px;
}

html[lang="en"] .ihg-searcher__criteria-group.ihg-searcher__criteria-group--collapsed .ihg-searcher__criteria-group-toggle::after {
    content:'View more';
    text-indent: 0px;
}

html[lang="en"] .ihg-searcher__criteria-group:not(.ihg-searcher__criteria-group--collapsed) .ihg-searcher__criteria-group-toggle::after {
    content:'Collapse';
    text-indent: 0px;
}

.ihg-searcher__criteria-group:not(.ihg-searcher__criteria-group--collapsed) .ihg-searcher__criteria-group-toggle::before {
    transform: rotate(135deg);
    top: 12px;
}

.ihg-searcher__criteria-group-toggle::before {
    order:3;
    content: '';
    position: relative;
    display: inline-block;
    width: 7px;
    height: 7px;
    border: 2px solid #003723;
    border-top: 0px;
    border-right: 0px;
    transform: rotate(-45deg);
    margin-left: 10px;
    top: 6px;
}


.ihg-searcher__criteria-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #B2C2BC;
}


.ihg-searcher__criteria-group:first-child {
    border: 0px;
    margin-bottom: 0;
    padding-bottom: 0;
}

    .ha-searcher__item-field {
        background:#fff; border-radius: 10px;
    }


    body .select2-container--default .select2-selection--single,
    body .booking-widget-searcher .ha-searcher .ha-searcher__guests,
    .ha-searcher__item:not(.ha-searcher__criteria) select,
    .ha-searcher__item:not(.ha-searcher__criteria) input{
        font-weight: 400;
        color:var(--text);
        width: 100%;
        height:75px;
        line-height: 75px;
        background: #fff;
        border-radius: 10px;
        padding:0 20px;
    }
    .ha-searcher__item:not(.ha-searcher__criteria) input::placeholder{
        color:var(--text);
    }

        body .select2-container--default .select2-selection--single .select2-selection__rendered {
            line-height: 75px;
        }


/* Rating */
.field_rating__options {
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-flow: row;
    overflow: hidden;
}

.field_rating__options .field_rating__option:first-child {
    border-radius: 20px 0 0 20px;
}

.field_rating__options .field_rating__option:last-child {
    border-radius: 0 20px 20px 0;
}

.field_rating__options .field_rating__option {
    flex: 1 auto;
    text-align: center;
    height: 75px;
    line-height: 75px;
    display: flex;
}

.field_rating__options input {
    height: 0;
    width: 0;
    visibility: hidden;
    position: absolute;
}
.field_rating__options label {
    width: 100%;
}

.field_rating__options input:checked ~ label {
    background:#00372310;
}


.ha-searcher-award:not(:last-child) {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #B2C2BC;
}

.ha-searcher-award__collection {
    display: flex;
    flex-flow: row wrap;
    grid-gap: 10px;
}

    .ha-searcher-award__item {
        flex: 1 3em;
        position: relative;
    }

        .ha-searcher-award__item input {
            width: 100%;
            margin-right: 0px !important;
            height: 68px !important;
            background-size: 40px !important;
            transition: box-shadow .2s ease;
            cursor: pointer;
        }

            .ha-searcher-award__item input::after {
                display: none !important;
            }

        .ha-searcher-award__item input[value="goud2021"] {background: url(/ui/inhetgroen/img/awards/Zoover_Award_2021_Gold.webp) no-repeat top 8px center #fff}
        .ha-searcher-award__item input[value="goud2020"] {background: url(/ui/inhetgroen/img/awards/Zoover_Award_2020_Gold.webp) no-repeat top 8px center #fff}
        .ha-searcher-award__item input[value="goud2019"] {background: url(/ui/inhetgroen/img/awards/Zoover_Award_2019_Gold.webp) no-repeat top 8px center #fff}
        .ha-searcher-award__item input[value="zilver2021"] {background: url(/ui/inhetgroen/img/awards/Zoover_Award_2021_Zilver.webp) no-repeat top 8px center #fff}
        .ha-searcher-award__item input[value="zilver2020"] {background: url(/ui/inhetgroen/img/awards/Zoover_Award_2020_Zilver.webp) no-repeat top 8px center #fff}
        .ha-searcher-award__item input[value="zilver2019"] {background: url(/ui/inhetgroen/img/awards/Zoover_Award_2019_Zilver.webp) no-repeat top 8px center #fff}

        .ha-searcher-award__label {
            font-size: 10px;
            position: absolute;
            bottom: 13px;
            left: 0;
            right: 0;
            text-align: center;
            pointer-events: none;
        }

        .ha-searcher-award__item input[type=checkbox]:checked {
            box-shadow: 0 0 0 2px #003723 inset
        }

/* ===== Range slider ===== */
.hm-form-rangeslider {margin-top:20px; padding-right: 0px !important}
button.hm-form-rangeslider__thumb,
body .hm-form-rangeslider__label,
body .hm-form-rangeslider__label::after,
body .hm-form-rangeslider--initialized .hm-form-rangeslider__track__left {
    background-color: #003723;
}

body .hm-form-rangeslider__track__content,
body .hm-form-rangeslider__track::after, 
body .hm-form-rangeslider__track::before,
body .hm-form-rangeslider__track__right {
    background-color: #99baad;
}

body button.hm-form-rangeslider__thumb:focus,
body button.hm-form-rangeslider__thumb {
    box-shadow: 0 0 0 3px #e5eae8;
}


.ha-searcher__criteria-show-results {
    display: none;
}
@media screen and (max-width: 480px) {
    .ha-searcher__criteria-show-results {
        display: block;
        position: fixed;
        z-index: 1000000;
        background: #fff;
        transform:translateY(100%);
        bottom:0;
        left:0;
        right: 0;
        padding:20px 20px;
        box-shadow: 0px 0 5px #ccc;
        font-weight: 400;
    }

    .body--has-criteria .ha-searcher__criteria-show-results {
        transform:translateY(0);
    }
    .ha-searcher__criteria-show-results .button {
        width: 100%;
        text-align: center;
        font-size:1.125em;
    }
    .section.section.section.lijstweergave {
        padding-top:0;
    }

    .ha-searcher__item:not(.ha-searcher__criteria) {
        padding:10px 20px;
    }
    .ha-searcher__item:first-child {
        padding-top:20px;
    }
    .ha-searcher__item[data-name="criteria-group_362"] {
        padding-bottom:20px;
    }

    .field_rating__options .field_rating__option,
    body .select2-container--default .select2-selection--single .select2-selection__rendered,
    body .select2-container--default .select2-selection--single, 
    body .booking-widget-searcher .ha-searcher .ha-searcher__guests, 
    .ha-searcher__item:not(.ha-searcher__criteria) select, 
    .ha-searcher__item:not(.ha-searcher__criteria) input {
        height:60px; line-height: 60px;
    }

    body .select2-container--default .select2-search--dropdown .select2-search__field {
        top: -65px;
        left: 18px;
        outline: 0 !important;
        right: 60px;
    }

    .acco-list__criteria {
        display: none;
    }

    .acco-list__actions {
        grid-gap: 10px;
    }

    .acco-list__actions > * {
        flex: 1 auto;
    }

    .acco-list__sort select {
        height: 40px;
        line-height: 40px;
        width: 100%;
        padding: 0 20px;
        padding-left: 50px;
    }
    .acco-list__sort::after {
        top:15px;
    }
    .acco-list__sort.acco-list__sort--open::after {
        top:19px;
    }
    .acco-list__toggle-view {
        flex: 0 auto !important;
    }
    .acco-list__toggle-view li.active {
        display: none;
    }
    .acco-list__toggle-view ul li a,
    .acco-list__toggle-view ul {
        height: 40px;
        line-height: 40px;
        padding: 0 10px;
        color: #808080;
        font-weight: 400;
    }
    .acco-list__toggle-view ul {
        background: transparent; border:1px solid var(--green);
    }
    .acco-list__toggle-criteria {
        display: block;
        background: transparent;
        border: 1px solid #003723;
        color: #808080;
        font-weight: 400;
        border-radius: 50px;
        line-height: 40px;
        height: 40px;
        padding: 0 20px;
        text-align: center;
    }

    .acco-list__count {
        height: 40px;
        line-height: 40px;
        margin-right: auto;
        text-align: left;
        margin-left: 0;
    }

    div#field_criteria {
        transform: translateX(100%);
        position: fixed;
        z-index: 10000;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        border: 0;
        margin-top: 0;
        transition: transform .3s ease;
        overflow:auto;
        padding-bottom: 110px;
    }

    .body--has-criteria div#field_criteria {
        transform:translateX(0);
    }

    .ha-searcher__item[data-name="arrivalDeparture"] .ha-searcher__item-field::before, .ha-searcher__item[data-name="arrivalDeparture"] .ha-searcher__item-field::after {
        height: 36px;
    }
}
