body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  background-color: #f4f4f9;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
#contenido{
    margin-top: 70px;
    margin-bottom: 60px;
    /* display: flex;
    flex-wrap: wrap;
    gap: 15px;
    */
}
.footer{
    position: fixed;
    width: 100%;
    min-height: 30px;
    left: 0px;
    bottom: 0px;
    background: #2c3e50;
    border-top: 1px solid black;
}
.logo_footer{
    position: absolute;
    height: 24px;
    right: 25px;
    bottom: 5px;
}
.copyright{
    position: absolute;
    right: 5px;
    bottom: 5px;
    font-size: 0.7em;
    color: #818181;
}
.copyright a{
    color: #818181;
}

.ia_copyright{
    position: absolute;
    left: 5px;
    bottom: 5px;
    font-size: 0.7em;
    color: #FFF;
}

#btn-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #2c3e50;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none; /* Ocultar por defecto */
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#btn-top:hover {
  background-color: #34495e;
  transform: scale(1.1); /* Pequeño efecto de zoom */
}

.card-header{
    position: relative;
    background: #2c3e50;
    color: white;
    padding: 5px 15px 5px 15px;
}
.card-header a{
  color: rgb(185, 185, 0);
}
.card-header a:hover{
  color: rgb(255, 255, 0);
}
.card-footer{
    position: relative;
    background: #2c3e50;
    color: white;
}
.card-footer a{
  color: rgb(185, 185, 0);
}
.card-footer a:hover{
  color: rgb(255, 255, 0);
}

.modal-header{
  position: relative;
  background: #2c3e50;
  font-size: 0.8em;
  color: white;
  padding: 5px 15px 5px 15px;
}
.modal-header a{
color: rgb(185, 185, 0);
}
.modal-header a:hover{
color: rgb(255, 255, 0);
}
.modal-footer{
  position: relative;
  background: #2c3e50;
  color: white;
  padding: 5px 15px 5px 15px;
}
.modal-footer a{
color: rgb(185, 185, 0);
}
.modal-footer a:hover{
color: rgb(255, 255, 0);
}

.modal-footer .btn{
  position: relative;
  color: white;
  padding: 5px 5px 5px 10px; 
}


.nav-card{
  display: flex;
  gap: 15px;
  z-index: 999;
}
.nav-card a {
  color: #000;
  text-decoration: none;
  font-size: 0.8em;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.3s ease;
  -webkit-transition:;
  -moz-transition:;
  -ms-transition:;
  -o-transition:;
}

.nav-card a:hover {
  background-color: #34495e;
  color: white;
}

/* Estilos para dispositivos pequeños */
.nav-card-menu-toggle {
  display: none;
  font-size: 1.5em;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-card {
    display: none; /* Ocultar el menú por defecto */
    flex-direction: column; /* Colocar enlaces en columna */
    background-color: #2c3e50;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 10px;
  }

  .nav-card a {
    padding: 10px;
    font-size: 1.1em;
    color:white;
    text-align: left;
  }

  .nav-card.show {
    display: flex; /* Mostrar el menú al hacer clic */
  }

  .nav-card-menu-toggle {
    display: block; /* Mostrar el botón de menú */
  }

  .footer{
    position: relative;
  }

  .ia_copyright{
    position: relative;
    text-align: center;
    padding: 10px 5px 5px 5px;
  }
  .copyright{
    position: relative;
    text-align: center;
  }
}

.alert{
    position: relative;
    text-align: left;
    font-size: 0.8em;
    padding: 10px;
}
.btn-close{
    padding: 12px !important;  
}
.btn-salir{
  padding: 12px !important;  
  color: white !important;
  text-decoration: none;
}
#espass{
    position: relative;
}
#espass .icon{
    position: absolute;
    top: 15px;
    right: 15px;
    color: #7F7F7F;
}
/* Forms */
#forms { padding: 10px; border: 1px solid #D5D5D5; border-radius: 5px 5px 5px 5px; -webkit-border-radius: 5px 5px 5px 5px; -moz-border-radius: 5px 5px 5px 5px; }
#forms h5{ font-weight: bold; color: #013864;}
#forms label{ font-size: 0.9em;color: #0189BE; margin-bottom: 0px; }
#espass .icon{
    position: absolute;
    top: 35px;
    right: 15px;
    color: #7F7F7F;
}


#lista-tabla{
    position: relative;
    padding: 0px;
    border: 1px solid silver;
    max-height: 400px;
    background: #f4f4f9;
    overflow-y: auto;
}
.rowTabla{
    font-size: 0.8em;
    background: white;
    border: 1px solid black;
    margin: 0px;
    padding: 0px;
}
.txt-c{
    text-align: center;   
}
.txt-l{
    text-align: left;   
}
.txt-r{
    text-align: right;   
}
.b-Silver{
    border: 1px solid silver;
}

#widget_escritorio a{
  text-decoration: none;
}
#widget_escritorio a:hover{
  background:#003355;
  color:white;
}
#widget_escritorio a:active{
  background:#004a7a;
  color:white;
}
#widget_escritorio .icon{
    text-align: center;
    font-size: 2em;
}
#widget_escritorio .card-body{
    text-align: center;
}

#img-error-404{
    text-align: center;
}
#img-error-404 p{
    font-size: 1.5em;
    color: red;
}
#img-error-404 img{
    max-width: 450px;
}
#error_msg{
  margin-top: -70px;
}

#footer-login{
    font-size: 0.7em;
    color: white;
}
#footer-login a{
    color: yellow;
}
#footer-login a:hover{
    font-weight: bold;
}
#footer-login .cas{
    font-size: 1.2em;
    font-weight: bold;
}
.close {
  text-decoration: none;
}

#alertaModal .modal-header{
  background: #fc4c4c;
  color: black;
}
#alertaModal .modal-footer{
  background: #f49f9f;
  color: black;
}

.note {
    width: 100%;
    max-width: 1168px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    resize: horizontal; /* Permite redimensionar */
    overflow: hidden;
    margin: 0px auto 0px auto;    
    transition: box-shadow 0.3s, z-index 0.3s;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    -webkit-transition: box-shadow 0.3s, z-index 0.3s;
    -moz-transition: box-shadow 0.3s, z-index 0.3s;
    -ms-transition: box-shadow 0.3s, z-index 0.3s;
    -o-transition: box-shadow 0.3s, z-index 0.3s;
}
.note:hover {
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.note-header {
    cursor: move;
    color: white;
    padding: 8px 12px;
}
.note-content {
    padding: 12px;
    min-height: 350px;
}
.note-footer{
  padding: 10px;
  font-size: 0.8em;
}
.note-controls button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-left: 5px;
}
#add-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 900;
}
.dark-mode {
    background-color: #333;
    color: #fff;
}
.dark-mode a{
  /* color: #bb86fc; */
}
.dark-mode .note {
    background-color: #444;
    color: #fff;
}
.mover{
  position: absolute;
}

#IA_Alerta{
  position: relative;

}

.logo-preview{
  max-width: 150px;
  min-height: 150px;
}

.point{
  cursor: pointer;
}