.modal-open {
    overflow: hidden;
    padding-right: 0px !important;
}
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
    padding-right: 0px !important;
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.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, -25%);
    transform: translate(0, -25%);
}
.modal.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}
.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (.5rem * 2));
}
.modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    outline: 0;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000;
}
.modal-backdrop.fade {
    opacity: 0;
}
.modal-backdrop.show {
    opacity: .5;
}
.modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 13px 20px;
    background: #4784FF;
    color: #FFF;

}
.modal-header .close {
    /*padding: 1rem;*/
    /*margin: -1rem -1rem -1rem auto;*/

    background: url() center no-repeat;
    width: 18px;
    height: 18px;
}
.modal-title {
    margin-bottom: 0;
    color: #FFF;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.02em;
}
.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 24px 28px;
}
.modal-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
    /*border-top: 1px solid #e9ecef;*/
}
.modal-footer>:not(:first-child) {
    margin-left: .25rem;
}
.modal-footer>:not(:last-child) {
    margin-right: .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-centered {
        min-height: calc(100% - (1.75rem * 2));
    }
    .modal-sm {
        max-width: 300px;
    }
}
@media (min-width:992px) {
    .modal-lg {
        max-width: 800px;
    }
}

#modalNotice .modal-header { display: none; }
.modal-notice { padding: 8px 24px; text-align: center; color: #7219D0 ; background: #FFF; border-radius: 30px; position: absolute;top: 50%;left: 50%;transform: translateX(-50%) translateY(-50%);width: 60%;}


[id^=boost] .modal-dialog { width: 800px;max-width: 800px;}
[id^=boost] .modal-content{  padding: 56px 50px 46px; background: #390E68;border: 1px solid #D095FF;box-shadow: 0px 0px 20px rgba(173, 101, 230, 0.3);border-radius: 8px; }
[id^=boost] .m-header { margin-bottom: 46px;}
[id^=boost] .m-header .m-title{text-align: center  }
[id^=boost] .modal-body .boost-footer { text-align: center}
[id^=boost] .modal-body .boost-footer button.m-close { color: #390E68 ; border: none}

[id^=boost] .modal-body .boost-info { text-align: center}

#boostNotice .modal-body .boost-tutorial {background: #460091;border: 1px solid #6A00DB;border-radius: 8px; padding: 24px 40px 50px;}
#boostNotice .modal-body .tutorial-row { display: flex;  align-items: start; }
#boostNotice .modal-body .tutorial-row .t-left { width: 428px; display: flex; align-items: center; justify-content: center}
#boostNotice .modal-body .tutorial-row .t-middle {width: 72px;}
#boostNotice .modal-body .tutorial-row .t-right {width: 120px;}
#boostNotice .modal-body .tutorial-row .row-header { border-radius: 8px; font-weight: 700;font-size: 14px; color: #FFFFFF; margin-bottom: 24px; text-align: center; padding: 9px 0px}
#boostNotice .modal-body .tutorial-row .t-left.row-header { background: #8F00FF}
#boostNotice .modal-body .tutorial-row .t-right.row-header { background: #9D0068}

#boostNotice .modal-body .tutorial-row .t-image { width: 120px; height: 120px; border: 1px solid #D095FF;border-radius: 8px;}
#boostNotice .modal-body .tutorial-row .t-image + .t-image { margin-left: 34px;}
#boostNotice .modal-body .tutorial-row .t-image img {width: 100%; height: 100%}
#boostNotice .modal-body .tutorial-row .t-image-info { font-size: 8px; font-weight: 400; color: #D0D0D0; margin-top: 8px; text-align: center}

#boostNotice .modal-body .tutorial-row:nth-child(2) .t-middle { background: url("../images/icon/ico-plus.svg") no-repeat; height: 120px; background-position: center; }
#boostNotice .modal-body .boost-info { margin-top: 28px; text-align: center}
#boostNotice .modal-body .boost-info div:nth-child(2) { margin-top: 20px;}
#boostNotice .modal-body .boost-footer { margin-top: 46px; text-align: center}
#boostNotice .modal-body .boost-footer button.m-close { color: #390E68 }


#boostErrorNotice .m-header { margin-bottom: 0px;}
#boostErrorNotice .modal-body { padding-top: 36px;}
#boostErrorNotice .modal-body .boost-info div:nth-child(3) { margin-top: 12px;}
#boostErrorNotice .modal-body .boost-footer { margin-top: 46px; text-align: center}
#boostErrorNotice .modal-body .boost-footer button.m-close { color: #390E68 }

#boostSuccessNotice .m-header { margin-bottom: 0px;}
#boostSuccessNotice .modal-content {position: relative; overflow: hidden}
#boostSuccessNotice .modal-content::after {    content: "";position: absolute;background: url("../images/bg/bg-mo-charecter.svg") no-repeat;bottom: -10px; left: calc((100% - 500px) / 2); width: 500px;height: 255px;background-size: contain;}
#boostSuccessNotice .modal-body { margin-top: 150px;z-index: 10 ;padding-bottom: 10px;}
#boostSuccessNotice .modal-body .boost-footer button.m-close { padding: 10px 24px; }


#boostResetNotice .modal-body { padding: 0px;}
#boostResetNotice .modal-body .boost-info { text-align: center ;padding-bottom: 40px; }


.boost-info .boost-coin-count { padding: 8px 42px 8px 20px; background: #FFFFFF; font-size: 16px; font-weight: 700; color: #7219D0; border-radius: 30px; width: fit-content;margin: auto;}
.boost-info .boost-coin-count::before { width: 30px; height: 30px; margin-right: 14px;}
