﻿.time-line-container {
    padding: 2rem 20rem;
    position: relative;
    font-family: AvantGarde Bk BT;
}

.time-line-container-mobile {
    display: none;
}

.timeline-bar {
    background: linear-gradient(180deg,#051738,#1d3460 50%,#f2f5fb 0,#f2f5fb);
    background-attachment: fixed;
    height: 92%;
    left: calc(50% - 2px);
    position: absolute;
    top: 5%;
    width: 4px;
}

.timeline-list {
    list-style: none;
}

.timeline-item {
    pointer-events: none;
    position: relative;
    transform: scale(1.05);
    transition: all .3s ease;
}

.timeline-item-left .timeline-component {
    margin: 0 auto 70px 31px;
    border-top: none;
    position: relative;
    width: 40%;
    z-index: 5;
}

.timeline-item-right .timeline-component {
    margin: 0 55px 70px auto;
    border-top: none;
    position: relative;
    width: 40%;
    z-index: 5;
}

.timeline-component:after {
    background-color: #002239;
    content: "";
    display: block;
    height: 4px;
    right: calc(100% + 12px);
    position: absolute;
    top: 0;
    width: 50px;
}

.timeline-item-left .timeline-component:after {
    left: calc(100% + 12px);
}

.timeline-content {
    pointer-events: all;
    padding-top: 1rem;
    border: none;
}

    .timeline-content h3 {
        font-size: 40px;
        margin: 0rem 1rem;
    }

    .timeline-content a {
        background-color: transparent;
        border: none;
        width: 100%;
        text-align: left;
        cursor: pointer !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1rem 2rem 1rem;
    }

.cards-timeline-more-info {
    background-color: var(--Inchcape-Light-Grey);
    color: var(--Inchcape-Dark-Blue);
    padding: 1rem;
    border: none;
}

    .cards-timeline-more-info active {
        border: none;
    }

.timeline-anchor {
    align-items: center;
    background-color: #002239;
    border-radius: 50%;
    display: block;
    display: none;
    height: 24px;
    justify-content: center;
    position: absolute;
    right: -17%;
    width: 24px;
    display: flex;
    top: -10px;
    z-index: 1;
}

.timeline-item-right .timeline-anchor {
    left: -18.5%;
}

.timeline-anchor:after {
    background-color: #f2e400;
    border: 4px solid #fff;
    border-radius: 50%;
    content: "";
    display: block;
    height: 18px;
    width: 18px;
}

.cards-timeline-more-info {
    display: none;
}


.timeline-item-right {
    margin-top: -115px;
}

.timeline-item-left:not(:first-child) {
    margin-top: -115px;
}

/* 
  ##Device = Desktops
  ##Screen = 1281px to 1919px
*/



@media (min-width: 1281px) and (max-width: 1919px) {

    /* CSS */
    .time-line-container {
        padding: 2rem 21rem;
        position: relative;
    }
}

/* 
    ##Device = Laptops, Desktops
    ##Screen = B/w 1025px to 1280px
  */


@media (min-width: 900px) and (max-width: 1440px) {

    /* CSS */
    .time-line-container {
        padding: 2rem 13rem;
        position: relative;
    }
}


@media (min-width: 1025px) and (max-width: 1280px) {

    /* CSS */
    .time-line-container {
        padding: 2rem 2rem;
        position: relative;
    }
}

/* 
    ##Device = Tablets, Ipads (portrait)
    ##Screen = B/w 768px to 1024px
  */

@media (min-width: 768px) and (max-width: 1024px) {

    /* CSS */
    .time-line-container {
        display: none;
    }

    .time-line-container-mobile {
        display: block;
    }
}

/* 
    ##Device = Tablets, Ipads (landscape)
    ##Screen = B/w 768px to 1024px
  */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

    /* CSS */
    .time-line-container {
        display: none;
    }

    .time-line-container-mobile {
        display: block;
    }
}

/* 
    ##Device = Low Resolution Tablets, Mobiles (Landscape)
    ##Screen = B/w 481px to 767px
  */

@media (min-width: 481px) and (max-width: 767px) {

    /* CSS */
    .time-line-container {
        display: none;
    }

    .time-line-container-mobile {
        display: block;
    }
}

/* 
    ##Device = Most of the Smartphones Mobiles (Portrait)
    ##Screen = B/w 320px to 479px
  */

@media (min-width: 320px) and (max-width: 480px) {

    /* CSS */
    .time-line-container {
        display: none;
    }

    .time-line-container-mobile {
        display: block;
    }
}

.time-line-container-mobile {
    padding: 18px 25px 18px 25px;
    font-family: AvantGarde Bk BT;
    position: relative;
}

.timeline-content-mobile {
    pointer-events: all;
    padding-top: 1rem;
    border: none;
    margin-bottom: 30px;
}

.cards-timeline-more-info {
    border: none;
}

.timeline-content-mobile h3 {
    font-size: 40px;
    margin: 0rem 1rem;
}

.timeline-content-mobile a {
    background-color: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem 2rem 1rem;
}

.time-line-container-mobile .timeline--bar {
    background: linear-gradient(180deg, #051738, #1d3460 50%, #f2f5fb 0, #f2f5fb);
    background-attachment: fixed;
    height: 95%;
    left: calc(50% - 2px);
    position: absolute;
    width: 4px;
    z-index: -1;
}
