.scratchandwin-banner {
    position: relative;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.scratchandwin-banner .scratchandwin-image {
    width: 100%;
}

.scratchandwin-details-wrapper {
    position: absolute;
}

.scratchandwin-details-wrapper .swiper-pagination-container {
    display: none;
}

.scratchandwin-banner .scratch-promo-description {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 30px;
    left: 30px;
    -webkit-transition: opacity .3s ease;
    -moz-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

.scratchandwin-banner .scratch-promo-description.show {
    opacity: 1;
    visibility: visible;
}

.scratchandwin-details-container {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.scratchandwin-details-container .scratchpad-box-container {
    display: inline-block
}

.scratchandwin-details-container .scratchpad-box {
    text-align: center;
}

.scratchandwin-details-container .scratchpad-box.scratched,
.scratchandwin-details-container .scratchpad-box.scratched p {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    color: #333333;
}

.scratchandwin-details-container .scratchpad-box>a {
    display: block;
    cursor: pointer;
}

.scratchandwin-details-container .scratchpad {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 20px;
}

.scratchandwin-details-container .scratchpad-box .scratch-out-text {
    margin-top: 15px;
    width: 100%;
    display: none;
}

.scratchandwin-details-container .scratchpad .placeholder,
.scratchandwin-details-container .scratchpad .placeholder-scratched {
    pointer-events: none;
    display: none;
}

.scratchandwin-details-container .scratchpad canvas {
    z-index: 9;
}

.scratchandwin-details-container .scratchpad .scratch-promo {
    position: absolute;
    z-index: 1;
}

@media only screen and (max-width: 991px) {
    .scratchandwin-banner {
        display: block;
    }
    .scratchandwin-details-wrapper {
        position: relative;
        right: 0;
        left: 0;
        bottom: 0;
        top: 0;
    }
    .scratchandwin-details-container {
        -webkit-align-items: center;
        -ms-align-items: center;
        align-items: center;
        justify-content: flex-start;
        -webkit-justify-content: flex-start;
        flex-wrap: nowrap;
        -webkit-flex-wrap: nowrap;
    }
    .scratchandwin-details-container .scratchpad {
        margin: 0;
    }
    .scratchandwin-description * {
        color: #000000 !important;
        font-size: 3.4rem !important;
        margin-top: 10px;
    }
    .scratchandwin-details-wrapper .swiper-pagination-container {
        width: 100%;
        z-index: 99;
        bottom: 0;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-align-items: center;
        -ms-align-items: center;
        align-items: center;
        justify-content: center;
        -webkit-justify-content: center;
        padding: 15px 0px;
    }
    .scratchandwin-details-wrapper .swiper-pagination {
        position: relative;
    }
    .scratchandwin-banner .scratch-promo-description {
        position: relative;
        left: 0;
        top: 0;
        text-align: center;
    }
}

@media only screen and (min-width: 992px) {
    .scratchandwin-details-container .scratchpad-box {
        width: auto !important;
    }
}