/* 
    URL https://ianrmedia.unl.edu/responsive-table-generator-tool

*/

:root {
    --bg-table-stripe: #f6f6f5;
    --b-table: #e3e3e2;
    --caption: #242423;
}

table {
    background-color: transparent;
    border-collapse:collapse;
  	font-family: Arial, Helvetica, sans-serif
}

th {
    text-align:left
}

.dcf-txt-center {
      text-align: center!important
    }

    .dcf-txt-left {
      text-align: left!important
    }

    .dcf-txt-right {
      text-align: right!important
    }
    
.dcf-table caption {
      color: var(--caption);
      font-size: 1.13em;
      font-weight: 700;
      padding-bottom: .56rem
    }

    .dcf-table thead {
      font-size: .84em
    }

    .dcf-table tbody {
      border-bottom: 1px solid var(--b-table);
      border-top: 1px solid var(--b-table);
      font-size: .84em
    }

    .dcf-table tfoot {
      font-size: .84em
    }

    .dcf-table td, .dcf-table th {
        padding-right: 0.2em;
        padding-left: 0.2em;
    }

    .dcf-table-bordered, .dcf-table-bordered td, .dcf-table-bordered th {
      border: 1px solid var(--b-table)
    }

    .dcf-table-bordered td, .dcf-table-bordered th, .dcf-table-striped td, .dcf-table-striped th {
      padding-left: 1em;
      padding-right: 1em
    }

    .dcf-table-bordered tr:not(:last-child), .dcf-table-striped tr:not(:last-child) {
      border-bottom: 1px solid var(--b-table)
    }

    .dcf-table-striped tbody tr:nth-of-type(2n) {
      background-color: var(--bg-table-stripe)
    }

    .dcf-table thead td, .dcf-table thead th {
      padding-bottom: .75em;
      vertical-align: bottom
    }

    .dcf-table tbody td, .dcf-table tbody th, .dcf-table tfoot td, .dcf-table tfoot th {
      padding-top: .75em;
      vertical-align: top
    }

    .dcf-table tbody td, .dcf-table tbody th {
      padding-bottom: .75em
    }

    .dcf-table-bordered thead th {
      padding-top: 1.33em
    }

    .dcf-wrapper-table-scroll {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      left: 50%;
      margin-left: -50vw;
      margin-right: -50vw;
      padding-bottom: 1em;
      position: relative;
      right: 50%;
      width: 100vw
    }
   
.dcf-overflow-x-auto {
      overflow-x: auto!important;
      -webkit-overflow-scrolling: touch
    }
    
.dcf-w-100\% {
  width: 100%!important;
		}


/* CHEMO CUSTOM STYLES */


tbody tr td[data-label="REVISION"] strong {
  display: none;
}

th.dcf-txt-center[scope="row"] {
    padding-left: 0.2rem;
    color: #009de0;
    text-align: left!important;
    font-size: 0.94rem;
}

th.dcf-txt-center[scope="col"] {
    color: #2a2a2a;
    font-size: 0.88rem;
    font-weight: 300;
}


th.dcf-txt-center[scope="col"] strong {
    margin-left: 0.1rem;
    font-family: 'Segoe UI Semibold';
}
tbody tr td:nth-child(even) {
    background-color: #f5f5f5;
}



tbody tr {
    border-top: 1px solid #999;
}

tbody tr td {
    position: relative;
    font-size: 0.9rem;
}   


tbody tr td[data-label="REVISION"] {
    background-color: #FFF;
    border-left: 1px solid #f0f0f0;

}

tbody tr td[data-label="UNIDAD"] {

}

 

table.dcf-table .unit {
    font-family: 'Segoe UI Semibold';
    font-size: 0.94rem;
}

/* Media Queries */
/* Desktop View  versión 2.0  */

@media only screen and (min-width:890px) {
    tbody tr td:nth-child() {
      display: block;
    }
  
}




 /* Mobile view under 890px versión 1.0  */
 /*
 @media only screen and (max-width:890px) {
    .dcf-table-responsive thead {
      clip: rect(0 0 0 0);
      -webkit-clip-path: inset(50%);
      clip-path: inset(50%);
      height: 1px;
      overflow: hidden;
      position: absolute;
      width: 1px;
      white-space: nowrap
    }
    .dcf-table-responsive tr {
      display: block
    }
    .dcf-table-responsive td {
      -webkit-column-gap: 3.16vw;
      -moz-column-gap: 3.16vw;
      column-gap: 3.16vw;
      display: grid;
      grid-template-columns: 1fr 2fr;
      text-align: left!important
    }
    .dcf-table-responsive.dcf-table-bordered, .dcf-table-responsive.dcf-table-bordered thead th {
      border-width: 0
    }
    .dcf-table-responsive.dcf-table-bordered tbody td {
      border-top-width: 0
    }
    .dcf-table-responsive:not(.dcf-table-bordered) tbody tr {
      padding-bottom: .75em
    }
    .dcf-table-responsive:not(.dcf-table-bordered) tbody td {
      padding-bottom: 0
    }
    .dcf-table-responsive:not(.dcf-table-bordered):not(.dcf-table-striped) tbody td {
      padding-right: 0
    }
    .dcf-table-responsive.dcf-table-bordered tbody tr:last-child td:last-child {
      border-bottom-width: 0
    }
    .dcf-table-responsive tbody td:before {
      content: attr(data-label);
      float: left;
      font-weight: 700;
      padding-right: 1.78em
    }
    tbody tr td i.far, tbody tr td i.fal, tbody tr td i.fas {
        width: 1.44rem;
        line-height: 1.44rem;
        background-color: #009DE0;
        border-radius: 1.5rem;
        text-align: center;
        color: #FFF;
        z-index: 4;
    }


  }

*/

/* Under 850 */

@media (max-width: 850px) {
  table tr td:nth-child(15), table tr th:nth-child(15) {
    display: none;
  }
  tbody tr td[data-label="REVISION"] strong {
    display: inline;
  }
}

/* Under 710 */

@media (max-width: 710px) {
  table tr td:nth-child(13), table tr th:nth-child(13) {
    display: none;
  }
}

/* Under 660 */

@media (max-width: 660px) {
  table tr td:nth-child(12), table tr th:nth-child(12) {
    display: none;
  }
}


/* Under 610 */

@media (max-width: 610px) {
  table tr td:nth-child(11), table tr th:nth-child(11), table tr td:nth-child(10), table tr th:nth-child(10)  {
    display: none;
  }
}

/* Under 560 */

@media (max-width: 560px) {
  table tr td:nth-child(9), table tr th:nth-child(9), table tr td:nth-child(8), table tr th:nth-child(8) {
    display: none;
  }
}

/* Under 510 */
@media (max-width: 510px) {
  table tr td:nth-child(7), table tr th:nth-child(7) {
    display: none;
  }
}


/* Under 460 */
@media (max-width: 460px) {
  table tr td:nth-child(6), table tr th:nth-child(6) {
    display: none;
  }
}

/* Under 410 */
@media (max-width: 410px) {
  table tr td:nth-child(5), table tr th:nth-child(5) {
    display: none;
  }
}

/* Under 360 */
@media (max-width: 360px) {
  table tr td:nth-child(4), table tr th:nth-child(4) {
    display: none;
  }
}

















/* Desktop View over 890px versión 1.0 */

@media only screen and (min-width:90px) {
    tbody tr td[data-label] {
        padding-top: 3rem!important;
    }
    
    tbody tr td[data-label]::before {
        position: absolute;
        top: 33%;
        left: 0;
        content: '';
        width: 100%;
        height: 1px;
        background-color: #999;
    }
    
    tbody tr td[data-label]::after {
        position: absolute;
        margin-left: -0.4rem;
        margin-top: -0.4rem;
        top: 33%;
        left: 50%;
        content: '';
        width: 0.8rem;
        height: 0.8rem;
        background-color: #FFF;
        border: 1px solid #555;
        border-radius: 0.6rem;
    }
    
    tbody tr td i.far, tbody tr td i.fal, tbody tr td i.fas {
        position: absolute;
        margin-left: -0.72rem;
        margin-top: -0.72rem;
        top: 33%;
        left: 50%;   
        width: 1.44rem;
        line-height: 1.44rem;
        background-color: #009DE0;
        border-radius: 1.5rem;
        text-align: center;
        color: #FFF;
        z-index: 4;
    }
    
    
    tbody tr td[data-label="REVISION"]::after, tbody tr td[data-label="UNIDAD"]::after, tbody tr td[data-label="REVISION"]::before, tbody tr td[data-label="UNIDAD"]::before {
        display: none;
    }
    
    tbody tr td[data-label="REVISION"], tbody tr td[data-label="UNIDAD"] {
        padding-top: 2rem!important;
    }
} 

@media (min-width: 1399px) and (max-width: 1560px)  {

}

@media (max-width: 1700px) {
    th.dcf-txt-center[scope="col"] strong {
        display: block;
    }

}
