.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.col-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.title-3 {
    color: #BD1C22;
    font-family: Lato, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 28px;
    line-height: 28px;
}

.tpl-cards {
    padding-left: 3px;
    padding-right: 3px;
}

.tpl-cards .col-12 {
    padding-bottom: 15px;
}

.tpl-cards .col-6 {
    padding: 0 3px 6px;
}

.tpl-cards a {
    width: 100%;
}

.tpl-card--wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.tpl-card--text-1 {
    color: #fff;
    font-family: 'Dancing Script', cursive;
    font-size: 6.5vw;
    line-height: 1em;
    text-align: center;
    margin: 0;
}

.tpl-cards-polaroid .tpl-card--wrap {
    border: 1.5vw solid #fff;
    box-shadow: -1px 1px 5px #999;
}

.tpl-card--wrap:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.tpl-cards-recipes .tpl-card--wrap:after {
    padding-bottom: 125%;
}

.tpl-card--content {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
}

.tpl-card--wrap:hover .tpl-card--hover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #cf000080;
    transition-duration: .3s;
}

.tpl-card--image {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    width: 100%;
    height: 62%;
}

.tpl-card--golden-ribbon {
    width: 100%;
    height: 42%;
    padding-top: 2%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url(//www.president.fr/wp-content/themes/President/img/golden-ribbon.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tpl-cards-recipes .tpl-card--golden-ribbon {
    height: 30%;
}

.tpl-card--texts {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: normal;
    padding: 0 5px;
    width: 100%;
}

.col-6 .tpl-card--text-1 {
    font-size: 4vw;
}

.tpl-card--hovered {
    display: none;
}

/* Suggestions part */

.suggestions-part{
    width: 90%;
    margin: 0 auto;
}

.suggestions-part .title-suggestions {
    margin-top: 0px;
    margin-bottom: 15px;
    padding-top: 40px;
}

.suggestions-part .title-suggestions h3 {
    text-align: center;
    font-size: 5vw;
}

.recettes-cta {
    margin-bottom: 0px;
    text-align: center;
}

.btn-tpt {
    color: #cf0000;
    background-color: transparent;
    border: 2px solid #cf0000;
    text-transform: uppercase;
    padding: 1rem;
    display: inline-block;
    margin-top: 30px;
    font-size: 14px;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.btn-tpt:hover {
    text-decoration: underline;
}

@media screen and (min-width: 576px) {
    
    .tpl-cards {
        padding-left: 0;
        padding-right: 0;
    }

    .tpl-cards .col-12 {
        padding-bottom: 30px;
    }

    .tpl-cards-polaroid .tpl-card--wrap {
        border: 10px solid #fff;
    }

    .tpl-card--text-1 {
        font-size: 20px;
    }

    .col-6 .tpl-card--text-1 {
        font-size: 20px;
    }
}

@media screen and (min-width: 768px) {
    
    .col-md-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .title-3 {
        font-size: 20px;
    }

    .tpl-cards .col-6 {
        padding: 0 15px 30px;
    }

    .tpl-cards a {
        width: auto;
    }

    .tpl-card--image {
        height: 69%;
    }

    .tpl-cards-recipes .tpl-card--image {
        height: 74%;
        background-size: cover;
    }

    .tpl-card--golden-ribbon {
        height: 35%;
    }

    .tpl-card--golden-ribbon {
        transition: all .3s ease-in-out;
    }

    .tpl-card--texts {
        padding: 0 10px;
    }

    .tpl-card--text-1 {
        font-size: 26px;
    }

    .col-6 .tpl-card--text-1 {
        font-size: 26px;
    }

    .col-md-4 .tpl-card--text-1 {
        font-size: 18px;
    }

    .tpl-card--hovered {
        color: #fff;
        font-weight: 400;
        font-family: Caveat, cursive;
        text-align: center;
        font-size: 24px;
        margin-top: 45px;
        line-height: 1em;
        position: relative;
    }

    .col-md-4 .tpl-card--hovered {
        font-size: 18px;
        margin-top: 30px;
    }

    .tpl-card--content:hover .tpl-card--golden-ribbon .tpl-card--texts {
        display: none;
    }

    .tpl-card--content:hover .tpl-card--hovered {
        display: block;
    }

    .tpl-card--hovered:before {
        content: '';
        background-image: url(//www.president.fr/wp-content/themes/President/img/fleche-recipe.png);
        background-repeat: no-repeat;
        background-size: contain;
        height: 30px;
        width: 30px;
        position: absolute;
        top: -30px;
        left: 50%;
    }

    .tpl-card--hovered:after {
        content: '';
        background-image: url(//www.president.fr/wp-content/themes/President/img/traits-recipe.png);
        background-repeat: no-repeat;
        background-size: contain;
        height: 25px;
        width: 50px;
        position: absolute;
        left: 85%;
        bottom: -20px;
    }

    /* Suggestions part */
    
    .suggestions-part .title-suggestions {
        margin-top: 0;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .suggestions-part .title-suggestions h3 {
        font-size: 28px;
    }

    .recettes-cta {
        margin-top: 15px;
        margin-bottom: 0px;
    }

    .btn-tpt {
        width: auto;
        font-size: 16px;
        padding: 1rem 3rem;
    }
}