@media only screen and (max-width: 1200px) {

    /*--------------------------Fund----------------------------------------------*/

    .fund {
        width: 90%;
        min-width: inherit;
        padding-top: 15vh;
    }

    .fund_content {
        display: flex;
        flex-direction: column;
    }

    .wallet {
        margin-bottom: 5vmin;
    }

    .wallet_list {
        display: grid;
        grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
        grid-gap: 10px;
        height: 220px;
        margin: 1%;
    }
}


@media (orientation: portrait) {

    /*---------------------------------*/
    .fund {
        padding-top: 12vh;
        width: 100%;
        min-width: inherit;
        margin-bottom: 5vmin;
    }

    .fund_content {
        display: flex;
        flex-direction: column;
        border-radius: 0;
    }

    .fund_form {
        padding: 2vmin 3vmin;
        padding-bottom: 10vmin;
    }

    .bank_detail {
        width: 100%;
    }

    .bd_item {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .bd_img {
        margin-right: 0;
    }

    .bd_btns {
        position: static;
        margin-top: 30px;
    }
}


@media only screen and (max-width: 800px) {

    /*--------- START 10/16/2020-----------------*/

    .fund_nav {
        flex-wrap: wrap;
        background: transparent;
        margin-bottom: 1%;
    }

    .fund_nav_item {
        margin: 1%;
        background: #fee6b4;
    }


    .fund_subnav {
        overflow-x: auto;
    }

    /*--------- END 10/16/2020-----------------*/

    .fund_header {
        flex-direction: column;
    }

    .remark_box {
        width: 100%;
        margin: 0;
        margin-top: 2vmin;
    }

    .input_container {
        align-self: flex-start;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        position: relative;
        color: rgb(60,60,60);
        margin-bottom: 5vmin;
        width: 100%;
    }

    .input_label {
        margin: 0;
        margin-bottom: 1vmin;
        width: auto;
    }

    .input_container input, .input_container select {
        width: 100%;
    }

    .input_link {
        margin: 2vmin;
    }

    .card_view {
        flex-wrap: nowrap;
        overflow: auto;
    }

    .submit_btn {
        margin: 0;
        width: 100%;
    }

    .transfer_switch {
        display:none;
        left: auto;
        right: 10%;
        top: 100%;
        height: 10vmin;
        border-top: none;
        border-bottom: none;
        z-index: 2;
    }

    .date_range_input {
        flex-direction: column;
    }

        .date_range_input .input_container {
            margin: 0;
            margin-bottom: 3vmin;
        }

            .date_range_input .input_container input {
                width: 100%;
            }

        .date_range_input .submit_btn {
            margin: 0;
            width: 100%;
        }

    .fund .view, .fund .noview {
        align-items: flex-end;
        padding-bottom: 10px;
    }
}

@media only screen and (max-height: 500px) {

    .acc_popup {
        top: 2%;
        transform: translateY(0);
    }
}



@media only screen and (max-width: 400px) {

    .promo_item {
        width: 100%;
    }
}
