/* Tema Tomazelli: carregar depois dos estilos de cada pagina. */
:root { color-scheme: dark; }
html, body { background-color: #000 !important; color: #fff !important; }
body *, body *::before, body *::after { color: #fff !important; }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
select, textarea, option, optgroup, .w-input, .w-select {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #777;
}
input::placeholder, textarea::placeholder { color: #fff !important; opacity: 1; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  -webkit-box-shadow: 0 0 0 1000px #000 inset !important;
  caret-color: #fff;
}
input[type="checkbox"], input[type="radio"], input[type="range"] { accent-color: #ac8e52; }
.w-slider-dot { background-color: #777 !important; }
.w-slider-dot.w-active { background-color: #fff !important; }
/* Paineis gerados por bibliotecas externas de fotos, filtros e mapas. */
.fancybox-content, .fancybox-caption, .irs-from, .irs-to, .irs-single, .irs-min, .irs-max,
.leaflet-popup-content-wrapper, .leaflet-popup-tip, .leaflet-bar a, .leaflet-control-attribution,
.gm-style .gm-style-iw-c, .gm-style .gm-style-iw-d {
  background-color: #000 !important;
  color: #fff !important;
}
.gm-style .gm-style-iw-tc::after { background-color: #000 !important; }
/* A proporcao da nova marca e mantida no desktop e no celular. */
img.logo { max-width: 100%; height: auto; object-fit: contain; }
img.logo.topo { width: 250px; }
.hiw-block img.image-2 { width: 170px; max-width: 100%; height: auto; object-fit: contain; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media screen and (max-width: 767px) {
  img.logo.topo { width: 220px; }
}
@media screen and (max-width: 479px) {
  img.logo.topo { width: 190px; }
}

/* Icones vetoriais que antes eram pretos sobre os cartoes brancos. */
svg [fill="black"], svg [fill="#000"], svg [fill="#000000"] { fill: #fff !important; }
svg [stroke="black"], svg [stroke="#000"], svg [stroke="#000000"] { stroke: #fff !important; }

/* Bordas dos filtros na pagina inicial e nos resultados. */
.grid .dropdown {
  box-sizing: border-box;
  border: 1px solid #fff;
}
.grid .dropdown-toggle {
  box-sizing: border-box;
  min-height: 50px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-radius: inherit;
}
.grid > .text-field-2.w-input {
  border: 1px solid #fff !important;
}
.grid .dropdown > .w-input {
  border: 0;
}
.grid .dropdown-base {
  border: 1px solid #fff;
}
.grid .dropdown:focus-within, .grid > .text-field-2.w-input:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* O controle de valor permanece sem a borda dos demais filtros. */
.grid .dropdown.filtro-valor {
  border: 0;
  outline: none;
}
