/*estilos nueva plantilla de contacto*/
.columns {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  margin-top: -0.75rem;
}

.columns:last-child {
  margin-bottom: -0.75rem;
}

.columns:not(:last-child) {
  margin-bottom: calc(1.5rem - 0.75rem);
}

.columns.is-gapless {
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
}

.columns.is-gapless > .column {
  margin: 0;
  padding: 0 !important;
}

.columns.is-gapless:not(:last-child) {
  margin-bottom: 1.5rem;
}

.columns.is-gapless:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 992px), print {
  .columns:not(.is-desktop) {
    display: flex;
  }
}

.column {
  display: block;
  flex-basis: 0;
  flex-grow: 1;
  flex-shrink: 1;
  padding: 0.75rem;
}

@media screen and (min-width: 992px), print {
  .column.is-two-fifths,
  .column.is-two-fifths-tablet {
    flex: none;
    width: 40%;
  }

  .column.is-three-fifths,
  .column.is-three-fifths-tablet {
    flex: none;
    width: 60%;
  }
}

.page-title {
  margin-bottom: 2rem;
}

.buscarmapa {
  margin-top: 3rem;
  margin-bottom: 3rem;
}



/*.textwrap{
    margin-bottom: 2rem;
}*/




.mapi iframe[src*="https://www.google.com/maps/d/embed?mid=115"]
{
  pointer-events: none;
}

.mapi iframe[src*="https://www.google.com/maps/embed?pb=!"]
{
  /*margin-top: 0;
height: 100%;*/
  margin-top: -120px;
  height: calc(100% + 240px);
}

.h100 {
  height: 100%;
}

.mapsec {
  margin-bottom: 30px;
  padding: 2rem !important;
}

.mapi {
  overflow: hidden;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}

.mapi iframe {
  /*pointer-events: none;*/
  width: 100%;
  margin-top: -100px;
  /*max-height: 75vh;*/
  height: calc(100% + 200px);
  transition: all ease-in-out 1s;
}

.mapsec {
  position: relative;
}

.mapi-container .card {
  margin-bottom: 0 !important;
  z-index: 1 !important;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  max-width: 350px;
  /*max-height: 380px;*/
  margin-left: auto;
}

.mapi-container .card li,
.mapi-container .card p {
  font-size: 1rem;
}
.infoagwrap{
  padding: 1rem 0rem;
}
.mapsec{
  min-height: 15rem;
  border-radius: 11px;
  overflow: hidden;
}
.buscarmapa .contenido.boxinfomap {
    margin-bottom: 1rem;
    border-radius: 11px;
    padding: 2rem;
    bottom: 5%;
    box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
      0 0 0 1px rgba(10, 10, 10, 0.02);
    background-color: rgba(0, 165, 202, 0.7);
    *{
        color: #fff;
        line-height: 1;
        margin: 0;
    }
    .infoagnombre, .infoagdireccion, .infoagcelular, .infoagcelular_2, .infoagwhatsapp, .infoaghorarios{
        margin-bottom: .5rem;
    }
    #headpicmap{
      margin-bottom: 1rem;
    }
}
@media (min-width: 768px) {
  .buscarmapa .contenido {
    padding: 8rem 2rem;
    background-color: #fff;
  }
  .buscarmapa {
    height: calc(100vh - 120px);
    margin: 0 !important;
    position: relative;
  }

  .buscarmapa .contenido.boxinfomap {
    position: absolute;
    z-index: 1;
    top: 5%;
    left: 10%;
    border-radius: 11px;
    padding: 2rem;
    bottom: 5%;
    width: 50%;
    max-width: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
      0 0 0 1px rgba(10, 10, 10, 0.02);
    /* background-color: rgba(255, 255, 255, .8); */
    background-color: rgba(0, 165, 202, 0.7);
    *{
        color: #fff;
        line-height: 1;
        margin: 0;
    }
    .infoagnombre{
        font-size: 1.1rem;
    }
    .infoagnombre, .infoagdireccion, .infoagcelular, .infoagcelular_2, .infoagwhatsapp, .infoaghorarios{
        margin-bottom: .5rem;
    }
    .infoagwrap {
      display: flex;
      /* align-items: center; */
      gap: 1rem;
      margin-top: 2rem!important;
    }

    .infoagcontent {
      flex-basis: 50%;
      width: 50%;
      flex: 1;
    }
    #headpicmap {
      /* margin-top: 2rem; */
      flex-basis: 50%;
      width: 50%;
      flex: 1;
    }
    /*.infoaghorarios{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    } */
    /* .infoaghorarios{
        *{
            margin: 0;
        }
    } */
  }
}
.infoagcontent {
  display: none;
}
.buscarmapa .contenido.boxinfomap .selectgt {
  width: 100%;
  margin: 18px 0px 0px 0px;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  align-items: center;
  border: 1px solid transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 0.375em;
  box-shadow: none;
  display: inline-flex;
  font-size: 1rem;
  height: 2.5em;
  justify-content: flex-start;
  line-height: 1.5;
  padding-bottom: calc(0.5em - 1px);
  padding-left: calc(0.75em - 1px);
  padding-right: calc(0.75em - 1px);
  padding-top: calc(0.5em - 1px);
  position: relative;
  vertical-align: top;
}

.buscarmapa .contenido.boxinfomap .selectgt select {
  border-radius: 50px;
  background-color: #f0f0f0;
  color: #5e5e5e;
}

/* .buscarmapa
.contenido.boxinfomap
.selectgt:not(.is-multiple):not(.is-loading)::after {
  border: 3px solid transparent;
  border-top-width: 3px;
  border-top-style: solid;
  border-top-color: transparent;
  border-right-width: 3px;
  border-right-style: solid;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: 2px;
  border-right: 0;
  border-right-color: currentcolor;
  border-top: 0;
  border-top-color: currentcolor;
  content: " ";
  display: block;
  height: 0.625em;
  margin-top: -0.3em;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: rotate(-45deg);
  transform-origin: center;
  width: 0.625em;
  border-color: hsl(229deg, 53%, 53%);
  right: 2.125em;
  z-index: 4;
} */



#headpicmap img {
  object-fit: cover;
  /* aspect-ratio: 1/1; */
  height: 100%;
  width: 100%;
  object-position: top;
  border-radius: 11px;
  display: none;
}

.buscarmapa h1 {
  margin: 0;
  text-align: center;
}



.infoagcontent h3,
.infoagcontent span {
  display: block;
}

.infoagnombre {
  font-size: 1rem;
  font-weight: 500;
  font-family: Aileron, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/*fin estilos nueva plantilla de contacto*/
