/*
 *  Remodal - v1.1.1
 *  Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   Remodal's necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
    overflow: hidden;
      position: fixed;
      width: 100%;

    -ms-touch-action: none;
    touch-action: none;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
    display: none;
}

/* Necessary styles of the overlay */

.remodal-overlay {
    position: fixed;
    z-index: 9999;
    top: -5000px;
    right: -5000px;
    bottom: -5000px;
    left: -5000px;

    display: none;
}

/* Necessary styles of the wrapper */

.remodal-wrapper {
    position: fixed;
    z-index: 10000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    display: none;
    overflow: auto;

    text-align: center;

    -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
    display: inline-block;

    height: 100%;
    margin-left: -0.05em;

    content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */

.remodal {
    position: relative;

    outline: none;

    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.remodal-is-initialized {
    /* Disable Anti-FOUC */
    display: inline-block;
}

/***/
.remodal-bg.benefitstheme.remodal-is-opening,
.remodal-bg.benefitstheme.remodal-is-opened {
    filter: none;
}

.remodal-overlay.benefitstheme {
    background-color: rgba(255, 255, 255, 0.95);
}

.remodal.benefitstheme {
    background-color: #fff;
    border: 3px solid #d16187;
    border-radius: 10px;
    background-image: url(city.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: bottom;
}

.coin{position: relative;}
.coin::before {
    position: absolute;
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    bottom: 0;
    right: 60px;
    animation: floating-y-01 1.8s ease-in-out infinite alternate-reverse;
    background-image: url(coin_s1.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.coin::after {
    position: absolute;
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    bottom: 60px;
    right: 0;
    animation: floating-y-02 1.2s ease-in-out infinite alternate-reverse;
    background-image: url(coin_s2.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    margin-right: -35px;
}

@keyframes floating-y-01 {
    0% {
        transform: translateY(-10%);
    }

    100% {
        transform: translateY(10%);
    }
}

@keyframes floating-y-02 {
    0% {
        transform: translateY(6%);
    }

    100% {
        transform: translateY(-6%);
    }
}

.modalTitle {
    font-weight: 700 !important;
    font-size: 1.3rem;
}

@media only screen and (max-width: 767px) {
    .coin::before {
        width: 30px;
        height: 30px;
        bottom: 0;
        right: 50px;
    }

    .coin::after {
        width: 50px;
        height: 50px;
        bottom: 40px;
        right: 0;
    }


}

@media only screen and (max-width: 575px) {
    .remodal.benefitstheme {
        background-image: url(city_sp.png);
    }


}