/* Common style */
.offer figure {
    position: relative;
    width: 100%;
    background: #fff;
}

.offer figure .image-wrapper {
    background-color: #139FDC;
}

.offer figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 0.8;
}

.offer figure div.caption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.offer figure div.caption::before,
.offer figure div.caption::after {
    pointer-events: none;
}

.offer figure div.caption,
.offer figure div.caption > a {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.offer figure div.caption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.offer figure div.caption h2 {
    word-spacing: -0.15em;
}

.offer figure div.caption h2 span {
    font-weight: 800;
}

.offer figure div.caption h2,
.offer figure div.caption p {
    margin: 0;
}

.offer figure div.caption p {
    letter-spacing: 1px;
    font-size: 68.5%;
}

/*---------------*/
/***** Zoe *****/
/*---------------*/

figure.effect-zoe div.caption {
    top: auto;
    bottom: 3em;
    padding: 10px;
    height: 3em;
    background: #fff;
    color: #3c4a50;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
}

figure.effect-zoe div.caption h2 {
    float: left;
}

figure.effect-zoe div.caption p.icon-links a {
    float: right;
    color: #3c4a50;
    font-size: 1.4em;
}

figure.effect-zoe:hover div.caption p.icon-links a:hover,
figure.effect-zoe:hover div.caption p.icon-links a:focus {
    color: #252d31;
}

figure.effect-zoe:hover .additional-cost {
    opacity: 0;

    transition: opacity 0.15s;
    -webkit-transition: opacity 0.15s;
    -o-transition: opacity 0.15s;
}

figure.effect-zoe:hover .discount {
    height: 60px;
    width: 60px;
    background-color: rgba(255,255,255,0.8);
    color: #129fdb;

    transition: height 0.35s, width 0.35s, background-color 0.35s, color 0.35s;
    -webkit-transition: height 0.35s, width 0.35s, background-color 0.35s, color 0.35s;
    -o-transition: height 0.35s, width 0.35s, background-color 0.35s, color 0.35s;
}

figure.effect-zoe:hover .discount .circle {
    height: 50px;
    width: 50px;
    line-height: 50px;
    font-size: 18px;
    background-color: rgba(255,255,255,0.8);
    color: #129fdb;

    transition: height 0.35s, width 0.35s, line-height 0.35s, font-size 0.35s, background-color 0.35s, color 0.35s;
    -webkit-transition: height 0.35s, width 0.35s, line-height 0.35s, font-size 0.35s, background-color 0.35s, color 0.35s;
    -o-transition: height 0.35s, width 0.35s, line-height 0.35s, font-size 0.35s, background-color 0.35s, color 0.35s;
}

.offer.main-card figure.effect-zoe:hover .discount {
    height: 50px;
    width: 50px;
    opacity: 0;

    background-color: #129fdb;

    transition: opacity 0.35s, height 0.35s, width 0.35s, background-color 0.35s, color 0.35s;
    -webkit-transition: opacity 0.35s, height 0.35s, width 0.35s, background-color 0.35s, color 0.35s;
    -o-transition: opacity 0.35s, height 0.35s, width 0.35s, background-color 0.35s, color 0.35s;
}

.offer.main-card figure.effect-zoe:hover .discount .circle {
    height: 40px;
    width: 40px;
    opacity: 0;
    font-size: 1px;
    line-height: 1px;

    background-color: #129fdb;

    transition: opacity 0.35s, height 0.35s, width 0.35s, line-height 0.35s, font-size 0.35s, background-color 0.35s, color 0.35s;
    -webkit-transition: opacity 0.35s, height 0.35s, width 0.35s, line-height 0.35s, font-size 0.35s, background-color 0.35s, color 0.35s;
    -o-transition: opacity 0.35s, height 0.35s, width 0.35s, line-height 0.35s, font-size 0.35s, background-color 0.35s, color 0.35s;
}

figure.effect-zoe img {
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

figure.effect-zoe:hover img {
    opacity: 0.1;

    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

figure.effect-zoe div.caption p.description {
    position: absolute;
    bottom: 3em;
    height: 12em;
    font-size: 14px;
    padding: 1em;
    color: #fff;
    text-transform: none;
    opacity: 0;
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
    -webkit-backface-visibility: hidden; /* Fix for Chrome 37.0.2062.120 (Mac) */
    left: 70px;
    text-align: left;
}

.offer.main-card figure.effect-zoe div.caption p.description {
    bottom: 3em;
    left: 0;
    text-align: center;
    padding: 0 10px;
    height: 8em;
}

figure.effect-zoe div.caption h2,
figure.effect-zoe div.caption p.icon-links a {
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0, 200%, 0);
    transform: translate3d(0, 200%, 0);
}

figure.effect-zoe div.caption p.icon-links a span::before {
    display: inline-block;
    padding: 0;
    speak: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-eye::before {
    content: '\e000';
}

.icon-paper-clip::before {
    content: '\e001';
}

.icon-heart::before {
    content: '\e024';
}

figure.effect-zoe h2 {
    display: inline-block;
}

figure.effect-zoe:hover div.caption p.description {
    opacity: 1;
}

figure.effect-zoe:hover div.caption,
figure.effect-zoe:hover div.caption h2,
figure.effect-zoe:hover div.caption p.icon-links a {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

figure.effect-zoe:hover div.caption h2 {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}

figure.effect-zoe:hover div.caption p.icon-links a:nth-child(3) {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}

figure.effect-zoe:hover div.caption p.icon-links a:nth-child(2) {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}

figure.effect-zoe:hover div.caption p.icon-links a:first-child {
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

@media screen and (max-width: 50em) {
    .content {
        padding: 0 10px;
        text-align: center;
    }

    .offer figure {
        display: inline-block;
        float: none;
        margin: 10px auto;
        width: 100%;
    }
}