/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
.app-brand-logo {
    font-size: 1.5em;
    font-weight: 800;
}
.menu .app-brand.demo {
  height: 100px;
  margin-top: 10px;
}

.app-brand-logo.demo svg {
  width: 100px;
  height: 38px;
}

.app-brand-logo.demo img {
    width: 100px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 74px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.docs-page .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu) .layout-page,
.docs-page .layout-menu-fixed.layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 62px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

.layout-menu-horizontal {
    z-index: 1070 !important;
}

.loader-overlay {
    position: absolute; /* Posición absoluta respecto al contenedor */
    top: 0; /* Ocupa la parte superior */
    left: 0; /* Ocupa la parte izquierda */
    margin: 0; /* Sin margenes al rededor */
    width: 100%; /* Cubre el ancho completo del contenedor */
    height: 100%; /* Cubre la altura completa del contenedor */
    background: rgba(255, 255, 255, 0.7); /* Fondo semitransparente */
    z-index: 10; /* Asegura que el loader esté sobre otros elementos */
    display: flex; /* Usa flexbox para centrar el loader */
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    border-radius: 0.375rem; /* Redondea las esquinas */
}

.full-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(34, 48, 62, 0.5);
    z-index: 1089;
    display: flex;
    justify-content: center;
    align-items: center;
    /*    --bs-backdrop-zindex: 1089;
    --bs-backdrop-bg: #22303e;
    --bs-backdrop-opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--bs-backdrop-zindex);
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg);*/
}

    .full-loader-overlay .spinner-border {
        width: 3rem;
        height: 3rem;
    }

.form-label-7125 {
    font-size: 0.7125rem !important;
}

@media (min-width: 768px) {

    .form-label-md {
        font-size: 0.7125rem !important;
    }
}

@media (min-width: 576px) {
    .form-label-sm {
        font-size: 0.6525rem !important;
    }
}

@media (min-width: 1200px) {
    .form-label-xl {
        font-size: 0.8125rem !important;
    }
}

.border-style-dashed {
    border-style: dashed;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
    #dropdown-variation-demo .btn-group .text-truncate {
    width: 231px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

.spinner-dots, .spinner-dots:before, .spinner-dots:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    animation-fill-mode: both;
    animation: bblFadInOut 1.8s infinite ease-in-out;
}

.spinner-dots {
    font-size: 7px;
    position: relative;
    text-indent: -9999em;
    transform: translateZ(0);
    animation-delay: -0.16s;
}

    .spinner-dots:before,
    .spinner-dots:after {
        content: '';
        position: absolute;
        top: 0;
    }

    .spinner-dots:before {
        left: -3.5em;
        animation-delay: -0.32s;
    }

    .spinner-dots:after {
        left: 3.5em;
    }

@keyframes bblFadInOut {
    0%, 80%, 100% {
        box-shadow: 0 2.5em 0 -1.3em
    }

    40% {
        box-shadow: 0 2.5em 0 0
    }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

/*
* Footer
******************************************************************************/

.myworkflow-info {
    background-color: #c79316;
    padding: 1rem;
    text-align: center;
}

.bg-footer-theme {
    background-color: #002e5f !important;
    color: #fff !important;
}

.myworkflowontime_logo {
    padding: 8px;
    width: 250px
}

/***** DataTable *****/
/* Ajusta el encabezado para que se adapte al 100% del contenedor */
.dataTables_scrollHeadInner {
    width: 100% !important;
}

    /* Asegura que las celdas del encabezado no se desborden */
    .dataTables_scrollHeadInner table {
        width: 100% !important;
        table-layout: auto !important;
    }

/***** Select2 SM *****/
.form-select2-container .select2-container--default .select2-selection--single {
    height: calc(1.5em + 0.5rem + 2px) !important; /* Ajusta la altura como en Bootstrap */
    font-size: 0.8125rem !important; /* Tamaño de fuente pequeño */
    padding: calc(0.3165rem - 1px) calc(0.8125rem - 1px) !important; /* Espaciado interno */
    line-height: 1.5 !important;
    border-radius: 0.2rem !important; /* Radio pequeño */
}

.form-select2-container .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5 !important; /* Ajuste para centrar el texto */
}

.form-select2-container .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.375em + 1.086rem + calc(var(--bs-border-width) * 2) - 15px) !important;
}

/***** BTN Logout *****/
.btn-logout {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x) !important;
}