/* grid */

.flex-item {
    margin-bottom: 50px;
}
.flex-item:last-child {
    margin-bottom: 0;
    padding-bottom: 50px;
}
@media screen and (min-width: 700px) {
    .flex-group {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .flex-item-5 {
        flex: 1 1 38.46%;
        padding-top: 50px;
    }
    .flex-item-6 {
        flex: 1 1 46.15%;
        padding-top: 50px;
    }
    .flex-item-7 {
        flex: 1 1 53.85%;
    }
    .flex-item-8 {
        flex: 1 1 61.54%;
    }
}
.fixed-img {
    display: flex;
    justify-content: flex-end;
}
.flex-5-8-fixed .flex-item-7 {
    padding-bottom: 150px;
}
@media screen and (min-width: 1000px) {
    .flex-item-7-content,
    .flex-item-8-content {
        padding-left: 56px;
    }
}

@media screen and (min-width: 700px) {
    .flex-5-8-fixed {
        justify-content: flex-end;
    }

    .flex-5-8-fixed .flex-item-5 {
        flex: 0 0 38.46%;
        padding-top: 50px;
        text-align: right;
        position: relative;
    }

    .flex-5-8-fixed .flex-item-7 {
        flex: 0 0 53.85%;
        margin-bottom: 170px;
    }
}

.fixed-img img {
    display: inline;
    width: 483px;
    right: 0;
    max-width: none;
}
@media screen and (min-width: 1000px) {
    .fixed-img img {
        display: inline;
        width: 834px;
        right: 0;
        max-width: none;
    }
}

.section-flex3 {
    background-image: url(../../../images/content/bg-transition.svg);
    background-size: 100vw;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding-top: 150px;
}
