:root {
  --primary: #4E4848;
  /* Cambiar a tu nuevo color primario */
  --primary: #4E4848;
  /* Cambiar a tu nuevo color primario */
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url('fonts/RobotoCondensed-Regular.woff2') format('woff2');
}
#toastsContainerTopRight {
  z-index: 9999 !important;
  }
.alert {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1px !important;
  border: 1px solid transparent;
  border-radius: .25rem;
}

.wrapper .content-wrapper {
  min-height: auto !important;
  overflow: hidden;
}

.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('/it-assets/home/img/ldn.gif');
  background-repeat: no-repeat;
  /*text-transform: uppercase;*/
}

.skin-blue .main-header .navbar {
  background-color: #FE4F00;
}

.main-header {
  border-bottom: 0px;
}

.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;
}

.modal-content {
  border-radius: 25px;
}

.modal-footer {
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  background-color: transparent;
  /* opcional */
}

.modal-body {
  max-height: 70vh;
  /* o el alto que prefieras */
  overflow-y: auto;
  margin: 2px;
  padding: 3px;
}

.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;
}

/* /assets/css/custom.css */
.main-header.header_nav_color {
  background-image: var(--header_nav_background_image);
  background-color: var(--header_nav_color);
  color: var(--header_nav_color);
  background-size: 100% 100%;
}

.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: 3px;
  line-height: 1;
  vertical-align: middle;
}

.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;
  width: 95%;
  min-width: 150px;
  overflow: hidden;
}

.legend1 {
  margin-bottom: 0px;
  margin-left: 16px;
  width: auto;
}

.btn {
  margin-bottom: 3px;
}

.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;
  border-left: 1px #E1E3E1 solid;
  background-color: #F9FBFD;
}

::-webkit-scrollbar-button:increment,
::-webkit-scrollbar-button {
  display: none;
}

::-webkit-scrollbar:horizontal {
  height: 12px;
  border-top: 1px #E1E3E1 solid;
  background-color: #F9FBFD;
}

::-webkit-scrollbar-thumb {
  background-color: #CCCED2;
  border-radius: 20px;
  border: 2px solid #f1f2f3;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #9DA0A6;
  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: 2000 !important;
  /* más alto que los botones */
}

.btn-group,
.dropdown {
  position: static !important;
  /* evita que limite el menú */
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: absolute !important;
    z-index: 9999 !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;
}

.vid2value {
  background-color: #E7FECD;
  margin-bottom: 1px;
}

.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, no en login no 12-8-25*/
    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;
}

.selected-row {
  background: #E6EFFD !important;
  transition: background-color .2s ease;
}

.selected-row td {
  border-top: 1px solid #3271EA !important;
  border-bottom: 1px solid #3271EA !important;
}


.pointer {
  cursor: pointer;
}

.fix_footer {
  border-top: 1px #E1E3E1 solid;
  overflow: hidden;
  height: 40px;
  padding-top: 2px;
  background-color: #F9FBFD;
}

@media print {
  .no-print {
    display: none !important;
  }
}