﻿#M2-Offer {
    margin: 0px 0;
    background: #fff;
    border: 1px solid rgba(208,213,220);
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    text-align: left;
    max-width: none;
    padding: 16px 12px;
    box-sizing: border-box;
}

#M2O-wrapper {
    padding: 0;
}

#M2-Offer .offer-image,
#M2-Offer.M2O-offer-content {
    float: left;
}

#M2-Offer .offer-image {
    width: 30%;
    text-align: center;
    padding: 0 !important;
    margin-bottom: 10px;
}

    #M2-Offer .offer-image img {
        width: 100%;
        min-width: 0 !important;
        max-width: 75px !important;
        margin: 0 auto;
        text-align: center;
    }

#M2-Offer #M2O-offer-content {
    width: 70%;
    margin-bottom: 10px;
}

#M2-Offer .offer-options {
    text-align: left;
    font-size: 80%;
    width: 70%;
}

    #M2-Offer .offer-options a {
        color: #79879A;
        font-weight: normal;
    }

#M2O-additional-offer-trigger {
    color: #49AED0 !important;
}

#M2O-additional-offers {
    text-align: center;
}


#M2-Offer .offer-message {
    display: none;
}

/* Additional Offers */

#M2O-additional-offers h5 {
    margin-top: 10px;
}

/* Headers */

#M2-Offer h3 {
    color: #354050;
    font-size: 1rem;
    line-height: 1.25em;
}

#M2-Offer h4 {
    font-size: 80%;
    line-height: 1.25em;
    color: #79879A !important
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

    #M2-Offer .offer-options {
        float: left;
        width: 43%;
    }

    #M2-Offer .offer-message {
        float: left;
        width: 26%;
        font-size: 80%;
        text-align: right;
        color: #00A362;
        font-weight: bold;
        text-transform: uppercase;
        display: block;
    }
}

/* Small devices (768px and up) */
@media (min-width: 768px) {
    #M2-Offer .offer-message {
        display: block;
    }
}

/* Small devices (992px and up) */
@media (min-width: 992px) {

    #M2-Offer .offer-image {
        width: 25%;
        padding: 0 15px !important;
        margin-bottom: 99px;
    }

    #M2-Offer h3 {
        color: #354050;
        font-size: 1rem;
        line-height: 1.25em;
    }


    #M2-Offer h4 {
        margin-bottom: 0;
    }

    #M2-Offer .offer-options {
        width: 65%;
        font-size: 10px;
    }


    #M2-Offer .offer-message {
        width: 65%;
        font-size: 68%;
        display: block;
        text-align: left;
        margin-top: 5px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 1200px) {

    #M2-Offer .offer-image {
        width: 29%;
        margin-bottom: 32px;
    }

    #M2-Offer .offer-options {
        width: 48%;
    }

    #M2-Offer .offer-message {
        width: 20%;
        float: left;
        text-align: right;
        margin-top: 0;
    }
}



#M2-Offer .refund-details {
    display: block;
}

#M2-Offer .dismiss-offer {
    margin-right: 5px;
    padding-right: 5px;
    border-right: 1px solid #ccc;
}

#M2O-initial-offer {
    position: relative;
}

/* Refund Details / Overlay Details */

#M2O-refund-details-bg {
    z-index: 999;
    position: fixed;
}

#M2O-refund-details {
    width: 720px;
    margin-left: -360px;
    height: 368px;
    margin-top: -184px;
    position: fixed;
    top: 50%;
    left: 50%;
    bottom: 0;
    right: 0;
    background: #fff;
    z-index: 99999;
    padding: 20px;
    box-sizing: border-box;
}

    #M2O-refund-details header h1 {
        font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
        margin: 0;
        border-bottom: 1px solid #dbdbdb;
        padding: 0 0 .5em 0;
        font-size: 1.5em;
        text-align: left;
        text-transform: uppercase;
        font-weight: 500;
        line-height: 1.1;
    }


    #M2O-refund-details header a {
        position: absolute;
        top: -0.5em;
        right: -0.5em;
        z-index: 10;
        background: #C62931;
        border-radius: 10em;
        color: #fff;
        border: 0;
        font-size: 2.25em;
        padding: .1em .4em .3em;
        vertical-align: middle;
        line-height: 1;
        cursor: pointer;
        text-decoration: none;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    }


.scroll-wrapper {
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
    height: 100%;
    /* important:  dimensions or positioning here! */
}

#M2O-refund-details iframe {
    width: 100%;
    box-sizing: border-box;
    border: solid 1px #d3d3d3;
    padding: .5em .5em 1em;
    background: #f2f2f2;
    background: linear-gradient(to right, #f2f2f2, #fff, #f2f2f2);
    background: -webkit-linear-gradient(bottom, #f2f2f2, #fff, #f2f2f2);
    overflow: scroll !important;
    margin: 1em 0;
    height: 270px;
}

@media only screen and (max-width : 576px) {

    #M2O-refund-details {
        min-width: 0;
        width: 80% !important;
        margin-left: -40%;
        height: 72vh;
        margin-top: -36vh;
    }

        #M2O-refund-details header a {
            top: -.5em;
            right: -.5em;
            z-index: 10;
            font-size: 1.5em;
            padding: .1em .4em .3em;
        }

        #M2O-refund-details iframe {
            height: 60vh;
        }
}

@media only screen and (max-width : 746px) {
    #M2O-refund-details {
        min-width: 0;
        width: 80% !important;
        margin-left: -40%;
    }
}


/* iPhone Fix for scrollbar issues */

@media only screen and (min-device-width : 375px) and (max-device-width : 667px) { /* STYLES GO HERE */
    #M2O-refund-details iframe {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        border: 0;
        padding: 0;
        margin: 0;
    }

    .M2O-scroll-wrapper {
        -webkit-overflow-scrolling: touch;
        overflow-y: scroll;
        width: 100%;
        box-sizing: border-box;
        border: solid 1px #d3d3d3;
        padding: .5em .5em 1em;
        background: #f2f2f2;
        background: linear-gradient(to right, #f2f2f2, #fff, #f2f2f2);
        background: -webkit-linear-gradient(bottom, #f2f2f2, #fff, #f2f2f2);
        margin: 1em 0;
        height: 80%;
    }
}


#rebate-details {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    width: auto !important;
    height: auto !important;
    font-size: 14px;
    line-height: 18px;
    color: #333;
    font-family: Arial,verdana,georgia,sans-serif;
}

    #rebate-details a {
        cursor: pointer;
        color: #333;
    }
