@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:600&display=swap");

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color:white;
  font-family: 'Poppins', sans-serif;
}





table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/* Colors */
/* ---------------------------------------- */
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  text-align: center;
  font-weight: 400;
}

a {
  text-decoration: none;
}

.info-text {
  text-align: left;
  width: 100%;
}

header, form {
  padding: 4em 4% 0 4%;
}

.form-group {
  margin-bottom: 2.5rem;
}

h2.heading {
  font-size: 1.4rem;
  text-transform: uppercase;
  font-weight: 600;
  text-align: left;
  color: #506982;
  border-bottom: 1px solid #506982;
  padding-bottom: 3px;
  margin: 1.5rem auto;
  max-width: 200rem;
}

.controls {
  text-align: left;
  position: relative;
  margin-bottom: 1.8rem;
}
.controls input[type="text"],
.controls input[type="email"],
.controls input[type="number"],
.controls input[type="date"],
.controls input[type="tel"],
.controls textarea,
.controls button,
.controls select,
.controls canvas{
  padding: 16px;
  font-size: 14px;
  border: 1px solid #c6c6c6;
  width: 100%;
  margin-bottom: 4px;
  color: #888;
  font-family: 'Lato', 'sans-serif';
  font-size: 16px;
  font-weight: 300;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 6px;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.controls input[type="text"]:focus, .controls input[type="text"]:hover,
.controls input[type="email"]:focus,
.controls input[type="email"]:hover,
.controls input[type="number"]:focus,
.controls input[type="number"]:hover,
.controls input[type="date"]:focus,
.controls input[type="date"]:hover,
.controls input[type="tel"]:focus,
.controls input[type="tel"]:hover,
.controls textarea:focus,
.controls textarea:hover,
.controls button:focus,
.controls button:hover,
.controls select:focus,
.controls select:hover,
.controls canvas:focus,
.controls canvas:hover{
  outline: none;
  border-color: #9FB1C1;
}
.controls input[type="text"]:focus + label, .controls input[type="text"]:hover + label,
.controls input[type="email"]:focus + label,
.controls input[type="email"]:hover + label,
.controls input[type="number"]:focus + label,
.controls input[type="number"]:hover + label,
.controls input[type="date"]:focus + label,
.controls input[type="date"]:hover + label,
.controls input[type="tel"]:focus + label,
.controls input[type="tel"]:hover + label,
.controls textarea:focus + label,
.controls textarea:hover + label,
.controls button:focus + label,
.controls button:hover + label,
.controls select:focus + label,
.controls select:hover + label,
.controls canvas:focus + label,
.controls canvas:hover + label {
  color: #00cc11;
  cursor: text;
}
.controls .fa-sort {
  position: absolute;
  right: 10px;
  top: 17px;
  color: #999;
}
.controls select {
  -moz-appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.controls canvas{
  height: 14rem;
}
.controls label {
  position: absolute;
  left: 8px;
  top: 12px;
  width: 60%;
  color: #999;
  font-size: 16px;
  display: inline-block;
  padding: 4px 10px;
  font-weight: 400;
  background-color: rgba(255, 255, 255, 0);
  -moz-transition: color 0.3s, top 0.3s, background-color 0.8s;
  -o-transition: color 0.3s, top 0.3s, background-color 0.8s;
  -webkit-transition: color 0.3s, top 0.3s, background-color 0.8s;
  transition: color 0.3s, top 0.3s, background-color 0.8s;
  background-color: white;
}
.controls label.active {
  top: -1.1rem;
  color: white;
  background-color: royalblue;
  width: auto;
  border-radius: 4px;
}
.controls textarea {
  resize: none;
  height: 200px;
}


.clear:after {
  content: "";
  display: table;
  clear: both;
}


[class*='col-'] {
  float: left;
  padding-right: 10px;
}

@media (max-width: 760px) {
  .col-1-4-sm, .col-1-3, .col-2-3 {
    width: 100%;
  }

  [class*='col-'] {
    padding-right: 0px;
  }
}
.col-1-8 {
  width: 12.5%;
}

.botones-info button{

  margin: 0 2rem;
}
.validar-btn{
  float: none;
}


/*AÑADIDOS*/

.row.logo{

  margin-top:    4rem;
  margin-bottom: 2rem;

}

@media (min-width: 1401px) {
  /* Estilos específicos para pantallas grandes */

  .container-fluid {
    /*padding: 2rem;*/
    gap: 2rem;
  }

  /* Agrega aquí otros estilos que desees aplicar */
}




/*INFO.PHP*/

#inf_info .form-group, #validate{
  display: none;
}

/* //INFO.PHP*/

.comentario-grid{
  margin-top: 2.5rem;
}

label[for="municipio"] span{

  font-size: 0.8rem;
}
.fa-circle-info{

  margin-left: 2.5rem;
  color: #ac1a2d;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Estilo personalizado para el fondo del popover */
  .popover {
    background-color: rgba(0, 0, 64, 0.9); /* Azul marino translúcido */
    color: white;
    border: none;
  }

  .popover-header {
    background-color: rgba(0, 0, 64, 1);
    color: white;
    font-weight: bold;
    border-bottom: 1px solid white;
  }

  .popover-body {
    color: white;
  }



#sendDataIndex{

  margin: 0 auto 6rem;


}
#sendDataIndex i{

   font-size:5rem;
   color: #ac1a2d;
}
#clear-firma{
  height: 3rem;
  width: 20rem;
  margin-top:.8rem;
  font-size: 1.1rem;
  padding: 0;
  color: black;
  text-align: center;
  font-weight:400;
}
#clear-firma:hover{
   color: #ac1a2d;
}
/*****************mensajes ajax*************************/
.errorLi{
  margin:1rem auto;
  display: inline;
}
.error-feedback{
  color: red;

}
/***********************************MENU*****************************/
.actions{
  text-align: -webkit-right;
}

.actions button{
  font-size: 2rem;
  width: 3rem;
  height: 3rem;

}
.actions button i{
  color: #ac1a2d;

}
/****************************END*******MENU*****************************/



ul li{

  list-style-type: none;
}
/*************************INDEX************************/

.fullscreen-image-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.fullscreen-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Título principal */
.responsive-title {
  font-size: 3vw; /* Tamaño dinámico en base al ancho de la ventana */
  word-wrap: break-word; /* Evita que el texto se desborde */
  white-space: normal; /* Permite el salto de línea */
  margin: 0 auto;
}

/* Teléfonos pequeños */
@media (max-width: 480px) {
  .responsive-title {
    font-size: 1.8rem; /* Valor fijo para mejorar legibilidad */
  }
}

/* Teléfonos grandes / phablets */
@media (max-width: 768px) {
  .responsive-title {
    font-size: 2.4rem;
  }
}

/* Tablets y laptops pequeños */
@media (max-width: 1024px) {
  .responsive-title {
    font-size: 2.6rem;
  }
}


/* Colores para partes del título */
.title-guest {

  color: #1a1a1a; /* Gris muy oscuro, casi negro */

}

.title-data {
  color: #ac1a2d;
}
.title-es{

   color: #666666; /* Gris medio, para dar énfasis sutil sin competir con Guest y Data */
   font-size: 0.6em; /* Opcionalmente más pequeño */
   letter-spacing: 0.05em; /* Ligera separación para resaltar lo técnico */


}
/* Subtítulo */
.subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 1.5px;
  color: #2c3e50;
  text-transform: uppercase;
  margin-top: 0.5rem;
  display: block;
  /*letter-spacing: 0.08em;*/

}
/* Línea debajo del título */
.title-underline {

  border: none;
  height: 2px;
  background-color: #ac1a2d; /* Mismo tono que "Data" para cohesión */
  width: 30%;
  margin: 0.5rem auto;

  /*Puedes añadir un pequeño degradado de color solo en el subrayado o en Data para dar dinamismo si deseas un toque sutil sin romper la limpieza.
   background: linear-gradient(to right, #ac1a2d, #8e1222);*/

}

.overlay-title {
  position: absolute;
  top: 40%; /* 20% más abajo del centro */
  left: 50%;
  transform: translateX(-50%);
  width: 80%; /* Aseguramos que no ocupe más del 80% */
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.7); /* Fondo oscuro translúcido */
  backdrop-filter: blur(1px); /* Opcional, agrega un poco de desenfoque */
  border-radius: 1rem;
  text-align: center;
  z-index: 10;
  max-width: 900px; /* Tamaño máximo de la capa */
}


/* Teléfonos pequeños */
@media (max-width: 480px) {
  .overlay-title {
    width: 90%; /* Reduce el ancho en pantallas pequeñas */
    top: 40%;  /* Ajuste para mover la capa un poco más abajo */
    padding: 1rem; /* Ajuste del padding */
  }
}

/* Teléfonos grandes / phablets */
@media (max-width: 768px) {
  .overlay-title {
    width: 90%; /* Reduce el ancho en pantallas pequeñas */
    top: 40%;  /* Ajuste para mover la capa un poco más abajo */
    padding: 1rem; /* Ajuste del padding */
  }
}

/* Tablets y laptops pequeños */
@media (max-width: 1024px) {
  .overlay-title{
    width: 90%; /* Reduce el ancho en pantallas pequeñas */
    top: 40%;  /* Ajuste para mover la capa un poco más abajo */
    padding: 1rem; /* Ajuste del padding */
  }
}



/********************END******INDEX*******************/

/**********************************************/
                      BUTTONS
/*********************************************/

@-webkit-keyframes active {
  from {
    box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 10px 0px rgba(0, 0, 250, 0.6);
  }
  to {
    box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 3px #CECFD1;
  }
}
@keyframes active {
  from {
    box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 10px 0px rgba(0, 0, 250, 0.6);
  }
  to {
    box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 3px #CECFD1;
  }
}
*,
*:before,
*:after {
  box-sizing: border-box;
}


button,
[role=button] {
  -webkit-appearance: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  cursor: pointer;
  width: 150px;
  height: 10rem;
  background-image: linear-gradient(to top, #D8D9DB 0%, #fff 80%, #FDFDFD 100%);
  border-radius: 5rem;
  border: 1px solid #8F9092;
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 0 #CECFD1;
  transition: all 0.2s ease;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #606060;
  text-shadow: 0 1px #fff;
}
button::-moz-focus-inner,
[role=button]::-moz-focus-inner {
  border: 0;
}
button > *,
[role=button] > * {
  transition: transform 0.2s ease;
}
button:hover:not([disabled]),
[role=button]:hover:not([disabled]) {
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 3px #CECFD1;
}
button:hover:not([disabled]) > *,
[role=button]:hover:not([disabled]) > * {
  transform: scale(0.975);
}
button:focus:not(:active),
[role=button]:focus:not(:active) {
  -webkit-animation: active 0.9s alternate infinite;
          animation: active 0.9s alternate infinite;
  outline: none;
}
button:active:not([disabled]),
[role=button]:active:not([disabled]) {
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 5px 3px #999, inset 0 0 30px #aaa;
}
button:active:not([disabled]) > *,
[role=button]:active:not([disabled]) > * {
  transform: scale(0.95);
}
button:disabled,
[role=button]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
button.icon,
[role=button].icon {
  /*width: 10rem;*/
}
button.icon svg,
[role=button].icon svg {
  margin-top: 3px;
  width: 30px;
  height: 30px;
}


   .icon {
   position: absolute;
   bottom: 20%;
   left: 50%;
   transform: translateX(-50%);
   z-index: 10;
}



button.icon .fa-power-off{

   font-size: 5rem;
   color: red;

}

/******************END  BUTTONS****************************/

/********************MODAL**************************/
#lg{

  padding: 1rem;

}
.modalLabel, #lg input{

  border: 1px solid rgba(0, 0, 0, 0.2) !important;

}
.modalLabel h3, .modalLabel h5{
  text-align: center;
}
#logoEsquina{
  background-image: url('../images/logo_cuadrado.svg');
  width: 4rem;
  height: 4rem;
  background-size: cover;
  background-repeat:no-repeat;

}
.modal-content {
  background-image: url('../images/hexa.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: darkturquoise;/*rgba(10, 52, 99, 0.8);*/ /* fondo oscuro semitransparente */
  backdrop-filter: blur(4px); /* si usas imágenes detrás */
}
.modal-content .modal-body .faIcon{
  text-align: center;

}
.modal-footer{

  display: block;
}
.modal-footer button{
  display: block;
  margin:2rem auto;
  text-align: center;
}
.modal-footer .alert{
  text-align: center;
}

.faIcon .fa-lock-keyhole{
  margin-top: 5rem;
  margin-bottom: 4rem;
  font-size: 5.5rem;
  color: grey;
}
#emailHelp{
  color: #ac1a2d;
  font-size:0.7rem;
  text-align: left;
}
.acceder{
  height: 4rem;
  font-size: 1.4rem;
  color: black;
}
#accModal input{
  font-size:1.4rem;
}
#accModal form{
  margin-bottom: 2rem;
}
#accModalLabel{

  border-color: #ac1a2d;
}
.btn-close{
  margin-right: 0.5rem !important;
}

/*****************END  MODAL*****************************/

/********************MODAL SELECT**************************/


#download-com-send{
    height: 3rem;
    color: black;
}


.selection-btns {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.selection-btns i {
  font-size: 3rem;
  color: #ac1a2d;
}

/* Botón redondo con efectos de la clase .icon, sin position absolute */
.round-btn {
  -webkit-appearance: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  cursor: pointer;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  border: 1px solid #8F9092;
  background-image: linear-gradient(to top, #D8D9DB 0%, #fff 80%, #FDFDFD 100%);
  box-shadow: 0 4px 3px 1px #FCFCFC,
              0 6px 8px #D6D7D9,
              0 -4px 4px #CECFD1,
              0 -6px 4px #FEFEFE,
              inset 0 0 3px 0 #CECFD1;
  transition: all 0.2s ease;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #606060;
  text-align: center;
  text-shadow: 0 1px #fff;
}


/* Teléfonos pequeños */
@media (max-width: 480px) {
  .round-btn {
     width: 5rem;
     height: 5rem;
  }
}

/* Teléfonos grandes / phablets */
@media (max-width: 768px) {
  .round-btn {
     width: 6rem;
     height: 6rem;
  }
}

/* Tablets y laptops pequeños */
@media (max-width: 1024px) {
  .round-btn{
     width: 8rem;
     height: 8rem;
  }
}





.round-btn:hover:not([disabled]) {
  box-shadow: 0 4px 3px 1px #FCFCFC,
              0 6px 8px #D6D7D9,
              0 -4px 4px #CECFD1,
              0 -6px 4px #FEFEFE,
              inset 0 0 3px 3px #CECFD1;
}
.round-btn:hover:not([disabled]) > * {
  transform: scale(0.975);
}
.round-btn:focus:not(:active) {
  animation: active 0.9s alternate infinite;
}
.round-btn:active:not([disabled]) {
  box-shadow: 0 4px 3px 1px #FCFCFC,
              0 6px 8px #D6D7D9,
              0 -4px 4px #CECFD1,
              0 -6px 4px #FEFEFE,
              inset 0 0 5px 3px #999,
              inset 0 0 30px #aaa;
}
.round-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


.report{
  margin: 3rem auto;
  width: 60%;

}
.report label{
   width: 100%;
   text-align: left;
   margin: .2rem;
}
.report .error-feedback{

  margin: 1rem auto;
}



/********************END MODAL SELECT**************************/

/********************MEDIAS GENÉRICAS PARA ALTURA**************************/



@media (max-height: 800px) {
  .round-btn{
     width: 4rem;
     height: 4rem;
     bottom: 15%;
  }
  .round-btn i{
     font-size: 2rem !important;
  }
}
/*****************END***MEDIAS GENÉRICAS PARA ALTURA**************************/

/********************SPINNER**************************/

#spinner-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #eee;
  border-top: 6px solid #ac1a2d;
  border-radius: 50%;
  animation: spinRight 1s linear infinite;
}
@keyframes spinRight {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); } /* Giro hacia la derecha */
}
/***********END*********SPINNER**************************/
