﻿
.VFTimeLine {
    height: fit-content;
    width: 100%;
}

.VFTimeLine__line {
    width: 100%;
    position: relative;
    padding: 50px 0 30px;
}

    .VFTimeLine__line::before {
        position: absolute;
    }

.VFTimeLine__segments {
    position: relative;
}

.VFTimeLine__segment {
    position: relative;
}
.endpoint {
    display: inline-block;
    line-height: 30px;
    font-size: 12px;
    text-transform: uppercase;
    color: white;
    padding: 0 6px;
    background-color: #c4c4c4;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 4px solid #eaeaea;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.top{
    position:relative;
}

@media (min-width: 701px) {
    .VFTimeLine__line::before {
        content: '';
        width: 2px;
        height: 100%;
        background-color: black;
        position: absolute;
        top: 0;
        left: 50%;
    }

    .VFTimeLine__segments {
        position: relative;
    }

    .VFTimeLine__segment {
        width: 100%;
        display: flex;
        position: relative;
        margin: 0 0 70px 0;
    }

    .VFTimeLine__segment__date {
        width: 50%;
        padding: 0 30px 0 0;
        text-align: end;
    }

    .VFTimeLine__segment__date__info > figure {
        height: 100px;
        width: 88px;
        background-repeat: no-repeat;
        margin: 0 0 0 auto;
    }

    .VFTimeLine__segment--dot {
        content: '';
        display: block;
        width: 18px;
        height: 18px;
        background-color: #c79e51;
        border: 2px solid #f4f4f4;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        z-index: 1;
        position: absolute;
        top: calc(50% - 10px);
        right: calc(50% - 10px);
    }

    .VFTimeLine__segment:nth-child(even) {
        flex-direction: row-reverse;
    }

        .VFTimeLine__segment:nth-child(even) > .VFTimeLine__segment__date {
            text-align: start;
        }

            .VFTimeLine__segment:nth-child(even) > .VFTimeLine__segment__date > .VFTimeLine__segment__date__info {
            }

                .VFTimeLine__segment:nth-child(even) > .VFTimeLine__segment__date > .VFTimeLine__segment__date__info > figure {
                    margin: 0 auto 0 45px;
                }

    .VFTimeLine__segment:nth-child(odd) > .VFTimeLine__segment__copy {
        width: 50%;
        background-color: white;
        border: 1px solid #dfdfdf;
        padding: 30px;
        position: relative;
        left: 47px;
    }

        .VFTimeLine__segment:nth-child(odd) > .VFTimeLine__segment__copy::before {
            border: 26px solid transparent;
            border-right: 20px solid #dfdfdf;
            margin-top: -26px;
            content: '';
            display: block;
            width: 0;
            height: 0;
            position: absolute;
            top: 50%;
            right: 100%;
            background-color: #f4f4f4;
        }

        .VFTimeLine__segment:nth-child(odd) > .VFTimeLine__segment__copy::after {
            border: 24px solid transparent;
            border-right: 18px solid white;
            margin-top: -24px;
            content: '';
            display: block;
            width: 0;
            height: 0;
            position: absolute;
            top: 50%;
            right: 100%;
        }

    .VFTimeLine__segment:nth-child(even) > .VFTimeLine__segment__copy {
        width: 50%;
        background-color: white;
        border: 1px solid #dfdfdf;
        padding: 30px;
        position: relative;
        right: 47px;
    }

        .VFTimeLine__segment:nth-child(even) > .VFTimeLine__segment__copy::before {
            border: 26px solid transparent;
            border-left: 20px solid #dfdfdf;
            margin-top: -26px;
            content: '';
            display: block;
            width: 0;
            height: 0;
            position: absolute;
            top: 50%;
            left: 100%;
            background-color: #f4f4f4;
        }

        .VFTimeLine__segment:nth-child(even) > .VFTimeLine__segment__copy::after {
            border: 24px solid transparent;
            border-left: 18px solid white;
            margin-top: -24px;
            content: '';
            display: block;
            width: 0;
            height: 0;
            position: absolute;
            top: 50%;
            left: 100%;
        }

    .VFTimeLine__segment:nth-child(even) > .VFTimeLine__segment__date > .VFTimeLine__segment__date__info {
        margin: 0 0 0 0;
    }

        .VFTimeLine__segment:nth-child(even) > .VFTimeLine__segment__date > .VFTimeLine__segment__date__info > h5 {
            margin: 18px 0 9px 45px;
        }
   /* .top {
        bottom:10px;
    }*/
}

@media (max-width: 700px) {

    .VFTimeLine__line::before {
        content: '';
        width: 1px;
        height: 100%;
        background-color: black;
        position: absolute;
        top: 0;
        left: 72px;
    }

    .VFTimeLine__segment {
        display: flex;
        flex-direction: row;
        margin-bottom: 40px;
        position: relative;
    }

    .VFTimeLine__segment__date {
        /* width: 15%; */
        min-width: 64px;
    }

    .VFTimeLine__segment__date__info {
        position: relative;
        top: calc(50% - 32px);
    }

    .VFTimeLine__segment__date__info > figure {
        height: 35px;
        width: 35px;
        margin: 0 auto 0 auto;
    }

    .VFTimeLine__segment__date__info > h5 {
        font-size: 13px;
        line-height: 30px;
        margin: unset;
        text-align: center;
    }

    .VFTimeLine__segment--dot {
        content: '';
        display: block;
        width: 9px;
        height: 9px;
        margin-top: -4px;
        background-color: #c79e51;
        border: 2px solid #f4f4f4;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        z-index: 1;
        position: absolute;
        top: calc(50% - 4px);
        left: 68px;
    }

    .VFTimeLine__segment__copy {
        /* width: 81%; */
        margin: 0 0 0 7%;
        /* width: calc(100% - 100px); */
        padding: 12px;
        position: relative;
        background-color: white;
        border: 1px solid #dfdfdf;
    }

    .VFTimeLine__segment__copy > p {
        font-size: 10px;
        line-height: 14px;
        margin: unset;
    }

    .VFTimeLine__segment__copy {
        /* background: red; */
    }

    .VFTimeLine__segment__copy::before {
        content: "";
        border-width: 10px;
        border-right-width: 8px;
        margin-top: -10px;
        border: 10px solid transparent;
        border-right: 8px solid #dfdfdf;
        position: absolute;
        top: 50%;
        right: 100%;
        display: block;
        width: 0;
        height: 0;
        position: absolute;
        top: 47%;
        right: 100%;
    }

    .VFTimeLine__segment__copy::after {
        content: "";
        margin-top: -8px;
        border: 8px solid transparent;
        border-right: 6px solid white;
        content: '';
        display: block;
        width: 0;
        height: 0;
        position: absolute;
        top: 47%;
        right: 100%;
    }
    .endpoint {
        font-size: 8px;
        line-height: 16px;
        border-width: 2px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }
    .heritage {
        display: inline-block;
        position: absolute;
        top: -4px;
        left: 72px;
    }
    .today {
        top: auto;
        bottom: 0;
        display: inline-block;
        position: absolute;
        left: 51px;
    }
    .top {
        bottom: 0px;
    }
}
@media (max-width: 700px) {
    .VFTimeLine__segment__date__info > figure {
        background-size: contain;
        background-repeat: no-repeat;
    }
}
@media (max-width: 1170px) {
    .top {
        bottom: 0px;
    }
}
@media (min-width: 1171px) {
    .top {
        bottom: 10px;
    }
}
    /*  */
    /* .VFTimeLine__line__endpoint {
  display: inline-block;
  line-height: 30px;
  font-size: 12px;
  text-transform: uppercase;
  color: white;
  padding: 0 6px;
  background-color: #c4c4c4;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  border: 4px solid #eaeaea;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}
.heritage {
  position: relative;
}
.today {
    position: absolute;
    left: 47.5%;
}
.VFTimeLine__segments{
    background-color: blanchedalmond;
    height:100%;
    width:100%;
    position: static;
}
.VFTimeLine__segment{
    height: fit-content;
    width: 80%;
    margin: 0 auto 70px auto;
    display: flex;
    position: relative;
}
.VFTimeLine__segments:nth-child(odd)>.VFTimeLine__segment>.VFTimeLine__segment__date>.VFTimeLine__segment__date__info>h5{    
    text-align: left;
}
.VFTimeLine__segments:nth-child(even)>.VFTimeLine__segment>.VFTimeLine__segment__date>.VFTimeLine__segment__date__info>h5{    
    text-align: right;
}

.VFTimeLine__segments:nth-child(odd)>.VFTimeLine__segment{
    background-color: cadetblue;
}
.VFTimeLine__segment__date{
    width: calc(50% - 9px);
    justify-content: right;
    position:relative;
}
.VFTimeLine__segment__date__info{
    width: fit-content;
    position: absolute;
    top: calc(50% - 121px);
    display: block;
    right: 0px;
}
.VFTimeLine__segment__date__info>figure{
    background-color: green;
    height:100px;
    width:110px;
    float: inline-end;
}
.VFTimeLine__segment--dot{
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-color: #c79e51;
    border: 2px solid #f4f4f4;   
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    z-index: 1;
    position: absolute;
    top: calc(50% - 9px);
    right: calc(50% - 9px); 
}*/
    /* .VFTimeLine__segment--dotholder{
    height:fit-content;
    width:20%;

} */
    /* .VFTimeLine__segment__copy{
    width: calc(100% - 36%);
    background-color: white;
    border: 1px solid #dfdfdf;
    padding: 30px;
    position: relative;
    left: calc(50% - 36%);
}
.VFTimeLine__segment__copy::before{
    border: 26px solid transparent;
    border-right: 20px solid #dfdfdf;
    margin-top: -26px;
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    right: 100%;
    background-color: white;
}
.VFTimeLine__segment__copy::after{
    border: 24px solid transparent;
    border-right: 18px solid white;
    margin-top: -24px;
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    right: 100%;
} */




    /* .VFTimeLine__line::before {
    display: inline-block;
    line-height: 30px;
    font-size: 12px;
    text-transform: uppercase;
    color: white;
    padding: 0 6px;
    background-color: #c4c4c4;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 4px solid #eaeaea;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
.VFTimeLine__line::after {
    display: inline-block;
    line-height: 30px;
    font-size: 12px;
    text-transform: uppercase;
    color: white;
    padding: 0 6px;
    background-color: #c4c4c4;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 4px solid #eaeaea;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
} */
