/* Cambiar logo principal */
header .navbar-brand {
  background-image: url('../images/logo_final-colorA.png') !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: contain !important;
  width: 340px !important;
  height: 150px !important;
  text-indent: -9999px; /* Oculta texto si existe */
  overflow: hidden;
  display: inline-block;
}

/*quita facetas home*/
.search-home-facets {
    display: none !important;
}

.searchHomeContent::after {
    content: "Implementado por Open Geek";
}

/* Ocultar el selector de idioma */
.navbar-right .languageMenu,
.navbar-nav .languageMenu {
  display: none !important;
}

li.language.dropdown {
    display: none;
}

/* Sobrescribe el fondo del área principal de búsqueda */
.searchHomeContent {
  background: #0A132D url('../images/footer-trama-b.png') top center no-repeat !important;
  background-size: cover !important;
  box-shadow: none !important;
  color: white !important;
}

.searchHomeContent h1,
.searchHomeContent h2,
.searchHomeContent h3,
.searchHomeContent p,
.searchHomeContent a {
  color: white !important;
}

header {
  background-color: #ffffff !important;
  color: #000000 !important;
}

header a,
header .navbar-nav > li > a {
  color: #000000 !important;
}


/* Estilos solo para la página de inicio */
body.template-name-home #searchForm_lookfor {
  width: 700px !important;
  height: 37px !important;
  font-size: 1.4rem !important;
  margin-bottom: 1rem !important;
}

body.template-name-home .searchHomeContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
  padding-top: 9.5rem;
  gap: 1rem;
}

/* Alinear altura del combo y botón con el input de búsqueda */
body.template-name-home #searchForm_type,
body.template-name-home .btn.btn-primary {
  height: 37px !important;
  font-size: 1.4rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.4 !important;
}

body.template-name-home .advanced-search-link {
  display: block;
  margin-top: 1rem;
  text-align: center;
  font-size: 1.2rem;
}

body.template-name-results .searchHomeContent {
  background: #0A132D url('../images/footer-trama-b.png') top center no-repeat !important;
  background-size: cover !important;
  box-shadow: none !important;
  color: white !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
  padding-top: 0rem;
  gap: 1rem;
}

body.template-name-results .search.container.navbar.navbar-expand-md {
  background: #0A132D url('../images/footer-trama-b.png') top center no-repeat !important;
  background-size: cover !important;
  width: 100vw !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 300px !important;
  height: 100% !important;
  flex-direction: column;
  text-align: center;
}

body.template-name-results .searchHomeContent h1,
body.template-name-results .searchHomeContent h2,
body.template-name-results .searchHomeContent h3,
body.template-name-results .searchHomeContent p,
body.template-name-results .searchHomeContent a {
  color: white !important;
}

/* Estilos para el buscador en la página de resultados */

.searchForm-inputs {
    margin-top: 4rem;
}

body.template-name-results #searchForm_lookfor {
  width: 700px !important;
  height: 37px !important;
  font-size: 1.4rem !important;
  margin-bottom: 1rem !important;
}

body.template-name-results #searchForm_type,
body.template-name-results .btn.btn-primary {
  height: 37px !important;
  font-size: 1.4rem !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.4 !important;
}

body.template-name-results .advanced-search-link {
  display: block;
  margin-top: 0rem;
  text-align: center;
  font-size: 1.2rem;
}

body.template-name-results form.searchForm {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: auto;
}
body.template-name-results .advanced-search-link {
  display: block;
  margin-top: 0rem;
  text-align: center;
  font-size: 1.2rem;
  color: white !important;
  position: relative;
  top: 1rem;
}