#map-container {
  display: none;
}

.container-agentes {
  min-width: 450px;
  max-width: 450px;
  width: 450px;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: 2;
}

#map {
  height: 100vh;
  width: calc(100vw - 466px);
  left: 450px;
}

.busca .busca-input svg {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  cursor: pointer;
}

.busca {
  min-height: 170px;
  background-color: #005983;
  padding: 10px 10px 20px 10px;
}

.busca .busca-texto,
.busca .busca-texto-categoria {
  padding: 0;
  margin: 0;
  margin-bottom: 15px;
  color: #fff;
  line-height: 1.3;
  font-size: 16px;
}

.busca .busca-categorias .busca-texto-categoria {
  margin-top: 15px;
  margin-bottom: 5px;
}

.busca .busca-input {
  padding-bottom: 5px;
}

#endereco_geocode {
  background-color: #005983;
  border: none;
  margin-left: 5px;
  color: white;
  width: 80%;
  margin-top: 10px;
  font-size: 16px;
  padding: 0;
  padding-bottom: 5px;
  background-color: transparent;
  background-color: rgba(0, 0, 0, 0);
  background-repeat: no-repeat;
  background-position: center bottom, center -webkit-calc(100% - 1px);
  background-position: center bottom, center calc(100% - 1px);
  -webkit-background-size: 0 2px, 100% 1px;
  background-size: 0 2px, 100% 1px;
  -webkit-transition: background 0s ease-out;
  -o-transition: background 0s ease-out;
  transition: background 0s ease-out;
  background-image: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(#005983),
      to(#005983)
    ),
    -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#ffffff));
  background-image: -webkit-linear-gradient(#005983, #005983),
    -webkit-linear-gradient(#ffffff, #ffffff);
  background-image: -o-linear-gradient(#005983, #005983),
    -o-linear-gradient(#ffffff, #ffffff);
  background-image: linear-gradient(#005983, #005983),
    linear-gradient(#ffffff, #ffffff);
}

#endereco_geocode.form-error {
  -webkit-background-size: 100% 2px, 100% 1px;
  background-size: 100% 2px, 100% 1px;
  outline: 0;
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
  float: none;
  background-image: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(#ed3237),
      to(#ed3237)
    ),
    -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#ffffff));
  background-image: -webkit-linear-gradient(#ed3237, #ed3237),
    -webkit-linear-gradient(#ffffff, #ffffff);
  background-image: -o-linear-gradient(#ed3237, #ed3237),
    -o-linear-gradient(#ffffff, #ffffff);
  background-image: linear-gradient(#ed3237, #ed3237),
    linear-gradient(#ffffff, #ffffff);
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.busca .busca-categorias p {
  padding-bottom: 0;
  margin-bottom: 0;
}

.busca .busca-categorias .row1,
.busca .busca-categorias .row2 {
  display: inline-block;
  vertical-align: top;
}

.busca .busca-categorias .row1 {
  width: 240px;
}

.busca .busca-categorias .row2 {
  width: 165px;
}

.busca input[type="checkbox"] {
  display: none;
}

.busca input[type="checkbox"] + label {
  color: #f2f2f2;
  font-size: 16px;
  cursor: pointer;
  margin-left: 5px;
  margin-bottom: 5px;
  line-height: 25px;
}

.busca input[type="checkbox"] + label span {
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 5px;
  vertical-align: middle;
  background: url(/wp-content/plugins/aal-agentes-autorizados-latina-plugin/assets/img/check.png)
    left top no-repeat;
  cursor: pointer;
}

.busca input[type="checkbox"]:checked + label span {
  background: url(/wp-content/plugins/aal-agentes-autorizados-latina-plugin/assets/img/check.png) -24px
    top no-repeat;
}

#resultados {
  width: 100%;
  height: calc(100vh - 210px);
  max-height: calc(100vh - 210px);
  overflow: auto;
}

/*Loading*/
#resultados-loading {
  width: 100%;
  position: absolute;
  text-align: center;
  top: 53%;
}

#resultados-comeco p,
#resultados-vazio p {
  padding: 25px;
  margin: 0;
  color: #000;
  line-height: 1.5;
  font-size: 16px;
}

#resultados-comeco img {
  height: 200px;
  margin-top: 40px;
  position: absolute;
  left: 25%;
}

.spinner {
  -webkit-animation: rotator 1.4s linear infinite;
  animation: rotator 1.4s linear infinite;
}
@-webkit-keyframes rotator {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
  }
}

@keyframes rotator {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
  }
}

.path {
  stroke-dasharray: 187;
  stroke-dashoffset: 0;
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-animation: dash 1.4s ease-in-out infinite,
    colors 5.6s ease-in-out infinite;
  animation: dash 1.4s ease-in-out infinite, colors 5.6s ease-in-out infinite;
}
@-webkit-keyframes colors {
  0% {
    stroke: #005983;
  }
  25% {
    stroke: #005983;
  }
  50% {
    stroke: #005983;
  }
  75% {
    stroke: #005983;
  }
  100% {
    stroke: #005983;
  }
}
@keyframes colors {
  0% {
    stroke: #005983;
  }
  25% {
    stroke: #005983;
  }
  50% {
    stroke: #005983;
  }
  75% {
    stroke: #005983;
  }
  100% {
    stroke: #005983;
  }
}
@-webkit-keyframes dash {
  0% {
    stroke-dashoffset: 187;
  }
  50% {
    stroke-dashoffset: 46.75;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: 187;
    -webkit-transform: rotate(450deg);
    transform: rotate(450deg);
  }
}
@keyframes dash {
  0% {
    stroke-dashoffset: 187;
  }
  50% {
    stroke-dashoffset: 46.75;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  100% {
    stroke-dashoffset: 187;
    -webkit-transform: rotate(450deg);
    transform: rotate(450deg);
  }
}

.agente {
  padding: 10px 35px 15px 35px;
  cursor: pointer;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.agente:hover {
  background-color: #eee;
}

.agente:before {
  content: attr(data-label);
  position: absolute;
  left: 11px;
  font-size: 20px;
  color: #005983;
}

.agente p {
  padding-bottom: 2px;
  font-size: 14px;
  line-height: 1.3;
}

.agente h5 {
  font-size: 20px;
  margin-top: 5px;
  padding-bottom: 0;
  margin-bottom: 10px;
}

.agente svg {
    width: 45px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}

@media only screen and (max-width: 980px) {
  .entry-content {
    position: inherit !important;
  }

  .container-agentes {
    min-width: auto;
    max-width: inherit;
    width: 100%;
    position: relative;
    height: inherit;
  }

  #resultados {
    height: inherit;
    max-height: inherit;
  }

  .agente-img {
    margin-bottom: 40px;
    margin-top: 40px;
  }

  #resultados-comeco img {
    position: relative;
    display: table;
    margin: auto;
    left: 0;
  }

  #map {
    width: 100%;
    height: calc(100vh - 110px);
    position: relative;
    left: initial;
    min-height: calc(100vh - 110px);
  }

  .busca .busca-categorias .row1,
  .busca .busca-categorias .row2 {
    width: 49%;
  }

  #resultados-loading {
    position: inherit;
    margin-bottom: 100px;
    margin-top: 100px;
  }
}

@media only screen and (max-width: 480px) {
  .busca .busca-categorias .row1,
  .busca .busca-categorias .row2 {
    width: 100%;
  }
}


#endereco_geocode::placeholder {
  color: #fff;
  opacity: 1; /* Ensures consistent opacity, particularly for Firefox */
}

/* For older browsers that may require vendor prefixes */
#endereco_geocode::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #fff;
}
#endereco_geocode::-moz-placeholder { /* Firefox 19+ */
  color: #fff;
}
#endereco_geocode:-ms-input-placeholder { /* IE 10+ */
  color: #fff;
}
#endereco_geocode:-moz-placeholder { /* Firefox 18- */
  color: #fff;
}