.offer {
    margin: 0 -10px;
    padding: 10px;
    border-bottom: 1px solid #f6f6f6;
    border-radius: 10px;
    background: #fff;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

.offer:hover,
.offer-sharing {
    background: #f4f4f4;
    border-color: transparent;
}

.offer-revealed, .offer-revealed:hover,
.offer-main, .offer-main:hover,
.offer-expired.offer-main, .offer-expired.offer-main:hover{
    border: 2px solid #999;
    border-radius: 20px;
    margin: 10px -12px
}

.offer-main-live, .offer-main-live:hover, .offer-alt, .offer-alt:hover {
    border: 0px none;
    border-bottom: 2px solid #999;
    border-radius: 0px;
    margin: 10px -12px
}

.slide-in .offer-revealed {
    border: 0;
    padding: inherit;
}

.offer-meta {
    text-align: right;
    color: #999;
    margin-bottom: 3px;
}

.offer-meta li {
    padding-right: 5px;
    display: inline-block;
    *display: inline; /*IE7*/
    zoom: 1;
    float: none;
}

.offer-days-left {
    color: #ce2129;
}

.offer-logo {
    float: left;
    margin: 0 20px 9px 0;
    background: #fff;
    -webkit-transition: border-color 0.2s ease-out;
    -moz-transition: border-color 0.2s ease-out;
    -o-transition: border-color 0.2s ease-out;
    -ms-transition: border-color 0.2s ease-out;
    transition: border-color 0.2s ease-out;
}

.offer-logo:hover,
.offer-logo:focus {
    text-decoration: none;
    border-color: #ccc;
}

.offer-content {
    margin: -3px 0 0;
    width: 418px;
    float: left;
}

h3.offer-heading {
    font-size: 1em;
    display: inline;
}

div.offer-heading {
    padding-bottom: 12px;
}

div.offer-heading-title {
    float: left;
    width: 400px;
}

div.offer-heading-title-small {
    float: left;
    width: 350px;
}

div.offer-heading-date {
    float: right;
    white-space: nowrap;
}

.offer-title, .offer-title-internal {
    /*The line below contains a misspelled property, but when corrected it was disrupting the layout (expired and
    the offer title weren't staying on the same line anymore*/
    /*dispplay: inline-block;*/
    padding-right: 10px;
    margin-bottom: 5px;
    line-height: 1.5em;
    text-decoration: underline;
}

.offer-outlink {
    z-index: 2;
}

.offer-footer {
    display: inline;
}

.offer-footer .offer-store {
    font-weight: normal;
    display: inline;
}

.offer-footer-links {
    margin-top: 7px;
}
.offer-footer-links a {
    display: inline-block;
    padding: 2px 5px;
    background: #fefefe;
    border-radius: 4px;
    margin-left: 5px;
    box-shadow: inset 0 -1px 0 0 white, 0 1px 2px rgba(0, 0, 0, 0.15);
}
.offer-store a:first-child {
    margin-left: 0;
}

.offer-reveal-holder {
    margin: 5px 0;
}

.offer-info .offer-info-heading {
    color: #000;
}

.offer-worked {
    float: right;
    margin-right: 10px;
    padding: 10px 50px 20px 10px;
    font-weight: bold;
    *display: inline; /*IE7*/
    zoom: 1; /*IE7*/
}

.yes-button, .no-button {
    font-weight: bold;
    font-size: 30px;
    padding: 10px;
    margin-right: 5px;
}

.offer-worked-header {
    margin: 0 0 5px;
}

.offer-info {
    float: left;
    width: 400px;
    padding-top: 20px;
}

.offer-info a {
    text-decoration: underline;
}

.offer-info p {
    color: #666;
}

.offer-info p:last-child {
    margin: 0;
}

.offer-info strong {
    color: #000;
}

.offer-feedback {
    display: none;
    clear: both;
    margin-top: 20px;
}

.no-js .offer-feedback {
    display: block;
}

.offer-code {
    background: #fff;
    display: inline-block;
    *display: inline; /*IE7*/
    zoom: 1;
    padding: 3px 10px 3px 15px;
    margin-left: -7px;
    position: relative;
    z-index: 0;
    border: 2px solid #0098c3;
    border-width: 2px 2px 2px 0;
    border-radius: 5px;
    font-weight: bold;
}

.filter-page .offer-code,
.promo-page .offer-code {
    border-width: 2px;
}


.offer-share {
    border: 1px solid #EDEDED;
    background: #fff;
    clear: both;
    margin-top: 10px;
    padding: 10px;
    text-align: center;
    display: none;
    border-radius: 10px;
}

.offer-share.opened {
    display: block;
}

.offer-share.loading {
    background: url('[MMSTATIC]/images/layout/preloader.gif[/MMSTATIC]') no-repeat center center #fff;
    min-height: 50px;
}

.offer-share-label {
    text-align: center;
    font-weight: bold;
}

.offer-share-buttons {
    display: inline-block;
}

.socialised {
    display: inline-block;
    *display: inline;
    zoome: 1;
}

.socialised.twitter {
    margin-right: 10px;
}

.socialised.facebook iframe {
    width: 60px;
    height: 60px;
}

.no-js .offer-share {
    display: block;
}

/*IE7 layout fix for FB like*/
.ie7 .fb-like {
    display: inline-block;
    display: inline;
    zoom: 1;
}

.expired-offer-heading {
    color: #00bfff;
    margin: 5px 0 20px;
}

/*Expired Offers*/
.expired-logo {
    display: table;
    line-height: 1em;
    height: 70px;
}

.expired-logo:after {
    background: none;
}

.expired-logo-content {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    color: #999;
}

.expired-logo-content p:last-child {
    margin: 0;
}

.offer-expired,
.offer-expired:hover,
.offer-expired:focus {
    border: 0;
}

.offer-expired .offer-code,
.offer-lightbox-code-content.expired{
    border-color: #ededed;
    color: #999;
    text-decoration: line-through;
}

.offer-expired-label {
    margin-left: 10px;
    color: #999;
}
.offer-expired .store-logo::after {
    background: none;
}

/*Offer Detail Page*/

.offer-main-info-section {
    margin: 20px 0;
    clear:both;
}

/*Generic offer widget styles (these are things like the signup box, follow links, and similar stores that appear inline in offer columns*/
.offer-widget{
    position: relative;
    margin: 20px 0;
}
.offer-widget {
    position: relative;
    background: #e3f4f8;
    border: 1px solid #bfe5f0;
    border-bottom: 1px solid #fff, 1px solid #bfe5f0;
    padding: 20px;
    background: #e3f4f8;
    background: -moz-linear-gradient(top, #e3f4f8 80%, #d2edf4 98%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(80%,#e3f4f8), color-stop(98%,#d2edf4)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #e3f4f8 80%,#d2edf4 98%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #e3f4f8 80%,#d2edf4 98%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #e3f4f8 80%,#d2edf4 98%); /* IE10+ */
    background: linear-gradient(top, #e3f4f8 80%,#d2edf4 98%); /* W3C */
    box-shadow: inset 0px -1px 2px 0px #fff;
    border-radius: 12px;
}


/*Offer lightbox*/

.offer-lightbox {
    clear: both;
}

.offer-lightbox-sidebar {
    float: left;
    width: 162px;
    margin-right: 20px;
}
.offer-lightbox-main {
    float: left;
    width: 740px;
}

.offer-lightbox-title-code {
    margin-top: 20px;

}
.offer-lightbox-title {
    font-size: 30px;
    line-height: 1.2em;
}
.offer-lightbox-terms-link,
.offer-lightbox-info-label {
    display: block;
    text-align: right;
}

.offer-lightbox-terms-link {
    text-decoration: underline;
}



.offer-lightbox-info,
.offer-lightbox-terms-code {
    padding-top: 10px;
}



.offer-lightbox-code {
    background: #34b233;
    padding: 3px;
    border-radius: 12px;
    margin-bottom: 20px;

}


.offer-lightbox-code-label {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 30%;
    padding: 8px 10px;
    margin: 0;
    float: left;
    color: #fff;
}
.offer-lightbox-code-content {
    position: relative;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 70%;
    padding: 20px;
    margin: 0;
    float: left;
    background: #fff;
    border-radius: 0 9px 9px 0;
    text-align: center;
}
.offer-lightbox-code-content::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 19px;
    height: 63px;
    background: url('[MMSTATIC]/images/layout/code-triangle.png[/MMSTATIC]') no-repeat;
}

/*lightbox signup widget*/
.offer-lightbox-signup {
    width: 400px;
    float: left;
    margin: 0 20px 0 0;
}
.offer-lightbox-signup .signup-offer-widget-heading {
    font-weight: bold;
    margin-bottom: 8px;
    padding-left: 65px;
    min-height: 50px;
    width: auto;
}

.offer-lightbox-signup .signup-offer-widget-form {
    width: 100%;
}
.offer-lightbox-signup .signup-offer-widget-form .field-submit {
    width: 1px; /*collapse cell*/
}
.offer-lightbox-signup .signup-offer-widget-container {
    position: relative;
}
.offer-lightbox-signup .signup-offer-widget-container::before {
    content: '';
    display: block;
    width: 160px;
    height: 60px;
    position: absolute;
    left: -13px;
    top: -54px;
    background: url('[MMSTATIC]/images/graphics/envelope-tilted.png[/MMSTATIC]') no-repeat;
}
.offer-lightbox-signup .signup-offer-widget-heading-text {
    display: inline-block;
    vertical-align: middle;
}

.offer-lightbox-terms {
    width: 740px;
    float: right;
    margin-top: 10px;
}

.offer-lightbox-terms-content-text {
    max-height: 100px;
    overflow: auto;
    margin-bottom: 16px;
}

/*Social widget*/
.offer-lightbox-social {
    width: 415px;
    min-height: 137px;
    float: left;
    background: #d9f0f6;
    border-radius: 10px;
    padding: 20px;
    text-align: center;

}
.offer-lightbox-social.wide {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}
.offer-lightbox-social-heading {
    padding: 0 30px;
    text-shadow: 0 1px 2px #fff;
}
.fancybox-wrap .offer-lightbox-social iframe {
    vertical-align: baseline;
}
.offer-lightbox-mobile-apps > li {
    margin-right: 10px;
}
.offer-lightbox-mobile-subtext {
    color: #008cb4;
    text-shadow: 0 0 4px #fff, 0 1px 2px rgba(0,0,0,0.5);
}
.button-mobile,
.cssgradients .button-mobile {
    margin-left: 10px;
    padding-left: 30px;
    border-bottom-color: #fff200;
    background: url('[MMSTATIC]/images/icons/mobile-icon2.png[/MMSTATIC]') no-repeat 5px 2px #fff200;
    color: #666;
    text-shadow: 0 1px 1px #fff;
}
.button-mobile:hover,
.cssgradients .button-mobile:hover,
.button-mobile:focus,
.cssgradients .button-mobile:focus {
    background-color: #FFF458;
}