#invest-popup-outer {
    display: none;
}

/* hiding invest popup */
#invest-popup-outer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(119, 119, 119, 0.9);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10000;
}

#invest-popup {
    width: 100%;
    height: 100%;
}

#invest-popup-inner {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

#invest-popup .bond-sale-desc {
    padding-top: 0;
    padding-bottom: 30px;
}

#invest-popup .step-common {
    width: 100%;
    max-width: 738px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 100px auto;
}

#invest-popup .step-common .title-wrap {
    position: relative;
    padding: 40px 0;
}

#invest-popup .step-common .title-wrap .popup-title {
    text-align: center;
    color: #222222;
    font-size: 30px;
    font-weight: 400;
}

#invest-popup .step-common .title-wrap .close {
    cursor: pointer;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-image: url(images/header/close@2x.png);
}

#invest-popup .step-common .content-wrap {
    padding: 40px;
    background-color: #f5f5f5;
}

#invest-popup .step-common .progress-step {
    width: 100%;
    position: relative;
    margin-bottom: 40px;
}

#invest-popup .step-common .progress-step:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: calc(100% - 130px);
    height: 1px;
    background-color: #d8d8d8;
}

#invest-popup .step-common .progress-step .step-wrap {
    float: right;
    max-width: 110px;
}

#invest-popup .step-common .progress-step .step-wrap .step {
    float: left;
    width: 30px;
    height: 30px;
    border: 1px solid #fdd23e;
    text-align: center;
    line-height: 28px;
    color: #c0c0c0;
    font-size: 16px;
    font-weight: 400;
    border-radius: 50%;
}

#invest-popup .step-common .progress-step .step-wrap .step.active {
    border: 1px solid #fdd23e;
    background-color: #fdd23e;
    color: #222222;
}

#invest-popup .step-common .progress-step .step-wrap .step.step01 {
    margin-right: 10px;
}

#invest-popup .step-common .progress-step .step-wrap .step.step02 {
    margin-right: 10px;
}

#invest-popup .content-common {
    margin-bottom: 50px;
}

#invest-popup .content-common .title {
    float: left;
    width: 100%;
    max-width: 200px;
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
    color: #222222;
}

#invest-popup .content-common .title .subtitle {
    display: block;
    color: #777777;
    font-size: 14px;
    line-height: 21px;
}

#invest-popup .content-common .content {
    float: left;
    width: 100%;
    max-width: calc(100% - 200px);
}

#invest-popup .step-common .popup-buttons {
    margin-top: 40px;
    border-top: 1px solid #d8d8d8;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    font-size: 0;
}

#invest-popup .step-common .popup-buttons .button {
    display: inline-block;
    padding: 7px 15px;
    font-size: 18px;
    font-weight: 400;
    color: #777777;
    border-radius: 21px;
    border: 2px solid #fdd23e;
    min-width: 120px;
    background-color: transparent;
    transition: all 0.25s ease;
}

#invest-popup .step-common .popup-buttons .button i {
    margin-left: 20px;
    color: #fdd23e;
    transition: all 0.25s ease;
}

#invest-popup .step-common .popup-buttons .button:hover {
    color: #ffffff;
    background-color: #fdd23e;
}

#invest-popup .step-common .popup-buttons .button:hover i {
    color: #ffffff;
}

#invest-popup .step-common .popup-buttons .button:not(:last-child) {
    margin-right: 20px;
}

#invest-popup .step-common .popup-buttons .cancel:hover {
    background-color: #d0021b;
    border: 1px solid #d0021b;
}

/*#invest-popup .step-common .popup-buttons .color {
    background-color: #566ec6;
    color: #ffffff;
}*/

#invest-popup .step-common .popup-footer {
    position: relative;
    text-align: center;
    z-index: 3;
    color: #949494;
    font-size: 14px;
    letter-spacing: -0.7px;
}

#invest-popup .step-common .popup-footer img {
    display: block;
    max-width: 163px;
    margin: 0 auto;
    margin-top: 25px;
}

/* product-info */
#invest-popup .product-info .content .data-wrap {
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #d8d8d8;
}

#invest-popup .product-info .content .data-item {
    padding-bottom: 9px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ebebeb;
}

#invest-popup .product-info .content .data-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

#invest-popup .product-info .content .data-item .name {
    float: left;
    width: 55px;
    margin-right: 15px;
    color: #777777;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

#invest-popup .product-info .content .data-item .value {
    float: left;
    color: #222222;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: calc(100% - 70px);
}

#invest-popup .product-info .content .data-item .value.after-amount {
    width: auto;
}

#invest-popup .product-info .content .data-item .value.before-amount {
    width: auto;
    margin-left: 10px;
    color: #a1a1a1;
}

#invest-popup .product-info .content .data-item .value.before-amount .amount {
    text-decoration: line-through;
    text-decoration-color: #ff8b8b;
}

#invest-popup .product-info .content .data-item.total {
    text-align: center;
    color: #222222;
}

#invest-popup .product-info .content .data-item.total i {
    font-weight: 700;
    margin-right: 10px;
    color: #222222;
    font-family: Ionicons;
    font-size: 14px;
}

#invest-popup .product-info .content .data-item.total span {
    font-weight: 700;
}

/* enter-amount */
#invest-popup .enter-amount {}

#invest-popup .enter-amount .input-amount {}

#invest-popup .enter-amount .input-amount {
    position: relative;
    box-shadow: 0 1px 5px #d9d9d9;
    background-color: #ffffff;
}

#invest-popup .enter-amount .input-amount input {
    border: 0;
    padding: 0 15px;
    padding-right: 35px;
    width: 100%;
    font-size: 18px;
    font-weight: 400;
    color: #222222;
    text-align: right;

    border-radius: 2px;
    background-color: #ffffff;
    height: 45px;
    line-height: 45px;
}

#invest-popup .enter-amount .input-amount input::placeholder {
    font-size: 18px !important;
    color: #c0c0c0 !important;
}

#invest-popup .enter-amount .input-amount input::-webkit-inner-spin-button,
#invest-popup .enter-amount .input-amount input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

#invest-popup .enter-amount .input-amount label {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #777777;
    font-size: 18px;
    font-weight: 400;
}

#invest-popup .enter-amount .user-data {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 400;
    text-align: right;
    line-height: 21px;
    color: #777777;
}

#invest-popup .enter-amount .user-data .refresh-icon {
    display: inline-block;
}

#invest-popup .enter-amount .user-data .refresh-icon a {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    top: 5px;
    border: 1px solid #fdd23e;
    border-radius: 50%;
}

#invest-popup .enter-amount .user-data .refresh-icon i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fdd23e;
    font-family: Ionicons;
    font-size: 17px;
}

#invest-popup .enter-amount .user-data .all {
    display: inline-block;
    padding-left: 10px;
    position: relative;
}

#invest-popup .enter-amount .user-data .all input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

#invest-popup .enter-amount .user-data .all input:before {}

#invest-popup .enter-amount .user-data .all span {
    position: relative;
    width: 15px;
    height: 22px;
    display: inline-block;
    margin: 0;
    padding: 0;
}

#invest-popup .enter-amount .user-data .all span:before {
    content: "\f372";
    color: #d3d3d3;
    font-family: Ionicons;
    font-size: 20px;
    vertical-align: -2px;
    cursor: pointer;
}

#invest-popup .enter-amount .user-data .all input:checked+span:before {
    content: "\f373";
    color: #566ec6;
}

#invest-popup .enter-amount .user-data .all label {
    cursor: pointer;
    padding-left: 5px;
}

#invest-popup .enter-amount .user-data span {
    line-height: 21px;
    color: #777777;
    font-weight: 400;
}

#invest-popup .enter-amount .user-data .last {
    color: #c0c0c0;
    font-weight: 700;
}

/* verification-method */
#invest-popup .verification-method .label-wrap {
    box-shadow: 0 1px 4px #d8d8d8;
    border-radius: 5px;
    background-color: #ffffff;
}

#invest-popup .verification-method label {
    float: left;
    display: block;
    width: 50%;
}

#invest-popup .verification-method label:last-child {
    margin-left: -1px;
}

#invest-popup .verification-method label input {
    display: none;
}

#invest-popup .verification-method label span {
    position: relative;
    z-index: 9;
    float: left;
    display: block;
    cursor: pointer;
    width: 100%;
    color: #c0c0c0;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    line-height: 26px;
    padding: 7px 0;
    transition: all 0.25s ease;
}

#invest-popup .verification-method label span:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.25s ease;
    border-radius: 5px;
}

#invest-popup .verification-method input:checked~span {
    border-radius: 5px;
    color: #222222;
}

#invest-popup .verification-method input:checked~span:before {
    opacity: 1;
    z-index: -1;
    background-image: linear-gradient(138deg, #ffeb72 0%, #fdd23e 100%);
}

/* verification-period */
#invest-popup .verification-period .label-wrap {
    box-shadow: 0 1px 4px #d8d8d8;
    border-radius: 5px;
    background-color: #ffffff;
}

#invest-popup .verification-period label {
    float: left;
    display: block;
    width: 50%;
}

#invest-popup .verification-period label:last-child {
    margin-left: -1px;
}

#invest-popup .verification-period label input {
    display: none;
}

#invest-popup .verification-period label span {
    position: relative;
    z-index: 9;
    float: left;
    display: block;
    cursor: pointer;
    width: 100%;
    color: #c0c0c0;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    line-height: 26px;
    padding: 7px 0;
    transition: all 0.25s ease;
}

#invest-popup .verification-period label span:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.25s ease;
    border-radius: 5px;
}

#invest-popup .verification-period input:checked~span {
    border-radius: 5px;
    color: #222222;
}

#invest-popup .verification-period input:checked~span:before {
    opacity: 1;
    z-index: -1;
    background-image: linear-gradient(138deg, #ffeb72 0%, #fdd23e 100%);
}


/* terms */
#invest-popup .terms {}

#invest-popup .terms .content {}

#invest-popup .terms .content .text {
    color: #777777;
    font-size: 14px;
    font-weight: 400;
}

#invest-popup .terms .content .text-agree {
    margin-top: 20px;
    color: #222222;
}

#invest-popup .terms .content .agree {
    margin-top: 20px;
    box-shadow: 0 1px 5px #d9d9d9;
    background-color: #ffffff;
}

#invest-popup .terms .content .agree input {
    border: 0;
    background-color: #ffffff;
    width: 100%;
    padding: 0 15px;
    color: #222222;
    font-size: 18px;
    font-weight: 400;
    height: 45px;
    line-height: 45px;
}

#invest-popup .terms .content .agree input::placeholder {
    color: #c0c0c0 !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}

#invest-popup .terms .content .accept {
    margin-top: 20px;
}

#invest-popup .terms .content .accept input[id="recens-agree_terms"] {
    display: none;
}

#invest-popup .terms .content .accept input[id="recens-agree_terms"]+label {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    cursor: pointer;
    vertical-align: -2px;
    margin-right: 10px;
}

#invest-popup .terms .content .accept input[id="recens-agree_terms"]+label:before {
    content: "\f372";
    color: #777777;
    font-family: Ionicons;
    font-size: 20px;
}

#invest-popup .terms .content .accept input[id="recens-agree_terms"]:checked+label {}

#invest-popup .terms .content .accept input[id="recens-agree_terms"]:checked+label:before {
    content: "\f373";
    color: #222222;
    font-family: Ionicons;
    font-size: 20px;
}

#invest-popup .terms .content .accept a {
    color: #777777;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

/* review-investment */
#invest-popup .review-investment {}

#invest-popup .review-investment .content {}

#invest-popup .review-investment .content .data-wrap {
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #d8d8d8;
}

#invest-popup .review-investment .content .data-item {
    padding-bottom: 9px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ebebeb;
}

#invest-popup .review-investment .content .data-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

#invest-popup .review-investment .content .data-item .name {
    float: left;
    width: 55px;
    margin-right: 15px;
    color: #777777;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

#invest-popup .review-investment .content .data-item .value {
    float: left;
    color: #222222;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: calc(100% - 70px);
}

#invest-popup .review-investment .content .data-item .value.before-amount {
    margin-left: 10px;
    color: #a1a1a1;
}

#invest-popup .review-investment .content .data-item .value.before-amount .amount {
    text-decoration: line-through;
    text-decoration-color: #ff8b8b;
}

#invest-popup .review-investment .content .data-item.total {
    text-align: center;
    color: #222222;
}

#invest-popup .review-investment .content .data-item.total i {
    margin-right: 10px;
    color: #222222;
    font-family: Ionicons;
    font-size: 14px;
}

#invest-popup .review-investment .content .data-item.total span {
    font-weight: 700;
}

/* sms-certify */
#invest-popup .sms-certify {}

#invest-popup .sms-certify .content {}

#invest-popup .sms-certify .content .verifying {
    position: relative;
    border-radius: 10px;
    border: 1px solid #d8d8d8;
    background-color: transparent;
    padding: 30px 0;
}

#invest-popup .sms-certify .content .verifying .spinner {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
}

#invest-popup .sms-certify .content .verifying .message {
    padding-top: 50px;
}

#invest-popup .sms-certify .content .verifying .message .certify-send {
    color: #777777;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    text-align: center;
}

#invest-popup .sms-certify .content .verifying .message .certify-send span {
    color: #222222;
    font-weight: 700;
}

#invest-popup .sms-certify .content .verifying .message .certify-number {
    border-radius: 10px;
    background-color: rgba(253, 210, 62, 0.3);
    max-width: 250px;
    width: 100%;
    height: 60px;
    margin: 20px auto;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
}

#invest-popup .sms-certify .content .verifying .message .certify-number .number {
    color: #777777;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

#invest-popup .sms-certify .content .verifying .message .certify-number .number span {
    padding-left: 10px;
    color: #222222;
    font-size: 26px;
    font-weight: 400;
}

#invest-popup .sms-certify .content .verifying .message .certify-desc {
    text-align: center;
    color: #777777;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

#invest-popup .sms-certify .content .desc {
    float: none;
    margin-top: 20px;
    color: #777777;
    font-size: 14px;
    font-weight: 400;
}

#invest-popup .sms-certify .content .link {
    margin-top: 20px;
}

#invest-popup .sms-certify .content .link a {
    color: #777777;
    font-size: 14px;
    font-weight: 400;
}


/* review-investment */
#invest-popup .review-investment {}

/* success-invest */
#invest-popup .success-invest {}

#invest-popup .success-invest .success {
    border-radius: 10px;
    border: 1px solid #d8d8d8;
    padding: 35px 0;
}

#invest-popup .success-invest .success .success-icon {
    max-width: 26px;
    margin: 0 auto;
}

#invest-popup .success-invest .success .success-text {
    margin-top: 10px;
    text-align: center;
    color: #777777;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

#invest-popup .success-invest .desc {
    margin-top: 20px;
    color: #777777;
    font-size: 14px;
    font-weight: 400;
}

@media all and (max-width: 767px) {
    #invest-popup .step-common {
        width: calc(100% - 40px);
    }

    #invest-popup .step-common .title-wrap {
        padding: 25px 0;
    }

    #invest-popup .step-common .title-wrap .popup-title {
        font-size: 20px;
        line-height: 30px;
    }

    #invest-popup .step-common .title-wrap .close {
        right: 20px;
        width: 20px;
        height: 20px;
    }

    #invest-popup .step-common .content-wrap {
        padding: 15px 20px;
        padding-bottom: 25px;
    }

    #invest-popup .step-common .progress-step {
        margin-bottom: 25px;
    }

    #invest-popup .step-common .progress-step:before {
        max-width: calc(100% - 100px)
    }

    #invest-popup .step-common .progress-step .step-wrap .step {
        width: 20px;
        height: 20px;
        line-height: 18px;
        font-size: 11px;
    }

    #invest-popup .content-common {
        margin-bottom: 35px;
    }

    #invest-popup .content-common .title {
        max-width: 100%;
        font-size: 16px;
        line-height: 20px;
        padding-bottom: 20px;
    }

    #invest-popup .content-common .title .subtitle {
        font-size: 12px;
        line-height: 17px;
    }

    #invest-popup .content-common .content {
        max-width: 100%;
    }

    #invest-popup .product-info .content .data-wrap {
        padding: 15px;
    }

    /* product-info */
    #invest-popup .product-info .content .data-item.total {
        position: relative;
        text-align: left;
        padding-left: 20px;
    }

    #invest-popup .product-info .content .data-item.total i {
        position: absolute;
        left: 0;
        top: 6px;
    }

    /* enter-amount */
    #invest-popup .enter-amount .input-amount input {
        height: 32px;
        line-height: 32px;
        font-size: 14px;
    }

    #invest-popup .enter-amount .input-amount input::placeholder {
        font-size: 14px !important;
    }

    #invest-popup .enter-amount .input-amount label {
        font-size: 14px;
    }

    /* verification-method */
    #invest-popup .verification-method label span {
        font-size: 14px;
    }

    /* verification-period */
    #invest-popup .verification-period label span {
        font-size: 14px;
    }

    /* terms */
    #invest-popup .terms .content .text {
        font-size: 14px;
        line-height: 22px;
    }

    #invest-popup .terms .content .text-agree {
        margin-top: 10px;
    }

    #invest-popup .terms .content .agree input {
        height: 32px;
        line-height: 32px;
        font-size: 14px;
    }

    #invest-popup .terms .content .agree input::placeholder {
        font-size: 14px !important;
    }

    #invest-popup .terms .content .accept {
        position: relative;
    }

    #invest-popup .terms .content .accept input[id="recens-agree_terms"]+label {
        position: absolute;
        left: 0;
    }

    #invest-popup .terms .content .accept a {
        display: block;
        padding-left: 25px;
    }

    #invest-popup .step-common .popup-buttons {
        margin-top: 35px;
        padding-top: 35px;
        padding-bottom: 25px;
    }

    #invest-popup .step-common .popup-buttons .button {
        font-size: 12px;
        line-height: 14px;
        min-width: unset;
    }

    #invest-popup .step-common .popup-buttons .button:not(:last-child) {
        margin-right: 10px;
    }

    #invest-popup .step-common .popup-footer {
        word-break: keep-all;
    }

    #invest-popup .step-common .popup-footer img {}

    #invest-popup .review-investment .content .data-wrap {
        padding: 15px 10px;
    }

    /* sms-certify */
    #invest-popup .sms-certify .content .verifying {
        padding: 20px 10px;
    }

    #invest-popup .sms-certify .content .verifying .spinner {
        top: 35px;
    }

    #invest-popup .sms-certify .content .verifying .message {
        padding-top: 40px;
    }

    #invest-popup .sms-certify .content .verifying .message .certify-number {
        height: 56px;
        margin: 15px auto;
    }

    #invest-popup .sms-certify .content .verifying .message .certify-desc {
        word-break: keep-all;
    }

    #invest-popup .sms-certify .content .link {
        margin-top: 15px;
    }

    /* success-invest */
    #invest-popup .success-invest .success {
        padding: 25px 0;
    }

    /* step3 */
    #invest-popup #invest-step3.step-common .popup-buttons .button {
        margin-right: 0;
        display: block;
        max-width: 176px;
        margin: 0 auto;
    }

    #invest-popup #invest-step3.step-common .popup-buttons .cancel {
        margin-bottom: 10px;
    }
}

@media all and (max-width: 767px) {
    #invest-popup .product-info .content .data-item .value.after-amount {
        width: calc(100% - 70px);
    }

    #invest-popup .product-info .content .data-item .value.before-amount {
        width: calc(100% - 70px);
        margin-left: 70px;
    }

    #invest-popup .review-investment .content .data-item .value.after-amount {
        width: calc(100% - 70px);
    }

    #invest-popup .review-investment .content .data-item .value.before-amount {
        width: calc(100% - 70px);
        margin-left: 70px;
    }

    #invest-popup .enter-amount .user-data .all {
        display: block;
        padding-left: 0;
        padding-top: 5px;
    }

    #invest-popup .review-investment .content .data-item.total {
        position: relative;
        text-align: left;
        padding-left: 20px;
    }

    #invest-popup .review-investment .content .data-item.total i {
        position: absolute;
        left: 0;
        top: 6px;
    }
}