﻿#M2-Offer {
    margin: 0px 0;
    background: #ffebff;
    border: .08625em solid #ccc;
    font-family: "Arial";
    text-align: left;
    max-width: none;
    padding: 0px;
    box-sizing: border-box;
    display: table;
}

#M2O-wrapper {
    padding: 0;
    display: table-row;
}

#M2-Offer .offer-image,
#M2-Offer .offer-content,
#M2-Offer .offer-options,
#M2-Offer .offer-message {
    box-sizing: border-box;
    display: table-cell;
    float: none;
    vertical-align: middle;
    padding: 5px;
}


#M2-Offer .offer-image {
    width: 121px;
    text-align: center;
    padding: 0;
    margin: 0;
    vertical-align: middle;
}

    #M2-Offer .offer-image img {
        width: 90px !important;
        min-width: 90px !important;
        display: inline;
        padding: 10px 0;
    }

#M2-Offer .offer-content {
    width: 262px;
    position: relative;
}

#M2-Offer .offer-options {
    width: 383px;
    text-align: center;
}

    #M2-Offer .offer-options a {
        text-decoration: underline;
        color: #943579;
    }


/* Small devices (768px and up) */
@media (min-width: 768px) {
    #M2-Offer .offer-options a {
        margin: 1em auto 0;
        text-align: center;
    }

    #M2-Offer .offer-content {
        width: 262px;
    }

    #M2-Offer .offer-options {
        width: 383px;
    }
}

@media (min-width: 992px) {
    #M2-Offer .offer-content {
        width: 362px;
    }

    #M2-Offer .offer-options {
        width: 283px;
    }
}

#M2-Offer .offer-options a.refund-details {
    display: block;
    margin-bottom: 3px;
}

#M2-Offer #M2O-additional-offer-trigger {
    margin-left: 5px;
    border-left: 1px solid #943579;
    padding-left: 5px;
}

#M2-Offer .loyalty #M2O-additional-offer-trigger {
    margin-left: 0;
    margin-right: 5px;
    border-left: 0;
    border-right: 1px solid #943579;
    padding-left: 0;
    padding-right: 5px;
}

#M2-Offer .offer-message {
    width: 354px;
    text-align: left;
    text-transform: uppercase;
    color: #21a700;
    font-weight: bold;
    font-size: 15px;
    float: left;
    margin-left: 112px;
}

/* Small devices (768px and up) */
@media (min-width: 768px) {
    #M2-Offer .offer-message {
        width: 191px;
        float: none;
        text-align: center;
        padding-right: 20px;
        margin-left: 0;
    }
}

#M2-Offer h3 {
    margin: 0 0 10px 0;
    padding: 0;
    font-family: arial, helvetica, sans-serif;
    font-weight: bold;
    color: #333;
}

#M2-Offer h4 {
    font-family: arial, helvetica, sans-serif;
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 10px;
    color: #333;
    font-weight: normal;
}

#M2O-additional-offers h5 {
    color: #562553;
    font-size: 18px;
    padding-bottom: 10px;
}

#M2O-additional-offers {
    background: linear-gradient(to bottom, #f2f2f2, #FCFCFC, #f2f2f2);
    border-top: 1px solid #ccc;
    text-align: center;
}

    #M2O-additional-offers img:hover {
        opacity: .85;
    }

    #M2O-additional-offers.closed {
        border-top: 0;
        padding-bottom: 0px;
    }

#M2-Offer .offer-content p {
    color: #333;
}

#M2-Offer .offer-content a,
#M2-Offer .offer-content a:link,
#M2-Offer .offer-content a:visited {
    color: #333;
}

#M2-Offer a.dismiss-offer {
}

/* Overlay Details */

#M2O-refund-details-bg {
    z-index: 999;
    position: fixed;
}

#M2O-refund-details {
    width: 720px;
    margin-left: -360px;
    height: 360px;
    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 {
        position: relative;
    }

        #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: -1em;
            right: -1em;
            z-index: 10;
            display: inline-block;
            background: #943579;
            border-radius: 10em;
            color: #fff;
            border: 0;
            width: 50px;
            height: 50px;
            text-align: center;
            line-height: 1;
            cursor: pointer;
            text-decoration: none;
            font-family: Helvetica, Arial, sans-serif;
            font-size: 45px;
        }



.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 #d3d3d3;
    border-width: 1px;
    padding: .5em .5em 1em;
    background: #f2f2f2;
    overflow: scroll !important;
    margin: 1em 0;
    height: 270px;
}

#M2O-refund-details.loyalty iframe {
    border-width: 1px 1px 0;
    padding: .5em .5em 0;
    margin: 1em 0 0;
    height: 200px;
}


.M2O-overlay-footer {
    font-size: 12px;
    color: #333;
    background: #f2f2f2;
    border: solid #d3d3d3;
    border-width: 0 1px 1px;
    position: relative;
    top: -6px;
    padding: 0 1em 1em;
    margin-bottom: 1em;
}

.M2O-overlay-footer-container {
    border: solid #d8d8d8;
    border-width: 1px 0 0;
    padding-top: 10px;
}

.M2O-footer-copyright {
    margin-top: 3px;
}

.M2O-overlay-footer a {
    color: #333;
    text-decoration: underline;
}

    .M2O-overlay-footer a.M2O-footer-decline,
    .M2O-overlay-footer .M2O-terms-use a {
        margin-right: 10px;
        border-right: 1px solid #943579;
        padding-right: 10px;
    }

.M2O-overlay-footer .M2O-presented-by {
    margin-right: 19px;
}

@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.loyalty {
            height: 75vh;
            margin-top: -48vh;
            padding-bottom: 0;
        }

        #M2O-refund-details header a {
            z-index: 10;
            top: -9px;
            right: 0;
            font-size: 35px;
            width: 40px;
            height: 40px;
        }

    .M2O-close-icon {
        position: relative;
    }

    #M2O-refund-details iframe {
        height: 60vh;
    }

    #M2O-refund-details.loyalty iframe {
        height: 34vh;
    }
}

@media only screen and (max-width : 746px) {
    #M2O-refund-details {
        min-width: 0;
        width: 96% !important;
        margin-left: -48%;
    }
}


/* 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,
    #M2O-refund-details.loyalty 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%;
    }

    .loyalty .M2O-scroll-wrapper {
        padding: .5em .5em 0;
        margin: 1em 0 0;
        height: 68%;
    }

    .M2O-overlay-footer .M2O-presented-by {
        display: block;
    }
}


#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;
    }

/* Mobile/Phone ----------- */

@media only screen and (max-width : 752px) {
    #M2-Offer,
    #M2O-wrapper,
    #M2-Offer .offer-image,
    #M2-Offer .offer-content,
    #M2-Offer .offer-options {
        display: block;
    }

        #M2-Offer .offer-image {
            width: 112px;
            float: left;
        }

            #M2-Offer .offer-image img {
                padding: 10px;
            }

        #M2-Offer .offer-content {
            width: calc(100% - 112px);
            float: left;
            padding-bottom: 0;
        }

        #M2-Offer h3,
        #M2-Offer h4 {
            margin: 0 0 3px 0;
        }


        #M2-Offer .offer-options {
            float: left;
            width: auto;
            text-align: left;
        }

            #M2-Offer .offer-options a.refund-details {
                padding-top: 0;
                margin-top: 0;
            }

            #M2-Offer .offer-options span {
                display: inline !important;
            }
}

@media only screen and (max-width : 458px) {
    #M2-Offer .offer-message {
        display: none;
    }
}
