/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.layout-menu-collapsed:not(.layout-menu-hover):not(.layout-menu-expanded) .menu .app-brand.demo {
  padding-left: 16px;
}

/*
.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}
*/

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! 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: 76px !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;
}

/* 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;
  }
}

/*
* 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;
}

.bg-footer-theme {
    font-size: 12px;
}

/* ************************* Custom ************************* */
.authentication-wrapper.authentication-basic .authentication-inner:before,
.light-style .authentication-wrapper.authentication-basic .authentication-inner:after {
    width: 0px !important;
    height: 0px !important;
    background-image: none !important;
}

.bg-menu-theme .menu-sub > .menu-item > .menu-link.third-level:before {
    content: none;
    position: absolute;
    left: 1.4375rem;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
}

.chosen-container-multi .chosen-choices {
    display: block;
    width: 100% !important;
    padding: 0.3rem 0.875rem !important;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.53;
    color: #697a8d;
    background-color: #fff !important;
    background-clip: padding-box;
    border: 1px solid #d9dee3 !important;
    appearance: none;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    background-image: none !important
}

.chosen-container-active .chosen-choices {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.img-max-w {
    max-width: 300px;
}

.text-initial {
    text-transform: initial !important;
}

.bootstrap-tagsinput {
	width: 30%;
	line-height: 26px !important;
}

.bootstrap-tagsinput input {
	margin-left: 4px !important;
	padding-left: 0px !important;
	width: 80px !important;
}

.tag-search {
    font-size: 14px;
	background-color: #E6E6E6 !important;
	border: 1px solid #CCCCCC;
	color: #566A7F !important;
	padding: 2px 8px;
	border-radius: 4px;
}

.bootstrap-tagsinput .tag [data-role="remove"] {
	font-weight: 700;
	color: #666666;
	font-size: 15px;
}

.fs-42 {
    font-size: 42px !important;
}

.ls-2 {
    letter-spacing: 2px;
}

.mandatory-field {
    border-color: #ff3e1d !important;
}

/* Menu -  Custom Styles */

.bg-menu-theme .menu-inner > .menu-item > .menu-link {
    border-radius: 0px !important;
    border-top-right-radius: 24px !important;
    border-bottom-right-radius: 24px !important;
}

.bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
    color: #FFFFFF !important;
    background-color: #00263E !important;
    font-weight: 600;
}

.layout-wrapper:not(.layout-horizontal) .bg-menu-theme .menu-inner > .menu-item.active:before {
    content: none !important;
}

.menu-inner .menu-item .menu-sub .menu-link {
    margin-left: 34px !important;
    margin-right: 20px !important;
    padding-left: 32px;
    border-bottom: 1px solid #D1D1D1;
    border-radius: 0px !important;
}

.menu-inner li:last-child.menu-item .menu-link {
    border-bottom-color: transparent;
}

.bg-menu-theme .menu-sub > .menu-item > .menu-link:before {
    left: 12px !important;
}

.bg-menu-theme .menu-sub > .menu-item.active > .menu-link:not(.menu-toggle):before {
    left: 8px !important;
}

.bg-menu-theme .menu-header {
    color: #a1acb8;
    font-weight: 600;
}

.bg-menu-theme .menu-inner > .menu-header::after {
    content: "";
    position: absolute;
    right: 0;
    top: 1.1875rem;
    width: 9rem;
    height: 1px;
    transition: all 0.3s ease-in-out;
}

.bg-menu-theme .menu-header:before, .bg-menu-theme .menu-header:after {
    background-color: #D1D1D1 !important;
}

.fs-14 {
  font-size: 14px;
}

.sidebar-footer {
	position: fixed;
    z-index: 1000;
    bottom: 8px;
    width: 40%;
    border: 1px solid #D1D1D1;
    border-radius: 8px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.95) !important;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 2px 2px 5px grey;
}

.border-dashed {
	border-top: dashed;
}

.btn-float-view-image {
	position: absolute;
    right: 36px;
    top: 10px;
}

.btn-float-del-image {
	position: absolute;
    right: 10px;
    top: 10px;
}

.div-height {
	height: 140px;
}

.div-asset-customs, .div-agreement {
    margin: 12px 0px;
    padding: 8px 0px 0px;
    border: 1px solid;
    border-radius: 8px;
    border-color: #d9dee3;
}

.tab-default-size {
	min-height: 200px;
}

.table-custom-padding .table.dataTable td, .table-custom-padding .table td {
	padding: .625rem 6px !important;
}

.mask {
    position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	top: 0;
    background-color: black;
    opacity: 0.25;
    z-index: 2;
    border-radius: 0.5rem;
}

.mask .spinner-border {
	position: relative;
	left: -moz-calc(50% - 16px);
    left: -webkit-calc(50% - 16px);
    left: -o-calc(50% - 16px);
    left: calc(50% - 16px);
    top: -moz-calc(50% - 16px);
    top: -webkit-calc(50% - 16px);
    top: -o-calc(50% - 16px);
    top: calc(50% - 16px);
}

.div-filters {
	padding: 8px; 
	background-color: #F2F4F5;
	border-radius: 4px;
}

/*Design Modifications 2025-04*/
.breadcrumb{
  font-size: 18px;
}
.btn{
  border-radius: 15px;
}
.btn-outline-primary {
  background: #f3f3f3;
}
.btn-outline-primary:hover {
  background: #00263E !important;
  color: #f3f3f3 !important;
}
.btn-outline-primary:active {
  background: #00263E !important;
  color: #f3f3f3 !important;
}

/**/
    .bgaccordion.collapsed {
      background-color: #8592a3;
      color: white;
    }
    .bgaccordion:not(.collapsed) {
      background-color: #00263E;
      color: white;
    }
    .btnaccordion:after {
      /*Cambiamos posicion icono flecha*/
      order: -1;
      margin-left: 0; 
      margin-right:0.5em; 
    }
    .progress-bar-red {
      background-color: #e74c3c;
    }
    .progress-bar-orange {
      background-color: #f39c12;
    }
    .progress-bar-green {
      background-color: #2ecc71;
    }
    
    .badge-en-proceso { background-color: #F2D8CB; color: #DA8858;}
    .badge-concluido { background-color: #D9DEE1; color: #4B5360;}
    .badge-en-cola { background-color: #EEEEEE; color: #535C65;}

    /*Para agregar bordes a la tabla, solo aplica para contenedores con nombre tabla-bordes para no afectar todos los Data Tables*/

    #tabla-bordes table.dataTable, 
    #tabla-bordes table.dataTable th, 
    #tabla-bordes table.dataTable td {
        border: 1px solid #dee2e6 !important;
    }

    #tabla-bordes table.dataTable {
        border-collapse: collapse !important;
    }