
.main-special-offer {}


/******************************************************************/

.section-special-offer {

}

/******************************************************************/

.section-what-are-building {

}


.section-what-are-building .flex-item-wrapper {
    height: 350px;
}

.section-what-are-building .flex-item-wrapper .subtitle {
    font-size: 30px;
    margin-bottom: 15px;
}
.section-what-are-building .flex-item-wrapper .subtitle strong {
    font-size: 36px;
    font-weight: 700;
}


.section-what-are-building .flex-item-wrapper.first {
    background-image: url('/img/special-offer/what-are-building-1.jpg');
}
.section-what-are-building .flex-item-wrapper.second {
    background-image: url('/img/special-offer/what-are-building-2.jpg');
}
.section-what-are-building .flex-item-wrapper.third {
    background-image: url('/img/special-offer/what-are-building-3.jpg');
}
.section-what-are-building .flex-item-wrapper.fourth {
    background-image: url('/img/special-offer/what-are-building-4.jpg');
}
.section-what-are-building .flex-item-wrapper.fifth {
    background-image: url('/img/special-offer/what-are-building-5.jpg');
}
.section-what-are-building .flex-item-wrapper.sixth {
    background-image: url('/img/special-offer/what-are-building-6.jpg');
}

/******************************************************************/

.flex-offer {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}
.flex-offer .offer-image {
    display: block;
    position: relative;
}
.flex-offer .offer-image img {
    display: block;
    height: auto;
    width: 100%;
}
.flex-offer .offer-image figcaption {
    display: block;
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    padding: 15px;
    background-color: #FFE105;
    background-image: -webkit-linear-gradient(to right, #FFE105 0%, #FFC102 100%);
    background-image: -moz-linear-gradient(to right, #FFE105 0%, #FFC102 100%);
    background-image: -ms-linear-gradient(to right, #FFE105 0%, #FFC102 100%);
    background-image: -o-linear-gradient(to right, #FFE105 0%, #FFC102 100%);
    background-image: linear-gradient(to right, #FFE105 0%, #FFC102 100%);
    position: absolute;
    top: 15px;
    left: 0;
}
.flex-offer .offer-image figcaption:after {
    content: '';
    position: absolute;
    top: 0;
    right: -25px;
    bottom: 0;
    background-color: transparent;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 25px solid #FFC102;
    border-right: none;
}

.flex-offer .offer-description {
    position: relative;
    padding:  50px 50px 25px 50px;
    margin-top: -25px;
}
.flex-offer .offer-title {
    font-size: 26px;
    line-height: 30px;
    margin-top: 0;
    position: relative;
    z-index: 1;
}
.flex-offer .offer-description p {
    position: relative;
    font-size: 16px;
    line-height: 24px;
    z-index: 1;
}
.flex-offer .offer-description:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border: 1px solid #ffc000;
    z-index: 0;
}
.flex-offer .offer-description:after {
    content: '';
    position: absolute;
    top: -25px;
    left: 25px;
    bottom: -25px;
    right: 25px;
    border: 1px solid #ffc000;
    z-index: 0;
}

.flex-offer .last-row {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.flex-offer .last-row span {
    font-size: 17px;
    line-height: 20px;
    margin-bottom: 20px;
}

.flex-offer .btn-orange-rounded {
    font-size: 17px;
    line-height: 20px;
    padding: 13px 24px;
}


/*** flex-offer.reverse ***/

.flex-offer.reverse {
    flex-direction: column-reverse;
}
.flex-offer.reverse .offer-image figcaption {
    top: auto;
    bottom: 15px;
    left: auto;
    right: 0;
    background-image: -webkit-linear-gradient(to left, #FFE105 0%, #FFC102 100%);
    background-image: -moz-linear-gradient(to left, #FFE105 0%, #FFC102 100%);
    background-image: -ms-linear-gradient(to left, #FFE105 0%, #FFC102 100%);
    background-image: -o-linear-gradient(to left, #FFE105 0%, #FFC102 100%);
    background-image: linear-gradient(to left, #FFE105 0%, #FFC102 100%);
}
.flex-offer.reverse .offer-description {
    position: relative;
    padding: 25px 50px 50px 50px;
    margin-bottom: -25px;
    margin-top: 25px;
}
.flex-offer.reverse .offer-image figcaption:after {
    right: auto;
    left: -25px;
    background-color: transparent;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: none;
    border-right: 25px solid #FFC102;
}

/*** flex-offer.horizontal ***/

.flex-offer.horizontal {
    flex-direction: column;
}
.flex-offer.horizontal .offer-image {
    padding-right: 0;
}
.flex-offer.horizontal .offer-description {
    position: relative;
    padding: 50px 50px 25px 50px;
    margin-top: -25px;
}

/**** DETAIL ******************************************************/

.section-offer-detail {
    font-size: 18px;
    line-height: 26px;
}
.section-offer-detail .title {
    text-align: left;
}
.section-offer-detail .title:after {
    left: 0;
    margin: 0;
}


.title.small-title {
    font-size: 24px;
    font-weight: 700;
}
.title.medium-title {
    font-size: 32px;
    font-weight: 700;
}
.section-offer-detail .btn-orange-rounded {
    padding: 14px 24px;
    font-size: 18px;
    line-height: 20px;
}

/******************************************************************/

@media (min-width: 768px) {
    .section-what-are-building .flex-item-wrapper {
        height: 450px;
    }
    .flex-offer.horizontal {
        flex-direction: row;
        align-items: center;
    }
    .flex-offer.horizontal .offer-image {
        padding-right: 15px;
        flex-basis: 50%;
    }
    .flex-offer.horizontal .offer-description {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-basis: 50%;
        position: relative;
        padding: 25px 50px 25px 15px;
        margin-top: 0;
    }
    .flex-offer.horizontal .offer-description:before {
        top: 0;
        left: -75px;
        bottom: -25px;
        right: 0;
    }
    .flex-offer.horizontal .offer-description:after {
        left: -50px;
        bottom: 0;
    }

}
@media (min-width: 992px) {
    .section-what-are-building .flex-item-wrapper {
        height: 600px;
    }
    .flex-offer .offer-title {
        font-size: 30px;
        line-height: 40px;
    }
    .flex-offer .offer-image figcaption {
        font-size: 18px;
        padding: 20px;
    }
    .flex-offer .offer-image figcaption:after {
        right: -30px;
        border-top-width: 30px;
        border-bottom-width: 30px;
        border-left-width: 30px;
    }
    .flex-offer.reverse .offer-image figcaption:after {
        left: -30px;
        border-top-width: 30px;
        border-bottom-width: 30px;
        border-right-width: 30px;
    }
    .flex-offer .last-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 20px;
        font-size: 20px;
        line-height: 24px;
    }
    .flex-offer .last-row span {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 0;
    }
    .flex-offer.horizontal .offer-description {
        padding: 5px 50px 10px 15px;
    }
}
@media (min-width: 1200px) {
    .flex-offer.horizontal .offer-description {
        padding: 25px 50px 25px 15px;
    }
    .section-what-are-building .flex-item-wrapper {
        height: 750px;
    }
}
