.autocomplete-items {
    position: absolute;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    background-color: var(--wp--preset--color--base-3);
    top: calc(100% - 10px);
    left: 0;
    border-radius: 0px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    width: 100%;
    border: none;
    padding-bottom: 15px;
}

.highlight {
    font-weight: 500;
    background-color: rgb(231, 209, 100);
    color: black;
}

div#event-autocompleteautocomplete-list {
    background: #2a292c;
    border-radius: 0px;
}

.autocomplete-items div {

    text-indent: 28px;
    overflow: hidden;
    max-height: 49px;
    cursor: pointer;
    color: var(--wp--preset--color--contrast);
    width: calc(100% - 22px);
}

#event-filter-form input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
}

#event-filter-form input[type="date"] {
    text-indent: 0 !important;
    padding-left:20px;
}

.autocomplete-items div:hover {}

.autocomplete-active {
    background-color: DodgerBlue !important;
}

#event-name-autocomplete:active,
#event-name-autocomplete:focus,
#event-name-autocomplete:focus-within,
#event-name-autocomplete:focus-visible {
    border: none;
    outline: none !important;
    box-shadow: none;
    outline: none;
}

#event-name-autocomplete {
    height: 60px;
    line-height: 60px;
    background-color: transparent;
    border: none;
    font-size: 16px;
    width: calc(100% - 22px);
    color: var(--wp--preset--color--contrast);
}

#event-name {
    height: 60px;
    line-height: 60px;
    color: white;
}

.events-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
}

@media (max-width: 1190px) {
    .events-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 750px) {
    .events-wrap {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.spinner {
    background: url(images/spinner.gif) no-repeat;
    background-size: 20px 20px;
    display: none;
    vertical-align: middle;
    opacity: .7;
    width: 20px;
    height: 20px;
}

/* JT */
#event-filter-form {
    padding: 20px 0;
    font-family: Arial, sans-serif;
}

#event-filter-form {
    margin-bottom: 10px;
}

#event-filter-form label {
    display: block;
    margin-bottom: 5px;
}

#event-filter-form select,
.select2-container--bkis {
    width: 100%;
    padding-right: 52px;
}

#event-filter-form input[type="date"] {
    text-indent: 0 !important;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
    margin: 0;
}

input[type="date"] {
    -moz-appearance: textfield;
    /* Firefox */
    appearance: textfield;
}

input[type="date"] {
    text-align: left !important;
    -webkit-appearance: none !important;
    /* This disables the default styling */
    appearance: none !important;
    text-indent: 0 !important;
}


#event-filter-form input[type="text"],
#event-filter-form select,
.select2-container--bkis {
    border: none;
    border-radius: 0px;
    text-indent: 28px;
    height: 60px;
    font-size: 16px;
    font-family: var(--wp--preset--font-family--manrope);
}

#event-filter-form select:not(.filter-field-icon) {
    text-indent: 23px;
    text-indent: 10px;
    text-indent: 20px;
}


#event-filter-form select.filter-field-icon {
    text-indent: 54px;
}

#event-filter-form select.filter-field-icon::placeholder {
    text-indent: 0;
}


.event-filter-form button {
    background-color: #555;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 0px;
    cursor: pointer;
}

.event-filter-form button:hover {
    background-color: #666;
}


.form-style,
.select2-container--bkis {
    height: 48px;
    width: 100%;
    font-weight: 500;
    border-radius: 0px;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.5px;
    outline: none;
    color: var(--wp--preset--color--contrast);
    background-color: var(--wp--preset--color--base-3);
    border: none;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
    box-shadow: none;
}


.form-style::placeholder,
#event-name-autocomplete::placeholder {
    color: var(--wp--preset--color--contrast);
    /* Lighter placeholder text */

    /* text-indent: 28px !important; */
}


.form-style:focus,
.form-style:active {
    border: none;
    outline: none;
    box-shadow: none;
}

.input-icon {
    position: absolute;
    top: 0;
    left: 18px;
    font-size: 24px;
    line-height: 77px;
    text-align: left;
    color: var(--wp--preset--color--contrast);;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

#event-name-autocomplete::placeholder {
    font-size: 17px;
    color: var(--wp--preset--color--contrast);
}

.form-group input::-moz-placeholder,
.form-group input:-moz-placeholder,
.form-group input::-webkit-input-placeholder,
.form-group input:focus:-ms-input-placeholder,
.form-group input:focus::-moz-placeholder,
.form-group input:focus:-moz-placeholder,
.form-group input:focus::-webkit-input-placeholder,
.form-group input:-ms-input-placeholder {
    color: var(--wp--preset--color--contrast);
    opacity: 0.7;
    font-size: 16px;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;

}

#event-filter-form {
    grid-column-gap: 15px;
}

#event-filter-form#event-filter-form-1 {
    display: grid;
    grid-template-columns: 3fr 1fr 1.5fr;
    margin-bottom: 10px;
    grid-column-gap: 7px;
    grid-column-gap: 15px;
}

#event-filter-form#event-filter-form-2 {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr 0.5fr;

}

.input-group {
    background-color: var(--wp--preset--color--base-3);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border-radius: 0px;
    overflow: hidden;
}

.symbol {
    color: var(--wp--preset--color--contrast);
    font-family: Material Symbols Sharp, sans-serif;
}

.button_circle--filter:hover .symbol {
    color: var(--wp--preset--color--contrast);
}

.button_circle--filter {
    cursor: pointer;
}

.button_circle--filter .symbol {
    transition: all .25s ease;
    font-weight: 200;
    font-size: 37px;
    background-color: var(--wp--preset--color--base-3);
    display: inline-flex;
    align-items: center;
    border-radius: 0px;
    color: var(--wp--preset--color--contrast);
    padding: 0 13px;
    width: calc(50% - 5px);
    text-align: center;
    display: inline-flex;
    justify-content: center;
    /* height: 50px; */
}

.button_circle--filter .symbol:hover {
    background-color: var(--wp--preset--color--base-3);
}

.filter-date {
    min-width: 200px;
    padding-left: 20px;
    width: calc(100% - 20px);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('img/down.svg');
    /* Replace with your custom arrow icon */
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
    background-size: 20px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 20px;
    transform: scale(1.25);
    filter: invert(1);
    opacity: .6;
}

.input-wrapper:after {

    content: "";
    width: 1px;
    height: 39px;
    background-color: var(--wp--preset--color--contrast);
    display: block;
    position: absolute;
    top: calc(50% - 20px);
    right: 0;
}

input[type="date"] {
    position: relative;
    width: 100%;
}



#event-type {
    width: calc(100% - 8px);
}

#event-name-autocomplete::placeholder {
    /* text-indent: 58px !important; */
}

#event-name-autocomplete,
.select2-container--bkis {
    background-image: url('img/search-1.svg');
    background-repeat: no-repeat;
    background-position: 20px center;
    text-indent: 58px !important;

}

/* #a11y::placeholder {
    text-indent: 58px !important;
} */

#a11y {
    background-image: url('img/wheelchair_pickup-1.svg');
    background-repeat: no-repeat;
    background-position: 20px center;
    /* text-indent: 58px !important; */
}

/* Style adjustments if you want to add a submit button */
button.form-style {
    background-color: #555;
    color: var(--wp--preset--color--contrast);
    padding: 10px 20px;
    border: none;
    border-radius: 0px;
    cursor: pointer;
}

button.form-style:hover {
    background-color: #666;
}

.input-wrapper {
    position: relative;
}


select.form-style option {
    background-color: var(--wp--preset--color--base-3);
    color: var(--wp--preset--color--contrast);
}

/* Style for option elements when hovered - not supported in all browsers */
select.form-style option:hover {
    background-color: #555;
}


#event-filter-form {
    display: grid;


    grid-template-columns: repeat(14, 1fr);
    gap: 15px;
}

.input-group {
    grid-column: span 8;
}

#event-type {
    grid-column: span 3;
}

#filter-empty {
    grid-column: span 2;
}

#event-name,
.select2-container--bkis {
    grid-column: span 4;
}

#a11y, #bmd_date, #bmd_time {
    grid-column: span 4;
}

#organizer {
    grid-column: span 3;
}

#location {
    grid-column: span 2;
}

.button_circle--filter {
    grid-column: span 1;
}

@media screen and (max-width:1500px) {

    #event-filter-form input[type="date"],
    #event-filter-form input[type="text"],
    #event-filter-form select {

        font-size: 16px;

    }

}

@media screen and (max-width:1230px) {



    .input-group {
        grid-column: span 8;
    }

    #event-type {
        grid-column: span 6;
        width: 100%;
    }

    #filter-empty {
        grid-column: span 0;
        display: none;
    }

    #event-name {
        grid-column: span 7;
    }

    #a11y {
        grid-column: span 7;
    }

    #organizer {
        grid-column: span 7;
    }

    #location {
        grid-column: span 6;
    }

    .button_circle--filter {
        grid-column: span 1;
    }
}

@media screen and (max-width:880px) {

    /* #event-filter-form input[type="date"], */
    #event-filter-form input[type="text"],
    #event-filter-form select,
    .select2-container--bkis {
        text-indent: 12px !important;

    }

    .filter-date {
        padding-left: 12px;
    }

    #event-name-autocomplete {
        background-image: none;
        text-indent: 12px !important;
    }

    #a11y {
        text-indent: 28px !important;
    }

    .input-group {
        grid-column: span 14;
    }

    #event-type {
        grid-column: span 7;
        background-image: none;
    }

    .input-wrapper:after {
        display: none;
    }

    .input-group {
        grid-template-columns: 1fr;
    }

    #event-name {
        grid-column: span 7;
        background-image: none;
        text-indent: 0;
    }

    /* #a11y::placeholder {
        text-indent: 28px !important;
    } */

    #a11y {
        grid-column: span 7;
        background-image: none;
        text-indent: 0;
    }

    #organizer {
        grid-column: span 7;
        background-image: none;
    }

    #location {
        grid-column: span 10;
    }

    .button_circle--filter {
        grid-column: span 4;
    }



    #event-type {
        grid-column: span 14;
    }

    #event-name {
        grid-column: span 14;
    }

    #a11y {
        grid-column: span 14;
    }

    #organizer {
        grid-column: span 14;
    }

    #location {
        grid-column: span 10;
    }

    .button_circle--filter {
        grid-column: span 4;
    }
}

@media screen and (max-width:600px) {

    select#location {
        grid-column: span 14;
    }

    #bmd_date, #bmd_time {
        grid-column: span 7;
    }


}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    input[type="date"] {
        /* text-indent: 20px; */
    }
}

@media screen and (max-width:600px) and (-webkit-min-device-pixel-ratio:0) {
    input[type="date"] {
        /* text-indent: 8px; */
    }
}