.datatable-container {
    overflow-x: auto;
}

    .datatable-container::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
        border-radius: 10px;
        background-color: #F5F5F5;
    }

    .datatable-container::-webkit-scrollbar {
        height: 8px;
        background-color: #F5F5F5;
    }

    .datatable-container::-webkit-scrollbar-thumb {
        border-radius: 5px;
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.2);
        background-color: #062849;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
    }

    .datatable-container .dataTables_length, .datatable-container .dataTables_filter, .datatable-container .dataTables_info, .datatable-container .dataTables_paginate {
        display: none;
    }

    .datatable-container table {
        width: 100% !important;
        overflow: hidden;
        border-radius: 4px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -ms-border-radius: 4px;
        -o-border-radius: 4px;
    }

        .datatable-container table thead {
            background: var(--color-gray);
        }

            .datatable-container table thead th {
                padding: 20px 16px;
                text-align: center;
                font-size: 12px;
                color: var(--color-primary);
                cursor: pointer;
                white-space: nowrap;
            }

                .datatable-container table thead th.datatable-sub-head {
                    background: #006BB0;
                    color: #fff;
                }

                .datatable-container table thead th strong {
                    font-weight: bold;
                }

                .datatable-container table thead th:first-child {
                    text-align: left;
                }

                .datatable-container table thead th:after {
                    content: '';
                    width: 8px;
                    height: 6px;
                    display: inline-block;
                    margin-left: 10px;
                    margin-bottom: 2px;
                    opacity: .6;
                    background-image: url("data:image/svg+xml;utf8,<svg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M7.63318 4.35982C8.17595 5.01114 7.7128 6 6.86496 6L1.13504 6C0.287204 6 -0.175952 5.01114 0.366821 4.35982L3.23178 0.921864C3.63158 0.44211 4.36843 0.442111 4.76822 0.921865L7.63318 4.35982Z' fill='%23062849'/></svg>");
                    background-repeat: no-repeat;
                    background-position: center center;
                }

                .datatable-container table thead th.sorting_desc:after, .datatable-container table thead th.sorting_asc:after {
                    transform: rotate(-180deg);
                    -webkit-transform: rotate(-180deg);
                    -moz-transform: rotate(-180deg);
                    -ms-transform: rotate(-180deg);
                    -o-transform: rotate(-180deg);
                    opacity: 1;
                }

                .datatable-container table thead th.sorting_desc:after {
                    transform: rotate(0);
                    -webkit-transform: rotate(0);
                    -moz-transform: rotate(0);
                    -ms-transform: rotate(0);
                    -o-transform: rotate(0);
                }

        .datatable-container table tbody tr {
            border: 1px solid var(--color-gray);
        }

            .datatable-container table tbody tr:hover {
                background-color: var(--color-gray);
            }

            .datatable-container table tbody tr td {
                font-size: 14px;
                padding: 10px 8px;
                text-align: center;
                white-space: nowrap;
            }

                .datatable-container table tbody tr td:first-child {
                    padding-left: 10px;
                    text-align: left;
                }

                .datatable-container table tbody tr td strong {
                    font-weight: bold;
                }

                .datatable-container table tbody tr td span {
                    display: block;
                    font-size: 12px;
                    margin-top: 6px;
                }

    .datatable-container .datatable-rate {
        background-color: rgba(0, 0, 0, 0.1);
        display: inline-block;
        padding: 4px;
        font-size: 14px;
        border-radius: 4px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -ms-border-radius: 4px;
        -o-border-radius: 4px;
    }

        .datatable-container .datatable-rate.up {
            background-color: rgba(61, 180, 114, 0.1);
            color: var(--color-dark-green);
        }

        .datatable-container .datatable-rate.down {
            background-color: rgba(213, 19, 23, 0.1);
            color: var(--color-dark-red);
        }

        .datatable-container .datatable-rate:after {
            content: '';
            width: 8px;
            height: 6px;
            display: inline-block;
            margin-left: 10px;
            margin-bottom: 3px;
            background-repeat: no-repeat;
            background-position: center center;
        }

        .datatable-container .datatable-rate.up:after {
            background-image: url("data:image/svg+xml;utf8,<svg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M7.63318 4.35982C8.17595 5.01114 7.7128 6 6.86496 6L1.13504 6C0.287204 6 -0.175952 5.01114 0.366821 4.35982L3.23178 0.921864C3.63158 0.44211 4.36843 0.442111 4.76822 0.921865L7.63318 4.35982Z' fill='%232b7c4f'/></svg>");
        }

        .datatable-container .datatable-rate.down:after {
            transform: rotate(-180deg);
            -webkit-transform: rotate(-180deg);
            -moz-transform: rotate(-180deg);
            -ms-transform: rotate(-180deg);
            -o-transform: rotate(-180deg);
            background-image: url("data:image/svg+xml;utf8,<svg width='8' height='6' viewBox='0 0 8 6' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M7.63318 4.35982C8.17595 5.01114 7.7128 6 6.86496 6L1.13504 6C0.287204 6 -0.175952 5.01114 0.366821 4.35982L3.23178 0.921864C3.63158 0.44211 4.36843 0.442111 4.76822 0.921865L7.63318 4.35982Z' fill='%23b11013'/></svg>");
        }

    .datatable-container .datatable-info {
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

        .datatable-container .datatable-info span {
            margin-top: 0;
            font-size: 12px;
            color: var(--color-primary);
            opacity: .6;
        }

            .datatable-container .datatable-info span strong {
                font-weight: bold;
            }

            .datatable-container .datatable-info span a {
                font-weight: bold;
            }

        .datatable-container .datatable-info.size-16 span {
            font-size: 16px;
        }

    .datatable-container.none-datatable table thead th:after {
        display: none;
    }

    .datatable-container.none-datatable table tbody td p {
        padding: 10px 0;
    }

.datatable-signal {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .datatable-signal p {
        flex-shrink: 0;
        width: 30px;
    }

.datatable-signal-item {
    min-width: 50px;
    display: block;
    width: 100%;
    height: 18px;
}

.datatable-signal.up .datatable-signal-item {
    background-color: #ccffcc;
}

.datatable-signal.down .datatable-signal-item {
    background-color: #ffcccc;
}

.datatable-signal-item i {
    height: 100%;
    display: block;
}

    .datatable-signal-item i:before {
        content: '';
        width: 100%;
        height: 100%;
        display: block;
        -webkit-animation-name: progressWidth;
        animation-name: progressWidth;
        -webkit-animation-timing-function: ease-in-out;
        -webkit-animation-duration: 2s;
        -moz-animation-timing-function: ease-in-out;
        -moz-animation-duration: 2s;
        -o-animation-timing-function: ease-in-out;
        -o-animation-duration: 2s;
        animation-timing-function: ease-in-out;
        animation-duration: 2s;
    }

.datatable-signal.up .datatable-signal-item i:before {
    background-color: #4cff00;
}

.datatable-signal.down .datatable-signal-item i:before {
    background-color: #ff0000;
}

.datatable-gold-page table tbody > tr > td:first-child .datatable-rate {
    display: inline-block;
    padding: 2px 4px;
    font-size: 10px;
}

    .datatable-gold-page table tbody > tr > td:first-child .datatable-rate:after {
        margin-bottom: 1px;
        margin-left: 3px;
    }

.datatable-gold-page table tbody tr td {
    padding: 8px 5px;
    font-size: 11px;
    line-height: normal;
}

    .datatable-gold-page table tbody tr td p {
        max-width: 110px;
        white-space: normal;
    }

.datatable-gold-page table thead th {
    font-size: 12px;
    padding: 15px 6px;
}

    .datatable-gold-page table thead th:after {
        display: none;
    }

table.dataTable.dtr-inline.collapsed > tbody > tr > td.child, table.dataTable.dtr-inline.collapsed > tbody > tr > th.child, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty {
    cursor: default !important
}

    table.dataTable.dtr-inline.collapsed > tbody > tr > td.child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty:before {
        display: none !important
    }

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control {
    position: relative;
    padding-left: 30px;
    cursor: pointer
}

    table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
        top: 50%;
        left: 5px;
        height: 1em;
        width: 1em;
        margin-top: -9px;
        display: block;
        position: absolute;
        color: white;
        border: .15em solid white;
        border-radius: 1em;
        box-shadow: 0 0 .2em #444;
        box-sizing: content-box;
        text-align: center;
        text-indent: 0 !important;
        font-family: "Courier New",Courier,monospace;
        line-height: 1em;
        content: "+";
        background-color: #31b131
    }

table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control:before {
    content: "-";
    background-color: #d33333
}

table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td.dtr-control, table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th.dtr-control {
    padding-left: 27px
}

    table.dataTable.dtr-inline.collapsed.compact > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed.compact > tbody > tr > th.dtr-control:before {
        left: 4px;
        height: 14px;
        width: 14px;
        border-radius: 14px;
        line-height: 14px;
        text-indent: 3px
    }

table.dataTable.dtr-column > tbody > tr > td.dtr-control, table.dataTable.dtr-column > tbody > tr > th.dtr-control, table.dataTable.dtr-column > tbody > tr > td.control, table.dataTable.dtr-column > tbody > tr > th.control {
    position: relative;
    cursor: pointer
}

    table.dataTable.dtr-column > tbody > tr > td.dtr-control:before, table.dataTable.dtr-column > tbody > tr > th.dtr-control:before, table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before {
        top: 50%;
        left: 50%;
        height: .8em;
        width: .8em;
        margin-top: -0.5em;
        margin-left: -0.5em;
        display: block;
        position: absolute;
        color: white;
        border: .15em solid white;
        border-radius: 1em;
        box-shadow: 0 0 .2em #444;
        box-sizing: content-box;
        text-align: center;
        text-indent: 0 !important;
        font-family: "Courier New",Courier,monospace;
        line-height: 1em;
        content: "+";
        background-color: #31b131
    }

table.dataTable.dtr-column > tbody > tr.parent td.dtr-control:before, table.dataTable.dtr-column > tbody > tr.parent th.dtr-control:before, table.dataTable.dtr-column > tbody > tr.parent td.control:before, table.dataTable.dtr-column > tbody > tr.parent th.control:before {
    content: "-";
    background-color: #d33333
}

table.dataTable > tbody > tr.child {
    padding: .5em 1em
}

    table.dataTable > tbody > tr.child:hover {
        background: transparent !important
    }

    table.dataTable > tbody > tr.child ul.dtr-details {
        display: inline-block;
        list-style-type: none;
        margin: 0;
        padding: 0
    }

        table.dataTable > tbody > tr.child ul.dtr-details > li {
            border-bottom: 1px solid #efefef;
            padding: .5em 0
        }

            table.dataTable > tbody > tr.child ul.dtr-details > li:first-child {
                padding-top: 0
            }

            table.dataTable > tbody > tr.child ul.dtr-details > li:last-child {
                border-bottom: none
            }

    table.dataTable > tbody > tr.child span.dtr-title {
        display: inline-block;
        min-width: 75px;
        font-weight: bold
    }

div.dtr-modal {
    position: fixed;
    box-sizing: border-box;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 100;
    padding: 10em 1em
}

    div.dtr-modal div.dtr-modal-display {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 50%;
        height: 50%;
        overflow: auto;
        margin: auto;
        z-index: 102;
        overflow: auto;
        background-color: #f5f5f7;
        border: 1px solid black;
        border-radius: .5em;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6)
    }

    div.dtr-modal div.dtr-modal-content {
        position: relative;
        padding: 1em
    }

    div.dtr-modal div.dtr-modal-close {
        position: absolute;
        top: 6px;
        right: 6px;
        width: 22px;
        height: 22px;
        border: 1px solid #eaeaea;
        background-color: #f9f9f9;
        text-align: center;
        border-radius: 3px;
        cursor: pointer;
        z-index: 12
    }

        div.dtr-modal div.dtr-modal-close:hover {
            background-color: #eaeaea
        }

    div.dtr-modal div.dtr-modal-background {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 101;
        background: rgba(0, 0, 0, 0.6)
    }

@media screen and (max-width: 767px) {
    div.dtr-modal div.dtr-modal-display {
        width: 95%
    }
}

@keyframes progressWidth {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@media (min-width:325px) {
    .datatable-gold-page table thead th {
        font-size: 12px;
    }

    .datatable-gold-page table tbody tr td {
        font-size: 12px;
    }
}

@media (min-width:767px) {

    .datatable-gold-page table tbody > tr > td:first-child .datatable-rate {
        display: none;
    }

    .datatable-gold-page table thead th {
        font-size: 12px;
        padding: 20px 16px;
    }

        .datatable-gold-page table thead th:after {
            display: inline-block;
            margin-left: 10px;
        }

    .datatable-container table tbody tr td {
        font-size: 16px;
        padding: 12px 5px;
    }

        .datatable-container table tbody tr td:first-child {
            padding-left: 16px;
        }

        .datatable-container table tbody tr td a p {
            font-weight: 500;
        }

    .datatable-container .datatable-rate {
        padding: 6px;
        font-size: 16px;
    }
}
