.online-item {
    display: none;
}

.online-payment .margin-top-nav {
    margin-top: 0px;
}

.online-payment .carousel-inner {
    position: relative;
}

.online-payment h1 {
    position: absolute;
    top: 200px;
    left: calc(50% - 570px);
    color: #543a9d;
    font-size: 35px;
}

.payment-wrapper {
    font-size: 20px;
    line-height: 35px;
}

.payment-wrapper .top-block {
    text-align: justify;
}

.payment-wrapper .top-block:after {
    content: '';
    display: inline-block;
    width: 100%;
}

.payment-wrapper h2 {
    font-size: 23px;
    font-weight: 700;
    display: inline-block;
    width: 25%;
}

.payment-wrapper .breadcrumb-wrapper {
    display: inline-block;
    width: 60%;
}

.payment-wrapper .breadcrumb {
    display: block;
    width: 100%;
    text-align: right;
    background-color: transparent;
}

.payment-wrapper .breadcrumb-wrapper li {
    text-align: right;
    display: inline-block;
}
.purple-dot {
    font-size: 18px;
    line-height: 26px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
}
    .purple-dot::before {
        display: inline-block;
        content: "\2022";
        color: #dc77e0;
        vertical-align: middle;
        width: 1em;
        margin-left: -1em;
    }

.payment-form {
    border: solid 1px #e3e8ff;
    border-radius: 10px;
}

.pale-blue-bg {
    padding: 10px 20px;
    background-color: #e3e8ff;
}

.pale-blue-bg.top {
    border-radius: 10px 10px 0 0;
}

.input-wrapper,
.radio-wrapper {
    padding: 10px 20px;
}

.input-title,
.input-wrapper .form-control,
.radio-inline-block .form-control {
    display: inline-block;
    border-radius: 30px;
}

.input-wrapper .form-control,
.radio-inline-block .form-control {
    width: 200px
}

.radio-inline-block input[type="radio"],
.radio-inline-block .input-title,
.radio-inline-block {
    display: inline-block;
}

.radio-inline-block {
    width: 46%;
}

.input-wrapper,
.radio-inline-block {
    margin: 20px 0;
}

.payment-btn {
    text-align: center;
    margin: 50px auto;
}

.payment-btn .btn {
    font-size: 18px;
    border-radius: 30px;
    padding: 5px 30px;
}

.purple-btn {
    background-color: #dc77e0;
    color: #fff;
}

.payment-table .table thead tr {
    background-color: #e3e8ff;
    border-radius: 10px 10px 0 0;
    font-size: 17px;
}

.payment-table .table thead tr th {
    border: none;
    text-align: center;
}

.payment-table .table thead tr th:first-child {
    border-top-left-radius: 10px;
}

.payment-table .table thead tr th:last-child {
    border-top-right-radius: 10px;
}

.payment-table tbody tr {
    border: solid 1px #e3e8ff;
    font-size: 17px;
}

.payment-table tbody tr td {
    vertical-align: middle;
    text-align: center;
}

.payment-table tbody tr td:last-child {
    text-align: center;
}

.table-btn .btn {
    display: block;
    border: solid 1px #c7cff1;
    margin-bottom: 10px;
    border-radius: 35px;
    width: 100%;
}

    /*.table-btn .btn.mobile_display {
        display: none;
    }*/

.payment_modal_title {
    padding-top: 15px;
    padding-bottom: 5px;
}

.payModal .modal-body p {
    text-align: left;
    width: 100%;
    font-size: 17px;
    margin-bottom: 0;
    line-height: 22px;
}

.payment_list_p {
    margin-top: 5px !important;
    word-break: break-all;
}

.pay-detail .pay-list {
    display: inline-block;
    width: 46%;
    margin-bottom: 25px;
    vertical-align: top;
}
#Cstore_payModal .pay-detail .pay-list {
    display: inline-block;
    width: 46%;
    margin-bottom: 15px;
    vertical-align: top;
}
.modal-body .pay-alert a {
    color: blue;
    text-decoration: underline;
}

.pay-detail .pay-list.single-last,
.pay-alert {
    width: 92%;
}

.pay-alert {
    margin: 5px auto;
}

.choose-card {
    margin-top: 10px;
    text-align: left;
}

.payModal .modal-body .choose-card p.red-text {
    display: inline-block;
    width: 200px;
    text-align: left;

}

.choose-card .form-control {
    display: inline-block;
    width: 200px;
    border-radius: 30px;
}

.red-text {
    color: #e01f13;
}

.payModal .modal-footer {
    display: block;
    margin: 10px auto 55px;
}
.pay-detail {
    text-align: left;
}

.Cstore_tip {
    width: 100%;
    background: #f5f5f5;
    font-size: 14px;
    color: #757575;
    margin-top: 15px;
    position: absolute;
    left: 0px;
    bottom: 0px;
    border-radius: 0px 0px 20px 20px;
}

.modal-footer > :not(:first-child) {
    margin-left: 0px;
}
.modal-footer_container {
    width: 100%;
    padding: 20px 20px 40px 20px;
}

    .modal-footer_container:after {
        display: block;
        content: "";
        clear: both;
    }

.modal-footer_select {
    width: 70%;
    height: 50px;
    float: left;
    display: none;
}

    .modal-footer_select select {
        width: 100%;
        height: 100%;
        font-size: 18px;
        border: 2px solid #ced4da;
        border-radius: 50px;
        padding: 0px 15px;
    }

.modal-footer_button {
    width: 30%;
    height: 50px;
    margin: 0 auto;
}

    .modal-footer_button button {
        width: 47%;
        height: 100%;
        font-size: 18px;
        border-radius: 50px;
        margin-left: 2%;
    }

.modal-footer_tip {
    font-size: 16px;
    color: #e01f13;
    line-height: 22px;
    text-align: left;
    margin-top: 10px;
    padding: 0px 10px;
    float: left;
    display: none;
}
.table-btn .btn.mobile_display {
    display: none;
}

@media (max-width:990px) {
    .modal-footer_select {
        width: 60%;
    }

    .modal-footer_button {
        width: 100%;
    }

        .modal-footer_button button {
            width: 45%;
            margin-left: 2%;
        }
}
@media (max-width:768px) {
    .table-btn .btn.mobile_display {
        display: inline-block;
    }
}
@media (max-width:520px) {
    .pay-alert {
        display: none;
    }

    .modal-footer_container {
        padding: 10px 15px 20px 15px;
    }

    .modal-footer_select {
        width: 100%;
        height: 46px;
        margin-bottom: 10px;
        padding: 0px 5px;
        float: none;
        display: block;
    }

    .modal-footer_button {
        width: 100%;
        height: 46px;
        float: none;
    }

        .modal-footer_button button {
            width: 45%;
            margin-right: 2%;
            margin-left: 2%;
        }

    .modal-footer_tip {
        display: block;
    }
}

.payModal .modal-footer .btn {
    font-size: 16px;
    border-radius: 35px;
    width: 150px;
    height: 42px;
}
.payment_barcode_container {
    margin-top: 10px;
}
    .payment_barcode_container img {
    }
.payModal .purple-line-btn {
    border: solid 1px #dc77e0;
    color: #dc77e0;
}
.payModal .purple-sq-btn {
    background: #dc77e0;
    color: #ffffff;
}
.result {
    margin-bottom: 80px;
}

.payModal {
    padding-right: 0 !important;
}

    .payModal .modal-content {
        top: 20px;
    }

@media (min-width:991px) {
    .payModal .modal-dialog {
        max-width: 900px;
        margin: 1.75rem auto;
    }

    .payModal .modal-content {
        width: 100%;
    }
}

@media (max-width: 1199px) {
    .online-payment h1 {
        left: calc(50% - 470px);
        top: 90px;
    }
}

@media (max-width: 991px) {
    .online-payment h1 {
        left: calc(50% - 347px);
    }

    .online-payment .margin-top-nav {
        margin-top: 0;
    }

    .payment-wrapper h2,
    .payment-wrapper .breadcrumb-wrapper,
    .payment-wrapper .breadcrumb {
        width: 100%;
        display: block;
        text-align: left;
        padding-left: 0;
    }

    .payment-form {
        margin-top: 50px;
    }

    .payModal .modal-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .online-payment h1 {
        left: calc(50% - 260px);
    }

    .payment-table .table thead tr {
        display: none;
    }

    .payment-table tbody tr td {
        display: block;
        width: 100%;
        text-align: left;
        border: none;
    }

    .payment-table tbody tr td::before {
        display: inline-block;
        color: #dc77e0;
        margin-right: 5px;
    }

    .beinsure::before {
        content: '被保人 / ';
    }

    .insurename::before {
        content: '要保人 / ';
    }

    .carnumber::before {
        content: '車號 / ';
    }

    .startdate::before {
        content: '起保日 / ';
    }

    .duedate::before {
        content: '繳費截止日 / ';
    }

    .money::before {
        content: '金額 / ';
    }

    .payment-table tbody tr td:last-child {
        text-align: left;
    }

    .table-btn .btn {
        display: inline-block;
        width: 45%;
    }

    .input-wrapper .form-control {
        width: 45%;
    }

    .input-title,
    .radio-inline-block {
        display: block;
        width: 100%;
    }

    .radio-inline-block {
        margin: 0 0 20px;
    }

    .radio-wrapper .input-title {
        display: inline-block;
        width: 80%;
    }

    .radio-wrapper .form-control {
        width: 95%;
    }
}

@media (max-width: 500px) {

    .pay-detail .pay-list,
    .pay-detail .pay-list.single-last,
    .pay-alert {
        width: 100%;
        display: block;
    }
    .pay-alert {
        display: none;
    }
    .pay-detail .pay-list {
        margin-bottom: 20px;
    }

    .payModal .modal-body {
        height: 380px;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }
}