input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-animation: autofill 0s forwards;
    animation: autofill 0s forwards;
}

@keyframes autofill {
    100% {
        background: transparent;
        color: inherit;
    }
}

@-webkit-keyframes autofill {
    100% {
        background: transparent;
        color: inherit;
    }
}
.blur{
    filter: blur(3px);
}
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;
    -webkit-animation: spin 2s linear infinite;
    /* Chrome, Opera 15+, Safari 5+ */

    animation: spin 2s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */

    z-index: 1001;
}

#loader-logo {
    display: block;
    position: absolute;
    left: 48%;
    top: 46%;
    background: url(../images/user-bg-2.jpg) no-repeat center center;
    z-index: 1001;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #e74c3c;
    -webkit-animation: spin 3s linear infinite;
    /* Chrome, Opera 15+, Safari 5+ */

    animation: spin 3s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f9c922;
    -webkit-animation: spin 1.5s linear infinite;
    /* Chrome, Opera 15+, Safari 5+ */

    animation: spin 1.5s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        /* Chrome, Opera 15+, Safari 3.1+ */

        -ms-transform: rotate(0deg);
        /* IE 9 */

        transform: rotate(0deg);
        /* Firefox 16+, IE 10+, Opera */
    }

    100% {
        -webkit-transform: rotate(360deg);
        /* Chrome, Opera 15+, Safari 3.1+ */

        -ms-transform: rotate(360deg);
        /* IE 9 */

        transform: rotate(360deg);
        /* Firefox 16+, IE 10+, Opera */
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        /* Chrome, Opera 15+, Safari 3.1+ */

        -ms-transform: rotate(0deg);
        /* IE 9 */

        transform: rotate(0deg);
        /* Firefox 16+, IE 10+, Opera */
    }

    100% {
        -webkit-transform: rotate(360deg);
        /* Chrome, Opera 15+, Safari 3.1+ */

        -ms-transform: rotate(360deg);
        /* IE 9 */

        transform: rotate(360deg);
        /* Firefox 16+, IE 10+, Opera */
    }
}

#loader-wrapper .loader-section {
    position: fixed;
    top: 0;
    width: 51%;
    height: 100%;
    background: #222222;
    z-index: 1000;
    -webkit-transform: translateX(0);
    /* Chrome, Opera 15+, Safari 3.1+ */

    -ms-transform: translateX(0);
    /* IE 9 */

    transform: translateX(0);
    /* Firefox 16+, IE 10+, Opera */
}

#loader-wrapper .loader-section.section-left {
    left: 0;
}

#loader-wrapper .loader-section.section-right {
    right: 0;
}

/* Loaded */

.loaded #loader-wrapper .loader-section.section-left {
    -webkit-transform: translateX(-100%);
    /* Chrome, Opera 15+, Safari 3.1+ */

    -ms-transform: translateX(-100%);
    /* IE 9 */

    transform: translateX(-100%);
    /* Firefox 16+, IE 10+, Opera */

    -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader-wrapper .loader-section.section-right {
    -webkit-transform: translateX(100%);
    /* Chrome, Opera 15+, Safari 3.1+ */

    -ms-transform: translateX(100%);
    /* IE 9 */

    transform: translateX(100%);
    /* Firefox 16+, IE 10+, Opera */

    -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader {
    opacity: 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.loaded #loader-wrapper {
    visibility: hidden;
    -webkit-transform: translateY(-100%);
    /* Chrome, Opera 15+, Safari 3.1+ */

    -ms-transform: translateY(-100%);
    /* IE 9 */

    transform: translateY(-100%);
    /* Firefox 16+, IE 10+, Opera */

    -webkit-transition: all 0.3s 1s ease-out;
    transition: all 0.3s 1s ease-out;
}

/* JavaScript Turned Off */

.no-js #loader-wrapper {
    display: none;
}

.progress {
    background-color: rgba(255, 64, 129, 0.22);
}

body {
    background: #2B313F;
    color: #fff;
    margin: 0;
    padding: 0;
    font-family: 'Kanit', sans-serif;
    font-size: 0.7rem;
    user-select: none;
}
body::-webkit-scrollbar {
    width: 0px;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
body::-webkit-scrollbar-thumb {
    background: #2b313f;
}

a {
    text-decoration: none
}

a:hover {
    text-decoration: none;
    color: unset;
}

.box-col {
    background: #394456;
    padding: 25px 15px 10px 15px;
    text-align: center;
    border-radius: 3px;
    margin-top: 15px;
    height: 100%
}

.title {
    font-weight: 700;
    margin-bottom: 27px;
    font-size: 1rem;
}

.icon-settings {
    position: absolute;
    right: 35px;
    cursor: pointer;
    margin-top: 0.5px;
}

.icon-settings:hover {
    border: 3px solid #2b313f;
}

.icon-ask {
    float: right;
    cursor: pointer;
}

.icon-ask:hover {
    border: 3px solid #394456;
}

table.table-header {
    width: 100%;
}

table.table-header td {
    padding: 8px 5px;
}

table.table-header td span.value {
    background: #2b313f;
    padding: 5px 20px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 1rem;
    font-family: monospace;
}
table.table-header td span {
    white-space: nowrap;
}
.table-header input {
    width: 100%;
    outline: none;
    border: none;
    padding: 5px;
    color: #394456;
    border-bottom: 2px solid #2b313f;
    border-radius: 3px;
}

table.table-header td input.full-width {
    width: 100%;
}


.animate {
    transition: all 0.1s;
    -webkit-transition: all 0.1s;
}

.action-button {
    position: relative;
    padding: 7px 30px;
    float: left;
    border-radius: 5px;
    font-size: 1.2rem;
    color: #FFF;
    text-decoration: none;
    margin: auto;
    min-width: 50%;
    width: 100%;
    outline: none;
    cursor: pointer;
}

.action-button:active {
    transform: translate(0px, 5px);
    -webkit-transform: translate(0px, 5px);
    border-bottom: 0px solid;
}

.green {
    background-color: #82BF56;
    border-bottom: 5px solid #669644;
    text-shadow: 0px -2px #669644;
}

.red {
    background-color: #E74C3C;
    border-bottom: 5px solid #BD3E31;
    text-shadow: 0px -2px #BD3E31;
}

.active {
    opacity: 0.2;
    text-shadow: none;
}

.label-network {
    font-size: 0.7rem;
    color: #9c9c9c;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: -10px;
}

.label-network span {
    background: #27303e;
    padding: 4px 10px;
    border-radius: 2px;
    color: #5a6d8c;
}

.swal2-input {
    text-align: center;
    text-transform: uppercase;
}

input.api {
    margin: 10px 0px;
    text-transform: inherit;
    border: 2px solid #cccccc;
    background: #f7f7f7;
    color: #8c8c8c;
    font-weight: 300;
}

input.api:focus {
    border: 3px solid #b4dbed !important;
}

.wallet input {
    text-align: center;
    color: #fff;
    background: #2b313f;
    padding: 3.5px 5px;
    width: 70px;
}

.wallet select {
    text-align: center;
    color: #fff;
    background: #2b313f;
    padding: 3.5px 5px;
    width: 70px;
    border: none;
    border-radius: 3px;
    outline: none;
}

.settings-order input {
    text-align: center;
    max-width: 80px;
    border: 2px solid #82bf56;
}

#datatables {
    animation: cssAnimation 0s 0.1s forwards;
    visibility: hidden;
}

@keyframes cssAnimation {
    to {
        visibility: visible;
    }
}

#datatables_wrapper select,
#datatables_wrapper input {
    outline: none;
    background: #27303e;
    border: 1px solid #a4b7d6;
    color: #7386a5;
    border-radius: 3px;
    padding: 2px 8px;
    text-transform: uppercase;
}

.dual-listbox__buttons .dual-listbox__button:nth-child(1),
.dual-listbox__buttons .dual-listbox__button:nth-child(4) {
    display: none;
}

.count_select {
    position: absolute;
    right: 70px;
    margin-top: 8px;
    font-size: 0.6rem;
    background: #394456;
    padding: 1px 5px;
}

.list-wallet {
    overflow-x: auto;
    padding-bottom: 0px;
}

.list-wallet::-webkit-scrollbar {
    width: 10px;
}

.list-wallet::-webkit-scrollbar-track {
    border: 1px solid #394456;
    background-color: #394456;
    cursor: e-resize;
}

.list-wallet::-webkit-scrollbar {
    height: 10px;
    background-color: #2b313f;
    cursor: e-resize;
}

.list-wallet::-webkit-scrollbar-thumb {
    background-color: #2b313f;
    cursor: e-resize;
}

.list-wallet::-webkit-scrollbar-corner {
    background-color: #394456;
}

#datatables span.status-soldout {
    background: #659641;
    padding: 4px 15px;
    border-radius: 3px;
    color: #fff;
    font-weight: 300;
    font-size: 0.7rem;
    width: 100px;
    display: block;
    margin: auto;
}

#datatables span.status-buyfailure {
    background: #bf5656;
    padding: 4px 15px;
    border-radius: 3px;
    color: #fff;
    font-weight: 300;
    font-size: 0.7rem;
    width: 100px;
    display: block;
    margin: auto;
}

#datatables .dataTables_empty {
    padding: 50px 10px;
}

.sweetalert2-ask {
    min-width: 800px !important;
    background: #f5f5f5;
    user-select: inherit;
}

.sweetalert2-ask .swal2-html-container ul {
    text-align: initial;
    margin-top: 20px;
    font-size: 1rem;
    font-weight: 300;
}

.sweetalert2-ask .swal2-html-container ul li {
    margin-bottom: 15px;
}

.swal2-styled:focus {
    outline: 0;
    box-shadow: none !important;
}

.dataTables_info,
.dataTables_paginate {
    display: none;
}

.dataTables_length,
.dataTables_filter {
    display: none;
}

#request_logs {
    width: 100%;
    height: 228px;
    background: #27303e;
    border: none;
    padding: 10px;
    outline: none;
    color: #586882;
    font-weight: 300;
    white-space: nowrap;
    font-size: 11px;
    font-family: monospace;
    /*overflow-x: hidden;*/
    /* background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='46px' width='430px'><text x='0' y='35' fill='red' opacity='0.3' font-size='40'>Telegram: @foxpro_trader</text></svg>"); */
    background-repeat: no-repeat;
    background-position: center;
    background-blend-mode: luminosity;
}

#request_logs ul {
    padding-left: 0
}

#request_logs li {
    list-style: none;
    text-align: left;
}

#request_logs li .name {
    font-weight: bold;
    margin-right: 5px;
    text-transform: capitalize;
    color: #657896;
    width: 70px;
    display: inline-block;
}

#request_logs li .time {
    margin-right: 5px;
}

#request_logs li .value br {
    display: none
}

#request_logs li.error .value {
    font-weight: 700;
    color: red;
}

.popup_content {
    background: #fff;
    width: 850px;
    color: #000;
    border-radius: 5px;
    box-shadow: 1px 0px 30px 5px black;
    box-sizing: content-box;
}

.popup_content h4 {
    margin-bottom: 30px;
    border-bottom: 2px dashed #ddd;
    padding-bottom: 15px;
    font-size: 24px;
    font-weight: 700;
}

.popup_content input,
.popup_content select {
    width: inherit;
    outline: none;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border: none;
    padding-top: 5px;
    border-bottom: 2px solid #509a1b;
}

.popup_content input:disabled {
    background: transparent;
    border-bottom: 2px solid #989898;
}

#modal_add_order .action-button {
    outline: none;
    margin-top: 22px;
    border-top: none;
    border-left: none;
    border-right: none;
    height: 47px;
}

.dataTable span.green {
    background: #3abf02;
    padding: 2px 10px;
    font-weight: bold;
    color: #fff;
    border-radius: 2.5px;
    border-bottom: none;
    text-shadow: none;
}

.dataTable span.red {
    background: red;
    padding: 2px 10px;
    font-weight: bold;
    color: #fff;
    border-radius: 2.5px;
    border-bottom: none;
    text-shadow: none;
}

.dataTable span.gray {
    background: #1a2029;
    padding: 4px 15px;
    color: #fff;
    border-radius: 2.5px;
    border-bottom: none;
    text-shadow: none;
}

#accordion .btn-link:hover {
    text-decoration: none !important;
}

#accordion .btn-link:focus {
    text-decoration: none !important;
}

#accordion .card-header .btn-link {
    display: block;
    width: 100%;
    text-align: left;
    font-weight: 700;
    text-transform: capitalize;
    color: #000;
}

#modal_add_order .footer-modal {
    display: inline-flex;
    width: 100%;
    padding: 25px;
    padding-top: 10px;
    background: #20252f;
}

#modal_add_order .footer-modal .action-button {
    padding: 13px;
    text-align: center;
    height: 59px;
}

#modal_add_order .card,
#modal_add_order .card-header:first-child {
    border-radius: unset !important;
}

.swal2-container {
    z-index: 100060 !important;
}

#modal_add_order .alert-modal {
    padding: 20px;
    text-align: center;
    color: #fff;
    display: none;
}

#modal_add_order .alert-modal.error {
    background: #ff8484;
}

#modal_add_order .alert-modal.done {
    background: #3e8a3e;
}

#modal_add_order .alert-modal #close {
    position: absolute;
    right: 20px;
    margin-top: -1px;
    background: #b50000;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    cursor: pointer;
    line-height: 20px;
}

#modal_add_order .alert-modal #close:hover {
    background: red;
}

#datatables_order thead tr th:nth-child(1),
#datatables_order thead tr th:nth-child(2),
#datatables_order thead tr th:nth-child(3),
#datatables_order thead tr th:nth-child(4){
    background: #ca8217;
    color: #fff;
}

#datatables_order thead tr th:nth-child(5),
#datatables_order thead tr th:nth-child(6){
    background: #5abb3a;
    color: #fff;
}

#datatables_order thead tr th:nth-child(7),
#datatables_order thead tr th:nth-child(8){
    background: #bb3a3a;
    color: #fff;
}

#datatables_order thead tr th:nth-child(9){
    background: #8f3abb;
    color: #fff;
}

#datatables_order .bg-gray {
    background: #151b23;
    padding: 4px 10px;
    border-radius: 3px;
    color: #fff;
}

#datatables_order .bg-green {
    background: #5abb3a;
    padding: 4px 10px;
    border-radius: 3px;
    color: #fff;
}

#datatables_order .bg-red {
    background: #bb3a3a;
    padding: 4px 10px;
    border-radius: 3px;
    color: #fff;
}

#datatables_order .bg-yellow {
    background: #e8d700;
    padding: 4px 10px;
    border-radius: 3px;
    color: #fff;
}

#datatables_order td {
    white-space: nowrap;
}

.cursor-pointer {
    cursor: pointer;
}

.list-btn {
    margin-bottom: 8px;
    display: flex;
    margin-top: -12px;
}

.btn-sub {
    width: 100%;
    float: left;
    padding: 5px 20px;
}

.btn-sub .btns {
    background: #27303e;
    display: block;
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-sub .btns:hover {
    background: #669644;
}

#datatables_order tbody>div {
    width: 100%;
    text-align: center;
    display: block;
    padding: 30px;
}

.btn-close-position:hover {
    cursor: pointer;
    background: #278400 !important
}

footer {
    text-align: center;
    z-index: 99999999999999999;
    position: fixed;
    bottom: 0;
    display: block;
    width: 100%;
    background: #394456;
    padding: 10px;
    color: #5f6f88;
    /*border-top: 1px solid #151b23;*/
}

.btn-clear-logs {
    position: absolute;
    right: 95px;
    background: #27303e;
    padding: 2px 5px;
    border-radius: 3px;
    cursor: pointer;
    color: #5f6f88;
}

.btn-clear-logs:hover {
    background: #bb3a3a;
    color: #fff;
}

.btn-lock-screen {
    position: absolute;
    right: 10px;
    background: #27303e;
    padding: 2px 5px;
    border-radius: 3px;
    cursor: pointer;
    color: #5f6f88;
}

.btn-lock-screen.active{
    background: #bb3a3a;
    color: #fff;
    opacity: 1
}
.btn-lock-screen:hover {
    background: #bb3a3a;
    color: #fff;
}

.lock-wrapper {
    position: fixed;
    background: #00879c;
    opacity: .2;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    height: 101vh;
}

@media only screen and (max-width: 1300px) {
    #datatables_order, #box-options{
        font-size: 60%;
    }
}