.modal {
    /*max-height: 100%;*/
    overflow: scroll;
    padding: 0 !important;
}

#msDonateDetailModal {
    overflow: hidden;
}

.slide-wrap {
    height: 175px;
}

.slider {
    width: 100%;
    height: 225px;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    -webkit-scroll-snap-points-x: repeat(225px);
    -ms-scroll-snap-points-x: repeat(225px);
    scroll-snap-points-x: repeat(225px);
    -webkit-scroll-snap-type: mandatory;
    -ms-scroll-snap-type: mandatory;
    scroll-snap-type: mandatory;
    /*scrollbar-width: none*/
}

.modal {
    overflow-y: auto;
}

.slider::-webkit-scrollbar {
    /*display: none !important;*/
}

.bg-mg-img {
    /*background-attachment: fixed;*/
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: local;
    background-blend-mode: multiply;
}

.text-white {
    color: #fff;
}

.slides > div:target {
    transform: scale(0.8);
}

.slide {
    width: 120px;
    flex-shrink: 0;
    height: 100%;
}

.ms-donate {
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    /*padding: 20px;*/
}

.txt-ms-donate {
    color: #6C5CE7;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.fs-16 {
    font-size: 14px;
}

.ms-donate-height {
    height: 250px;
}

.hiden-scroll-ms-donate {
    height: 300px;
    overflow: scroll;
}

.ms-donate-img {
    width: 100%;
    display: grid;
    border: 1px solid rgba(116, 123, 126, 0.1);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}
.ms-donate-img img {
    width: 100%;
    object-fit: contain;
}


.ms-donate-btn-back {
    left: 0;
    top: 17px;
}

.brd-8 {
    border-radius: 8px;
}

.w-200p {
    width: 450px;
}

.bg-ms-donate {
    background-color: #6C5CE7;
}

.pb-200 {
    /*padding-bottom: 200px;*/
}

.ms-black {
    color: #2f3133;
}

.btn-donate {
    font-size: 12px;
}

.f-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px
}

.col-8 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%
}

.col-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.text-center {
    text-align: center !important
}

.w-100 {
    width: 100% !important
}

.out-line-0 {
    outline: 0;
}

.ms-title{
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #393E40;
    height: auto !important;
}

.modal-fullscreen .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
    margin-top: 0;
    overflow: auto;
}

@media (max-width: 320px) {
    /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
    .m-auto {
        margin: 0 !important;
    }

    .ms-donate-height {
        height: 200px;
    }

    .modal {
        max-height: 100%;
        overflow: scroll;
    }

    .modal-fullscreen {
        width: 100vw;
        max-width: none;
        /*height: 120%;*/
        margin: 0
    }

    .modal-fullscreen .modal-header {
        border-radius: 0
    }

    .modal-fullscreen .modal-body {
        overflow-y: auto
    }

    .modal-fullscreen .modal-footer {
        border-radius: 0
    }

    #msDonateModal {
        padding: 0 !important;
    }

    .modal-fullscreen {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }
}

@media (max-width: 480px) {
    /* smartphones, Android phones, landscape iPhone */
    #msDonateModal {
        padding: 0 !important;
    }

    .m-auto {
        margin: 0 !important;
    }

    .modal {
        max-height: 100%;
        overflow: scroll;
    }

    .ms-donate-height {
        height: 200px;
    }

    .modal-fullscreen {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen .modal-header {
        border-radius: 0
    }

    .modal-fullscreen .modal-body {
        overflow-y: auto
    }

    .modal-fullscreen .modal-footer {
        border-radius: 0
    }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {

    .modal {
        max-height: 100%;
    }

    .msDonateModal {
        padding: 0 15px !important;
    }
}

.fs-18 {
    font-size: 18px;
    padding: 5px;
    font-weight: 600;
}

/* Header fixed to the top of the modal */
.modal-header--sticky {
    position: sticky;
    top: 0;
    background-color: inherit; /* [1] */
    z-index: 1055; /* [2] */
}

/* Footer fixed to the bottom of the modal */
.modal-footer--sticky {
    position: sticky;
    bottom: 0;
    background-color: inherit; /* [1] */
    z-index: 1055; /* [2] */
}
.card {
    border-radius: 0 !important;
}
.card .card-header {
    background-color: unset;
    border-bottom: none;
}
.card .card-body {
    padding: 15px !important;
}

.cash-bonus {
    color: #E84493;
    font-size: 14px;
    font-weight: 700;
}
.cash-bonus i {
    margin-right: 7px;
    color: #FB7DBA;
}

.box-donate {
    cursor: pointer;
    background-repeat: no-repeat !important;
    background-size: 100% 100% !important;
}
@media (min-width: 525px) {
    .box-donate {
        background: url('../../assets/images/donate/banner-donate-desktop.png') center center;
        height: 82px;
    }
}
@media (max-width: 524px) {
    .box-donate {
        background: url('../../assets/images/donate/banner-donate-mobile.png') center center;
        height: 124px;
    }
}

.contents .content-item.content-bg-green .content-item__icon {
    background-color: #e6fcf0;
}
.contents .content-item.content-bg-green .content-item__icon i {
    color: #12b76a;
}
.contents .content-item.content-bg-green .content-item__detail {
    background-color: #e6fcf0;
}
.contents .content-item.content-bg-green .content-item__detail .content-item__title {
    color: #008241;
}
.contents .content-item.content-bg-green .content-item__detail .content-item__desc {
    color: #12b76a;
}
.contents .content-item.content-bg-green .content-item__detail::after {
    background: linear-gradient(180deg, #b8f4d6 0%, rgba(184, 244, 214, 0) 100%);
}
.contents .content-item.content-bg-pink .content-item__icon {
    background-color: #ffe8f4;
}
.contents .content-item.content-bg-pink .content-item__icon i {
    color: #e84493;
}
.contents .content-item.content-bg-pink .content-item__detail {
    background-color: #ffe8f4;
}
.contents .content-item.content-bg-pink .content-item__detail .content-item__title {
    color: #991558;
}
.contents .content-item.content-bg-pink .content-item__detail .content-item__desc {
    color: #e84493;
}
.contents .content-item.content-bg-pink .content-item__detail::after {
    background: linear-gradient(180deg, #ffc2e0 0%, rgba(255, 194, 224, 0) 100%);
}
@media (max-width: 677px) {
    .contents .content-item {
        position: relative;
        display: flex;
        align-items: center;
    }
    .contents .content-item .content-item__icon {
        width: 40px;
        height: 40px;
        border-radius: 40px;
        margin-right: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .contents .content-item .content-item__icon i {
        font-size: 20px;
        color: #12b76a;
    }
    .contents .content-item .content-item__detail {
        position: relative;
        overflow: hidden;
        flex: 1;
        padding: 10px 25px 10px 10px;
        border-radius: 8px;
    }
    .contents .content-item .content-item__detail .content-item__title {
        font-weight: 700;
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 5px;
    }
    .contents .content-item .content-item__detail .content-item__desc {
        font-weight: 600;
        font-size: 12px;
        line-height: 18px;
    }
    .contents .content-item .content-item__detail::after {
        content: '';
        position: absolute;
        right: -13px;
        top: 10px;
        width: 42px;
        height: 42px;
        border-radius: 42px;
        background: linear-gradient(180deg, #b8f4d6 0%, rgba(184, 244, 214, 0) 100%);
    }
    .contents .content-item:not(:last-child) {
        margin-bottom: 20px;
    }
    .contents .content-item:not(:last-child):after {
        content: '';
        position: absolute;
        left: 19px;
        bottom: -26px;
        width: 2px;
        height: 50%;
        background: #dddedf;
        border-radius: 2px;
    }
}
@media (min-width: 678px) {
    .contents {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .contents .content-item {
        width: 48%;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .contents .content-item .content-item__icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
        border-radius: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .contents .content-item .content-item__icon i {
        font-size: 20px;
        color: #12b76a;
    }
    .contents .content-item .content-item__detail {
        width: 100%;
        position: relative;
        overflow: hidden;
        flex: 1;
        padding: 15px 10px;
        border-radius: 8px;
        text-align: center;
    }
    .contents .content-item .content-item__detail .content-item__title {
        font-weight: 700;
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 10px;
    }
    .contents .content-item .content-item__detail .content-item__desc {
        font-weight: 600;
        font-size: 14px;
        line-height: 18px;
    }
    .contents .content-item .content-item__detail::after {
        content: '';
        position: absolute;
        right: -13px;
        top: 10px;
        width: 42px;
        height: 42px;
        border-radius: 42px;
        background: linear-gradient(180deg, #b8f4d6 0%, rgba(184, 244, 214, 0) 100%);
    }
}

.modal-dialog {
    max-width: 872px !important;
}
#ms-d-img {
    width: 104px;
    height: 104px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(116, 123, 126, 0.1);
}
.donate-item {
    cursor: pointer;
}
.card-header-title {
    width: 75%;
    font-weight: 700;
    text-transform: uppercase;
    color: #393E40;
}
@media (min-width: 678px) {
    .card-header-title {
        font-size: 18px;
    }
}
@media (max-width: 677px) {
    .card-header-title {
        font-size: 16px;
    }
}


