.close span{
    font-size: 1.25rem;
    font-family: Comic Sans MS;
    color: black;
}
.close span:hover{
    text-shadow: 0.1em 0.1em 0.2em gray;   
}
#send_submit:hover{
    text-shadow: 0.1em 0.1em 0.2em #DDDDDD; 
}
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#send_submit:disabled {
  cursor: not-allowed;
}
#top_template, #top_template_m {
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}
.from-dark {
    --tw-gradient-from: #000000;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgb(24 22 90 / 0));
}
.to-dark-red {
    --tw-gradient-to: #431B1A;
}
#sendModalV2 input,
#sendModalV2 select {
    color: #FFF;
    background-color: #422A2A;
    border: 0;
}
#sendModalV2 .close span,
#walletModalV2 .close span {
    color: #FFF !important;
}
#walletModalV2 .modal-content {
    border-radius: 1.5rem;
    background-color: transparent;
}
.icon-bgcolor {
    background-color: #FFF;
    height: 20px;
    width: 20px;
}
.icon-wallet {
    mask: url('../../assets_v2/img/member/icon_wallet.svg') no-repeat center / contain;
    -webkit-mask: url('../../assets_v2/img/member/icon_wallet.svg') no-repeat center / contain;
}
.icon-wallet:hover {
    cursor: pointer;
}
.icon-bgcolor {
    background-color: #FFF;
    height: 20px;
    width: 20px;
}
.icon2x-bgcolor {
    background-color: #FFF;
    height: 24px;
    width: 24px;
}
.icon-send {
    mask: url('../../assets_v2/img/member/icon_send.svg') no-repeat center / contain;
    -webkit-mask: url('../../assets_v2/img/member/icon_send.svg') no-repeat center / contain;
}
.icon-send:hover {
    cursor: pointer;
}
.icon-copy {
    mask: url('../../assets_v2/img/member/icon_copy.svg') no-repeat center / contain;
    -webkit-mask: url('../../assets_v2/img/member/icon_copy.svg') no-repeat center / contain;
}
.icon-link {
    mask: url('../../assets_v2/img/member/icon_link.svg') no-repeat center / contain;
    -webkit-mask: url('../../assets_v2/img/member/icon_link.svg') no-repeat center / contain;
}
.icon-arrow-down {
    mask: url('../../assets_v2/img/member/arrow-down.svg') no-repeat center / contain;
    -webkit-mask: url('../../assets_v2/img/member/arrow-down.svg') no-repeat center / contain;
}
#u_balance {
    background-color: transparent !important;
}
#symbol_type {
    background: url();
}
.btn-bg-lightgray {
    background-color: #3E2A28;
}
.top-left-div {
    height: 100%;
}
.balance-bg-shape {
    height: 100%;
    position: relative;
    border-radius: 50%;
}
.top-left-div-m {
    height: 70%;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
}
.balance-bg-shape-m {
    height: 100%;
    position: relative;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.copy-btn {
    background-color: #2F2222;
}
.copy-btn:hover {
    background-color: #2E0E7C;
    cursor: pointer;
}
#choose_chain,
#choose_chain:focus {
    background-color: transparent;
    color: #FFF;
}
#choose_chain option {
    color: #000;
}


/*bootstrap - Modal */
.modal-open {
    overflow: hidden
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none
}
.modal.fade .modal-dialog {
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out, -webkit-transform .3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px)
}
@media (prefers-reduced-motion:reduce) {
    .modal.fade .modal-dialog {
        transition: none
    }
}
.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none
}
.modal.modal-static .modal-dialog {
    -webkit-transform: scale(1.02);
    transform: scale(1.02)
}
.modal-dialog-scrollable {
    display: -ms-flexbox;
    display: flex;
    max-height: calc(100% - 1rem)
}
.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1rem);
    overflow: hidden
}
.modal-dialog-scrollable .modal-footer,
.modal-dialog-scrollable .modal-header {
    -ms-flex-negative: 0;
    flex-shrink: 0
}
.modal-dialog-scrollable .modal-body {
    overflow-y: auto
}
.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem)
}
.modal-dialog-centered::before {
    display: block;
    height: calc(100vh - 1rem);
    height: -webkit-min-content;
    height: -moz-min-content;
    height: min-content;
    content: "";
}
.modal-dialog-centered.modal-dialog-scrollable {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%
}
.modal-dialog-centered.modal-dialog-scrollable .modal-content {
    max-height: none
}
.modal-dialog-centered.modal-dialog-scrollable::before {
    content: none
}
.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000
}
.modal-backdrop.fade {
    opacity: 0
}
.modal-backdrop.show {
    opacity: .5
}
.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px)
}
.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto
}
.modal-title {
    margin-bottom: 0;
    line-height: 1.5
}
.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem
}
.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: .75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(.3rem - 1px);
    border-bottom-left-radius: calc(.3rem - 1px)
}
.modal-footer>* {
    margin: .25rem
}
.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll
}
@media (min-width:576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
    .modal-dialog-scrollable {
        max-height: calc(100% - 3.5rem)
    }
    .modal-dialog-scrollable .modal-content {
        max-height: calc(100vh - 3.5rem)
    }
    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem)
    }
    .modal-dialog-centered::before {
        height: calc(100vh - 3.5rem);
        height: -webkit-min-content;
        height: -moz-min-content;
        height: min-content
    }
    .modal-sm {
        max-width: 300px
    }
}
@media (min-width:992px) {
    .modal-lg,
    .modal-xl {
        max-width: 800px
    }
}
@media (min-width:1200px) {
    .modal-xl {
        max-width: 1140px
    }
}
/*bootstrap - Modal*/

/*modal-v2 */
.modal-v2 .modal-content {
    border: none;
}
.modal-v2 .modal-dialog {
    margin-top: 100px;
    max-width: 80%;
    width: 540px;
}
.modal-v2 .modal-header {
    border: none;
}
.modal-v2 .modal-header .close {
    color: #fff;
    opacity: 1;
    padding: 2px 8px;
    font-weight: 100;
}
.modal-v2 .modal-body {
    padding: 5px 60px 40px;
}
.modal-backdrop.show {
    background-color: #131118;
    opacity: 0.9;
}
.modal-v2 a,
.modal-v2 a:hover {
    color: #e01e49;
}
@media (max-width: 768px) {
    .modal-v2 .modal-dialog {
        margin-top: 50px;
        max-width: calc(100vw - 30px);
    }
    .modal-v2 .modal-body {
        padding: 5px 40px 40px;
    }
}
@media (max-width: 576px) {
    .modal-v2 .modal-dialog {
        max-width: calc(100vw - 30px);
        margin: 50px auto;
    }
}
.fade {
    transition: opacity .15s linear
}
@media (prefers-reduced-motion:reduce) {
    .fade {
        transition: none
    }
}
.fade:not(.show) {
    opacity: 0
}
/*modal-v2*/

/*form-control*/
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 8rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}
@media (prefers-reduced-motion:reduce) {
.form-control {
        transition: none
    }
}
.form-control::-ms-expand {
    background-color: transparent;
    border: 0
}
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)
}
.form-control::-webkit-input-placeholder {
    color: #6c757d;
    opacity: 1
}
.form-control::-moz-placeholder {
    color: #6c757d;
    opacity: 1
}
.form-control:-ms-input-placeholder {
    color: #6c757d;
    opacity: 1
}
.form-control::-ms-input-placeholder {
    color: #6c757d;
    opacity: 1
}
.form-control::placeholder {
    color: #6c757d;
    opacity: 1
}
.form-control:disabled,
.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1
}
input[type=date].form-control,
input[type=datetime-local].form-control,
input[type=month].form-control,
input[type=time].form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}
select.form-control:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #495057
}
select.form-control:focus::-ms-value {
    color: #495057;
    background-color: #fff
}
/*form-control*/

/*左側選單*/
#top_member_menu li a {
    padding: 10px 30px;
    display: block;
}
#top_member_menu li.active {
    background-color: #2E0E7C;
}
.icon-bgcolor {
    background-color: #FFF;
    height: 20px;
    width: 20px;
}
.icon-garage {
  mask: url('../../assets_v2/img/member/icon_garage.svg') no-repeat center / contain;
  -webkit-mask: url('../../assets_v2/img/member/icon_garage.svg') no-repeat center / contain;
}
.icon-account {
  mask: url('../../assets_v2/img/member/icon_account.svg') no-repeat center / contain;
  -webkit-mask: url('../../assets_v2/img/member/icon_account.svg') no-repeat center / contain;
}
.icon-record {
  mask: url('../../assets_v2/img/member/icon_record.svg') no-repeat center / contain;
  -webkit-mask: url('../../assets_v2/img/member/icon_record.svg') no-repeat center / contain;
}
.icon-transation {
  mask: url('../../assets_v2/img/member/icon_transation.svg') no-repeat center / contain;
  -webkit-mask: url('../../assets_v2/img/member/icon_transation.svg') no-repeat center / contain;
}
.icon-setting {
  mask: url('../../assets_v2/img/member/icon_setting.svg') no-repeat center / contain;
  -webkit-mask: url('../../assets_v2/img/member/icon_setting.svg') no-repeat center / contain;
}
/*左側選單*/

/*頁碼 Pagination*/
ul.pagination {
    margin: 40px auto 60px;
}
ul.pagination>li>a,
ul.pagination>li>a:focus,
ul.pagination>li>a:hover {
    cursor: pointer;
    color: #ffffff;
    border: unset;
    outline: 0;
    background-color: unset;
    display: inline-flex;
    line-height: 28px;
    height: 28px;
}
ul.pagination>li>a:focus,
ul.pagination>li>a:hover {
    color: #ef443f;
}
/* --- first & last --- */
.pagination>li:first-child>a,
.pagination>li:first-child>svg,
.pagination>li:first-child>span,
.pagination>li:last-child>a,
.pagination>li:last-child>svg,
.pagination>li:last-child>span {
    display: inline-flex;
    line-height: 28px;
    height: 28px;
    align-items: center;
}
/* --- active --- */
ul.pagination>li.active>a,
ul.pagination>li.active>a:focus,
ul.pagination>li.active>a:hover {
    cursor: default;
    color: #ef443f;
    border: unset;
    outline: 0;
    background-color: unset;
}
/* --- disabled --- */
ul.pagination>li.disabled>a,
ul.pagination>li.disabled>a:focus,
ul.pagination>li.disabled>a:hover {
    cursor: not-allowed;
    color: #ffffff50;
    border: unset;
    outline: 0;
    background-color: unset;
}
ul.pagination>li.disabled>a:focus,
ul.pagination>li.disabled>a:hover {
    color: #ffffff70;
}
ul.pagination>li svg path {
    fill: none;
}

ul.pagination li {
    font-size: 0.75rem;
    line-height: 1rem;
}
@media (min-width: 992px) {
    ul.pagination li {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }   
}
/*頁碼 Pagination*/