#qr_code {
  display: none;
  width: 40px;
  height: 40px;
}

#pdf_preview {
  display: block;
}

#pdf_preview1 {
  display: block;
}

#pdf_preview2 {
  display: block;
}


/*body {
  background-color: #f0f0f0;
  font-family: "Lato", sans-serif;
}*/

html,
body {
  width: 100%;
}

body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
}


html,
body {
  background: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  /* overflow: hidden;*/
}

/*main {
  max-width: 100%;
  background-color: #3e5f8a;
  margin: auto;
  padding: 1rem;
  text-align: center;
  transition: margin-left .5s;
  padding: 0px;
  justify-content: center;
  height: 54px;
}

nav {
  display: flex;
  background-color: #3e5f8a;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

ul {
  list-style: none;
  display: flex;
}*/

.btn {
  background-color: red;
  border: none;
  color: white;
  padding: 6px 8px;
  font-size: 16px;
  cursor: pointer;
  width: 133px;
}

/* Darker background on mouse-over */
.btn:hover {
  background-color: rgb(185, 182, 182);
}

.btn1 {
  background-color: DodgerBlue;
  border: none;
  color: white;
  padding: 3px 4px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
}

.containerBtn2 {
  padding: 4 4px;
  background: white;
  width: 100%;
  display: block;
  overflow: hidden;
  display: flex;
  gap: 10px;
  /* Espacio entre los botones */
  justify-content: center;
  align-items: center;
}

.button-container {
  width: 100%;
  justify-content: center;
  display: flex;
}

.btn1:hover {
  background-color: rgb(185, 182, 182);
}

.hidden-input {
  visibility: hidden;
  /* Mantiene el espacio pero hace el input invisible */
}

.btn2 {
  margin: 8px 1px;
  display: block;
  border: none;
  background-color: DodgerBlue;
  color: white;
  padding: 6px 6px;
  font-size: 16px;
  cursor: pointer;
  width: 150px;
  text-align: center;
}

.btn2Plus {
  margin: 8px 1px;
  display: block;
  border: none;
  background-color: teal;
  color: white;
  padding: 6px 6px;
  font-size: 16px;
  cursor: pointer;
  width: 150px;
  text-align: center;
}

.btn4Plus {
  margin: 8px 1px;
  display: block;
  border: none;
  background-color: teal;
  color: white;
  padding: 6px 6px;
  font-size: 16px;
  cursor: pointer;
  width: 450px;
  text-align: center;
}

.btn2:hover {
  background-color: rgb(185, 182, 182);
}

.btn4 {
  border: none;
  background-color: orange;
  color: white;
  padding: 6px 8px;
  font-size: 16px;
  cursor: pointer;
  width: 133px;
}

.btn4:hover {
  background-color: rgb(185, 182, 182);
}

.btn3 {
  background-color: tomato;
  border: none;
  color: white;
  padding: 3px 4px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
}

.btn3:hover {
  background-color: rgb(185, 182, 182);
}

textarea {
  border: 1px solid #999999;
  width: 100%;
  margin: 5px 0;
  padding: 3px;
  flex-wrap: wrap;
}

.nowrap {
  white-space: nowrap;
  overflow: auto;
}

.pre {
  white-space: pre;
  overflow: auto;
}


.frame {
  display: flex;
  justify-content: left;
  align-items: center;
  width: 100%;
}

.dropdown-btn {
  padding: 8px 8px 8px 22px;
  text-decoration: none;
  font-size: 16px;
  display: block;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: 0.3s;
  z-index: 12;
  color: black;
}

.dropdown-btn:hover {
  color: white;
  background: none;
}


/* Add an active class to the active dropdown button */
.active {
  background-color: grey;
  color: white;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
  display: none;
  background-color: gainsboro;
  padding-left: 8px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
  float: right;
  padding-right: 8px;
}


div {
  text-align: justify;
  text-justify: inter-word;
}

.pointer {
  cursor: pointer;
}

.item {
  white-space: nowrap;
  display: inline;
  float: left;
}

.item2 {
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  white-space: nowrap;
  display: inline;
  float: left;
  width: 150px;
  background-color: white;
}

.item4 {
  padding-left: 2px;
  white-space: nowrap;
  display: inline;
  float: left;
  width: 100%;
  height: 100%;
}


#div1 {
  float: left;
  margin: 0px;
  padding: 2 2px;
  width: 100%;
  border: 1px solid whitesmoke;
  background-color: white;
  display: block;
}

#div2 {
  float: left;
  margin: 0px;
  padding: 2 2px;
  width: 100%;
  border: 1px solid whitesmoke;
  background-color: white;
  display: block;
}

#div1.feedme,
#div2.feedme {
  background: white;
}

.dragging {
  border: 1px dashed rgb(14, 78, 228);
  cursor: move;
}

buttonl {
  border: 1px solid rgb(204, 202, 202);
  background-color: tomato;
  color: white;
  padding: 1px 1px;
  width: 96px;
  height: 30px;
  align-items: center;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 1px 1px;
  cursor: pointer;
}

div.gallery {
  margin: 3px;
  padding: 1px 1px;
  border: 1px solid gainsboro;
  float: left;
  width: 102px;
  height: 186px;
  text-align: center;
  font-size: 10px;
  color: black;
  background-color: gainsboro;
}

div.gallery:hover {
  border: 1px solid gainsboro;
  text-align: center;
  font-size: 10px;
}

.imgsel {
  margin: 1px;
  width: 98px;
  height: 120px;
  object-fit: scale-down;
  /*cover;*/
  cursor: pointer;
  text-align: center;
  color: black;
  font-size: 10px;
  padding: 1px;
}

.imgsel3 {
  margin: 1px;
  width: 98px;
  height: 120px;
  object-fit: scale-down;
  /*cover;*/
  cursor: pointer;
  text-align: center;
  color: gainsboro;
  font-size: 10px;
  padding: 1px;
  background-color: gainsboro;
}

div.desc {
  padding: 10px;
  text-align: center;
}

.hidebtn {
  width: 22px;
  height: 22px;
  position: relative;
  right: 25px;
  top: 25px;
  background: black;
  /*remove this if you want to put only the logo.*/
}


/* Some left and right padding inside the container */
.container {
  padding: 0 0px;
  background: f0f0f0;
  width: 100%;
  display: block;
  overflow: scroll;
}

.containerf {
  padding: 0 0px;
  background: white;
  width: 100%;
}



.title {
  color: gray;
  font-size: 16px;
}

.line {
  color: black;
  font-size: 16px;
}

.button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px;
  color: white;
  background-color: gainsboro;
  text-align: center;
  cursor: pointer;
  border: 1px solid white;
  width: 100%;
}

.button:hover {
  background-color: #999;
}

.buttonpdf {
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.buttonpdf1 {
  background-color: #4CAF50;
}

/* Green */
.buttonpdf2 {
  background-color: #3e5f8a;
}

/* Blue */

.buttonpdf3 {
  background-color: #d4e069;
}

/* yellow */

.tablinkup {
  background-color: ghostwhite;
  color: #3e5f8a;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 10px;
  font-size: 16px;
  width: 14.2%;
  border: 0px solid #3e5f8a;
  border-radius: 0px;
}

/* Change background color of buttons on hover */
.tablinkup:hover {
  background-color: #3e5f8a;
}

/* Set default styles for tab content */
.tabcontent {
  color: white;
  display: none;
  padding: 2px;
  text-align: left;
}

.tabcontent:not(.hidden) {
  display: block;
}

/* Style each tab content individually 
      #M0 {background-color:cyan; } */

#M1 {
  background-color: white;
}

#M2 {
  background-color: white;
}

#M3 {
  background-color: white;
}

#M4 {
  background-color: white;
}

#M5 {
  background-color: white;
}

#M6 {
  background-color: white;
}

#M7 {
  background-color: white;
}

#M8 {
  background-color: white;
}

#M9 {
  background-color: white;
}

#M10 {
  background-color: white;
}

#M11 {
  background-color: white;
}

#M12 {
  background-color: white;
}

#M0 {
  background-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6,
htit {
  font-family: Arial, Helvetica, sans-serif;
}


.bar .button {
  float: left;
  font-size: 36px;
  color: grey;
  text-align: center;
  padding: 1px 1px;
  text-decoration: none;
}

/*buttonCenter {
  margin: 0 auto;
  display: block;
  text-align: center;
  font-size: 24px;
  color: white;
}*/

* {
  box-sizing: border-box;
}

h1 {
  font-size: 16px;
  word-break: break-all;
  text-align: center;
  /*margin: -10px 0px;*/
  border: 0px solid gainsboro;
  background-color: white;
  color: black;
  width: 100%;
}



htit {
  font-size: 18px;
  text-align: center;
  margin: 0px 0px;
  border: 1px solid rgb(207, 204, 204);
  background-color: whitesmoke;
  color: black;
  height: 22px;
  width: 100%;
}

h5,
h6 {
  color: rgb(136, 134, 134);
  /*margin: -8px 16px;*/
}

/* Clear floats */
.container::after,
.row::after {
  content: "";
  clear: both;
  display: table;
  width: 100%;
  height: 100%;
}

/* Content */
.content {
  border: 1px solid rgb(204, 202, 202);
  background-color: rgb(204, 202, 202);
  border: 0Px solid rgb(204, 202, 202);
  padding: 0 0px;
  width: 100%;
  height: 100%;
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

.buttonx {
  background-color: rgb(204, 202, 202);
  width: 100%;
  height: 90px;
  border: 0px solid gainsboro;
  color: teal;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 2px;
  box-sizing: border-box;
  top: 2px;
}

.buttonx:hover {
  overflow: visible;
}

.buttonh {
  background-color: rgb(204, 202, 202);
  width: 100%;
  height: 15px;
  border: none;
  color: white;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0px 0;
  box-sizing: border-box;
}

.buttonh:hover {
  overflow: visible;
}

.buttonf {
  background-color: rgb(204, 202, 202);
  float: left;
  width: 100%;
  height: 25px;
  border: none;
  color: white;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px 0;
  box-sizing: border-box;
}

.buttonf:hover {
  overflow: visible;
}

.img-rounded-border-si {
  margin: 0px;
  border: 1px solid crimson;
  /*rgb(7, 172, 238);*/
  border-radius: 75%;
  object-fit: scale-down;
  width: 106px;
  height: 120px;

}

.img-rounded-border-no {
  margin: 0px;
  object-fit: scale-down;
  width: 106px;
  height: 120px;

}

.img-margin {
  margin: 0px;
  object-fit: scale-down;
  width: 100px;
  height: 120px;
}

optgroup {
  background-color: grey;
  color: white;
}

option {
  background-color: rgb(255, 255, 255);
  color: black;
}

select {
  width: 190px;
  border: 0px solid;
  border-radius: 0px 0px 0px 0px;
  display: inline-block;
  background-color: #f1f1f1;
  color: black;
  cursor: pointer;
  box-shadow: 0 0 0px;
  height: 26px;
  outline: none;
  font-size: 14px;
}

.selectto2 {
  /*float: left;*/
  width: 90px;
  border: 0px solid rgb(194, 190, 190);
  border-radius: 0px 0px 0px 0px;
  display: inline-block;
  /*block;*/
  background-color: #f1f1f1;
  color: black;
  cursor: pointer;
  box-shadow: 0 0 0px;
  height: 26px;
  outline: none;
  font-size: 14px;
}

input {
  padding: 8px;
  width: 100%;
  /*height: 10%;*/
  margin-bottom: 4px;
  background-color: #f1f1f1;
  border-color: #f1f1f1;
  border: 0.5px solid #f1f1f1;
  text-align: center;

}

input4 {
  padding: 4px;
  width: 100%;
  /*height: 10%;*/
  margin-bottom: 4px;
  background-color: #f1f1f1;
  border-color: #f1f1f1;
  border: 0.5px solid #f1f1f1;
  text-align: center;
}


img {
  vertical-align: middle;
}

.imgMiddle {
  vertical-align: middle;
}

#containerList {
  display: flex;
  justify-content: space-between;
}

.file-list {
  width: 48%;
  /* Ancho de cada lista */
  list-style-type: none;
  /* Elimina los puntos de la lista */
  padding: 0;
  /* Elimina el relleno predeterminado */
}

.solid {
  border-top: 3px solid ghostwhite;
}

.imgTitulo {
  padding-left: 10px;
  /* Espaciado de 20px a la izquierda de la imagen */
}

.containerNew {
  width: 100%;
  height: 100vh;
  /* 100% de la altura de la ventana */
  overflow-y: auto;
  /* Barra de desplazamiento vertical */
  /*box-sizing: border-box;*/
  /* Incluye el padding y border en el tamaño total del elemento */
  padding: 0px 0px;
  /* Opcional: Añadir padding */
  background-color: white;
  /* Color de fondo opcional */
}

.rowNew {
  width: 100%;
  height: 75vh;
  /* 100% de la altura de la ventana */
  overflow-y: auto;
  /* Barra de desplazamiento vertical */
  box-sizing: border-box;
  /* Incluye el padding y border en el tamaño total del elemento */
  padding: 5px 5px;
  /* Opcional: Añadir padding */
  background-color: white;
  /* Color de fondo opcional */
  border: 1px solid gainsboro;
}


.containerNew2 {
  width: 100%;
  height: 100vh;
  /* 100% de la altura de la ventana */
  /*overflow-y: auto;*/
  /* Barra de desplazamiento vertical */
  /*box-sizing: border-box;*/
  /* Incluye el padding y border en el tamaño total del elemento */
  /*padding: 20px;*/
  /* Opcional: Añadir padding */
  background-color: white;
  /* Color de fondo opcional */
}

formfield {
  display: block;
  background-color: none;
  float: left;
  width: 100%;
}

legend {
  background-color: crimson;
  text-align: center;
  color: white;
  width: 100%;
  height: 25px;
  padding: 5px 0;
  box-sizing: border-box;
}


.center {
  text-align: center;
  border: none;
}


.center2 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.center2 .a {
  text-align: center;
}

.row {
  width: 100%;
  height: 100vh;
}

.row,
.row>.column {
  width: 100%;
}


.row {
  display: block;
  padding: 2px;
  border: 0px solid #ddd;
  margin-top: 1px;
  width: 100%;
  height: 100vh;
}


/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 110px;
  height: 175px;
  display: block;
  padding: 1px 1px;
  border: 1px solid whitesmoke;
  background-color: rgb(204, 202, 202);
  /* Hide all elements by default */
}

.colone {
  float: left;
  width: 100%;
  height: 100%;
  display: block;
  border: 0px solid rgb(136, 133, 133);
  padding: 0px 3px;
  /* Hide all elements by default */
}


/*///////////////////*/
#id03 {
  display: none;
}

/* Estilo para el fondo oscuro del modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Estilo para el contenido del modal */
.modal-content {
  background-color: gainsboro;
  width: 95%;
  height: 95%;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  overflow-y: auto;
  z-index: 9999;
}

/* Estilo para los botones */
.modal-buttons {
  margin-top: 20px;
}

.modal-button {
  padding: 10px 20px;
  margin: 0 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

.cancel-button {
  /*background-color: #f44336;*/
  color: white;
}

.confirm-button {
  /*background-color: #4CAF50;*/
  color: white;
}

.select-button {
  /*background-color: #110ae4;*/
  color: white;
}

.containerGrid {
  display: block;
  width: 100%;
  height: 77vh;
  /* Asegura un mínimo de 100% de la altura de la ventana */
  padding: 0;
  background-color: gainsboro;
  overflow-y: auto;
}

.grid-container {
  background-color: gainsboro;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  grid-auto-rows: minmax(90px, auto);
  /* Ajusta la altura de cada fila automáticamente */
  grid-gap: 4px;
  padding: 1px;
  width: 100%;
  /*overflow-y: auto;*/
  /* Permite scroll si es necesario */
}

.grid-container img {
  border: 1px solid white;
  margin: 0;
  object-fit: scale-down;
  width: 90px;
  height: 90px;
}

.containerGrid4 {
  display: block;
  width: 100%;
  height: 77vh;
  /* Asegura un mínimo de 100% de la altura de la ventana */
  padding: 0;
  background-color: gainsboro;
  overflow-y: auto;
  justify-content: center;
  align-items: center;
}

.grid-container4,
.video-container4 {
  background-color: gainsboro;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  grid-auto-rows: minmax(90px, auto);
  /* Ajusta la altura de cada fila automáticamente */
  grid-gap: 4px;
  padding: 1px;
  width: 100%;
  justify-content: center;
  align-items: center;
  /*overflow-y: auto;*/
  /* Permite scroll si es necesario */
}

.grid-container4 img {
  border: 1px solid white;
  margin: 0;
  object-fit: scale-down;
  width: 90px;
  height: 90px;
}

#btnM9 {
  display: none;
}

.plus-icon {
  position: fixed;
  bottom: 70px;
  left: 20px;
  background: rgba(0, 123, 255, 0.8);
  /*rgb(199, 199, 199, 0.8);*/
  /*#007bff;*/
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(128, 128, 128, 0.8);
  z-index: 9999;
}



.help-icon {
  position: fixed;
  bottom: 70px;
  right: 20px;
  background: rgba(0, 123, 255, 0.8);
  /*rgb(199, 199, 199, 0.8);*/
  /*#007bff;*/
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(128, 128, 128, 0.8);
  z-index: 9999;
}


.tooltip {
  position: fixed;
  bottom: 120px;
  right: 20px;
  background: rgba(0, 123, 255, 0.9);
  /*rgba(168, 168, 168, 0.9);*/
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
  display: none;
  max-width: 250px;
  box-shadow: 0px 4px 6px rgba(128, 128, 128, 0.8);
  z-index: 9999;
}

.tooltip p {
  display: flex;
  /* Usa flexbox */
  align-items: center;
  /* Alinea verticalmente */
  gap: 8px;
  /* Espacio entre icono y texto */
  margin: 10px 0;
}

.icon {
  width: 24px;
  /* Tamaño fijo para iconos */
  text-align: center;
  /* Centra el icono */
}

/* Estilo para el texto dentro del tooltip */
/*.tooltip p {
  margin: 10px 0;
}*/


/* Estilo de los íconos */
.tooltip i {
  margin-right: 8px;
}