:root {
    --eaop-dairy-search-brown-dark: #2D2823;
    --eaop-dairy-search-brown-light: #C8A078;

    --eaop-dairy-search-icon-filter-light-brown: invert(94%) sepia(4%) saturate(7465%) hue-rotate(310deg) brightness(83%) contrast(86%);
    --eaop-dairy-search-icon-filter-white: invert(100%) sepia(100%) saturate(0%) hue-rotate(298deg) brightness(102%) contrast(102%)
}

/*** MAPS DAIRY SEARCH ***/
/** MAP POPUP **/
#map {
	overflow: hidden;
}

.gm-style-iw-c { /* Popup */
    width: 480px !important;
    background-color: var(--eaop-dairy-search-brown-dark) !important;
    padding: 0 !important;
    color: #fff !important;
    display: flex;
    flex-direction: column;
    border-radius: 0 !important;
}

.gm-style-iw-d { /* inner popup */
    overflow: hidden !important;
}

.gm-style-iw button.gm-ui-hover-effect { /* Close Button */
    background: #fff !important;
    width: 20px !important;
    height: 20px !important;
    top: 5px !important;
    right: 5px !important;
    opacity: 1 !important;
    border-radius: 0 !important;
}

.gm-style-iw button > span { /* Close Button */
    height: 20px !important;
    width: 20px !important;
    margin: 0 !important;
}

.gm-style-iw-tc::after { /* Triangle Bottom */
    background: var(--eaop-dairy-search-brown-dark) !important;
}

.eaop-map-popup__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 12px;
}

.eaop-map-popup__inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 20px;
}

.eaop-map-popup__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: #fff;
    padding: 20px;
}

.eaop-map-popup__subtitle {
    color: #fff;
    font-family: "Helvetica Neue", sans-serif !important;
    font-size: 22px !important;
    font-weight: 600;
    text-transform: none;
    font-style: normal !important;
    line-height: 1.2 !important;
}

.eaop-map-popup__title {
    margin: 0;
    color: var(--eaop-dairy-search-brown-light);
    font-size: 22px;
    font-weight: 600;
}

hr.eaop-map-popup__devider {
    width: 50%;
    border: 1px solid var(--eaop-dairy-search-brown-light);
}

.eaop-map-popup__address {
    font-size: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 100%;
    margin-top: 20px;
}

.eaop-map-popup__image {
    width: 330px;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.eaop-map-popup__image__image {
    width: 100%;
    height: 230px;
    background: transparent;
}


/** MOBILE **/
@media only screen and (max-width: 390px) {
    #map {
        height: 100vh;
        width: 100vw;
    }

    .gm-style-iw-c { /* Popup */
        width: 250px !important;
        outline: none;
        border: none;
    }

    .eaop-map-popup__inner {
        flex-direction: column-reverse;
    }

    .eaop-map-popup__info {
        padding: 5px;
    }

    .eaop-map-popup__image {
        width: 97%;
    }

    .eaop-map-popup__image__image {
        height: 150px;
    }
	
	.eaop-zip-search-item__locationreadme__wrapper {
		flex-wrap: wrap;
		margin-top: 10px;
		margin-left: 20px;
	}
}

/*** ZIP SEARCH ***/
.eaop-zip-search__form {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 25px;
    align-items: center;
    width: 100%;
}

#eaop-zip-search__form__search__field,
.eaop-zip-search__form__distance__field,
#eaop-zip-search__form__submit__button {
    display: inline-block;
    border: 2px solid #fff;
    border-radius: 25px;
    font-family: Athelas, sans-serif;
!important;
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
    outline: none;
}

::placeholder {
    color: #fff !important;
    opacity: 1;
}

.eaop-zip-search__field-wrapper__distance, 
.eaop-zip-search__field-wrapper__search {
    position: relative;
    display: flex;
    flex-direction: column;
}

.eaop-zip-search__field-wrapper__distance label,
.eaop-zip-search__field-wrapper__search label{
    color: white;
   font-size: 20px;
    margin-bottom: 20px;
	
}

.eaop-zip-search__field-wrapper__distance {
    width: 18%;
}

.eaop-zip-search__field-wrapper__search {
    width: 60%;
}

.eaop-zip-search__field-wrapper:has(#eaop-zip-search__form__submit__button) {
    width: 18%;
}

#eaop-zip-search__form__search__field {
    width: 100%;
    padding: 6px 20px 6px 50px;
    background-image: url("../assets/icon-search.svg");
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: 10px 10px;
    background-color: transparent;
    color: #fff !important;
}

.eaop-zip-search__form__distance__field {
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 40%;
    padding: 5px 20px;
    color: #fff;
    background-color: transparent;
    background-image: url("../assets/icon_dropdown_arrow.svg");
    background-repeat: no-repeat;
    background-position: 85% calc(50% + 2px);
    font-size: 22px;
}

.eaop-zip-search__form__distance__field:active,
.eaop-zip-search__form__distance__field:focus {
    border: 2px solid #fff;
}

.eaop-zip-search__form__distance__field > option {
    background-color: var(--eaop-dairy-search-brown-dark);
}

#eaop-zip-search__form__submit__button {
    width: 20%;
    background-color: #fff;
    padding: 6px 20px;
    text-align: center;
    color: var(--eaop-dairy-search-brown-dark);
    margin-top: 40px;
}

/*** ZIP SEARCH OUTPUT ***/
.eaop-zip-search__output_buttons,
.shop-filter__buttons {
    width: 100%;
}

.eaop-zip-search__output_buttons ul,
.shop-filter__buttons ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: auto;
    padding: 0;
}

.eaop-zip-search-button__listitem {
    list-style: none;
}

.eaop-zip-search-button__wrapper {
    margin: 20px;
}

.eaop-zip-search-button__button {
    border: 2px solid #fff;
    border-radius: 25px;
    padding: 0 10px;
    background-color: transparent;
    text-decoration: none;
    color: #C8A078;
    font-family: sans-serif;
    display: block;
}

.shop-filter__buttons .eaop-zip-search-button__button {
    border: 2px solid var(--eaop-dairy-search-brown-light);
}

.eaop-zip-search-button__icon {
    display: inline-block;
    height: 40px !important;
    text-align: center;
    vertical-align: middle;
    filter: var(--eaop-dairy-search-icon-filter-white);
}

.shop-filter__buttons .eaop-zip-search-button__icon {
    filter: var(--eaop-dairy-search-icon-filter-light-brown);
}

.eaop-zip-search__output_lists {
    display: block;
    width: 100%;
    padding: 0;
    margin-top: -50px
}

.eaop-zip-search-item__wrapper {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #c8a078;
    padding: 20px 0;
}

.eaop-zip-search-item__title {
    display: flex;
    flex-direction: column;
    width: 45%;
    background: url("../assets/arrow_right.svg") no-repeat;
    background-position-y: 5px;
    font-size: 18px;
    padding-left: 35px;
}

.eaop-zip-search-item__title span:first-child {
    font-weight: bold;
}

.eaop-zip-search-item__title span:last-child {
    font-weight: 200;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 18px !important;
}

.eaop-zip-search-item__locationreadme__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 35%;
}

.eaop-zip-search-item__location {
}

a.eaop-zip-search-item__location {
    display: inline-block;
    padding: 6px 40px;
    height: 100%;
    text-decoration: none;
    color: var(--eaop-dairy-search-brown-light) !important;
    font-style: italic !important;
    font-family: 'Athelas', serif;
    font-size: 20px;
    font-weight: bold;
    border-radius: 25px;
    border: 2px solid #c8a078;
}

a.eaop-zip-search-item__location:hover {
    background-color: #C8A078;
    color: #fff !important;
}

div.eaop-zip-search-item__read_more {
    line-height: 20px;
    padding-left: 10px;
    display: flex;
    justify-content: space-between;
}

div.eaop-zip-search-item__read_more a {
    text-decoration: none;
    color: #000;
    font-family: 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 15px;
    position: relative;
}

img.eaop-zip-search-item__icon {
    position: absolute;
    height: 30px !important;
    left: -40px;
    top: -3px;
}

/*** SHOP FILTER ***/
.shop-filter__wrapper {
    display: flex;
    justify-items: center;
	align-items: center;
    justify-self: center;
}

.shop-filter__wrapper select,
.shop-filter__wrapper select:focus {
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 372px;
    border: 2px solid var(--eaop-dairy-search-brown-light);
    border-radius: 25px;
    /*background-color: #fff;*/
    padding-right: 40px;
    color: var(--eaop-dairy-search-brown-light);
    font-family: 'Athelas', serif;
    font-weight: bold;
    font-size: 20px;
    font-style: italic;
    outline: none;
    background-image: url("../assets/icon_dropdown_arrow_brown.svg");
    background-color: #fff;
    background-position: 95% calc(50% + 2px);
    background-repeat: no-repeat;
}

.shop-filter__wrapper select::after {
    content: 'vvv';
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    height: 20px;
    z-index: 10;
    /*background-image: url("../assets/icon_dropdown_arrow.svg");*/
    /*filter: var(--eaop-dairy-search-icon-filter-light-brown);*/
    /*background-repeat: no-repeat;*/
    background-color: #0c0c0c;
}

/*.elementor-widget-container:has(.shop-filter__wrapper)*/
.eaop-dropdown__wrapper > .elementor-widget-container {
    display: flex;
    justify-content: center;
}

@media only screen and (max-width: 685px) {
    .eaop-zip-search-item__wrapper {
        flex-direction: column;
		padding: 3rem;
    }
	
	.eaop-zip-search__field-wrapper__distance,
	.eaop-zip-search__field-wrapper__search{
		flex-basis: 100%
	}

    .eaop-zip-search__form {
        flex-wrap: wrap;
		justify-content: center;
    }

    #eaop-zip-search__form__search__field {
        width: 100%;
    }

    .eaop-zip-search__form__distance__field {
        min-width: 120px !important;
		background-position: 95% calc(50% + 2px);
    }

    #eaop-zip-search__form__submit__button {
        width: 69%;
    }

    div.eaop-zip-search-item__title {
        width: 100%;
    }

    div.eaop-zip-search-item__locationreadme__wrapper {
        width: 100%;
        gap: 20px;
		margin-top: 30px;
		margin-left: 67px;
		flex-direction: column;
		justify-content: start;
		align-items: self-start;
    }

    div.eaop-zip-search__output_lists {
        padding: 0 16px;
    }
	
	div.shop-filter__wrapper > select {
		width: 95%;
		margin: auto;
	}
	
	div.eaop-zip-search-item__read_more {
		padding-left: 41px;
	}
}

@media only screen and (max-width: 767px){
	  #eaop-zip-search__form__search__field {
        width: 100%;
		margin-right: 25px;
    }
	
	 .eaop-zip-search__form__distance__field {
        min-width: 120px !important;
    }
	
	 #eaop-zip-search__form__submit__button {
        min-width: 150px;
		margin-left: 25px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1140px) {
    #eaop-zip-search__form__search__field {
        width: 100%;
		margin-right: 25px;
    }

    .eaop-zip-search__form__distance__field {
        min-width: 120px !important;
    }

    #eaop-zip-search__form__submit__button {
        min-width: 150px;
		margin-left: 25px;
    }

    div.eaop-zip-search__output_lists {
        padding: 0 16px;
    }

    
}
