#map-container {
width: 100%;
height: 100%;
min-height: 560px;
position: relative;
font-family: roboto,sans-serif;
box-sizing: border-box;
background: var(--e-global-color-4c091be);
display: flex;
flex-direction: row;
}
#map-container button {
background: none;
color: inherit;
border: none;
padding: 0;
font: inherit;
font-size: inherit;
cursor: pointer;
}
#map {
position:relative;
width:100%;
max-width: 100vw;
min-width: 320px;
min-height: 560px;
}
#locations-panel-list{
width: 100%;
margin:auto;
max-width:1080px;
}
#locations-panel-list button.select-location, #geoip-search-button {
white-space: normal!important;
}
#locations-panel {
position: relative;
left: 0;
width: 100%;
max-width: 1080px;
bottom: 0;
overflow-y: auto;
padding: 40px 20px;
box-sizing: border-box;
margin:auto;
}
.pac-container:after{display:none !important;} #locations-panel-list > header {
padding: 1.4em 1.4em 0 1.4em;
}
#locations-panel-list h1.search-title {
font-size: 1em;
font-weight: 500;
margin: 0;
white-space: normal!important;
}
#locations-panel-list h1.search-title > img {
vertical-align: bottom;
margin-top: -1em;
}
.search-input {
width: 100%;
margin-top: 0.8em;
position: relative;
white-space: normal!important;
}
.search-input input {
width: 100%;
border: 1px solid rgba(0,0,0,.2);
border-radius: 0.3em;
height: 2.2em;
box-sizing: border-box;
padding: 0 2.5em 0 1em;
font-size: 1em;
}
.search-input-overlay {
position: absolute;
}
.search-input-overlay.search {
right: 2px;
top: 2px;
bottom: 2px;
width: 2.4em;
}
.search-input-overlay.search button {
width: 100%;
height: 100%;
border-radius: 0.2em;
color: black;
background: transparent;
}
.search-input-overlay.search .icon {
margin-top: 0.05em;
vertical-align: top;
}
#locations-panel-list .section-name {
font-weight: 500;
font-size: 1rem;
}
.location-result, .location-result-infowindow{
position: relative;
padding: 5px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
cursor: pointer;
color:white;
border-radius: 8px;
background:transparent;
transition:all 250ms ease-in-out;
justify-content: space-between;
align-items: center;
}
.location-result {
border: 1px solid var(--e-global-color-78e0a74);
}
#location-results-list .location-result:first-of-type {
}
#location-results-list .location-result.selected{
background-color: var(--e-global-color-78e0a74);
color: var(--e-global-color-55e534b);
box-shadow: 0 3px 5px 0 rgb(0 0 0 / 20%);
}
.location-result-infowindow.selected {
color: var(--e-global-color-55e534b);
}
#locations-panel-list button.select-location {
margin-bottom: 0.6em;
text-align: left;
}
.location-result img{
object-fit: contain;
width: 100%;
height: 100%;
border-radius: 8px;
aspect-ratio:1;
box-shadow: 0 3px 5px 0 rgb(0 0 0 / 10%);
}
.location-result h3.name, .location-result-infowindow h3.name {
font-size: 1em;
font-weight: 500;
margin: 0;
word-break: normal!important;
color:white;
text-transform: uppercase;
}
.location-result .address, .location-result-infowindow .address  {
font-size: 12px;
margin-bottom: 5px;
color:white;
text-transform: uppercase;
font-weight: 200;
}
.location-result .distance, .location-result-infowindow .distance {  right: 0;
text-align: left;
font-size: 0.9em;
width: 5em;
color: white;
}
.location-result.selected *, .location-result-infowindow.selected *{
color: var(--e-global-color-55e534b)!important;
}
#location-results-list {
list-style-type: none;
margin: 0;
padding: 0;
background:transparent;
width: 100%;
max-width:1080px;
margin: auto;
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 10px;
padding: 20px 6px;
}
li.location-result {
width: 100%;
transition: all 250ms ease-in-out;
}
div.location-result{
width: 100%;
}
@media screen and (max-width:768px){
li.location-result {
width: calc(100% - 20px);
}
}
.flatpickr-current-month{
grid-auto-columns: 1fr;
grid-template-columns: repeat(2, 1fr);
}
#location-search-button{
padding:2px;
border-color: var(--e-global-color-55e534b);
border-radius: 0px;
}
.location-result .logo-image{
width: 20%; background:white; border-radius: 8px;
}
.location-result .informations{
width: 100%;
padding:3px;
padding-left: 8px;
padding-right: 8px;
padding-top:10px;
padding-bottom: 10px;
display: flex;
flex-direction: column;
justify-content: stretch;
align-items: flex-start;
justify-items: inherit;
height: 100%;
}
.location-result:nth-of-type(n+7){ }
.loading{
position: relative;
}
.loading:after{
position:absolute;
background: rgba(255,200, 235, 0.3);
inset: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
content: url(//www.newpharmgarden.it/wp-content/uploads/2022/11/Spinner-1s-200px.svg);
}
#map-container-errors{
text-align: center;
padding: 0px;
background-color: var(--wp--preset--color--vivid-red, '#cf2e2e');
color: white;
font-weight: bold;
transition: all 300ms ease-in-out;
}
#map-container-errors.show{
padding: 20px;
}
#map-container-errors.notice{
background-color: var(--wp--preset--color--luminous-vivid-amber, '#fcb900');
}
#pagination-controls {
margin: auto;
display: flex;
align-items: center;
gap: 10px;
padding-left: 20px;
padding-right: 20px;
justify-content: center;
button {
padding: 0.5em 1em;
background: var(--e-global-color-58d77d6);;
border: 1px solid var(--e-global-color-58d77d6);;
cursor: pointer;
color: black;
border-radius: 8px;
}
button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
}
#radius-wrapper {
padding:10px;
display: flex;
flex-direction: column;
gap:10px;
}
#radius-selector {
background:white;
color:black;
border:solid 1px white;
border-radius: 14px;
max-width: 320px;
}
gmpx-place-autocomplete {
--gmpx-color-border: transparent; --gmpx-color-background: #fff; --gmpx-color-text: #333; --gmpx-color-placeholder: #999; --gmpx-font-size: 16px; --gmpx-padding: 8px 8px; width: 100%;
max-width: 400px;
margin: 0;
display: block;
background: white;
}
gmpx-place-autocomplete::part(input) {
border: none;
background-color: #f0f0f0;
padding: 10px;
font-size: 16px;
}
#locations-panel-list{
.filters{
display: grid;
grid-template-columns:2fr 1fr;
gap:18px;
padding:5px;
.filter-wrapper{
background:white;
border-radius:12px ;
padding: 10px 14px 14px;
label{
color: black; text-transform: uppercase;
font-family: var(--e-global-typography-primary-font-family);
font-weight: 600;
}
.filter-input-wrapper{
display: flex;
position: relative;
align-items: center;
}
input, select{
border-radius: 4px;
border: solid 1px rgb(235, 235, 235);
padding: 4px 2px;
}
#location-search-button{
position: absolute;
right:2px;
width: 30px;
z-index: 4;
background: white;
height: calc(100% - 4px);
border-left: solid 1px rgb(235, 235, 235);;
align-items: center;
justify-content: center;
}
}
}
}
#map{
.gm-style-iw-chr {
position: absolute;
right: 10px;
top:10px;
z-index: 4;
button{
width: 24px!important;
height: 24px!important;
span {
width: 24px!important;
height: 24px!important;
margin: 0 !important;
}
margin: 0px;
}
}
.gm-style-iw-c {
background-color: rgba(255, 255, 255, 1) !important;
border-radius: 10px !important;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
padding: 24px !important;
}
.gm-style-iw-d {
overflow: hidden !important;
padding: 0 !important;
}
}
.location-result:hover{
background-color: rgba(255,255,255,0.2);
}
.location-result-infowindow.selected {
min-width: 250px;
max-width: 90svw;
.informations{
width: 100%;
font-weight: normal;
font-size: 1rem;
padding-bottom:0px;
padding-top: 5px;
}
details{
margin-bottom:10px;
}
details summary {
font-weight: bold;
cursor: pointer;
margin-bottom: 10px;
margin-top: 10px;
padding:6px 8px;
background:rgba(240,240,240,1);
}
details summary::-webkit-details-marker,
details summary::marker{
display: none;
content:none;
}
details[open] summary::after {
content: "▲";
float: right;
}
details summary::after {
content: "▼";
float: right;
}
a{
text-decoration: underline;
font-weight: bold;
}
p{
margin-block-end:5px;
font-size: 1rem;
}
.contact-button {
margin-top: 10px;
display: inline-block;
padding: 0.5em 1em;
background: var(--e-global-color-58d77d6);
border: 1px solid var(--e-global-color-58d77d6);
cursor: pointer;
color: black;
border-radius: 4px;
transition: 0.3s;
}
.contact-button:hover {
background-color: var(--e-global-color-primary);
color: var(--e-global-color-37b6a04)!important;
}
}
@media screen and (max-width: 769px){
#map-container{
flex-direction: column;
#map{
min-width: 260px;
}
.filters{
grid-template-columns:1fr;
}
}
}
.store-locator-tabs{
display: flex;
flex-direction: row;
list-style-type:none;
align-items: center;
justify-content: center;
gap:10px;
padding:10px 10px;
li{
padding: 10px 20px;
border-radius: 10px;
color: black;
border: 1px solid var(--e-global-color-55e534b);
&:focus, &:has(input:focus){
outline: solid 2px var(--e-global-color-55e534b);
}
&:has(input:checked){
border: 1px solid var(--e-global-color-58d77d6);
background-color: var(--e-global-color-78e0a74);
color: var(--e-global-color-55e534b);
}
input[type="radio"]{
}
}
}
#panel-online{
padding:20px;
background-color: var(--e-global-color-4c091be);
}
.online-result{
display: flex;
flex-direction: column;
gap:20px;
#online-results-list{
display: grid;
grid-template-columns:1fr 1fr;
padding-inline-start: 0px;
@media screen and (max-width: 679px){
grid-template-columns:1fr;
}
flex-direction: column;
gap:20px;
.online-store-item {
padding:10px;
gap:10px;
@media screen and (max-width: 768px){
flex-direction: column;
}
.name {
font-weight: bold;
}
a{
font-weight: normal;
text-decoration: underline;
padding: 10px 20px;
border-radius: 10px;
display: block;
border: 1px solid var(--e-global-color-58d77d6);
&:hover{
border: 1px solid var(--e-global-color-58d77d6);
background-color: var(--e-global-color-78e0a74);
color: var(--e-global-color-55e534b);
}
}
}
}
#online-pagination-controls{
align-items: center;
display: flex;
justify-content: center;
gap:10px;
button {
padding: 0.5em 1em;
background: var(--e-global-color-58d77d6);;
border: 1px solid var(--e-global-color-58d77d6);;
cursor: pointer;
color: black;
border-radius: 8px;
}
button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
}
}