:root {
  --primary: #4E4848; /* Cambiar a tu nuevo color primario */
  --primary: #4E4848; /* Cambiar a tu nuevo color primario */
}
html, body {
  height: 100%; /* Asegura que el body ocupe toda la altura */
}

.content-wrapper {
  overflow: hidden; /* Evita scroll adicional */
}
#content {
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 15px;
  width: 99.5%;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling en iOS */
}


@font-face {
  font-family: 'Roboto Condensed';
  src:  url('fonts/RobotoCondensed-Regular.woff2') format('woff2');
}
.loading-div {
    width: 100%;
    height: 200px; /* Ajusta según tus necesidades */
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.loading-div::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}
.logo {
  background-image: var(--logo-web);
  background-size: 80px 80px;
  width: 80px;
  height: 80px;
}
.content {
  padding: 0px !important;
  margin-top: 5px;
  margin-left: 5px;
}
.iconmdll {
  font-size: 35px;
  cursor: pointer;
  width: 40px;
  float: left;
}
.iconmdlr {
  font-size: 40px;
  cursor: pointer;
  width: 50px;
  float: right;
  marging-left:20px;
}
.txtmdl {
  text-align: center !important; width: 100% !important; display: table-cell; font-weight: bold;font-size: 25px;
}

.closel, .mailbox-attachment-close {
  float: left;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.loading{
  color: #fff;
  display: none;
  width: 99%;
}
.alertinfo{
  overflow: hidden;
  margin-left: 5px;
  padding: 2px;
  color: #fff;
  /*display: none;*/ /*de estar visible para mostrar error al momento de enviar o modificar datos*/
  width: 99%;
  -webkit-border-radius: 5px;    
border-radius: 5px; 
-moz-border-radius:5px;
-khtml-border-radius:5px;
}
#loading34234 {
  position: absolute; 
  top: 50%; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  height: 100%;
  background-size: 30px;
  margin: auto; 
  min-width: 50%;
  min-height: 50%;
  background-position: center;
  background-image: url('https://1.bp.blogspot.com/-TDehWOsZD78/YMO6Dy8AiXI/AAAAAAAAONY/xj4KOAP_yQ0GUThVZm5_3XpBenvlJg0SQCLcBGAsYHQ/s0/loadingfb.gif');
  background-repeat: no-repeat;
  /*text-transform: uppercase;*/
}
.skin-blue .main-header .navbar {
  background-color: #FE4F00;
}
.link-h{
  padding-left: 10px;
  border-bottom: 1px #838383 solid; 
  font-size: 13px; 
  color: white;
}
/* unvisited link */
.link-h a:link {
  color: white;
}

/* visited link */
.link-h a:visited {
  color: white;
}

/* mouse over link */
.link-h a:hover {
  color: white;
}

/* selected link */
.link-h a:active {
  color: white;
}
.cj-ln {
  padding-left: 2px;
  padding-right: 2px;
  padding-top: 1px;
  padding-bottom: 1px;
  background-color: #343A40;
}
.large {
  width: 900px;
  height: 400px;
  left: 10%;
  top: 50%; 
  border:1px red solid;
  overflow: scroll;
}
.modal-header {
  cursor: move;
}
.navbar-white {
  color: #000000;
  background-color: #901317;
} .navbar-white a:link visited active {
  color: white;
}
.navbar-white a:hover {
  color: white;
}
.link a:link visited active {
  color: white;
}
.link a:hover {
  color: white;
}
nav .navbar-nav li a{
  color: white !important;
}
nav .navbar-nav li a:hover{
  color: #DADAD9 !important;
}
aside .sidebar-dark-primary {
  background-color: #49494B;
}
section a:hover{
  /* color: #DADAD9 !important;*/
}
/*a {color: #656565;}*/
/*a:hover {color: #656565;}*/
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
  background-color: #e01e37;
  color: #fff;
}
/*
.nav-link:hover {
 -webkit-transition: 8s ease-in;  
-moz-transition: 8s ease-in;  
-o-transition: 8s ease-in;  
transition: 8s ease-in;  
  text-indent: -300px;
}*/

.navbar-gray {
  background-color: #e01e37;
}
.navbar {
  height: 60px !important;
}
.navbar-nav {
  margin-bottom: 5px !important;
}
.table td, .table th {
  color: #4F565C;
  
  overflow-x: auto;
  white-space: nowrap;
  width: 1%;
  margin: 0px;
  padding-left: 4px;
  padding-right: 3px;
  padding-top: 4px;
  padding-bottom: 3px;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
  word-spacing: 0.10em;
  max-width: 200px;

}
table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > td.sorting {
  padding-right: 5px;
  padding-top: 5px;
  padding-left:5px;
}
.modal-lg {
  max-width: 95% !important;
}
.modal-xl {
  max-width: 95% !important;
}

.modal-dialog{
  width: auto;
  max-width: 90% !important;
  pointer-events: none;
  margin: 0 auto;
  display: inline-block;
  text-align: left;
  color: #4F565C;
}
.formuinde {
  width: 70%; margin:0 auto;;
}
@media screen and (max-width: 740px) { /*mobile*/
  .modal-dialog{
    position: relative;
    max-width: 95% !important;
    margin: 0.5rem;
    pointer-events: none;
    color: #4F565C;

  }
  .formuinde {
    width: 100%; margin:0 auto;;
  }
}
.static {
  position: absolute;
  background-color: white;
}

.fieldset1
{
  padding: 5px;
  border:1px solid #CED4DA;
  -moz-border-radius:8px;
  -webkit-border-radius:8px;  
  border-radius:8px;  
}
.legend1
{
  margin-bottom:0px;
  margin-left:16px;
  width: auto;
}
.btn:focus {
 border: 3px black solid;
}




/* Estilos para motores Webkit y blink (Chrome, Safari, Opera... )*/

::-webkit-scrollbar {
  -webkit-appearance: none;
}

::-webkit-scrollbar:vertical {
  width:12px;
}

::-webkit-scrollbar-button:increment,::-webkit-scrollbar-button {
  display: none;
} 

::-webkit-scrollbar:horizontal {
  height: 12px;
}

::-webkit-scrollbar-thumb {
  background-color: #A3A6A9;
  border-radius: 20px;
  border: 2px solid #f1f2f3;
}
::-webkit-scrollbar-thumb:hover  {
  background-color: #B1B4B6;
  border-radius: 20px;
  border: 2px solid #f1f2f3;
}
::-webkit-scrollbar-track {
  border-radius: 10px;  
}

@-moz-document url-prefix() {
  scrollbar-thumb {
    background-color: #A3A6A9;
    border-radius: 20px;
    border: 2px solid #f1f2f3;
  }

  scrollbar-thumb:hover {
    background-color: #B1B4B6;
    border-radius: 20px;
    border: 2px solid #f1f2f3;
  }
}

.dropdown-menu {
  z-index: 1400!important;
}
.main-header {
  z-index: 1030; /*Tablas y menu deben estar ordenado las capas*/
}
/* Estilos para ajustar el z-index de los modales */
.modal {
  text-align: center;
  z-index: 1140!important; /* Z-index base para los modales */
}
.modal, .modal-backdrop {
  z-index: 1035; /* Asumiendo que este es el z-index del modal */
}
/* Ajustar el z-index para mostrar los modales uno encima del otro */
.modal-dialog {
  z-index: 1050;
}

/* Aumentar el z-index para mostrar el modal activo por encima de los demás */
.modal.show {
  z-index: 1060;
}
.mred{
  color: red;
}
.mgreen{
  color: green
}
.mleft{
  font-size: 14px;
  font-weight: bold;
  float: left;
  padding-right: 5px;
  width: auto;
  overflow: auto;
}
.mright {
  float: right;
  width: auto;
  padding-left: 5px;

}
.mfullwidth {
  overflow: auto;
  width: 100%;

}
.embed-container {
  position: relative;
  /* Elimina esta línea: padding-bottom: 56.25%; */
  height: auto; /* La altura se ajustará automáticamente según el contenido */
  overflow: hidden;
  width: 100%;
  margin-top: 5px;
  border: 1px #CDEEFD solid;
  padding-top: 3px;
  padding-bottom: 3px;
  background-color: #E6F5FC;
  -webkit-border-radius: 5px;    
  border-radius: 5px; 
  -moz-border-radius: 5px;
  -khtml-border-radius: 5px;
}

.embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* Elimina esta línea: height: 200px; */
}
.embed-container {
  position: relative;
  /* Elimina esta línea: padding-bottom: 56.25%; */
  height: auto; /* La altura se ajustará automáticamente según el contenido */
  overflow: hidden;
  width: 100%;
  margin-top: 5px;
  border: 1px #CDEEFD solid;
  padding-top: 3px;
  padding-bottom: 3px;
  background-color: #E6F5FC;
  -webkit-border-radius: 5px;    
  border-radius: 5px; 
  -moz-border-radius: 5px;
  -khtml-border-radius: 5px;
}
.vid2key {
  background-color: #E8E8E8; margin-bottom: 1px;color: black;
}.vid2value {
  background-color: #E7FECD; margin-bottom: 1px;color: black;
}
.iconview {
  font-size: 22px;
}
.mausehover {
  display: none;
}

.cell:hover .mausehover {
  display: inline;
}
/*jass*/
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
}

.close-btn:hover {
  background-color: darkred;
}
.modal-footer {
  background-color: #ffffff;
  position: sticky;
  bottom: 0;
  z-index: 999;
}
.bybotton {
  width: 50%;
  font-size: 23px; /* Tamaño base para dispositivos más pequeños */
  box-sizing: border-box;
}

@media only screen and (max-width: 540px) {
    .bybotton {
    width: 95% !important;
    font-size: 23px;
}
  .background-container {
    width: 100%;
    height: 100vh; /* Altura completa de la ventana */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
}

/* Para pantallas grandes (PC) */
@media only screen and (max-width: 540px) {
    .background-container {
        background-size: auto 100%;
        background-position: center center;
    }
}

    .header-alert {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 9999;
      text-align: center;
      padding: 15px;
      font-size: 16px;
      font-weight: bold;
      display: none;
      box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .header-alert-error {
      background-color: #f8d7da;
      color: #721c24;
      border: 1px solid #f5c6cb;
    }

    .header-alert-success {
      background-color: #d4edda;
      color: #155724;
      border: 1px solid #c3e6cb;
    }

    .error-bar {
      background-color: #fff3cd;
      color: #856404;
      padding: 8px;
      margin-top: 5px;
      border-radius: 4px;
      font-size: 14px;
      border: 1px solid #ffeeba;
    }

    .field-error {
      border: 2px solid #dc3545 !important;
    }