html,
body {
    height: 100%;
}
.page-contentClass{
    flex: 1 0 auto;
}

#sticky-footer {
    flex-shrink: none;
}

.border-template{
    border: 2px solid #2c3e50;
    border-radius: 5px;
}

.background-template-color{
    background-color: #2c3e50;
}

.background-template-color2{
    background-color: #ecf0f1;
}

.background-template-text{
    background-color: #bdc3c7;
}

.text-template-background{
    color: #2c3e50;
}

.text-template-color{
    color:  #bdc3c7;
}

.progressBar{
  animation-name: loadProgress;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-direction: alternate;
}

@keyframes loadProgress{
  from {
    width: 0%;
}
to {
    width: 100%;
}
}

.containerSwitch {
    /* position: absolute; */
    top: 0; right: 0; bottom: 0; left: 0;
    height: 40px;
    margin: auto;
    text-align: center;
}
.switch {
    display: inline-block;
    font-size: 20px; /* 1 */
    height: 1em;
    width: 2em;
    /* background: #BDB9A6; */
    background: #2c3e50;
    border-radius: 1em;
}

/* .switch [type="checkbox"]:checked{
    background: #2d7934;
} */

.checkbox{
    display: none;
}

.switch div {
    height: 1em;
    width: 1em;
    border-radius: 1em;
    background: #FFF;
    box-shadow: 0 0.1em 0.3em rgba(0,0,0,0.3);
    -webkit-transition: all 300ms;
        -moz-transition: all 300ms;
            transition: all 300ms;
}

.switch input:checked + div {
    -webkit-transform: translate3d(100%, 0, 0);
        -moz-transform: translate3d(100%, 0, 0);
            transform: translate3d(100%, 0, 0);
}

/* Styles for hiding columns on small screens */
@media screen and (max-width: 650px) {
    .column_importe,
    .column_cedula,
    .infoHeader {
      display: none;
        /* Hide the content of these columns */
        /* content: "";
        display: block;
        visibility: hidden;
        height: 0; */
    }
}

.down {
    background-color: #dbdbdb;
}

.nav-item:hover, .containerSwitch>label:hover, input[type=checkbox]:hover {
    cursor: pointer;
}

tbody tr {
  --c: #2c3e50; /* the border color */
  --b: 3px;    /* the border thickness*/
  --g: 2px;     /* the gap on hover */
  
  padding: calc(var(--g) + var(--b));
  --_g: #0000 25%,var(--c) 0;
  background: 
    conic-gradient(from 180deg at top    var(--b) right var(--b),var(--_g))
     var(--_i,200%) 0  /200% var(--_i,var(--b))  no-repeat,
    conic-gradient(            at bottom var(--b) left  var(--b),var(--_g))
     0   var(--_i,200%)/var(--_i,var(--b)) 200%  no-repeat;
  transition: .2s, background-position .2s .2s;
  cursor: pointer;
}

tbody>tr:hover {
    --_i: 100%;
  transition: .2s, background-size .2s .2s;
}

tbody:not(#tbodyCobranza) tr td {
    padding: 5px !important;
}

@media (max-width: 1300px) {
  .col-empresa {
    display: none;
  }
}


/* Estilos para el tooltip */
.tooltip {
  position: absolute;
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 1000;
}

#tbodyCobranza tr td:nth-child(8) {
    white-space: nowrap;
}

td>button {
    padding-top: 0 !important;
}

#tbodyCobranza tr td {
    vertical-align: middle;
}

input[type="checkbox"], input[type="checkbox"] {
    visibility: hidden;
}

.checkboxOverride, .checkboxOverride {
    margin: 10px auto;
    position: relative;
    width: 25px;
}

.checkboxOverride input[type="checkbox"]:checked + label:after, .checkboxOverride input[type="checkbox"]:checked + label:after {
    opacity: 1; 
}

.checkboxOverride label, .checkboxOverride label {
    background: none repeat scroll 0 0 #EEEEEE;
    border: 1px solid #DDDDDD;
    cursor: pointer;
    height: 25px;
    left: 0;
    position: absolute;
    top: 0;
    width: 25px;
}

.checkboxOverride label:after, .checkboxOverride label:after {
    border-style: none none solid solid;
    content: "";
    height: 5px;
    left: 6px;
    opacity: 0;
    position: absolute;
    top: 7px;
    -ms-transform:rotate(-45deg);
    -webkit-transform:rotate(-45deg);
    transform:rotate(-45deg);
    width: 10px;
}

tr:has(.checkboxOverride input[type="checkbox"]:checked) {
    background-color: #2c3e50 !important; /* Change this to your desired background color */
    color: white;
}

tr:has(.checkboxOverride input[type="checkbox"]:checked)
.switch {
    background-color: #676e75 !important;
}

tr:has(.checkboxOverride input[type="checkbox"]:checked) + td .btn{
    color: white !important;
}

tr:has(.checkboxOverride input[type="checkbox"]:checked) td:nth-child(1){
    color: rgb(0, 0, 0) !important;
}

tr:has(.checkboxOverride input[type="checkbox"]:checked) td:nth-child(3) label{
    background-color: rgb(255, 255, 255) !important;
}

tr:has(.checkboxOverride input[type="checkbox"]:checked) td:nth-child(3) label div{
    background: #676e75 !important;
}
.white{
    color: white !important;
}

.contract {
    transform: translateY(-100%);
    opacity: 0;
    max-height: 0;
    min-height: 0;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    pointer-events: none; /* Add this line */
}
.contract.show {
    transform: translateY(0);
    opacity: 1;
    max-height: 200px;
    pointer-events: auto; /* Add this line */
}

.contractClientAction {
    transform: translateY(-100%);
    opacity: 0;
    max-height: 0;
    min-height: 0;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    pointer-events: none; /* Add this line */
}
.contractClientAction.show {
    transform: translateY(0);
    opacity: 1;
    max-height: 200px;
    pointer-events: auto; /* Add this line */
}

.promoDiv {
    display: none; 
    transition: opacity 0.1s, max-height 0.1s;
}
.promoDiv.visible {
    display: block;
    transition: opacity 0.1s, max-height 0.1s;
}

.validateOK{
    background-color: #00f50063 !important;
}

.validateERROR{
    background-color: #ff333363 !important;
}

.usedToExport{
    box-shadow:inset -0.3em 0em 0px 0px #10ff00 !important;
}