/* table reset */

.cryptoboxes table.dataTable {
    table-layout: auto;
    border-collapse: separate;
}

.cryptoboxes table.dataTable,
.cryptoboxes table.dataTable th,
.cryptoboxes table.dataTable td {
    border: none;
}

.cryptoboxes table.dataTable thead .sorting {
    background-image: url("../img/sort_both.png");
}

.cryptoboxes table.dataTable thead .sorting_asc {
    background-image: url("../img/sort_asc.png");
}

.cryptoboxes table.dataTable thead .sorting_desc {
    background-image: url("../img/sort_desc.png");
}

.cryptoboxes table.dataTable thead .sorting_asc_disabled {
    background-image: none;
}

.cryptoboxes table.dataTable thead .sorting_desc_disabled {
    background-image: none;
}

.cryptoboxes table.dataTable.display tbody tr,
.cryptoboxes table.dataTable.display tbody tr>.sorting_1,
.cryptoboxes table.dataTable.display tbody tr>.sorting_2,
.cryptoboxes table.dataTable.display tbody tr>.sorting_3,
.cryptoboxes table.dataTable.display tbody tr.odd>.sorting_1,
.cryptoboxes table.dataTable.display tbody tr.even>.sorting_1,
.cryptoboxes table.dataTable.hover tbody tr:hover,
.cryptoboxes table.dataTable.display tbody tr:hover,
.cryptoboxes .dataTables_wrapper .dataTables_processing {
    background: none;
}

.cryptoboxes table.dataTable.display tbody th,
.cryptoboxes table.dataTable.display tbody td {
    border-top: none;
}

.cryptoboxes table.dataTable.no-footer,
.cryptoboxes .dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: none;
}


/* styles */

.cdt-table {
    width: 100%;
    color: #656565;
    background: #fff;
    font-size: 13px;
    font-weight: 400;
    border: 1px solid #e6e6e6;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 8px 16px 0 rgba(40, 40, 90, .09), 0 3px 6px 0 rgba(0, 0, 0, .065);
}

.cdt-table .title-bar {
    border-bottom: 1px solid #e6e6e6;
    font-weight: bold;
    padding: 0px;
    letter-spacing: 1px;
    text-align: center;
}

.cryptoboxes table.dataTable thead th {
    font-size: 0.8em;
    letter-spacing: 1px;
    color: #6B6F82;
    background-color: #fff;
    text-align: center;
    padding: 6px 3px;
    border-color: #e6e6e6;
    border-style: solid;
    border-width: 0 1px 1px 0;
    text-transform: uppercase;
    float: none;
}

.cryptoboxes table.dataTable tbody td {
    color: #37414a;
    padding: 5px 2px;
    text-align: right;
    outline: none;
    vertical-align: middle;
}

.cdt-table .dataTables-footer {
    background: #F3F7FA;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

.cryptoboxes table.dataTable thead .sorting,
.cryptoboxes table.dataTable thead .sorting_asc,
.cryptoboxes table.dataTable thead .sorting_desc,
.cryptoboxes table.dataTable thead .sorting_asc_disabled,
.cryptoboxes table.dataTable thead .sorting_desc_disabled {
    background-repeat: no-repeat;
    background-position: center right 5px;
}

.cryptoboxes table.dataTable.display tbody tr.even {
    background-color: #fff;
}

.cryptoboxes table.dataTable.display tbody tr.odd {
    background-color: #F8FAFB;
}

.cryptoboxes table.dataTable.display tbody tr:last-child {
    border-bottom: 1px solid #e6e6e6;
}

.cryptoboxes .dataTables_wrapper .dataTables_length {
    color: rgba(74, 89, 106, .4);
    font-size: 0.9em;
}

.cryptoboxes .dataTables_wrapper .dataTables_length select {
    outline: none;
    display: inline-block;
    background-color: transparent;
    width: auto;
    padding: 2px;
    border: 1px solid #d6d6d6;
    border-radius: 3px;
    height: auto;
    font-size: 14px;
    margin-left: 8px;
    color: rgba(74, 89, 106, .7);
    font-weight: bold;
}

.cryptoboxes .dataTables_wrapper .dataTables_paginate {
    padding-top: 0;
}

.cryptoboxes .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    display: none;
}

.cryptoboxes .dataTables_wrapper .dataTables_paginate .paginate_button {
    position: relative;
    color: rgba(74, 89, 106, .7) !important;
    font-weight: bold;
    font-size: 0.9em;
}

.cryptoboxes .dataTables_wrapper .dataTables_paginate .paginate_button.info {
    cursor: default;
}

.cryptoboxes .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: rgba(74, 89, 106, .7) !important;
    background: none;
    box-shadow: none;
    border: 1px solid transparent;
}

.cryptoboxes .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before,
.cryptoboxes .dataTables_wrapper .dataTables_paginate .paginate_button.next::before {
    content: '';
    position: absolute;
    top: 10px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-radius: 5px;
}

.cryptoboxes .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before {
    left: 0;
    border-right: 7px solid rgba(74, 89, 106, .7);
}

.cryptoboxes .dataTables_wrapper .dataTables_paginate .paginate_button.next::before {
    right: 0;
    border-left: 7px solid rgba(74, 89, 106, .7);
}

.cryptoboxes .dataTables_wrapper .dataTables_paginate .paginate_button.previous.disabled::before {
    border-right: 7px solid rgba(74, 89, 106, .2);
}

.cryptoboxes .dataTables_wrapper .dataTables_paginate .paginate_button.next.disabled::before {
    border-left: 7px solid rgba(74, 89, 106, .2);
}

.cryptoboxes table.dataTable thead th.text-left,
.cryptoboxes table.dataTable tbody td.text-left {
    text-align: center;
}

.cryptoboxes table.dataTable tbody .coin,
.cryptoboxes table.dataTable tbody .coin-image {
    display: flex;
    align-items: center;
    padding: 2px;
}

.cryptoboxes table.dataTable tbody .coin .coin-image img {
    padding: 0;
    max-width: 35px;
    margin: 0px 4px;
    background: transparent;
}

.cryptoboxes table.dataTable tbody .coin {
    max-width: 120px !important;
}

.cryptoboxes table.dataTable.dtr-column.collapsed tbody td.ctrl .coin .coin-image img {
    max-width: 25px;
}

.cryptoboxes table.dataTable.dtr-column.collapsed tbody td.ctrl .coin .coin-name {
    display: none;
}

.cryptoboxes table.dataTable.dtr-column.collapsed tbody td.ctrl .coin .coin-symbol {
    color: #6d6d6d;
    font-weight: bold;
}

.cryptoboxes table.dataTable.dtr-column.collapsed tbody td.ctrl .coin a.coin-title .coin-symbol {
    color: #2e7ad0;
}

.cryptoboxes table.dataTable tbody .coin .coin-title {
    font-size: 14px;
}

.cryptoboxes table.dataTable tbody .coin .coin-title .coin-name,
.cryptoboxes table.dataTable tbody .coin .coin-title .coin-symbol {
    line-height: 1;
}

.cryptoboxes table.dataTable tbody .coin .coin-title .coin-name {
    font-weight: bold;
    color: #6d6d6d;
    font-size: 15px;
}

.cryptoboxes table.dataTable tbody .coin a.coin-title {
    box-shadow: none;
    text-decoration: none;
}

.cryptoboxes table.dataTable tbody .coin a.coin-title .coin-name {
    color: #2e7ad0;
}

.cryptoboxes table.dataTable tbody .coin .coin-title .coin-symbol {
    color: #999;
    font-size: 0.9em;
}

.cryptoboxes table.dataTable tbody .up {
    color: #00b600;
}

.cryptoboxes table.dataTable tbody .down {
    color: #fb0000;
}

.cryptoboxes table.dataTable tbody canvas {
    width: 100% !important;
    height: 50px !important;
}

.cryptoboxes table.dataTable tbody .chart-wrapper {
    width: 190px;
    min-width: 150px;
    max-width: 190px;
}

.cryptoboxes table.dataTable.dtr-column tbody td {
    font-size: 14px;
}

.cryptoboxes .dataTables_wrapper .dataTables_scroll {
    margin-left: -2px;
}

.cryptoboxes .dataTables_wrapper .DTFC_LeftBodyLiner,
.cryptoboxes .dataTables_wrapper .DTFC_RightBodyLiner {
    overflow-y: unset !important;
}

@media (max-width: 768px) {
    .dataTables-footer {
        flex-direction: column;
    }
}


/* loader */

@keyframes moveGradient {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: -200% 0%;
    }
}

.cdt-table .loader {
    position: relative;
    display: none;
    width: 100%;
    height: 2px;
    transition: opacity 200ms ease;
    overflow: hidden;
}

.cdt-table .loader-footer {
    top: 6px;
}

.cdt-table .loader::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, red 0%, yellow 15%, lime 30%, cyan 50%, blue 65%, magenta 80%, red 100%);
    background-size: 200%;
    animation: moveGradient 5s linear infinite;
}


/* dark */

.cdt-table.dark {
    color: #fff;
    background: #293145;
    border: 1px solid rgba(83, 101, 140, 0.33);
}

.cdt-table.dark table.dataTable thead th {
    color: #ccd9e8;
    background-color: #293145;
    border-color: rgba(83, 101, 140, 0.33);
}

.cdt-table.dark .title-bar {
    border-bottom: 1px solid rgba(83, 101, 140, 0.33);
}

.cdt-table.dark table.dataTable tbody td,
.cdt-table.dark table.dataTable tbody .coin .coin-title .coin-name {
    color: #ccd9e8;
}

.cdt-table.dark table.dataTable.display tbody tr.even {
    background-color: #293145;
}

.cdt-table.dark table.dataTable.display tbody tr.odd {
    background-color: #313a50;
}

.cdt-table.dark table.dataTable.display tbody tr:last-child {
    border-bottom: 1px solid #3a4458;
}

.cdt-table.dark .dataTables-footer {
    background: rgba(18, 22, 41, 0.22);
}

.cdt-table.dark .coin .coin-title .coin-name {
    color: #ddd;
}

.cdt-table.dark .dataTables_wrapper .dataTables_length,
.cdt-table.dark .dataTables_wrapper .dataTables_length select,
.cdt-table.dark .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #B7BAC6 !important;
}

.cdt-table.dark .dataTables_wrapper .dataTables_paginate .paginate_button.previous::before {
    left: 0;
    border-right: 7px solid #B7BAC6;
}

.cdt-table.dark .dataTables_wrapper .dataTables_paginate .paginate_button.next::before {
    right: 0;
    border-left: 7px solid #B7BAC6;
}

.cdt-table.dark table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before,
.cdt-table.dark table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before,
.cdt-table.dark table.dataTable.dtr-column.collapsed>tbody>tr>td.ctrl:before,
.cdt-table.dark table.dataTable.dtr-column.collapsed>tbody>tr>th.ctrl:before {
    background-color: #424e6f;
}

.cdt-table.dark table.dataTable>tbody>tr.child span.dtr-title {
    color: #ccd9e8;
}

.cdt-table.dark table.dataTable>tbody>tr.child ul.dtr-details>li {
    border-bottom: 1px solid rgba(83, 101, 140, 0.33);
}

.cdt-table.dark table.dataTable>tbody>tr.child ul.dtr-details>li:last-child {
    border-bottom: none;
}

.cdt-table.dark table.dataTable>tbody>tr.child>td.child {
    background: rgba(18, 22, 41, 0.22);
    border-top: 1px solid rgba(83, 101, 140, 0.33);
    border-bottom: 1px solid rgba(83, 101, 140, 0.33);
}

.cdt-table.dark table.dataTable thead .sorting_asc {
    background-image: url(../img/sort_asc_dark.png);
}

.cdt-table.dark table.dataTable thead .sorting_desc {
    background-image: url(../img/sort_desc_dark.png);
}

.cdt-table.dark table.dataTable thead .sorting {
    background-image: url(../img/sort_both_dark.png);
}


/* fixed header */

.cdt-table .cdt-fixedHeader {
    position: relative;
    display: block;
    overflow: hidden;
    z-index: 9999;
}

.cdt-table table.fixedHeader-floating {
    z-index: 9999;
}

table.fixedHeader-floating {
    position: fixed !important;
    background-color: white
}

table.fixedHeader-floating.no-footer {
    border-bottom-width: 0
}

table.fixedHeader-locked {
    position: absolute !important;
    background-color: white
}

@media print {
    table.fixedHeader-floating {
        display: none
    }
}


/* responsive */

.cryptoboxes table.dataTable.dtr-inline.collapsed>tbody>tr>td.child,
.cryptoboxes table.dataTable.dtr-inline.collapsed>tbody>tr>th.child,
.cryptoboxes table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty {
    cursor: default !important
}

.cryptoboxes table.dataTable.dtr-inline.collapsed>tbody>tr>td.child:before,
.cryptoboxes table.dataTable.dtr-inline.collapsed>tbody>tr>th.child:before,
.cryptoboxes table.dataTable.dtr-inline.collapsed>tbody>tr>td.dataTables_empty:before {
    display: none !important
}

.cryptoboxes table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child,
.cryptoboxes table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child {
    position: relative;
    padding-left: 60px;
    cursor: pointer
}

.cryptoboxes table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before,
.cryptoboxes table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before {
    top: 50%;
    left: 15px;
    display: block;
    position: absolute;
    color: white;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    line-height: 16px;
    content: '\f107';
    background-color: #d0d0d0;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 1.1em;
    transform: translateY(-50%);
}

.cryptoboxes table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td:first-child:before,
.cryptoboxes table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th:first-child:before {
    content: '\f106';
}

.cryptoboxes table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td:first-child,
.cryptoboxes table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th:first-child {
    padding-left: 27px
}

.cryptoboxes table.dataTable.dtr-inline.collapsed.compact>tbody>tr>td:first-child:before,
.cryptoboxes table.dataTable.dtr-inline.collapsed.compact>tbody>tr>th:first-child:before {
    top: 5px;
    left: 4px;
    height: 14px;
    width: 14px;
    border-radius: 14px;
    line-height: 14px;
    text-indent: 3px
}

.cryptoboxes table.dataTable.dtr-column.collapsed>tbody>tr>td.ctrl,
.cryptoboxes table.dataTable.dtr-column.collapsed>tbody>tr>th.ctrl {
    position: relative;
    padding-left: 60px;
    cursor: pointer
}

.cryptoboxes table.dataTable.dtr-column.collapsed>tbody>tr>td.ctrl:before,
.cryptoboxes table.dataTable.dtr-column.collapsed>tbody>tr>th.ctrl:before {
    top: 50%;
    left: 15px;
    display: block;
    position: absolute;
    color: white;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    line-height: 16px;
    content: '\f107';
    background-color: #d0d0d0;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 1.1em;
    transform: translateY(-50%);
}

.cryptoboxes table.dataTable.dtr-column>tbody>tr.parent td.ctrl:before,
.cryptoboxes table.dataTable.dtr-column>tbody>tr.parent th.ctrl:before {
    content: '\f106';
}

.cryptoboxes table.dataTable>tbody>tr.child>td.child {
    background: #F3F7FA;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.cryptoboxes table.dataTable>tbody>tr.child {
    padding: 0.5em 1em
}

.cryptoboxes table.dataTable>tbody>tr.child:hover {
    background: transparent !important
}

.cryptoboxes table.dataTable>tbody>tr.child ul.dtr-details {
    width: 100%;
    display: inline-block;
    list-style-type: none;
    margin: 0;
    padding: 0
}

.cryptoboxes table.dataTable>tbody>tr.child ul.dtr-details>li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #efefef;
    margin: 0;
    padding: 0.5em 0;
    text-align: left;
}

.cryptoboxes table.dataTable>tbody>tr.child ul.dtr-details>li:first-child {
    padding-top: 0
}

.cryptoboxes table.dataTable>tbody>tr.child ul.dtr-details>li:last-child {
    border-bottom: none
}

.cryptoboxes table.dataTable>tbody>tr.child span.dtr-title {
    color: #6d6d6d;
    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: 0.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%
    }
}


/* mobile responsive */

@media (max-width: 767px) {
    .cryptoboxes.cdt-table table.table-scroll tbody .coin .coin-image img {
        max-width: 35px;
        margin-left: -5px;
    }
    .cryptoboxes.cdt-table table.table-scroll tbody .coin .coin-title a.coin-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 120px !important;
    }
    .cryptoboxes.cdt-table table.table-scroll tbody .coin .coin-title .coin-name {
        font-size: 14.5px;
    }
    .cryptoboxes.cdt-table table.table-scroll tbody .coin .coin-title .coin-symbol {
        font-size: 13px;
    }
    .cryptoboxes.cdt-table table.table-scroll tbody .coin .coin-title .coin-name,
    .cryptoboxes.cdt-table table.table-scroll tbody .coin .coin-title .coin-symbol {
        line-height: 1;
        max-width: 90px;
        overflow: hidden;
    }
    .cryptoboxes.cdt-table table.table-scroll .min-tablet-p {
        display: none;
    }
}