h1#offerwall-header {
    font-family: "Lato", sans-serif;
    font-size: 30px;
    text-align: center;
    color: #009245;
    font-weight: 600;
}
.offerwall-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /*
    gap: 16px;
*/
    padding: 16px 5px;
    padding-bottom: 0px;
}

.offerwall-card {
    position: relative;
    display: flex;
    background-color: #FFF;
    overflow: hidden;
    width: calc(50% - 50px);
    max-width: 100%;
    /*
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    box-sizing: content-box;
*/
    margin-bottom: 12px;
}
.offerwall-card-wrapper {
    position: relative;
    display: flex;
    border: solid 15px #F6F6F6;
    border-left: solid 20px #F6F6F6;
    border-right: solid 20px #F6F6F6;
    border-radius: 10px;
    min-width: 100%;
}

.offerwall-card-left {
    flex: 1;
    border-radius: 10px;
}

.offerwall-card-left img {
    width: 100%;
    height: auto;
    object-fit: cover;
    padding: 7px;
}

.offerwall-card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 7px;
    border-radius: 10px;
}

.offerwall-card-right .element {
    margin-bottom: 16px;
}

.offerwall-card-right .element:last-child {
    margin-bottom: 0;
}

.offerwall-element h3 {
    font-family: "Lato", sans-serif;
    color: #009245;
    font-size: 20px;
    font-weight: 600;
}
.offerwall-element p {
    font-family: "Lato", sans-serif;
    color: #858585 !important;
    font-size: 14px !important;
    font-weight: normal !important;
    text-align: left !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    margin-bottom: 7px !important;
    padding: 0 !important;
}

button.offerwall-button {
    font-family: "Lato", sans-serif;
    background: #ff6900;
    margin-bottom: 5px;
    padding: 10px;
    border-radius: 7px;
    max-width: 100%;
    width: 100%;
}

img.white-arrow {
    width: 20px;
    margin-top: 4px;
}

span.offerwall-btn-left-span {
    float: left;
    font-size: 18px;
}
span.offerwall-btn-right-span {
    float: right;
}

.divider-01 {
    position: relative;
}
img#cash-roll-img {
    position: absolute;
    width: 135px;
    top: -60px;
    border: 0;
    left: calc(50% - 65px);
}

.offerwall-next-header {
    color: #FFF;
    padding: 10px;
    padding-left: 12px;
    font-size: 20px;
    font-weight: 600;
    font-family: "Lato", sans-serif;
    margin: 0 !important;
}

.offerwall-skip-text {
    font-family: "Lato", sans-serif;
    color: #858585;
    font-size: 12px;
    margin-top: 25px;
    text-align: center;
}
.offerwall-skip-button {
    background: #009245;
    margin-top: 15px;
    margin-bottom: 25px;
    width: 250px;
    margin-left: auto;
    margin-right: auto;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 7px;
    cursor: pointer;
}
.offerwall-skip-button img,
.offerwall-next-right-span img {
    width: 22px;
    margin-right: 12px;
}

/* Style for the overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(246, 246, 246, 0.7); /* Gray with opacity */
    pointer-events: none; /* Prevent interactions with the overlay itself */
    opacity: 0;
    transition: opacity 0.5s, visibility 0.5s;
    visibility: hidden;
}

/* Show the overlay and make it intercept all interactions */
.faded .overlay {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

/* Media Queries */
@media (max-width: 768px) {
    .offerwall-card {
        width: calc(100% - 16px);
        flex-direction: column;
    }
    .offerwall-card-left, .offerwall-card-right {
        width: 100%;
    }
}
@media (max-width: 500px) {
    img#cash-roll-img {
        width: 120px;
        top: -50px;
    }
    h1#offerwall-header {
        font-size: 25px;
        line-height: 1.2;
    }
    .midbath-box-hdr {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }
    .offerwall-card-left, .offerwall-card-right {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 5px;
    }
}

