/* new-table.css */

.new-table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
}

.new-table caption {
    font-weight: bold;
    color: #007681;
    margin: 0 0 1em 0;
    font-size: 1.2rem;
}

.new-table th {
    text-align: left;
}

.new-table.rtl th {
    text-align: right;
}

.new-table th,
.new-table td {
    padding: 0.5em 0.75em;
    border: 1px solid #ccc;
}

.new-table td {
    vertical-align: top;
}

.pcenter {
    text-align: center;
    vertical-align: middle;
}

.new-table thead,
.new-table tfoot {
    background: #f8f8f8;
}

.new-table thead tr,
.new-table tfoot tr {
    background: transparent;
}

.new-table tbody tr:nth-child(2n) {
    background-color: #f1f1f1;
}

.new-table tbody tr-hidden {
  display: none;
}

.new-table.compact {
    font-size: 0.875rem;
}

.new-table.compact th.compact {
    font-size: .75rem;
}

.new-table span.canbreak {
    display: inline-block;
}

.new-table.card-style .display-mobile {
    display: none;
}

.fixTableHead .sticky-element {
    padding: 0.5em 0.75em;
    border: 1px solid #ccc;
}
	
.fixTableHead .sticky-element.is-stuck tr {
    position: sticky; 
    top: 0;
    box-shadow: 0px 5px 5px 0px #666666;
}
    
.fixTableHead .sticky-element.is-stuck th { 
    position: sticky; 
    top: 0; 
    background-color: #f1f1f1;
    outline: 2px solid #cccccc;
}

@media only screen and (max-width: 1280px) {
    .new-table.compact {
        font-size: 0.75rem;
    }
    
    .new-table.card-style,
    .new-table.compact.card-style {
        font-size: 1rem;
    }
    
    .new-table.card-style thead {
        display: none;
    }
    
    .new-table.card-style tr {
        display: flex;
        flex-direction: column;
        padding: 0.5em;
        border: 1px solid #ccc;
        border-bottom: none;
    }
    
    .new-table.card-style tr:last-child {
        border-bottom: 1px solid #ccc;
    }
    
    .new-table.card-style td {
        border: none;
        display: block;
    }
    
    .new-table.card-style .display-mobile {
        display: inline;
    }
    
    .new-table.card-style .hide-mobile {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .new-table.compact {
        font-size: 0.875rem;
    }

    
    /*.new-table.card-style thead {
        display: none;
    }
    
    .new-table.card-style tr {
        display: flex;
        flex-direction: column;
        padding: 0.5em 0.75em;
        border: 1px solid #ccc;
    }
    
    .new-table.card-style td {
        border: none;
    }
    
    .new-table.card-style .display-mobile {
        display: inline;
    }
    
    .new-table.card-style .hide-mobile {
        display: none;
    }*/
}