#fundingModalPopup {
    padding: 30px 0;
    /* background: #fff; */
}

#fundingModalPopup .modal_body {
    width: 600px !important;
    padding: 20px 40px 45px;
}

#fundingModalPopup .funding-modal-title {
    font-family: "The Jamsil OTF 4 Medium";
    font-size: 48px;
    font-weight: 600;
    line-height: 58.09px;
    text-align: center;    
    color: #fff;

    margin-bottom: 9px;
}

#fundingModalPopup .funding-sub-title {
    font-family: "The Jamsil OTF 4 Medium";

    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 23px;

    color: #fff;;


    margin: 0 0 40px 0;
}

#fundingModalPopup .agree-box {
    /* Rectangle 3854 */
    box-sizing: border-box;
    padding: 13px 18px;

    width: 500px;
    height: 50px;

    border: 1px solid #FFFFFF;
    border-radius: 8px;

    margin: 6px auto 14px;
}

#fundingModalPopup .agree-content {
    height: 280px;
    width: 100%;
    background: transparent;
    padding: 5px 27px;
    margin: 25px auto;

    /* Rectangle 3855 */

    border: 1px solid #FFFFFF;
    border-radius: 8px;
}

#fundingModalPopup .agree-content p {
    font-family: "The Jamsil OTF 4 Medium";
    font-size: 16px;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: 0em;
    text-align: left;
    color: #444;
}

#fundingModalPopup .agree-content>p.title {
    font-family: "The Jamsil OTF 4 Medium";

    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 23px;
    /* identical to box height */
    text-align: center;

    color: #fff;;

    margin-bottom: 20px;
}

#fundingModalPopup .regular-price {

    font-family: "The Jamsil OTF 4 Medium";
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    text-decoration-line: line-through;
    font-feature-settings: 'calt'off;

    color: #667080;
    text-decoration: line-through;
    display: inline-block;
    width: fit-content;
    margin-right: 4px;
}

#fundingModalPopup .agree-content .agree-text {
    height: 200px;
    overflow-y: scroll;
    width: 100%;
}

#fundingModalPopup .agree-content .agree-text p {
    font-family: "The Jamsil OTF 4 Medium";
    font-style: normal;
    font-weight: 300;
    font-size: 16px;
    line-height: 18px;

    color: #fff;;
}

#fundingModalPopup .agree-content .agree-text::-webkit-scrollbar {
    display: block !important;
}

#fundingModalPopup .agree-box .agree-text {
    font-family: "The Jamsil OTF 4 Medium";
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    text-align: left;
    /* identical to box height, or 133% */
    color: #fff;;
}

#fundingModalPopup .agree-box .agree-text span {
    margin-left: 6px;
    vertical-align: super;
}

#fundingModalPopup .agree-box .agree-text>p {
    margin: 0 !important;
}

#fundingModalPopup .notice-box {
    width: 100%;
    margin: 0 auto 25px;
}

#fundingModalPopup .notice-box li {
    text-align: left;
    color:#9EEF20;
}


#fundingModalPopup .notice-box>p {
    font-family: "The Jamsil OTF 4 Medium";
    font-size: 16px;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: 0em;
    text-align: left;
    color: #183B56;
}

#fundingModalPopup .buy-box {
    width: 100%;
    margin: 0 auto;
}

#fundingModalPopup .buy-box .ticket-box {
    
    border-bottom: 1px solid #667080;
}

#fundingModalPopup .buy-box .ticket-box p {
    padding: 14px 0;
}

#fundingModalPopup .buy-box .ticket-box .form-title {
    border-right: 1px solid #667080;
}

#fundingModalPopup .buy-box>div {
    margin-bottom: 25px;
}

#fundingModalPopup .buy-box>div>p {
    margin-bottom: 0;
}

#fundingModalPopup .buy-box>div>p:first-child {
    width: 30%;
    text-align: left;
}

#fundingModalPopup .buy-box>div>p:last-child {
    width: 60%;
    text-align: left;
    margin-left: 6%;
    position: relative;
}

#fundingModalPopup .buy-box>p {
    font-family: "The Jamsil OTF 4 Medium";
    font-size: 16px;
    font-weight: 700;
    line-height: 27px;
    letter-spacing: 0em;
    text-align: left;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#fundingModalPopup .buy-box #total-cnt {
    font-family: "The Jamsil OTF 4 Medium";
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 23px;
    /* identical to box height */
    text-align: center;

    color: #fff;;
    border: 1px solid #E1E5E8;
    width: 107px;
    display: inline-block;
    vertical-align: bottom;
    padding: 8px 0 !important;
    border-radius: 8px !important;
}

#fundingModalPopup .buy-box .buy-amout {
    font-family: "The Jamsil OTF 4 Medium";
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: 0em;
    text-align: right;
    border: none;
    margin: 0 15px;
    width: 45%;
}

#fundingModalPopup .noti-error {

    font-family: "The Jamsil OTF 4 Medium";
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 24px;
    /* identical to box height, or 200% */
    font-feature-settings: 'calt'off;

    color: #FF0000;
    text-align: left;
    margin: 5px 0 0;
}

#fundingModalPopup .noti-success {
    /* 추천인 닉네임이 확인되었습니다. (3,000원 할인) */
    text-align: left;
    font-family: "The Jamsil OTF 4 Medium";
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 24px;
    /* identical to box height, or 200% */
    font-feature-settings: 'calt'off;

    color: #9EEF20;

    margin: 5px 0 0;

}



.primary-red {
    color: #EE574C !important;
}

.btn-box {
    text-align: center;
    display: flex;
    align-items: center;
    margin-left: calc(-40px - 1.5rem);
    width: calc(100% + 1.5rem);
    position: fixed;
    bottom: 0;
    justify-content: space-between;
}

.btn-box .primary-btn {
    width: 50%;
    padding: 16px 0;
    border-radius: 0 !important;
    border: none !important;
    background: #667080 !important;

    border: none !important;
    color: #000 !important;

    font-family: "The Jamsil OTF 4 Medium";
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    /* identical to box height, or 120% */

    text-align: center;

    color: #fff;;

}

i.swiper-agree-btn {
    display: block;
    width: 61px;
    height: 27px;
    background: url('/img/switch-off.svg') no-repeat center;
    background-size: 61px 27px;
    object-fit: contain;
}

i.swiper-agree-btn.active {
    background: url('/img/switch-on.svg') no-repeat center;
    background-size: contain;
}

i.minus-count {
    display: block;
    width: 20px;
    height: 20px;
    background: url(/img/minus-count.svg) no-repeat center;
    background-size: 20px 20px;
    object-fit: contain;
    margin: 0 13px 0 0;
    position: absolute;
    top: 30%;
    left: 12pt;
    transform: translate(-50%, 0px);
}

i.plus-count {
    display: block;
    width: 20px;
    height: 20px;
    background: url('/img/plus-count.svg') no-repeat center;
    background-size: 20px 20px;
    object-fit: contain;
    position: absolute;
    top: 30%;
    right: 64%;
    transform: translate(-50%, 0px);
}

.coupon-reg-btn {
    padding: 15px;
    width: fit-content;
    margin: 15px auto 15px 0;
    background: #6A6A6A;
    color: #fff;
    border-radius: 10px;
}

.pay-type-btn {
    background: transparent;
    padding: 11px 5.25px;
    margin-right: 16px;

    border: 1px solid #F2F2F2 !important;
    border-radius: 20px;


    font-family: "The Jamsil OTF 4 Medium";
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    text-align: center;

    color: #fff;;

}

.pay-type-btn.btn-toss {
    background: #F2F2F2;
    padding: 0;
}

.pay-type-btn.active {
    border: 1px solid #9EEF20 !important;
}

/* container */
@media (max-width: 992px) {

    .coupon-reg-btn{
        padding: 15px;
        width: fit-content;
        margin: 15px auto 15px 0;
        background: #6A6A6A;
        color: #fff;
        border-radius: 10px;
        font-size:14px !important;
    }

    .btn-box {
        text-align: center;
        display: flex;
        align-items: center;
        margin-left: 0px;
        width: calc(100%);
    }
}