a:hover {
    text-decoration: none;
}

.my-media {
    border: 1px solid #eee;
    padding: 8px 8px 0 8px;
    border-radius: 3px;
}

a>.my-media {
    color: #333;
}

.my-media img {
    width: 107px;
    height: auto;
    border-radius: 3px;
}

.my-media p {
    border-bottom: 1px dashed #eee;
}

.my-media p:last-child {
    height: 43px;
}

.col-md-6 {
    margin-top: 5px;
}

.my-em em {
    font-style: normal;
    text-align: right;
    width: 25%;
    display: inline-block;
    border-right: 1px solid #eee;
    padding-right: 10px;
    margin-right: 10px;
}

.ctable th, .ctable td,
.ntable th, .ntable td {
    padding: 10px;
    /* border: 1px solid #ddd; */
}

.ctable tbody tr:nth-child(odd),
.ntable tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.ctable tbody tr:hover td,
.ntable tbody tr:hover td {
    background-color: #f5f5f5 !important;
}

.table {
    display: table;
    position: relative;
    width: 100%;
    text-align: right;
    line-height: 1.25rem;
}

.ctable td:first-child,
.ntable td:first-child {
    position: sticky;
    left: -1px;
    z-index: 1;
    background: #fff;
}

.ctable thead tr:nth-child(2) th:nth-child(1) {
    left: -1px;
    z-index: 10;
    /* top: 37px !important; */
}

.ctable thead tr:nth-child(2) th:nth-child(3) {
    left: 43px;
    /* z-index: 10; */
    /* top: 37px !important; */
}

.ntable thead tr:nth-child(1) th:nth-child(2) {
    position: sticky;
    left: 43px;
}

.ntable td:nth-child(2) {
    position: sticky;
    left: 43px;
    background: #fff;
}

/* td:nth-child(2), thead tr:nth-child(2) th:nth-child(2) {
    position: sticky;
    left: 43px;
    z-index: 1;
    background: #fff;
} */

.ctable td:nth-child(3), .ctable thead tr:nth-child(2) th:nth-child(3) {
    position: sticky;
    left: 43px;
    /* z-index: 10; */
    background: #fff;
}

.ctable thead tr:nth-child(1) th:nth-child(1),
.ntable thead tr:nth-child(1) th:nth-child(1) {
    position: sticky;
    left: -1px;
    top: 0;
    z-index: 10;
    /* background: #eee; */
}


.ctable tr:nth-child(odd) td:first-child, .ctable tr:nth-child(odd) td:nth-child(3),
.ntable tr:nth-child(odd) td:first-child, .ntable tr:nth-child(odd) td:nth-child(2) {
    background-color: #f9f9f9;
}

.ctable>tbody>tr.warning>td {
    background-color: #fcf8e3 !important;
}

.ctable thead tr:nth-child(2) th:nth-child(1), .ctable thead tr:nth-child(2) th:nth-child(3) {
    background-color: #eee;
    z-index: 100;
}

.ctable thead tr th {
    position: sticky;
    top: 0;
}

.ctable thead tr:nth-child(2) th {
    position: sticky !important;
    top: 33px !important;
}

.ctable thead th {
    z-index: 10;
}

.modal.in .modal-dialog {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90%;
}

.modal-content {
    width: 100%;
}

.modal-body {
    max-height: 512px;
    overflow: auto;
}