.direccion_txt{
   min-width: 520px;
   margin-bottom: 10px;
}
.ui-helper-hidden-accessible{
  font-size: 10px;
  opacity: 0.6;
}
@media (max-width: 800px) {
  #logo-prov {
    display: none;
  }
}
.well{
  border: none !important;
}
.json-editor-btn-add{
  background-color: #3ca246 !important;
  margin-bottom: 5px !important;
}
.json-editor-btn-delete{
  background-color: #e66767 !important;
}
.tripa{
  padding-bottom: 20px;
}
.tripa-letra{
  padding-left: 0px;
}
.tripa-numero{
  padding-right: 2px;
}
.tripa-resultado b{
  padding-left: 5px;
}

.navbar {
  margin-left: 0;
  margin-right: 0;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  min-height: 45px;
  position: relative;
  background-color: transparent;
}

/* header logueado - sin clase navbar para evitar conflictos Bootstrap */
#idehab-nav {
  background: #ffffff;
  margin: 0;
  border: none;
  min-height: 88px;
  border-radius: 0;
  padding: 0;
}

.login-box .toolbar {
    background: none repeat scroll 0 0;
    background-color:#009aae;
    border-top: 0px solid;
}

#navbar-footer{
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#navbar-header{
  background-color: transparent;
  min-height: 70px;
}

span.nombre-usuario {
    color: white;
    float: left;
    font-size: 14px;
    font-weight: lighter;
    margin: 0;
    padding-right: 10px;
}

.pull-right {
    float: right;
    width: 30%;
}


#menu-usuario{
    font-family: 'Open Sans' !IMPORTANT;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
}

#menu-usuario span{
  padding: 4px;
  font-size: 14px;
  margin-left: 1px;
}
#menu-usuario .nav-item{
  margin-left: 6px;
}

#menu-usuario .navbar .navbar-text,
.navbar .navbar-link {
 font-family: Arial, Helvetica, sans-serif;
}

.icon-circle{
  margin-right: 5px !important;
}
.icon-pull-right > i{
    float: right;
    margin-left: 3px;
}
.dropdown-menu {
  min-width: 330px !important;
  /*min-height: 260px !important; */
}

.wizard > .steps > ul > li {
    width: 12% !IMPORTANT;
}

.titulos {
  font-family: arial;
  font-size: 14px;
}

.renderWithName  input[type="checkbox"]{
    float: left;
    width: 10%!IMPORTANT;
}


.partido_localidad{
  width: 50%;
}

.index_nomenclaturas{
  min-height: 200px;
}

.msg-nomenclatura{
 float:right;
 margin-left: 10px;
}

.borrar_archivo{
  margin-left: 15px!IMPORTANT;
}

body{
  font-family: 'Encode Sans', Arial, sans-serif !important;
  padding-top: 101px !important;
  padding-bottom: 150px !important;
}
body.login-page {
  padding-top: 0 !important;
  padding-bottom: 95px !important;
}

/* footer fijo al fondo en todas las páginas */
#navbar-footer {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1050 !important;
  margin-bottom: 0 !important;
  background: #ffffff !important;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Encode Sans', Arial, sans-serif !important;
  font-weight: 600 !important;
}
p, label, td, th, span, a, input, select, textarea, .form-control {
  font-family: 'Roboto', Arial, sans-serif !important;
}

/* IDEHab nav items */
.idehab-nav-item {
  display: flex !important;
  align-items: center !important;
}
.idehab-nav-btn {
  display: flex !important;
  align-items: center !important;
  padding: 4px 10px !important;
  line-height: 1 !important;
}
.idehab-sep {
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
}

#main-container {
  background-color: #fff !important;
}

/* Badge de usuario con borde degradado */
.user-badge,
a.user-badge,
#menu-usuario a.user-badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px !important;
  border-radius: 10px !important;
  background: linear-gradient(to right, #e62378, #13afc3) !important;
  background-color: transparent !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.user-badge-inner {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  color: #555555 !important;
  font-size: 13px !important;
  font-family: 'Encode Sans', Arial, sans-serif !important;
  white-space: nowrap !important;
}
.user-badge:hover .user-badge-inner,
a.user-badge:hover .user-badge-inner {
  background: #f5f5f5 !important;
}

#main-container:after {
  background-color: #fff !important;
}

.breadcrumbs {
  background: linear-gradient(90deg, #e81f76 0%, #00aec3 100%) !important;
  border-bottom: none !important;
}

.breadcrumbs a, .breadcrumbs li, .breadcrumbs span, .breadcrumbs .nombre-usuario {
  color: #fff !important;
}

.breadcrumbs .breadcrumb > li + li:before {
  color: rgba(255,255,255,0.6) !important;
}

#menu-usuario a,
#menu-usuario a.navbar-link,
#menu-usuario a.navbar-link.dropdown-toggle,
#menu-usuario a.navbar-link.icon-pull-right {
  color: #333 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 6px 10px !important;
  font-size: 13px !important;
  text-shadow: none !important;
}

#menu-usuario a:hover,
#menu-usuario a.navbar-link:hover {
  background: rgba(0,0,0,0.07) !important;
  color: #333 !important;
}

#menu-usuario .dropdown-menu {
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

#menu-usuario .dropdown-menu li a {
  color: #333 !important;
  background: transparent !important;
  padding: 6px 15px !important;
}

#menu-usuario .dropdown-menu li a:hover {
  background: #f0fafb !important;
  color: #00aec3 !important;
}

.breadcrumbs .navbar {
  float: none;
}

.breadcrumbs .navbar-nav {
  float: none !important;
  margin: 0 !important;
}

.boton_evolucion{
  margin-left: 20px;
}

.titulos i{
  margin-right: 5px;
}

.geometria_barrio{
  display: none;
}

.btn {
    margin-left: 5px;
}

.btn-xs {
    padding: 1px !IMPORTANT;
}

.btn-sm, .btn-xs {
    font-size: 11px !IMPORTANT;
}

.inscripcion_provisoria{
  background-color: #D9EDF7;
    border-color: #BCE8F1;

}

.inscripcion_provisoria .icon-question-sign{
  float: right;
  bottom: 33px;
  margin-right: 120px;
  position: relative;
  color: #3A87AD;

}

.leaflet-container {
    background: white !IMPORTANT;
    border-style: solid;
    border-width: 1px;
}

label {
    margin-bottom: 0px !IMPORTANT;
}

.alert-danger a{
  color:#b94a48;
}

.input-muy-chico{
    width: 100px !important;
}
.input-chico{
    width: 150px !important;
}
.input-largo{
    min-width: 860px !important;
}
.input-mediano{
    min-width: 300px !important;
}
textarea.form-control {
    min-height: 100px !important;
}

#MapaModal .modal-dialog {
    margin-top: 50px;
    width: 98%;
    height: 100%;
}

textarea.comentarios_uso_interno{
  min-height: 200px !important;
}


.wizard > .steps a{
  padding: 0.5em 0.5em !important;
  min-height: 50px;
}

.home-menu {
    padding: 5px 15px;
    margin: 5px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.home-menu-warning {
    border-left-color: #aa6708;
}
.home-menu-info {
    border-left-color:#1b809e;
}
.home-menu-success {
    border-left-color:#4cae4c;
}
.home-menu-intervenciones {
    border-left-color:#f7d110;
}
.home-menu-ong {
  border-left-color: #9b59b6;
}
.home-menu-folio {
  border-left-color: #17a589;
}
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.btn-intervenciones  {
    background-color: #f4d03f !important;
}
.btn-intervenciones:focus {
  background-color: #ffdd10 !important;
}

.btn-ong  {
    background-color: #9b59b6 !important;
}
.btn-ong:focus {
  background-color: #ffdd10 !important;
}

.btn-folio{
  background-color: #17a589 !important;
}

.btn-desarrollo-nya  {
    background-color: #829d32 !important;
}
.btn-desarrollo-com  {
    background-color: #d5175c !important;
}
.btn-desarrollo-dya  {
    background-color: #00aa9e !important;
}

.folio {
  color: #17a589 !important;
}
.ong{
  color: #9b59b6 !important;
}

.badge-folio {
    background-color: #17a589 !important;
}
.badge-lote {
    background-color: #1b809e !important;
}
.badge-ong {
    background-color: #9b59b6 !important;
}
.badge-intervenciones {
    background-color: #f4d03f !important;
}

.badge-participacion {
    background-color: #e49875 !important;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.box, .box-shadow-z0 .box-color {
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.15);
}

.box, .box-color {
    background-color: #fff;
    position: relative;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(120, 130, 140, 0.13);
}
.box-header {
    position: relative;
    padding: 1rem;
}
.box-header small {
    display: block;
    margin-top: 4px;
    opacity: 0.6;
}
.box-divider {
    border-bottom: 1px solid rgba(120, 130, 140, 0.13);
    margin: 0 16px;
    height: 0;
}
.m-a-0 {
    margin: 0 0!important;
}
.box-body {
    padding: 1rem;
}

#menu-datos li {
  background: #8cbdb4;
  margin-left: 10px;
  color: #fff;
  border-radius: 5px;
}
#menu-datos  > .active > a{
  background: #17a589 !important;
  color: white !important;
  cursor: default;
  border-radius: 5px;

}

#menu-lotes li {
    background: #6FB3E1;
    margin-left: 10px;
    color: #fff;
    border-radius: 5px;
}
#menu-lotes  > .active > a{
  background: #428bca !important;
  color: white !important;
  cursor: default;
  border-radius: 5px;

}

#menu-ongs li {
    background: #bf9ebf;
    margin-left: 10px;
    color: #fff;
    border-radius: 5px;
}
#menu-ongs  > .active > a{
  background: #9b59b6 !important;
  color: white !important;
  cursor: default;
  border-radius: 5px;

}

#menu-partido li {
  background:#eb8784 ;
  margin-left: 10px;
  color: #fff;
  border-radius: 5px;
}
#menu-partido  > .active > a{
background: rgb(248, 83, 61) !important;
color: white !important;
cursor: default;
border-radius: 5px;

}

/*Desarrollo Social*/
#menu-desarrollo-nyadol a{
  color: white;
}
#menu-desarrollo-nyadol li {
    background: #b4c88f;
    margin-left: 10px;
    color: #fff;
    border-radius: 5px;
}
#menu-desarrollo-nyadol > .nav-item > .active{
  background: #829d32 !important;
  color: white !important;
  cursor: default;
  border-radius: 5px;
}

#menu-desarrollo-com a{
  color: white;
}
#menu-desarrollo-com li {
    background: #ed7aa4;
    margin-left: 10px;
    color: #fff;
    border-radius: 5px;
}
#menu-desarrollo-com > .nav-item > .active{
  background: #d5175c !important;
  color: white !important;
  cursor: default;
  border-radius: 5px;
}

#menu-desarrollo-dyadul a{
  color: white;
}
#menu-desarrollo-dyadul li {
    background: #89dad5;
    margin-left: 10px;
    color: #fff;
    border-radius: 5px;
}
#menu-desarrollo-dyadul > .nav-item > .active{
  background: #00aa9e !important;
  color: white !important;
  cursor: default;
  border-radius: 5px;
}

#tab-desarrollo {
    border: none !important;
    padding: 16px 12px;
    position: relative;
    z-index: 11;
}

#menu-participacion li {
    background: #e49875;
    margin-left: 10px;
    color: #fff;
    border-radius: 5px;
}
#menu-participacion  > .active > a{
  background: #ce4f14 !important;
  color: white !important;
  cursor: default;
  border-radius: 5px;

}

#menu-programas li {
    background: #ffdb99;
    margin-left: 10px;
    color: #ddd;
    border-radius: 5px;
}
#menu-programas  > .active > a{
  background: #f4d03f !important;
  color: white !important;
  cursor: default;
  border-radius: 5px;

}
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 10px;
  border: 2px solid transparent;
  min-width: 10px;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border-radius: 1px;
  min-width: 200px;
  margin-bottom: 2px;
}
.tag.tag-outlined {
  background-color: transparent
}
.tag.tag-outlined.tag-subtotal {
  border-color: #d8d8d8;
  color: #484343
}
.tag.tag-outlined.tag-total {
  border-color: #81bd83;
  color: #484343
}
.pestanas{
  margin-bottom: 10px !important;
  /*background-color: #f0f0f0 !important;*/
  /*border: 1px solid rgba(120, 130, 140, 0.13);*/
}

/* ===== RESPONSIVE ===== */

/* Base: nav items no se recortan */
#navbar-header .nav.navbar-nav {
  flex-wrap: nowrap !important;
  align-items: center !important;
  white-space: nowrap !important;
}

/* Pantallas <= 1680px (22") */
@media (max-width: 1680px) {
  .nav-btn-icon { height: 52px !important; }
  #menu-usuario span { font-size: 12px !important; }
  #menu-usuario .idehab-nav-btn { padding: 4px 7px !important; }
}

/* Pantallas <= 1440px (14"/15" típico) */
@media (max-width: 1440px) {
  .nav-btn-icon { height: 46px !important; }
  #menu-usuario span { font-size: 11px !important; }
  #menu-usuario .idehab-nav-btn { padding: 3px 5px !important; }
  #menu-usuario .idehab-sep img { height: 22px !important; }
  .dropdown-menu { min-width: 240px !important; }
  #navbar-footer .footer-logos { height: 70px !important; }
  body { padding-bottom: 105px !important; }
  body.login-page { padding-bottom: 105px !important; }
}

/* Pantallas <= 1280px */
@media (max-width: 1280px) {
  .nav-btn-icon { height: 40px !important; }
  #logo-idehab { height: 46px !important; }
  #idehab-nav { min-height: 64px !important; }
  body { padding-top: 72px !important; padding-bottom: 72px !important; }
  body.login-page { padding-bottom: 72px !important; }
  #menu-usuario span { font-size: 10px !important; }
  #menu-usuario .idehab-nav-btn { padding: 2px 4px !important; }
  #navbar-footer .footer-logos { height: 55px !important; }
  /* evitar scroll horizontal en formularios */
  .input-largo { min-width: 0 !important; width: 100% !important; }
  .direccion_txt { min-width: 0 !important; width: 100% !important; }
  .input-mediano { min-width: 0 !important; width: 100% !important; }
  .dropdown-menu { min-width: 200px !important; }
  .home-botonera { margin-top: -90px !important; }
}

/* Ocultar separadores visuales en pantallas <= 1200px */
@media (max-width: 1200px) {
  #menu-usuario .idehab-sep { display: none !important; }
}

/* Tablet (1024px) */
@media (max-width: 1024px) {
  .nav-btn-icon { height: 34px !important; }
  #logo-idehab { height: 40px !important; }
  #idehab-nav { min-height: 58px !important; }
  body { padding-top: 65px !important; padding-bottom: 65px !important; }
  body.login-page { padding-bottom: 65px !important; }
  #navbar-footer .footer-logos { height: 38px !important; }
  #navbar-footer .footer-contacto { height: 36px !important; }
  .home-botonera { margin-top: -60px !important; }
}

/* Mobile landscape (768px) */
@media (max-width: 768px) {
  .nav-btn-icon { height: 28px !important; }
  #logo-idehab { height: 40px !important; }
  #idehab-nav { min-height: 60px !important; }
  body { padding-top: 68px !important; padding-bottom: 76px !important; }
  body.login-page { padding-bottom: 76px !important; }
  #navbar-footer .footer-logos { height: 36px !important; }
  #navbar-footer .footer-contacto { height: 34px !important; }
  .home-btn-img { width: 130px !important; height: 130px !important; }
  .home-botonera { gap: 16px; padding: 20px 12px; margin-top: -40px !important; }
}

/* Mobile portrait (480px) */
@media (max-width: 480px) {
  .nav-btn-icon { height: 24px !important; }
  #logo-idehab { height: 34px !important; }
  #idehab-nav { min-height: 52px !important; }
  body { padding-top: 58px !important; padding-bottom: 68px !important; }
  body.login-page { padding-bottom: 68px !important; }
  .home-btn-img { width: 100px !important; height: 100px !important; }
  .home-botonera { gap: 12px; padding: 16px 8px; margin-top: -20px !important; }
  #navbar-footer .footer-logos { height: 28px !important; }
  #navbar-footer .footer-contacto { height: 28px !important; }
}

/* ============================================================
   BOTONERA GRUPOS — nueva estética circular + sub-panel pills
   ============================================================ */

#idehab-botonera {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.botonera-main-row {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 4px;
  gap: 2px;
}

.botonera-directos {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.botonera-sep-v {
  width: 1px;
  height: 28px;
  background: rgba(0, 0, 0, 0.12);
  margin: 0 8px;
  flex-shrink: 0;
}

.botonera-grupos {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Botón circular de grupo (navbar — sin label, solo círculo) */
.btn-grupo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 10px;
  user-select: none;
  border: none;
  background: none;
  transition: background 0.15s;
  flex-shrink: 0;
}

.btn-grupo-wrap:hover {
  background: rgba(0, 0, 0, 0.06);
}

.btn-grupo-circulo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e4e4e4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.btn-grupo-circulo img {
  height: 20px;
  width: auto;
  transition: filter 0.2s;
}

/* .btn-grupo-label no se usa en navbar, solo en home.tpl.php */
.btn-grupo-label {
  display: none;
}

/* Estado activo */
.btn-grupo-wrap.activo .btn-grupo-circulo {
  background: #e81f76;
  box-shadow: 0 2px 10px rgba(232, 31, 118, 0.35);
}

.btn-grupo-wrap.activo .btn-grupo-circulo img {
  filter: brightness(0) invert(1);
}

.btn-grupo-wrap.activo .btn-grupo-label {
  color: #e81f76;
  font-weight: 700;
}

/* Sub-panel */
.botonera-subpanel {
  background: #f7f7f7;
  border-top: 1px solid #e8e8e8;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.botonera-subpanel a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 18px !important;
  border-radius: 24px !important;
  border: 1.5px solid #ccc !important;
  background: #fff !important;
  color: #444 !important;
  font-size: 13px !important;
  font-family: 'Roboto', Arial, sans-serif !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background 0.15s, border-color 0.15s, color 0.15s !important;
  box-shadow: none !important;
  line-height: 1.4 !important;
}

.botonera-subpanel a:hover {
  background: #e81f76 !important;
  border-color: #e81f76 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.botonera-subpanel a i {
  font-size: 13px !important;
}

/* ===== BOTONES NAVBAR (inicio / mapa) ===== */
.nav-btn-icon {
  height: 60px;
  width: auto;
  vertical-align: middle;
  display: block;
  cursor: pointer;
}

/* ===== HOME — GRID DE BOTONES IMAGEN ===== */
.home-botonera {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  padding: 30px 20px 40px;
  margin-top: -130px;
  position: relative;
  z-index: 2;
}

.btn-home-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none !important;
  transition: transform 0.15s;
}

.btn-home-img:hover {
  transform: translateY(-3px);
  text-decoration: none !important;
}

.btn-home-img:hover .home-btn-img {
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.85));
}

.home-btn-label {
  display: block;
  margin-top: 10px;
  font-family: 'Encode Sans', Arial, sans-serif !important;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 1.3;
  max-width: 170px;
  overflow-wrap: break-word;
}

.btn-home-img:hover .home-btn-label {
  color: #00aec3;
}

.home-btn-img {
  display: block !important;
  width: 160px !important;
  height: 160px !important;
  object-fit: contain !important;
  cursor: pointer;
}

/* Hover swap CSS para botones inicio / mapa */
a:hover .nav-btn-inicio,
a:focus .nav-btn-inicio {
  content: url('/registro/assets/images/b_inicio_sobre.png');
}
a:hover .nav-btn-mapa,
a:focus .nav-btn-mapa {
  content: url('/registro/assets/images/b_mapa_sobre.png');
}
