.s_color_blocks_2 {
    // Needed to be able to stretch the inner container so that
    // the snippet works with the 50% and 100% height
    &.o_half_screen_height, &.o_full_screen_height {
        > :first-child { // container
            &, > .row {
                min-height: inherit;
            }
        }
    }
    .row {
        display: flex;
        flex-flow: row wrap;

        // Fix for safari browser as it 'supports' flex but not with the right
        // behavior
        &::before, &::after {
            width: 0;
        }
    }
    > .container, > .container-fluid, > .o_container_small {
        > .row > [class*="col-lg-"] {
            padding: 8% 5%;
            padding-top: 8vw; // A flex item cannot have % padding top and bottom (even if it works on chrome)
            padding-bottom: 8vw; // Solution is vw units but we keep 8% as a fallback
        }
    }

    img {
        max-width: 100%;
        height: auto;
    }
}
