body {
    font-family: "Noto Sans TC", sans-serif;
    letter-spacing: normal;
    margin-bottom: 0px;
}
.payment-section {
    margin-top: 15px;
}
.payment-section > div {
    max-width: 730px;
}
.sub-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 50px;
}
.productinfo-content {
    padding-top: 19px;
    padding-bottom: 26px;
    padding-right: 30px;
    padding-left: 30px;
    margin-bottom: 0px;
}
.productinfo-content :first-child {
    color: #2250ac; 
    font-weight: 500;
}
.productinfo-content li {
    list-style: none;
    padding-bottom: 8px;
}

.panel {
    border: 1px solid transparent !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.11), 
                0 1px 2px 0 rgba(0, 0, 0, 0.1) !important;
}
.productinfo-list {
    background-color: #f5f5f5; 
    padding-top: 14px;
    padding-bottom: 5px; 
    margin: -1px;
}
.productinfo-list > ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 767px) {
    .productinfo-list > ul {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .productinfo-list > ul {
        grid-template-columns: 1fr;
    }
}
.productinfo-list > ul li {
    color: #666666;
    list-style: none;
    display: inline;
    font-size: 14px;
    font-weight: 300;
    line-height: 30px;
    text-indent: -24px;
    padding-left: 15px;
    padding-right: 23px;
}
.productinfo-list > ul li::before {
    content: "\f00c";
    font-family: 'FontAwesome';
    font-weight: 100;
    color: #2250ac;
    padding-right: 10px;
}
@media (min-width: 992px) {
    .payment-info {
        position: sticky;
        top: 0;
    }
}
.payment-info-section {
    background-color: #ecf3ff; 
    border-radius: 5px;
    padding-top: 24px; 
    padding-left: 16px; 
    padding-right: 16px; 
    padding-bottom: 16px;
}
@media (max-width: 991px) {
    .payment-info-section {
        font-size: 18px;
        background-color: #d4e3fd;
        border-radius: 5px 5px 0 0;
    }
}
.payment-info .table tr, .payment-info .table tr th {
    font-weight: 500;
    font-size: 16px;
    border: unset;
}
.payment-info-subtitle {
    color: #666666;
    font-size: 16px;
    font-weight: 500;
}
.payment-info-sum {
    font-size: 18px !important;
    position: sticky; 
    bottom: -5px;
    background-color: #d4e3fd;
    padding: 0 16px 16px 16px;
    margin: 0 15px;
    border-radius: 0 0 5px 5px;
}
.payment-info-sum button span {
    font-size: 18px !important;
}
.payment-info-sum-border  {
    border-top: 1px solid #eee;
}
.payBtn > span {
    font-size: 14px;
    font-weight: 500;
}
hr {
    margin-top: 10px;
    border-top: 1px solid #ddd;
}
@media (min-width: 992px) {
    .payment-info {
        padding-left: 0px;
    }
    .payment-info > div {
        width: 350px;
    }
    hr {
        margin-right: 20px;
    }
}
.btn-primary:focus, .btn-primary:active {
    border-color: unset !important;
    outline: unset !important;
    background-color: #2250ac !important;
    color: #fff;
}
.payment-item {
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.11), 
                0 1px 2px 0 rgba(0, 0, 0, 0.1);
    border: unset;
}
input[type="radio"] {
    width: 20px;
    height: 20px;
    border: solid 1px #ccc;
    color: #ccc;
    margin-top: 1px;
}
@media screen and (max-width: 767px) {
    .credit-detail span {
        margin-top: 10px;
    }
}
.credit-detail {
    padding: 15px 0px 15px 0px;
}
.payment-item:hover, .payment-item.active {
    border: none !important;
    box-shadow: 0 0 0 1.5px #1a5ce0, 0 0 5px 0 rgba(26,92,224,.5) !important;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    cursor: pointer;
    color: #2250ac;
    border: unset;
    border-bottom: 2px solid #2250ac;
}
/* style 622 629拔掉 */
.nav-tabs > li > a {
    color: #757475;
    cursor: pointer;
    border: unset;
}
.nav-tabs > li > a:hover {
    background-color: unset;
    border-bottom: 1px #ddd;
}
.payment-item .payment-item-subtitle {
    margin-left: 10px; 
    margin-right: 10px;
    white-space: break-word;
    display: block;
}
.company-section {
    border-radius: 5px; 
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.11), 
                0 1px 2px 0 rgba(0, 0, 0, 0.1); 
    padding: 8px 30px 20px 5px;;
    margin-top: 13px;
    margin-bottom: 24px;
}
.company-section > div div {
    margin-top: 15px;
    margin-left: 25px;
}
@media (min-width: 992px) {
    .company-section > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
.payment-item .radio {
    margin-top: 0;
    margin-bottom: 0;
    flex: auto;
}
.invoice-radio-section {
    padding-top: 22px;
    padding-bottom: 24px;
}
.container-payment a, .container-payment a:hover {
    text-decoration: none !important; 
    font-weight: normal !important;
    color: #2250ac !important;
}
label.lovecode {
    display: flex;
}
.lovecode-msg {
    line-height: 25px; 
    margin-left: 10px;
}
@media (max-width: 1199px) {
    label.lovecode {
        display: grid;
        grid-template-rows: 1fr 1fr;
    }
    .lovecode-msg {
        margin-top: 5px;
    }
}
.credit-description {
    font-size: 14px; 
    color: #2250ac; 
    line-height: 15px; 
    padding-top: 10px; 
    margin-left: 5px;
}
.invoice-tab {
    padding-top: 8px; 
    border-bottom: 1px solid #ddd;
}
.invoice-remark {
    color: #999; 
    font-weight: 300; 
    font-size: 13px;
}
.error-input { 
    border: 1px solid #dd0000;
}
.error-msg {
    color: #dd0000;
    font-size: 13px; 
}
.payment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    padding: 0 30px;
    min-height: 60px;
    margin: 16px 0;
    cursor: pointer;
    transition: all 0.2s;
}
.credit-remark {
    margin-right: 6px; 
    color: #999; 
    font-weight: 300;
}
.credit-detail span {
    margin-top: 0;
    font-size: 13px;
}
.check-agree {
    cursor: pointer;
    width: 15px; 
    height: 15px;
}
input.radio-center {
    margin-top: auto;
    margin-bottom: auto;
    top: 0;
    bottom: 0;
}
/*
#top-nav,
main.container,
.footer {
    flex-shrink: 0;
}

main.container {
    flex-grow: 1;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
}

.footer {
    width: 100%;
    height: 200px;
    background-color: grey;
    margin-top: 40px;
    padding: 20px;
}

.fc-gray {
    color: #666;
}

.payment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    padding: 0 30px;
    min-height: 60px;
    margin: 16px 0;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-item:hover {
    border: 1px solid #1A5CE0;
}

.payment-item .radio {
    margin-top: 0;
    margin-bottom: 0;
    flex: auto;
}

.payment-item.active {
    border: 1px solid #1A5CE0;
    box-shadow: 0 0 3px 0 rgba(26, 92, 224, 0.5);
}

.credit-detail {
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: row;
    flex: auto;
}

.credit-detail span {
    margin-top: 0;
    font-size: 13px;
}

@media screen and (max-width: 767px) {
    .payment-item {
        padding: 8px 16px;
    }
    .payment-item .radio {
        flex: 1 0 0;
    }
    .credit-detail {
        align-items: flex-end;
        flex-direction: column-reverse;
        flex: 1 0 0;
        text-align: right;
    }
    .credit-detail span {
        margin-top: 5px;
    }
} 
*/