@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
html {
  scroll-behavior: smooth;
}

.modal {
  display: flex;
  /* visibility: hidden; */
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 10;
  width: 100%;
  height: 100%;
      left: 0;
    top: 0;

}
.model-inner {
  background-color: white;
  border-radius: 0.5em;
  max-width: 600px;
  padding: 2em;
  margin: auto;
  position: relative;

  p{
    font-family: 'Open Sans', Courier, monospace;
    color: #1e1e1e;
  }

  #initialCity{
    border-radius: 10px;
    font-size: 1.125rem;
    font-weight: 500;
    color: #1e1e1e;
    font-family: 'Lato', Courier, monospace;
  }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #E73742;
  margin-bottom: 30px;

  h3{
    font-family: 'Lato', Courier, monospace;
    color: #0068B5;
    margin-block: 0 8px;
    font-size: 1.8rem;
  }
  .modal__close{
    border: none;
    position: absolute;
    top: 8px;
    right: 10px;
    width: 65px;
    background: transparent;

    &:hover{
      background: transparent;
      color: #E73742;
    }
  }
}

[x-cloak] {
  display: none !important;
}

.overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: black;
  opacity: 0.75;
}

.titleSection__title{
  font-size: 2rem;
}

select#cityFilter {
  font-size: 20px;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  border-radius: 10px;
  background-color: #f5f5f5;
}

.mapPoints{
  display:flex;
  gap: 10px;
  /* height: calc(100vh - 145px); */
  height: 80vh;
  margin: 30px auto 90px;
  position: relative;
  max-width: 1440px;
  width: 100%;
}

.mapPoints__sidebar{
  flex: 1 0 30%;
  padding-inline: 10px;
  height: 100%;
  overflow: hidden;
}

.mapPoints__listInformation {
  overflow-y: scroll;
  height: calc(100% - 130px);
  padding-bottom: 100px;
  scrollbar-color: #4D89C8 #f9f9f9;
  scrollbar-width: thin;
  padding-right: 10px;
  margin-top: 20px;
}

.titleSection__title{
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 1.4rem!important;
}
.titleSection__title strong{
  display: block;
  font-size: 120%;
}
.filterPoints:not(:last-child){
  margin-bottom: 15px;
}
.filterPoints__title{
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 12px;
}
button.btn-filter{
  background-color: #AEDFE4;
  border: none;
  color: #0E0F0F;
  font-family: "Lato", Sans-serif;
  font-size: 1.125rem;
  text-shadow: 0px 0px 10px rgba(0,0,0,0.3);
  padding: 8px 20px;
  width: 150px;
}
button.btn-filter:hover{
  background-color: #64ACF8
}
.pointMap {
  --color-letter: #1E1E1E;
  margin-block: 20px;
  background-color: rgb(245 245 245);
  background-image: url('/wp-content/themes/hello-theme-child/image/bodegaPil-background-60.webp');
  background-repeat: no-repeat;
  background-position: 104% 105%;
  background-size: 110px;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #0e0f0f;
}
.pointMap:first-child{
  margin-top: 0;
}

.pointMap.active, .pointMap:hover{
  background-color: rgb(235 127 37 / 25%);
  border-color: #eb7f25;
  transition: background-color ease-in-out 300ms;
}
.pointMap-name{
  color: #0068B5;
  font-family: "Lato", Sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  transition: background-color ease-in-out 300ms;
}
.pointMap-address {
  font-family: "Open Sans", Sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-letter);
  margin-bottom: 5px;
  line-height: 1.4;

  &.pointMap-address__zona{
    font-weight: 700;
  }
}
.pointMap-info{
  color: #80589f;
  font-size: 1rem!important;
  font-weight: 800;
  font-family: "Lato", Sans-serif;
  margin-bottom: 5px;
  text-align: center;
  text-transform: uppercase;
}

.pointMap-moreInfo{
  color: #fff;
  font-size: 0.875rem;
  margin: 15px auto 8px;
  display: block;
  text-align: center;
  padding: 8px 12px 8px;
  border: 1px solid #e73742;
  font-family: 'Lato', Sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 50px;
  background-color: #0068B5;
  width: 215px;

  &:hover{
    color: #fff;
    background-color: #e73742;
  }
}

.pointMapDetail--description{
  font-family: "Lato", Sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--color-letter);
  margin-bottom: 3px;
}
.pointMapDetail--schedules{
  list-style: none;
  padding-inline-start: 0;
  margin-block: 0;
  font-family: "Lato", Sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--color-letter);
}
/* .pointMap:nth-child(even){
  background-color: #4D89C8;
  --color-letter: #FFF;
} */
.mapPoints__content{
  flex: 1 0 70%;
  height: 100%;
  padding-inline: 10px;
}
#googleMap{
  height: 100%;
  width: 100%;
  position: relative;
}
.mapPoints--searching{
  /* display: none; */
  padding-block: 15px;
}
.mapPoints--searching.active{
  display: block;
}
.animate-searching {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin: auto;
  /* 	width: 350px; */
  /* 	font-size:26px; */
  animation: load 1.5s infinite 0s ease-in-out;
  animation-direction: alternate;
  text-shadow: 0 0 1px #4D89C8;
  font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Lato';
}


@keyframes load {
  0% {
    opacity: 0.08;
    filter: blur(3px);
    letter-spacing: 2px;
  }
  100% {
    /*         opacity: 1; */
    /*         font-size: 12px; */
    /* 				font-weight:600; */
    /* 				filter: blur(0); */
  }
}

@media screen and (max-width: 767px){
  .mapPoints{
    flex-wrap: wrap;
    height: 100%;
    padding-top: 90px;
    margin-bottom: 50px;
    gap: 5px;
  }
  .mapPoints__sidebar{
    order: 2;
    flex: 1 0 100%;
    height: 45vh;
  }
  .titleSection.titleMap{
    display: none;
  }
  .mapPoints__filter{
    position: absolute;
    background: #fff;
    width: 100%;
    top: 0;
    left: 0;
    padding-inline: 10px;
    display: flex;
    gap: 10px;
    align-items: end;
  }
  .filterPoints{
    flex: 1 1 auto;
  }
  .mapPoints__listInformation{
    height: 100%;
    padding-bottom: 25px;
  }
  .mapPoints__content{
    height: 35vh;
  }

}

.bounce {
    animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    -moz-animation: bounce 2s infinite;
    -o-animation: bounce 2s infinite;
}

@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);}
    40% {-webkit-transform: translateY(-30px);}
    60% {-webkit-transform: translateY(-15px);}
}

@-moz-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);}
    40% {-moz-transform: translateY(-30px);}
    60% {-moz-transform: translateY(-15px);}
}

@-o-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);}
    40% {-o-transform: translateY(-30px);}
    60% {-o-transform: translateY(-15px);}
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-30px);}
    60% {transform: translateY(-15px);}
}

.bounce1 {
  animation: bounce1 1s ease infinite;
}
@keyframes bounce1 {
    70% { transform:translateY(0%); }
    80% { transform:translateY(-15%); }
    90% { transform:translateY(0%); }
    95% { transform:translateY(-7%); }
    97% { transform:translateY(0%); }
    99% { transform:translateY(-3%); }
    100% { transform:translateY(0); }
}

.bounce2 {
  animation: bounce2 1s ease infinite;
}
@keyframes bounce2 {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
	40% {transform: translateY(-30px);}
	60% {transform: translateY(-15px);}
}
