.ac-modal ul {
    margin-bottom: 0;
}
.ac-modal .modal-dialog {
    width: 100%;
    max-width: none;
}
.ac-modal .modal-header {
    border: none;
}
.ac-modal .modal-header .modal-title {
    font-size: 18px;
}
.ac-modal .modal-body {
    padding: 0 15px 15px;
}
.ac-modal-nav {
}
.ac-modal .btn-group {
}
.ac-modal .btn-group > li {
    width: 50%;
    float: left;
}
.ac-modal .btn-group > li a {
    display: block;
    background-color: #e5e5e5;
    border: none;
    color: #468ccb;
    font-size: 16px;
    padding: 1rem;
    text-align:center;
    white-space: normal;
}
body#sub .ac-modal .btn-group > li.active a,
body#landing_1 .ac-modal .btn-group > li.active a {
    background: white;
    border: 1px solid #e5e5e5;
    color: #333;
    font-weight: bold;
}
body#sub .ac-modal .btn-group > li.active a,
body#sub .ac-modal .btn-group > li.active a:hover,
body#sub .ac-modal .btn-group > li.active a:active,
body#landing_1 .ac-modal .btn-group > li.active a,
body#landing_1 .ac-modal .btn-group > li.active a:hover,
body#landing_1 .ac-modal .btn-group > li.active a:active {
    cursor: default;
    text-decoration: none;
}
.ac-modal .btn-group > li:first-of-type a {
    border-radius: 8px 0 0 0;
}
.ac-modal .btn-group > li:last-of-type a {
    border-radius: 0 8px 0 0;
}
.ac-modal .tab-pane {
    display: none;
    position: relative;
    z-index: 2;
    top: -2px;
    background: white;
    border-width: 1px;
    border-color: #e5e5e5;
    border-style: none solid solid;
    padding: 7px;
}
.ac-modal .tab-pane.active {
    display: block;
}
.ac-modal-caption {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 0;
    padding: .5rem 7px;
}
.wallet-tab-pane .ac-modal-caption {
    background: rgba(238, 127, 73, 0.2);
}
.trade-tab-pane .ac-modal-caption {
    background: rgba(70, 140, 203, 0.2);
}
.ac-modal-container {
    border-width: 2px;
    border-style: solid;
    padding: 7px;
}
.ac-modal-container p {
    padding: 0 0 .5em 7px;
}
    .tab-pane.wallet-tab-pane .ac-modal-container {
        background: rgba(238, 127, 73, 0.1);
        border-color: #ee7f49;
    }
    .tab-pane.trade-tab-pane .ac-modal-container {
        background: rgba(70, 140, 203, 0.1);
        border-color: #468ccb;
    }
    .ac-modal-list > li {
        padding: 7px;
    }
    .ac-modal-list dl,
    .ac-modal-list dt,
    .ac-modal-list dd {
        margin: 0;
    }
    .ac-modal-list dt {
        font-size:14px;
        margin-bottom: .5em;
    }
    .ac-modal-caption-small {
        font-size: 14px;
        font-weight: bold;
        line-height: 1.5;
        padding: 0 0 0 15px;
        margin: 0;
    }

@media (min-width: 960px) {
    .ac-modal .modal-dialog {
        max-width: 960px;
    }
}
@media (max-width: 479px) {
    .ac-modal .btn-group > li:first-of-type a,
    .ac-modal .btn-group > li:last-of-type a {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .ac-modal .modal-body {
        padding-left: 0;
        padding-right: 0;
        border-left: none;
        border-right: none;
    }    
}


.account-class-table-us {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.account-class-table-us::before {
    content: '';
    display: block;
    order: 0;
}

.account-class-table-us__cell, .account-class-table-us::before {
    
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.divided-by-two .account-class-table-us__cell, .divided-by-two .account-class-table-us::before {
    width: 33.9999%;
}

.divided-by-three .account-class-table-us__cell, .divided-by-three .account-class-table-us::before {
    width: 22.6666%;
}


.account-class-table-us__cell--label, .account-class-table-us::before{
    width: 32%;
}

.divided-by-two .account-class-table-us__cell--label, .divided-by-two .account-class-table-us::before {
    width: 32%;
}

.divided-by-three .account-class-table-us__cell--label, .divided-by-three .account-class-table-us::before {
    width: 32%;
}

.account-class-table-us__cell p {
    margin: 0;
}

.account-class-table-us__cell--head p {
    font-weight: bold;
    font-size: 14px;
}

.account-class-table-us__cell--foot:not(.account-class-table-us__cell--label) {
    display: none;
}

.account-class-table-us--fee {
    display: flex;
    width: 100%;
    margin: 0 auto 10px;
    border: 1px solid #ddd;
    border-top: none;
}

.account-class-table-us--fee > p {
    text-align: center;
    margin: 0;
    padding: 8px;
}

.account-class-table-us--fee > p:first-child {
    width: 32%;
    border-right: 1px solid #ddd;
}

.account-class-table-us--fee > p:last-child {
    flex-grow: 1;
}

@media all and (max-width: 500px) {
    .account-class-table-us {
        display: block;
        border: none;
    }

    .account-class-table-us__cell {
        width: 100%;
        border-right: 1px solid #ddd;
        padding: 0;
    }

    .divided-by-two .account-class-table-us__cell, .divided-by-three .account-class-table-us__cell {
        width: 100%;
        border-right: 1px solid #ddd;
        padding: 0;
    }

    .account-class-table-us__cell--head p {
        font-weight: bold;
        font-size: 14px;
        line-height: 36px;
    }

    .account-class-table-us__cell:not(.account-class-table-us__cell--label):not(.account-class-table-us__cell--head) {
        display: flex;
        align-items: stretch;
        height: 74px;
    }

    .account-class-table-us__cell:not(.account-class-table-us__cell--label):not(.account-class-table-us__cell--head) p {
        display: flex;
        width: 50%;
        justify-content: center;
        align-items: center;
        padding: 8px;
    }

    .account-class-table-us__cell:not(.account-class-table-us__cell--label):not(.account-class-table-us__cell--head) img {
        margin: auto;
    }

    .account-class-table-us__cell:not(.account-class-table-us__cell--label):not(.account-class-table-us__cell--head)::before {
        content: attr(data-label);
        display: flex;
        width: 50%;
        text-align: center;
        border-right: 1px solid #ddd;
        justify-content: center;
        align-items: center;
        padding: 8px;
    }

    .account-class-table-us__cell--foot {
        margin-bottom: 30px;
        border-bottom: 1px solid #ddd;
    }

    .account-class-table-us__cell--foot:last-child {
        margin-bottom: 10px;
    }

    .account-class-table-us__cell--label, .account-class-table-us::before {
        display: none;
    }

    .account-class-table-us__cell--foot:not(.account-class-table-us__cell--label) {
        display: block;
    }

    .account-class-table-us--fee {
        display: none;
    }
}
