body{
  font-size: .9rem;
}
/*************************//* width */

::-webkit-scrollbar {
  width: 5px;
  height: 1px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px white;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #90adbf;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

/*************************/
:root{
  --bs-dark-rgb: 0, 23, 90;
  --bs-primary-rgb: 0, 111, 207;
  --bs-secondary-rgb: 89, 89, 89;
  --bs-info-rgb: 110, 211, 231;
  --bs-success-rgb: 32, 199, 121;

  --bs-link-color: #006fcf;

  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.30), rgba(0, 0, 0, .05));
}
/*************************/
.dropdown-menu{
  --bs-dropdown-link-active-bg: #006fcf;
}
.pagination{
  --bs-pagination-active-bg: #006fcf;
  --bs-pagination-active-border-color: #006fcf;
}

.btn-primary {
  --bs-btn-bg: #006fcf;
  --bs-btn-border-color: #006fcf;
  --bs-btn-disabled-bg: #006fcf;
  --bs-btn-disabled-border-color: #006fcf;
}
.btn-dark {
  --bs-btn-bg: #00175a;
  --bs-btn-border-color: #00175a;
  --bs-btn-disabled-bg: #00175a;
  --bs-btn-disabled-border-color: #00175a;
}

.btn-danger {
  --bs-btn-bg: #f0223b;
  --bs-btn-border-color: #f0223b;
  --bs-btn-disabled-bg: #f0223b;
  --bs-btn-disabled-border-color: #f0223b;
}
.btn-secondary {
  --bs-btn-color: #000;
  --bs-btn-bg: #dedede;
  --bs-btn-border-color: #dedede;
  --bs-btn-disabled-bg: #dedede;
  --bs-btn-disabled-border-color: #dedede;
}

.table-light {
    --bs-table-color: #00175a;
}
/*************************/
.display-7{
  font-size: 1.5rem;
}

/******** SUCCESS ANIMATION *****************/

.checkmark {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #20c779;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #20c779;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
    position:relative;
    top: 5px;
    right: 5px;
   margin: 0 auto;
}
.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #20c779;
    fill: #fff;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
 
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #4bb71b;
    }
}
/**************************/
.nav-pills.list-group-flush .list-group-item .nav-link{
  padding: 0;
  color: #5f5f5f;
}
  .nav-pills.list-group-flush .list-group-item:first-child{
    padding-top: 0 !important;
  }
.nav-pills.list-group-flush .list-group-item .nav-link.active{
  background-color: #fff;
  color: #156efd;
}
  .nav-pills.list-group-flush .list-group-item .nav-link.active .text-bg-secondary{
    background-color:#156efd !important;
  }
/**************************/
.box-login{
  width: 555px;
  height: 315px;
  top: 50%;
  left: 50%;
  margin-top: -157px;
  margin-left: -275px;
  background-image: url(../img/box_login.png);
  background-size: cover;
  position: absolute;
}

.box-login .inner{
  padding: 1em 3em 0;
}
.box-login p{
  text-align: center;
  color: #666;
  margin-bottom: 0;
}
  .form-login{
    width: 100%;
    max-width: 280px;
    padding: 2.5em;
  }

/******************************************/
.opacity-10 {
    opacity: 0.10 !important;
}
/*************************/
.breadcrumb-item + .breadcrumb-item::before {
    color: #2b2b2b;
    font-size: 14px;
  }
.breadcrumb-item + .breadcrumb-item::before {
    content: '\F309';
    font-family: 'bootstrap-icons';
}

/*************************/
a {
    color: #286ed6;
    text-decoration: underline;
}
  a:focus, .btn:focus{
    outline: none;
    box-shadow: none;
  }


.btn-success {
    --bs-btn-bg: #20c779;
    --bs-btn-border-color: #20c779;
    --bs-btn-hover-bg: #157347;
    --bs-btn-hover-border-color: #146c43;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #146c43;
    --bs-btn-active-border-color: #13653f;
    --bs-btn-disabled-bg: #20c779;
    --bs-btn-disabled-border-color: #20c779;
}

/*************************/
.preloader{
  position: absolute;
  top: 0;
  left: 0;
  background: rgb(255 255 255);
  width: 100%;
  height: 100%;
  z-index: 9999;
}
.preloader>div{
  position: absolute;
  left: 50%;
  top: 50%;
  color: #fff;
  margin-left: -55px; 
  margin-top: -70px;
  padding: 10px;
  z-index:10000;
  text-shadow: 0px 1px 2px #000;
}
/*************************/

/*************************/
.table-secondary,{
  background: #ecf0f1;
}
  .table-secondary {
    --bs-table-bg: #ecf0f1;
  }
  .table-hover > tbody > tr:hover > * {
    --bs-table-accent-bg: #ecf0f1;
  }

  .table-secondary th{
    font-size: .75rem;
    color: #53565a;
    font-weight: 300;
    border-bottom: 2px solid transparent;
  }

  .table tr > th:first-child, .table tr > td:first-child{
    padding-left: 1rem;
  } 
  .table tr > th:last-child, .table tr > td:last-child{
    padding-right: 1rem;
  } 


/*****************************/

.dropdown-toggle.dropdown-toggle-none::after{
  display: none;
}

/*****************************/
.sidebar {
  position: relative;
  margin-left: -0.75rem;
  padding: 0 0 1rem 0 !important;
  height: 100%;
  border-right: 1px solid #f1f1f1;
}
    .sidebar .nav-item{
      width: 100%;
    }
    .sidebar .nav-link{
      color: #fff;
      white-space: normal;
    }
    .sidebar .nav-link:focus{
      color: #add3ff!important;
    }

    .sidebar .nav-link:hover{
      color: #fff;
      opacity: .5;
    }
    .sidebar .nav-link.active {
      color: #49bbe0;
      border-left: 3px solid #49bbe0;

    }
/*****************************/
    .nav-tabs .nav-link{
      min-width: 130px;
    }
    .nav-tabs .nav-link.active{
      border-top: 3px solid #353f5a;
    }
    .tab-pane.active{
      padding: 1rem;
      background: #fff;
      border: 1px solid transparent;
      border-color:  #fff #dee2e6 #dee2e6;
    }
    .badge-item{
      font-size: .9rem;
      width: 50px;
      height: 25px;
      line-height: 25px;
      margin-bottom: 2px;
      border-radius: .3rem;
    }

.bd-links {
    display: block !important;
    height: 100%;
    padding-left: 0.25rem;
    margin-left: -0.25rem;
    overflow-y: auto;
    font-weight: 600;
}
  .bd-links ul li ul{
      margin-left: 0.5rem;
    }

.bd-links a {
    margin-bottom: 0.5rem;
    color: rgba(0,0,0,0.65);
    text-decoration: none;
}
.bd-links .btn {
  text-align: left;
  font-size: .85rem;
    padding: 0.25rem 0.5rem;
    color: rgba(0,0,0,0.65);
    background-color: transparent;
    border: 0;
}
.bd-links .btn:focus{
  text-decoration: none!important;
  border: none!important;
  box-shadow: none!important;
} 

.bd-links .btn:before {
    color: var(--bs-gray-500);
    content: "\f282";
    font-family: bootstrap-icons!important;
    transition: transform 0.35s ease;
    transform-origin: 0.5em 50%;
    left: -5px;
    position: relative;
}

.bd-links .btn[aria-expanded="true"] {
    color: rgba(0,0,0,0.85);
}
.bd-links .btn[aria-expanded="true"]::before {
    transform: rotate(-90deg);
}

.bd-links a.active{
  position: relative;
  color: #1766cd;
  font-weight: 500;
}
  
  .bd-links a.active:after {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    background-color: #156efd;
    width: 10px;
    height: 100%;
  }

/****************************/

.subtitle{
    display: block;
}
.subtitle span{
  color: #286ed6;
    font-size: .7rem;
    line-height: 1;
    padding: 2px 10px;
    position: relative;
    text-transform: uppercase;
    font-weight: bold;
    z-index: 2;
    border-radius: 5px;
    background: #dce8fc;
}
.subtitle div{
    position: relative;
    margin: 0;
}
.subtitle div:before{
    content: "";
    display: block;
    border-top: solid 1px #dee2e6;
    width: 100%;
    position: absolute;
    top: 12px;
    z-index: 1;
}

/*********************************/
.btn .bi-chevron-right{
  position: relative;
  transition: 0.4s;
  left: 0px;
  }

.btn:hover .bi-chevron-right{
  transition: 0.4s;
  left: 1rem;
}

@keyframes example {
  from {
    left: 0px;
  }

    to {
      left: 20px;
    }
}
/******************************************/
/******************************************/
.navbar-primary .navbar-nav {
    flex-direction: row;
}

.navbar-primary .navbar-nav .nav-item .nav-link {
    color: var(--bs-gray-500);
    font-weight: 500;
}
.navbar-primary .navbar-nav .nav-item .nav-link,  .navbar-primary .navbar-nav .nav-item .nav-link.active{
    border-radius: 0.25rem;
    color: var(--bs-gray-600);
    font-size: .85rem;
    padding: 0.5rem 1rem;
}

.navbar-primary .dropdown:hover>.dropdown-menu {
  display: block;
}

.navbar-primary .dropdown>.dropdown-toggle:active {
  /*Without this, clicking will make it sticky*/
    pointer-events: none;
}


.navbar-primary .dropdown-menu {
    border: none;
    border-radius: 0.5rem;
    box-shadow: var(--bs-box-shadow);
    color: var(--bs-gray-800);
    margin-top: 0;
    min-width: 12rem;
    top: 100%;
}

.navbar-primary  .dropdown-item {
    background-color: transparent;
    border: 0;
    border-radius: var(--bs-dropdown-item-border-radius,0);
    clear: both;
    color: var(--bs-gray-600);
    display: block;
    font-weight: 400;
    text-align: inherit;
    white-space: nowrap;
    width: 100%;
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
    align-items: center;
    display: flex;
}
  .navbar-primary  .dropdown-item:hover{
    color: #1766cd;
  }

.navbar-primary  .nav-item .nav-link:hover, .navbar-primary  .nav-item .nav-link.active{
    background-color: #f1f5f9;
}

.navbar-primary .dropdown .dropdown-toggle:after {
    color: var(--bs-gray-500);
    content: "\f282";
    font-family: bootstrap-icons!important;
    line-height: 1.5rem;
    margin-left: 0.625rem;
}
.navbar-primary .dropdown .dropdown-toggle:after{
  border-top: none!important;
  vertical-align: 0!important;
}
/******************************************/
.figure{
  position: relative;
}
.figure:before{
  content: "";
  position: absolute;
  top: -1rem;
    left: 0rem;
    width: 35rem;
    height: 35rem;
  background-image: url('../img/figure1.svg');
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}
.figure:after{
  content: "";
  position: absolute;
  bottom: 0rem;
  right: 0;
    width: 35rem;
    height: 35rem;
  background-image: url('../img/figure2.svg');
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}

.figure-light{
  position: relative;
}
.figure-light:before{
  content: "";
  position: absolute;
  top: -1rem;
    left: 0rem;
    width: 30rem;
    height: 30rem;
  background-image: url('../img/figure-light-1.svg');
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}
.figure-light:after{
  content: "";
  position: absolute;
  bottom: 0rem;
  right: 0;
    width: 30rem;
    height: 30rem;
  background-image: url('../img/figure-light-2.svg');
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}
/******************************************/

/**************************/
.dashed{
  position: relative;
  margin-bottom: 1rem;
}
.dashed:after {
    content: "";
    position: absolute;
    top: 20px;
    left: 18px;
    width: 1px;
    height: 90%;
    background: rgb(170,170,170);
    background: linear-gradient(0deg, rgb(170 169 169) 50%, rgb(255 255 255 / 0%) 50%);
    background-size: 1px 8px;
    background-repeat: repeat-y;
}

/**************************/

.error {
    box-shadow: 0 0 5px #fe4640 !important;
    border: 1px solid #fe4640 !important;
}
/******************************************/

.dashed {
    position: relative;
}

    .dashed:after {
        content: "";
        position: absolute;
        top: 15px;
        left: 50%;
        margin-left: -1px;
        width: 2px;
        height: 100%;
        background: rgb(170, 170, 170);
        background: linear-gradient(0deg, rgb(222 226 230) 50%, rgb(255 255 255 / 0%) 50%);
        background-size: 2px 5px;
        background-repeat: repeat-y;
        z-index: -1;
    }

/******************************************/

@media screen and (max-width: 768px){
  .box-login{
    width: 300px;
    height: auto;
    top: 50%;
    left: 50%;
    margin-top: -130px;
    margin-left: -150px;
    background: #fff;
    border: 1px solid #ccc;
    background-image: none;
    border-radius: 10px;
  }
  .form-login {
    max-width: auto;
    padding: 1em;
  }

  .navbar-primary .navbar-nav {
    flex-direction: column;
  }
  
}

@media screen and (max-width: 991px){
  .navbar-primary .navbar-nav {
    flex-direction: column;
  }
  .navbar-primary .dropdown-menu{
    box-shadow: none;
  }
}

.scroll-y {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
}

    .scroll-y thead th {
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 2;
    }

.img-cabecera {
    max-width: 830px;
    max-height: 310px;
    width: 100%;
    height: auto;
    object-fit: contain; /* mantiene proporción */
}

/* Quita borde/sombra del "control" Select2 (cualquier theme) */
.select2-container .select2-selection {
    border: 0 !important;
    box-shadow: none !important;
}

.select2-container--focus .select2-selection {
    border: none !important;
    box-shadow: none !important;
}

a.btn > i {
    pointer-events: none;
}


/* Para el area de Detalles */
.table-responsive::-webkit-scrollbar {
    height: 14px; /* grosor horizontal */
}

.table-responsive::-webkit-scrollbar-track {
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    border-radius: 10px;
}

    .table-responsive::-webkit-scrollbar-thumb:hover {
        background: #0b5ed7;
    }

/* Para Firefox */
.table-responsive {
    scrollbar-width: auto; /* thin | auto */
    scrollbar-color: #abc0d3 #f1f1f1;
}


/* 5 por fila en >= lg */
@media (min-width: 992px) {
    .col-lg-estatus5 {
        flex: 0 0 20%;
        max-width: 20%;
        display: flex;
        justify-content: center; /* centra el círculo dentro de la columna */
    }
}




