#modal-reservation-history-items .table {
    margin-top: 10px;
}

#modal-reservation-history-items .table thead th {
    border-bottom: 0;
    color: #1a1a1a;
    font-size: 13px;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    padding: 0;
}

#modal-reservation-history-items .table tbody {
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.33);
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    color: #333;
    font-size: 14px;
}

#modal-reservation-history-items .table tbody tr td {
    position: relative;
    padding: 15px 8px;
}

#modal-reservation-history-items .table tbody tr td:after {
    content: '';
    position: absolute;
    right: 0;
    top: 5px;
    bottom: 5px;
    width: 1px;
}

#modal-reservation-history-items .table tbody tr td:last-child:after {
    display: none;
}

#modal-reservation-history-items .table tbody tr:nth-child(2n-1) {
    background-color: #dee6ed;
}

#modal-reservation-history-items .table tbody tr:nth-child(2n-1) td:after {
    background-color: #c8ced2;
}

#modal-reservation-history-items .table tbody tr:nth-child(2n) {
    background-color: #f6f9fb;
}

#modal-reservation-history-items .table tbody tr:nth-child(2n) td:after {
    background-color: #d9dbdc;
}

#modal-reservation-history-items .table tfoot {
    background-color: #6a7688;
    color: #fff;
    box-shadow: inset 0 5px 7px 0 rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    #modal-reservation-history-items .modal-dialog {
        width: 85%;
        margin: 30px auto;
        max-width: 900px;
    }
}

@media (max-width: 767px) {
    #modal-reservation-history-items .modal-dialog .table thead {
        display: none;
    }
    #modal-reservation-history-items .modal-dialog .table tbody td {
        display: block;
        padding: 8px;
    }
    #modal-reservation-history-items .modal-dialog .table tbody td:before {
        content: attr(data-th) ": ";
        font-weight: bold;
        display: block;
    }
}