.all-history {
    position: relative;
}
.all-history .wrapper {
    max-width: 1120px;
    margin: 0 auto;
}
.all-history h2 {
    margin-bottom: 20px;
}
.all-history table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 5px !important;
    font-size: 18px;
}
table.dataTable {
    border-collapse: collapse !important;
}
.dataTables_wrapper .dataTables_length select {
    margin-bottom: 12px;
}
.dataTables_wrapper .dataTables_length select:focus, .dataTables_wrapper .dataTables_filter input:focus {
    border: 1px solid #AAA;
    outline: 0;
}
.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate {
    font-size: 14px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.previous:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.next:hover {
    border-color: transparent !important;
    color: #84246B !important;
    background-color: transparent !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    box-shadow: none !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 6px 12px !important;
    background: transparent !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #84246B !important;
    border: 1px solid #84246B !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    border: 1px solid #84246B !important;
    cursor: default !important;
}
.all-history table, .all-history th, .all-history td {
    border: 1px solid #84246B;
    border-top: 0;
    color: #84246B;
    font-size: 18px;
    text-align: left;
    padding: 8px 12px;
    cursor: default;
}
.all-history table thead {
    background-color: #84246B;
}
.all-history table thead th {
    color: #F2F2F2;
    padding: 12px;
}
.all-history th:nth-child(1), .all-history th:nth-child(4) {
    width: 5%;
    text-align: center;
}
.all-history th:nth-child(2) {
    width: 20%;
    text-align: center;
}
.all-history th:nth-child(3), .all-history th:nth-child(5) {
    width: 30%;
    text-align: center;
}
.all-history th:nth-child(6) {
    width: 10%;
    text-align: center;
}
.all-history td {
    text-align: center;
}
.all-history td:nth-child(1) {
    text-align: center;
}
.all-history td:nth-child(6) span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background-color: #84246B;
    color: #E6E6E6;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: default;
}
.all-history td:nth-child(6) span.history-done {
    background-color: #808080;
}
.all-history table tbody tr:hover {
    background-color: #D9D9D9;
}

@media screen and (max-width: 960px) {
    .all-history .wrapper {
        width: 100%;
    }
    #history-table {
        margin-top: 20px;
    }
    .all-history table, .all-history th, .all-history td {
        font-size: 15px;
        padding: 8px 6px !important;
    }
    .all-history th:nth-child(1), .all-history th:nth-child(4) {
        width: 5%;
    }
    .all-history th:nth-child(2) {
        width: 30%;
    }
    .all-history th:nth-child(3), .all-history th:nth-child(5) {
        width: 30%;
    }
    .all-history th:nth-child(6), .all-history td:nth-child(6) {
        width: 0;
        display: none;
    }

    .dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter {
        display: none;
    }
    .dataTables_wrapper .dataTables_paginate span {
        display: none;
    }
}