body{
  overflow-x: hidden;
  font-size: 0.8rem;
  line-height: 1rem;
  background: #fafcfd;
}

body.background{
  background: url(../images/poc-background.jpg) !important;
  background-repeat: no-repeat;
  background-size: cover !important;
  margin: 0;
  height: 100vh;
}

.table-input-70 textarea, .table-input-70 input, .table-input-70 select{
  min-height: 70px !important;
}

.table-group-divider {
  border-top: 1px solid #dedede;
}

tr.table-primary{
  --bs-table-bg:#3366cc !important;
  color: #fff;
  text-align: center;
}

.card.card-cascade.narrower .view.view-cascade {
  margin-top: -1.25rem;
  margin-right: 4%;
  margin-left: 4%;
}

.card.card-cascade .view.view-cascade.gradient-card-header {
  padding: 2.6rem 1rem;
  color: #fff;
  text-align: center;
}

.card.card-cascade .view.view-cascade {
  border-radius: 0.25rem;
  -webkit-box-shadow: 0 5px 11px 0 rgb(0 0 0 / 18%), 0 4px 15px 0 rgb(0 0 0 / 15%);
  box-shadow: 0 5px 11px 0 rgb(0 0 0 / 18%), 0 4px 15px 0 rgb(0 0 0 / 15%);
}

.view {
  position: relative;
  overflow: hidden;
  cursor: default;
}

.blue-gradient, .pagination .active {
  background: #3366cc !important;
}

.pagination .active{
--bs-pagination-active-bg: #3366cc !important;
}

.white-text, .white-text:hover{
  color: #fff;
  font-weight: bold;
}

a{
  text-decoration: none;
}

.disabled{
    background-color: #e9ecef;
}
tfoot th{
  border-bottom: none !important;
}

.btn-outline-white {
  color: #fff !important;
  background-color: transparent !important;
  border: 2px solid #fff !important;
}

.btn-outline-white:hover {
  color: #3366cc !important;
  background-color: #fff !important;
  border: 2px solid #3366cc !important;
}

.btn-outline-primary {
  color: #3366cc !important;
  background-color: transparent !important;
  border: none;
}

.btn-outline-danger {
  color: red !important;
  border-color: red;
  background-color: transparent !important;
  border: none;
}


.btn-outline-primary:hover {
  color: #fff !important;
  background-color: #3366cc !important;
 border:none;
}

.btn-outline-danger:hover {
  color: #fff !important;
  background-color: red !important;
 border:none;
}

table a {
  margin: 0;
  color: #212529;
}

.text-purple{
  color:#580f95;
}

.user-menu, .user-footer{
  display: block !important;
}

.btn-purple, .bg-purple, .badge-purple{
  background-color: #580f95 !important;
  color: #fff !important;
}

.image{
  padding-right: 25px !important;
  padding-left: 0 !important;
}

.img-company, .img-user{
  width: 100% !important;
}

.img-article{
  width: 60px !important;
  height: 36px !important;
}

.img-company{
  height: 166px !important;
}

.img-user{
  height: 317px !important;
}

td, th{
  vertical-align: middle !important;
}

th{
    text-transform: uppercase;
    border-bottom: none !important;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 2px 10px;
}

.btn-rounded {
  border-radius: 10em !important;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  font-size: 12pt;
}

.custom-file-input{
  display: contents;
}

/** Menu superior **/

@media (min-width: 576px){
  .main-header ul li:not(:first-child) {
    display: none;
  }
}

@media (min-width: 992px){
  .main-header ul li:not(:first-child) {
    display: block;
  }
}

.img-thumbnail{
  cursor: pointer;
}
.img-thumbnail img{
  height: 95px;
}

.img-thumbnail:hover{
  background:#fff;
}

.pagination {
  --bs-pagination-padding-y: 0.215rem !important;
}

.btn-primary, .bg-primary{
  background: #3366cc !important;
}

.text-primary{
  color: #3366cc;
}

table th{
  text-align: center;
}



.fs-5 {
  font-size: 0.7rem !important;
}

.fs-6 {
  font-size: 0.6rem !important;
}



.pl-4 {
  padding-left: 1.5rem!important;
}

.pr-4 {
  padding-right: 1.5rem!important;
}

.input-group{
  cursor: pointer;
}

.accordion-button:not(.collapsed), .list-group-item-action.active, .page-item.active .page-link {
  background-color: #2e96ca;
  box-shadow: inset 0 calc(var(--bs-accordion-border-width)*-1) 0 var(--bs-accordion-border-color);
  color: #fff;
}

.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active, .btn-warning, .bg-warning{
  background: #F06E09 !important;
  color: #fff !important;
}
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link i,
.nav-treeview>.nav-item>.nav-link> i{
  font-size: 1.4rem;
}

.accordion-item:first-of-type .accordion-button {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

#listArtircle div{
  padding-top: 0.125rem ;
  padding-bottom: 0.125rem;
  vertical-align: middle;
  cursor: pointer;
}

#listArtircle div:hover{
  background: #dedede;
}

#back-to-top {
    display: none;
}

.modal {
  --bs-modal-width: 100%;
}

.modal-content.col-2 {
  flex: 0 0 auto;
  width: 16.666666668% !important;
}

.modal-content.col-4 {
  flex: 0 0 auto;
  width: 33.333333337% !important;
}


.modal-content.col-8 {
  flex: 0 0 auto;
  width: 66.66666667% !important;
}


.select2-container--default .select2-selection--single {
    background-color: #f8fafc !important;
}


table{
    border: 1px solid #ced4da;
    border-radius: .5rem;
    margin-bottom: 1rem;
}

.btn-menu{
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.05);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3b96db), color-stop(100%, #2e96ca));
    background: -webkit-linear-gradient(top, #3b96db 0%, #2e96ca 100%);
    background: -moz-linear-gradient(top,  #3b96db 0%, #2e96ca 100%);
    background: -ms-linear-gradient(top,  #3b96db 0%, #2e96ca 100%);
    background: -o-linear-gradient(top,  #3b96db 0%, #2e96ca 100%);
    background: linear-gradient(to bottom,  #3b96db 0%, #2e96ca 100%);
}

.btn-menu:hover{
    color: #ffffff;
}

.card{
  box-shadow: none !important;
  background: none;
}

/*.card-header{
  border-bottom: none !important;
}*/

.btn-primary, .bg-primary, .nav-pills .nav-link.active{
  background: #2e96ca !important;
  color: #ffffff !important;
}

.btn-info, .bg-info{
    background: #5592c7 !important;
}

.btn{
  border:0;
  border-radius: 0;
  text-transform: uppercase;
}

.title-req{
  color:#2e96ca !important;
  font-size: 1.6rem;
  font-weight: bold;
  align-items: center;
  display: flex;
}

.title-req .btn{
    margin-right: .5rem;
}

#reg td{
    vertical-align: middle;
}

table.dataTable.stripe>tbody>tr>*, table.dataTable.display>tbody>tr>td{
  background: #ffffff !important;
  box-shadow: none !important;
  padding: .8rem .6rem  !important;
  border: none !important;
  border-top: 1px solid #dedede !important;
}

.header-image{
    height: 46px;
    overflow: hidden;
    padding: 10px 10px 0;
    text-align: center;
    background: #f8fafc;
}

span.form-control i{
  position: absolute;
  right: 1.3rem;
  border: 1px solid #aaa;
}

.login-box, .register-box {
    width: 500px !important;
}

label, .th-inner{
    text-transform: uppercase;
    font-size: small;
    margin-bottom: .2rem !important;
}

.img-article{
    width: 60px !important;
    height: 36px !important;
  }

  .custom-file-input{
    display: contents;
  }

  .card-total{
    height: 80px;
  }
  .card-icon {
    position: absolute;
    width: 70px;
    height: 65px;
    border-radius: .7rem;
    left: 0;
    top: 7px;
    text-align: center;
    padding: 5px;
    color: #fff;
}

.card-text{
    position: relative;
    float: right;
    margin-right: 2rem;
    text-align: center;
}

.card-text h4{
    font-weight: bold;
}

.bg-header{
  background: #F06E09;
  color:#fff;
}

.nav-link p{
    position: absolute;
    top: 10px;
    left: 70px;
}

.switch-item{
    align-items: center;
    display: flex;
}
.switch-itam label{
    margin-left: .5rem;
}
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 20px;
  }

  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 1rem !important;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 1rem !important;
  }

  input:checked + .slider {
    background-color: #2e96ca ;
  }

  input:focus + .slider {
    box-shadow: 0 0 1px #2e96ca ;
  }

  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }

  .nav-sidebar .nav-link>.right, .nav-sidebar .nav-link>p>.right {
    position: absolute;
    right: -150px !important;
    top: 0px !important;
    font-size: 1.5em !important;
}

.progress{
    height: 0.5rem !important;
}

.no-pagination .fixed-table-pagination{
    display: none !important;
}

.bg-dark{
    background: #F06E09 !important;
}

@media (max-width: 576px){
  .login-box, .register-box {
    margin-top: .5rem;
    width: 90% !important;
  }

  .login-box .login-logo a img{
    width: 90% !important;
  }
}

.comments_chat{
    position: fixed;
    bottom: 0;
    z-index: 10;
}

@media (min-width: 576px) {
  .comments_chat{
    width: 100%;
    left: 0;
  }
}


@media (min-width: 992px) {
  .comments_chat{
    width: 100%;
    left: 50;
    z-index: 1040;
  }
}

#comments_chat{
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

#comments_chat .bg-secondary{
    background: #ececec !important;
    color: #212529 !important;
}

#comments_chat .bg-secondary::before{
    content: '';
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 14px solid #ececec;
    top: -7px;
    position: absolute;
    left: 2px;
}

.user-image-chat{
    width: 30px;
    height: 30px;
    border: 1px solid #ced4da;
    margin-right: 0.5rem;
    padding: 0.1rem;
}

.remove-document{
    position: absolute;
    top: 18px;
    right: 18px;
}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane{
    position: relative;
}

.dt-container .dt-empty-footer {
    position: absolute;
    box-shadow: 0px 5px 5px #ced4da;
    z-index: 1000;
}

.featured{
    background: #f2f5fb !important;
    font-weight: bold !important;
}

.hidden-column {
    display: none; /* Oculta las columnas inicialmente */
}

.table-container {
    width: 100%;
    margin: auto;
    overflow: hidden; /* Por defecto sin scroll */
    transition: all 0.3s ease-in-out;
}
.scroll-active {
    overflow-x: auto; /* Agregar scroll horizontal cuando sea necesario */
}
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 100%; /* Para que se ajuste al contenedor */
    transition: all 0.3s ease-in-out;
}

/** Menue Principal **/

@media (min-width: 992px) {
   /* .main-sidebar {
      display: none;
    }*/

   /* .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 0rem!important;
    }*/

  }

  @media (max-width: 991px) {
    .main-sidebar {
      display: block;
    }
  }

  @media (max-width: 991px) {
    .main-sidebar {
      display: block;
    }
  }

  @media (max-width: 991px) {
    .main-header .navbar {
      display: none;
    }
  }

  .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 15px !important;
}

.tomselect-input {
    min-width: 150px; /* Ancho mínimo */
    width: auto;      /* Permitir que el campo se ajuste automáticamente */
    padding: 5px;
  }
