:root {
    /* --color1_1:#f8a531; 
  --color1_2:rgb(110,71,39);  
  --color1_3:#522b18;
  --color1_4:#36190d; */

    --color1_1: #f8a531;
    --color1_2: #34434d;
    --color1_3: #522b18;
    --color1_4: #616f79;
    --color2_1: rgb(234,229,225); /* #eae5e1 */
    --color2_2: rgb(101,95,89); /* #655f59 */

    --color3_1: #ffffe0;
    --color3_2: #b38d51;
}


.fund {
    align-self: center;
    width: 80%;
    min-width: 1200px;
    height: 100%;
    padding-top: 12vh;
}

.fund_content {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    width: 100%;
    min-height: 700px;
    margin: 20px 0;
    padding: 0 !important;
    box-shadow: 0px 0px 7px rgba(0,0,0,.8);
}


/*------------------Fund input styling---------------------------------*/

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: rgb(206, 206, 206);
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: rgb(206, 206, 206);
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: rgb(206, 206, 206);
}

.input_container select:required:invalid {
    color: rgb(206, 206, 206);
}

.input_container option[value=""][disabled] {
    display: none;
}

.input_container option {
    color: rgb(255, 255, 255);
}


select {
    -webkit-appearance: none;
    background: none;
}

input[type=date], input[type=time] {
    -webkit-appearance: none;
    background: none;
}


.input_container {
    align-self: flex-start;
    display: flex;
    align-items: center;
    position: relative;
    color: rgb(241, 241, 241);
    margin-bottom: 20px;
    width: fit-content;

}

.input_label {
    font-size: 13px;
    min-width: 200px;
    color: rgb(241, 241, 241);
}

.asterisk {
    color: red;
    font-size: 18px;
}

.input_container input[type=radio] {
    display: none;
}

.input_container input, .input_container select {
    padding: 10px 8px;
    border-radius: 5px;
    border: solid 1px rgb(200,200,200);
    width: 250px;
    font-size: 13px;
    background: #383838;
    color: white;
    box-shadow: 0 1px 3px #1a1a1a;
}

    .input_container input:focus, .input_container select:focus {
        outline: none;
    }

    .input_container input:read-only {
        background: #8b8b8b;
        font-weight: bold;
    }

.input_currency {
    margin-left: 5px;
    font-size: 13px;
}

.bank_display_view {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 250px;
}

.view_option {
    display: flex;
    align-items: center;
    padding: 10px;
    width: 48%;
    border-radius: 5px;
    border: solid 1px rgb(200,200,200);
    font-size: 12px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    background: #383838;
    box-shadow: 0 1px 3px #1a1a1a;
}

.bank_display_view i {
    color: #dad8d5;
    font-size: 20px;
    margin-right: 15px;
}

.view_active {
    background: #f0d8a7;
    border: solid 1px var(--color1_5);
    color: rgb(0, 0, 0);
}

    .view_active i {
        color: #473f2e;
        font-size: 20px;
        margin-right: 15px;
    }


.bank_selection {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.bank_option {
    width: 160px;
    min-width: 160px;
    position: relative;
    cursor: pointer;
    margin-right: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .bank_option .bank_radio {
        width: auto;
        display: none;
    }

    .bank_option img {
        width: 100%;
    }

.bank_name {
    color: grey;
    font-size: 13px;
    font-weight: normal;
}

.bank_option .selected_tag {
    position: absolute;
    background: #00ab66;
    left: 10px;
    top: 55px;
    z-index: 2;
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 11px;
    width: 160px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 2px grey;
    display: none;
}

    .bank_option .selected_tag i {
        font-size: 18px;
        margin-right: 20px;
    }

.bank_option_text {
    position: absolute;
    left: 10px;
    top: 55px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 11px;
    line-height: 10px;
}

.bank_option .bank_radio:checked ~ .selected_tag {
    display: flex;
}

.list_view {
    display: none;
}

.bank_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    box-shadow: 0px 0px 10px rgba(0,0,0,.8);
    border-radius: 10px;
}

    .bank_table th {
        background: var(--color1_3);
        color: white;
        padding: 12px 0;
        font-size: 13px;
    }

    .bank_table td {
        /* border-bottom:solid 1px rgb(200,200,200); */
        text-align: center;
        font-size: 12px;
        padding: 3px 0;
        vertical-align: middle;
        height: 40px;
        overflow: hidden;
        color: white;
        text-overflow: ellipsis;
    }

    .bank_table tr:nth-child(even) {
        background: #575757;
    }

    .bank_table tr:first-child th:first-child {
        border-radius: 10px 0 0 0;
    }

    .bank_table tr:first-child th:last-child {
        border-radius: 0 10px 0 0;
    }

    .bank_table tr:last-child td:first-child {
        border-radius: 0 0 0 10px;
    }

    .bank_table tr:last-child td:last-child {
        border-radius: 0 0 10px 0;
    }

.bank_option2 {
    transition: 0.2s;
    cursor: pointer;
}

    .bank_option2:hover {
        background: #b89c69;
    }

.bank_active {
    background: #b89c69 !important;
}

.bank_copy {
    background: var(--color1_3);
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 11px;
    width: 120px;
    white-space: nowrap;
    display: none;
    margin-left: 10px;
}

    .bank_copy i {
        margin-right: 5px;
    }

.bank_active .bank_copy {
    display: block;
}

.bank_detail {
    align-self: flex-start;
    background: #f1f8ff;
    border: solid 1px rgb(220,220,220);
    border-radius: 10px;
    padding: 20px 30px;
    margin-bottom: 40px;
    display: none;
    width: 100%;
    max-width: 600px;
}

.bank_selection_back {
    display: flex;
    align-items: center;
    color: var(--color1_2);
    font-size: 13px;
    cursor: pointer;
}

    .bank_selection_back i {
        margin-right: 10px;
        font-size: 15px;
        font-weight: bold;
    }

.bd_item {
    margin-top: 30px;
    display: flex;
    align-items: flex-start;
    position: relative;
}

.bd_img {
    width: 160px;
    position: relative;
    cursor: pointer;
    margin-right: 30px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .bd_img .selected_tag {
        position: absolute;
        background: #00ab66;
        left: 10px;
        top: 55px;
        z-index: 2;
        color: white;
        padding: 6px 10px;
        border-radius: 5px;
        font-size: 11px;
        width: 160px;
        display: flex;
        align-items: center;
        box-shadow: 0 1px 2px grey;
    }

        .bd_img .selected_tag i {
            font-size: 18px;
            margin-right: 20px;
        }

.bd_name {
    font-size: 14px;
    color: var(--color1_3);
    margin-top: 20px;
    text-align: center;
}

.bd_limit {
    white-space: nowrap;
    font-size: 11px;
    color: rgb(180,180,180);
}


.bd_info {
    border-collapse: collapse;
    flex: 1;
}

    .bd_info td {
        font-size: 13px;
        padding-bottom: 5px;
        color: grey;
        white-space: nowrap;
    }

        .bd_info td:last-child {
            color: black;
            text-align: right;
        }



.bd_btns {
    position: absolute;
    right: 0;
    bottom: 20px;
    display: flex;
    align-items: center;
}

.bd_copy {
    background: var(--color1_3);
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 11px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    cursor: pointer;
}

    .bd_copy i {
        font-size: 15px;
        margin-right: 10px;
    }

.bd_back {
    background: rgb(220,220,220);
    color: grey;
    padding: 5px;
    border-radius: 5px;
    font-size: 11px;
    min-width: 110px;
    white-space: nowrap;
    cursor: pointer;
}

.now_btn {
    position: absolute;
    right: 5px;
    padding: 3px 5px;
    background: linear-gradient(white,rgb(200,200,200));
    border: solid 1px rgb(200,200,200);
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
}

.receipt_upload {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    margin-top: -10px;
    position: relative;
}

.file_remark {
    font-size: 10px;
    white-space: nowrap;
    margin-bottom: 3px;
}

.custom_file_btn {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

    .custom_file_btn input {
        display: none;
    }

.file_btn {
    padding: 3px 8px;
    background: linear-gradient(white,rgb(200,200,200));
    border: solid 1px rgb(200,200,200);
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
    color: black;
    min-width: 100px;
    font-size: 13px;
}

.file_name {
    font-size: 12px;
    margin-left: 10px;
    width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview_container {
    width: 110px;
    height: 150px;
    display: flex;
    flex-direction: column;
    border: solid 1px rgb(200,200,200);
    margin-top: 10px;
}

    .preview_container span {
        color: grey;
        font-size: 11px;
        font-style: italic;
        margin-top: -20px;
        height: 20px;
    }

    .preview_container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.input_link {
    margin-left: 20px;
    font-size: 12px;
    text-decoration: underline;
    color: rgb(255, 255, 255);
}

.deposit_channel {
    display: none;
}

.submit_btn {
    padding: 8px;
    border-radius: 5px;
    border: none;
    color: white;
    background: linear-gradient(var(--color1_3),var(--color1_3));
    width: 250px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    margin-left: 200px;
    cursor: pointer;
    text-align: center;
}

.payment_method {
    width: 160px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment_method_sm {
    width: 100px;
    padding: 5px 10px;
    border-radius: 10px;
    margin-right: 10px;
    border: 2px solid transparent;
    transition: .4s;
}

    .payment_method_sm:last-child {
        margin-right: 0;
    }

    .payment_method_sm .method_name {
        color: rgb(231, 231, 231);
        font-weight: 500;
        font-size: 12px;
    }

    .payment_method_sm.active {
        border: 2px solid var(--color1_4);
        background: rgb(48, 47, 47);
    }

.payment_method img {
    width: 100%;
}

.payment_method .pay_method {
    width: 70%;
}

.payment_method_text {
    position: absolute;
    left: 10px;
    top: 60px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 10px;
    line-height: 10px;
    width: 120px;
    line-height: 150%;
}

.method_name {
    color: grey;
    font-size: 13px;
}

.card_fee {
    position: absolute;
    right: 40px;
    top: 105px;
    display: flex;
    flex-direction: column;
    width: 390px;
    background: #efefef;
    padding: 20px;
    border-radius: 10px;
}

.card_fee_rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

    .card_fee_rate h1 {
        white-space: nowrap;
        font-size: 18px;
        margin: 0;
        color: var(--color2_1);
    }

.rate_list {
    display: flex;
    flex-direction: column;
}

    .rate_list span {
        font-size: 12px;
        margin-bottom: 5px;
    }

.card_fee_tnc {
    display: flex;
    flex-direction: column;
    padding: 0;
    padding-left: 10px;
}

    .card_fee_tnc li {
        color: grey;
        font-size: 11px;
        position: relative;
        list-style: none;
        margin-bottom: 5px;
    }

        .card_fee_tnc li:before {
            content: "*";
            position: absolute;
            left: -15px;
            top: -3px;
            font-size: 20px;
        }

.view, .noview {
    position: absolute;
    right: 10px;
    cursor: pointer;
    bottom: 10px;
}


/*------------------Wallet---------------------------------*/



.wallet {
    flex: 2;
    background: #1e1e1e;
    min-height: 100%;
}

.wallet_header {
    background: rgb(30,30,30);
    display: flex;
    flex-direction: column;
    padding: 2vmin;
}


.main_wallet {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}


.mw_label {
    color: white;
    font-size: 13px;
}

.mw_value {
    color: #ddc495;
    font-size: 20px;
    margin-left: auto;
}


.refresh_btn {
    color: white;
    cursor: pointer;
}

.wallet_list {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 2vmin;
    padding-top: 7vmin;
    position: relative;
}


    .wallet_list::-webkit-scrollbar {
        width: 10px;
    }


    .wallet_list::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.1);
    }


    .wallet_list::-webkit-scrollbar-thumb {
        background: rgb(50,50,50);
    }


        .wallet_list::-webkit-scrollbar-thumb:hover {
            background: rgb(80,80,80);
        }



.wallet_label {
    font-size: clamp(15px,4vmin,20px);
    padding: 2vmin 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-weight: bold;
    color: white;
}

.wallet_item_container {
    display: flex;
    align-items: center;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    padding: 3%;
    width: 100%;
}

.wallet_item {
    display: flex;
    align-items: center;
    width: 100%;
}

.wallet_name, .wallet_amount {
    font-size: 12px;
    width: 100%;
    padding: 8px 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wallet_name {
    background: linear-gradient(var(--color1_2),var(--color1_4));
    color: white;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    text-align: center;
}

.wallet_amount {
    background: white;
    color: var(--color1_3);
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    text-align: right;
}

.wallet_item i {
    background: var(--color1_1);
    color: white;
    padding: 8px;
    border-radius: 2px;
    margin-left: 8px;
    font-size: 13px;
    display: none;
}

.wallet_item_container:hover {
    background: rgba(100,100,100);
}

    .wallet_item_container:hover .wallet_item i {
        display: block;
    }



.fund_body {
    flex: 8;
    display: flex;
    flex-direction: column;
    font-family: 'Noto Sans JP', sans-serif;
}

/*--------- START 10/16/2020-----------------*/

.fund_nav {
    display: flex;
    width: 100%;
    background: linear-gradient(-45deg, rgb(201, 176, 131), rgb(254, 230, 180), rgb(201, 176, 131));
}

.fund_nav_item {
    /* background: #fee6b4; */
    text-decoration: none;
    color: rgb(61, 61, 61);
    flex: 1;
    text-align: center;
    font-size: clamp(10px,3vmin,15px);
    padding: 20px;
    white-space: nowrap;
    transition: 0.2s;
    border-right: 1px solid rgba(255, 255, 255, 0.712);
}

    .fund_nav_active, .fund_nav_item:hover {
        background: linear-gradient(var(--color1_2),var(--color1_4)) !important;
        color: white;
    }

.fund_section {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #222222;
    /* background: white; */
}



.fund_subnav {
    display: flex;
    width: 100%;
    margin-top: 1%;
    padding-bottom: 16px;
}

.fund_subnav_item {
    background: var(--color1_2);
    color: white;
    text-align: center;
    font-size: 13px;
    padding: 15px;
    white-space: nowrap;
    position: relative;
    transition: 0.2s;
    cursor: pointer;
    text-decoration: none;
    margin-left: 1%;
    border-radius: 3px;
    min-width: 150px;
    background: var(--color1_4);
}


    .fund_subnav_active, .fund_subnav_item:hover {
        color: #ffffff;
        background: var(--color1_2)
    }


        .fund_subnav_active::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            -moz-transform: translateX(-50%);
            -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
            border-right: 15px solid transparent;
            border-left: 15px solid transparent;
            border-top: 15px solid var(--color1_2);
        }

/*---------END 10/16/2020-----------------*/
.add_new_button
{
    border: solid 1px #f0d8a7;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 12px;
    cursor: pointer;
}
.editBank
{
    margin: 0px 10px;
    background: #f0d8a7;
    padding: 5px 10px;
    border-radius: 7px;
    color: #575757;
    font-weight: bold;
    cursor: pointer;
}

.deleteBank
{
    background: red;
    padding: 5px 10px;
    border-radius: 7px;
    color: #eee;
    font-weight: bold;
    cursor: pointer;
}
.fund_form, .banking_form {
    display: flex;
    flex-direction: column;
    padding: 10px 30px;
    padding-bottom: 50px;
    height: 100%;
    position: relative;
}

.fund_header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: solid 1px rgb(200,200,200);
    padding: 15px 0;
    margin-bottom: 20px;
}

.fund_header_text {
    margin-right: auto;
    font-size: 25px;
    color: #f0d8a7;
    font-weight: bold;
}

.remark_box {
    width: 180px;
    font-size: 10px;
    color: grey;
    margin-left: 20px;
    line-height: 120%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .remark_box p {
        margin: 0;
        color: white;
        padding: 2px 0;
    }

.bonus_remark {
    display: flex;
    align-items: center;
    font-size: 13px;
    margin-bottom: 30px;
    color: var(--color1_1);
}

    .bonus_remark i {
        margin-right: 5px;
        font-size: 18px;
        margin-top: 1px;
    }

.transfer_switch {
    border: solid 1px rgb(200,200,200);
    position: absolute;
    right: -7%;
    top: 18px;
    height: 62px;
    width: 30px;
    border-left: none;
    display: flex;
    align-items: center;
}

.transfer_switch_btn {
    position: relative;
    left: 15px;
    background: var(--color1_3);
    padding: 8px 5px;
    color: white;
    border-radius: 3px;
    cursor: pointer;
}


/*--------------------Profile------------------------------------*/

.edit_profile, .edit_cancel {
    background: var(--color1_2);
    color: white;
    padding: 5px 15px 5px 5px;
    text-align: center;
    min-width: 100px;
    font-size: 14px;
    border-radius: 3px;
    cursor: pointer;
}

    .edit_profile i, .edit_cancel i {
        font-size: 16px;
        margin-right: 10px;
    }

.edit_cancel {
    background: var(--color2_1);
    display: none;
}

.profile_section .submit_btn {
    display: none;
}


/*--------------------Record table------------------------------------*/

.date_range_input {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

    .date_range_input .input_label {
        min-width: auto;
        margin-right: 10px;
    }

    .date_range_input .input_container {
        margin: 0;
        margin-right: 20px;
    }

        .date_range_input .input_container input {
            width: 200px;
            cursor: pointer;
        }

    .date_range_input .submit_btn {
        margin: 0;
        width: 120px;
        padding: 7px;
    }

.calendar_icon {
    position: absolute;
    bottom: 13px;
    right: 13px;
    pointer-events: none;
}

.record_table
{
    margin-top: 10px;
    border-collapse: collapse;
    /* border:solid 1px rgb(200,200,200); */
    border-radius: 10px;
    width: 100%;
    min-width: max-content;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .8);
}

    .record_table tr:first-child th:first-child {
        border-radius: 10px 0 0 0;
    }

    .record_table tr:first-child th:last-child {
        border-radius: 0 10px 0 0;
    }

    .record_table tr:last-child td:first-child {
        border-radius: 0 0 0 10px;
    }

    .record_table tr:last-child td:last-child {
        border-radius: 0 0 10px 0;
    }

    .record_table th {
        color: rgb(255, 255, 255);
        background: var(--color1_3);
        font-size: 15px;
        padding: 10px 0;
    }

    .record_table td {
        text-align: center;
        font-size: 13px;
        padding: 15px 15px;
         color: white;
    }


    .record_table tr{
        background: #575757!important;
    }
.restore-content{
    margin: 10px auto;
}
    .restore-content button
    {
        margin: auto;
        padding: 5px 15px;
        background: #fee6b4;
        border: none;
        border-radius: 5px;
        font-weight: 600;
    }
/*------------------------------------------------*/
.banking .record_table
{
    margin-top: 20px;
    margin-bottom: 40px;
}

.add_bank {
    font-family: 'Noto Sans JP', sans-serif;
    border-bottom: solid 1px rgb(200,200,200);
    margin-bottom: 40px;
    padding: 3px;
    color: #f0d8a7;
    font-weight: bold;
    display:flex;
    justify-content: space-between;
}
