﻿section {
    scroll-snap-align: start;
}

    section:nth-child(1) {
        background-color: transparent;
        height: 75vh !important;
    }

    section:nth-child(2) {
        height: auto;
        background-color: #f2f3f4;
        padding: 70px 0 100px 0;
    }

    section:nth-child(3) {
        height: auto;
        background-color: #FFF;
        padding: 50px 0 50px 0;
    }

    section:nth-child(4) {
        height: auto;
        background-color: #f2f3f4;
        padding: 50px 0 50px 0;
    }

    section:nth-child(5) {
        height: auto;
        padding: 50px 0 50px 0;
    }



/* TIMELINE */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate3d(0, 20%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/*.more-than-4:before {
    height: 80% !important;
}
.less-than-4:before {
    height: 75% !important;
}*/

.timeline-stages {
    width: 100%;
    padding: 5px 0;
    margin: 5px auto;
    position: relative;
    overflow: hidden;
}

    .timeline-stages:before {
        content: '';
        position: absolute;
        top: 4%;
        left: 50%;
        margin-left: -1px;
        width: 2px;
        height: 100%;
        background: #000;
        z-index: 1;
    }
    /* Markers */
    .timeline-stages:last-child:after {
        content: '';
        position: absolute;
        width: 14px;
        height: 2px;
        bottom: 0;
        right: 48.9%;
        background: #000;
        z-index: 1;
    }

.timeline-block {
    width: -webkit-calc(50% + 8px);
    width: -moz-calc(50% + 8px);
    width: calc(50% + 8px);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    justify-content: space-between;
    clear: both;
}

.timeline-block-right {
    float: right;
}

.timeline-block-left {
    float: left;
    direction: rtl;
}

    .timeline-block-left p {
        direction: ltr;
    }

.marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #F5F7FA;
    background: #000;
    margin-top: 12px;
    z-index: 1;
}

.timeline-content {
    width: 100%;
    padding: 0 15px;
    color: #666
}

    .timeline-content h3 {
        margin-top: 5px;
        margin-bottom: 5px;
        font-size: 15px;
        font-weight: 500;
        color: #a4a4a4;
    }

    .timeline-content h4 { /*span*/
        font-size: 16px;
        font-weight: 600;
    }

    .timeline-content p {
        /*font-size: 15px;
        line-height: 1.5em;*/
        /*word-spacing: 1px;*/
        color: #888;
    }



.timeline-stages .timeline-block {
    opacity: 0;
    animation: fadeIn 1s ease-in both;
}

    .timeline-stages .timeline-block:nth-child(2) {
        animation-delay: 1s;
    }

    .timeline-stages .timeline-block:nth-child(3) {
        animation-delay: 2s;
    }

    .timeline-stages .timeline-block:nth-child(4) {
        animation-delay: 3s;
    }

    .timeline-stages .timeline-block:nth-child(5) {
        animation-delay: 4s;
    }

    .timeline-stages .timeline-block:nth-child(6) {
        animation-delay: 5s;
    }


@media screen and (max-width: 1380px) {
    .timeline-stages:before {
        left: 8px;
        width: 2px;
        /*height: 75%;*/
    }

    .timeline-block {
        width: 100%;
        margin-bottom: 30px;
    }

    .timeline-block-right {
        float: none;
    }

    .timeline-block-left {
        float: none;
        direction: ltr;
    }

    .timeline-stages:last-child:after {
        left: 1px;
    }

    .marker {
        margin-top: 16px;
    }
}
