﻿.cd-container {
    width: 90%;
    max-width: 1170px;
    margin: 0 auto;
}

    .cd-container::after {
        content: "";
        display: table;
        clear: both;
    }

#timeline-head {
    text-align: center;
}

    #timeline-head img {
        margin-left: -44px;
    }

#start-circle {
    width: 21px;
    height: 21px;
    margin-left: 8px;
    border-radius: 50%;
    background-color: #3e9fd2;
}

.circle-1917 {
    background-color: #3995c9;
}

.circle-1917-97 {
    background-color: #2773aa;
}

.circle-1997 {
    background-color: #19538c;
}

.circle-2009 {
    background-color: #193974;
}

.circle-2009-17 {
    background-color: #1e2a67;
}

.circle-2017 {
    background-color: #582b6c;
}

.circle-2018 {
    background-color: #b84185;
}

.circle-2020 {
    background-color: #d23662;
}

.circle-2021 {
    background-color: #e34975;
}

.circle-2022 {
    background-color: #e06637;
}

.circle-2022 {
    background-color: #e06637;
}

.circle-2023 {
    background-color: #005c5d;
}

#cd-timeline {
    position: relative;
    padding: 2em 0;
    margin-top: 0;
    margin-bottom: 3em;
}

    #cd-timeline::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -2px;
        height: 100%;
        width: 3px;
        background-image: url("images/timeline/dot.png");
    }

    #cd-timeline .cd-timeline-block {
        position: relative;
        margin: 80px 0;
    }

    #cd-timeline .circle-cont h3 {
        color: #fff;
        font-size: 80px;
        margin: 0;
        padding: 0;
    }

@media screen and (max-width: 768px) {
    #cd-timeline .cd-timeline-block {
        margin: 120px 0;
    }
}

#cd-timeline .cd-timeline-block:after {
    content: "";
    display: table;
    clear: both;
}

#cd-timeline .cd-timeline-block:first-child {
    margin-top: 20px;
}

#cd-timeline .cd-timeline-img {
    position: absolute;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    left: 50%;
    margin-left: -45px;
    top: 42%;
}

@media screen and (max-width: 768px) {
    #cd-timeline .cd-timeline-img {
        top: 52%;
        transform: scale(0.7);
    }
}

#cd-timeline .cd-timeline-img.small {
    width: 34px;
    height: 34px;
    left: 50%;
    margin-left: -17px;
    top: 52%;
}

@media screen and (max-width: 768px) {
    #cd-timeline .cd-timeline-img.small {
        top: 73%;
    }
}

#cd-timeline .cd-timeline-img img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

#cd-timeline .cd-timeline-content {
    position: relative;
    margin-left: 0;
    margin-bottom: -200px;
    width: 45%;
}

#cd-timeline .timeline-left {
    float: left;
}

#cd-timeline .timeline-right {
    float: right;
}

#cd-timeline .square {
    width: 50%;
}

    #cd-timeline .square:after {
        content: "";
        display: block;
        padding-bottom: 100%;
    }

    #cd-timeline .square .square-circle {
        position: absolute;
        width: 60%;
        height: 60%;
        left: 20%;
        top: 5%;
        border-radius: 100%;
        text-align: center;
    }

    #cd-timeline .square img {
        width: 70%;
        position: absolute;
        top: 32%;
        transform: translateY(-40%);
    }

#cd-timeline .timeline-right.square img {
    left: 20%;
}

#cd-timeline .timeline-left.square img {
    right: 20%;
}

#cd-timeline .circle-cont {
    width: 100%;
    color: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    left: 50%;
}

    #cd-timeline .circle-cont p {
        font-size: 20px;
        padding: 0;
        margin: 0;
        line-height: 24px;
    }

#cd-timeline .circle-cont {
    padding: 0 40px;
}

@media screen and (max-width: 1260px) {
    #cd-timeline .circle-cont p {
        font-size: 19px;
        padding: 0;
        margin: 0;
        line-height: 22px;
    }
}


@media screen and (max-width: 1199px) {


    #cd-timeline .circle-cont {
        padding: 0 20px;
    }

        #cd-timeline .circle-cont,
        #cd-timeline .circle-cont p {
            font-size: 14px;
            line-height: 20px;
        }

            #cd-timeline .circle-cont h3 {
                font-size: 60px;
            }
}


@media screen and (max-width: 1024px) {
    #cd-timeline .circle-cont p {
        font-size: 15px;
        line-height: 20px;
    }

    #cd-timeline .circle-cont h3 {
        font-size: 50px;
    }
}

@media screen and (max-width: 991px) {
    #cd-timeline .circle-cont {
        padding: 0 20px;
    }

        #cd-timeline .circle-cont,
        #cd-timeline .circle-cont p {
            font-size: 14px;
            line-height: 20px;
        }

            #cd-timeline .circle-cont h3 {
                font-size: 50px;
            }
}

@media screen and (max-width: 960px) {
    #cd-timeline .circle-cont,
    #cd-timeline .circle-cont p {
        font-size: 12px;
        line-height: 20px;
    }
}

@media screen and (max-width: 880px) {

    #cd-timeline .circle-cont,
    #cd-timeline .circle-cont p {
        font-size: 13px;
        line-height: 15px;
    }

        #cd-timeline .circle-cont h3 {
            font-size: 50px;
        }
}

@media screen and (max-width: 768px) {
    #cd-timeline .circle-cont p {
        font-size: 12px;
        line-height: 16px;
    }
}


@media screen and (max-width: 768px) {

    #cd-timeline-mobile .circle-cont p {
        font-size: 17px;
        padding: 0;
        margin: 0;
        line-height: 23px;
    }

    #cd-timeline .circle-cont h3 {
        font-size: 45px;
    }
}

#cd-timeline .circle-cont img {
    position: relative;
    left: auto !important;
    width: 60%;
    margin-top: 20px;
}

#cd-timeline-mobile {
    position: relative;
    padding: 2em 0;
    margin-top: -20px;
    margin-bottom: 3em;
}

    #cd-timeline-mobile::before {
        content: "";
        position: absolute;
        top: 0;
        left: 15px;
        margin-left: -2px;
        height: 100%;
        width: 3px;
        background-image: url("images/timeline/dot.png");
    }

    #cd-timeline-mobile .cd-timeline-block {
        position: relative;
        margin: 0 0 -250px 0;
    }

        #cd-timeline-mobile .cd-timeline-block.mb-200 {
            margin-bottom: -200px;
        }

        #cd-timeline-mobile .cd-timeline-block.mb-150 {
            margin-bottom: -150px;
        }

        #cd-timeline-mobile .cd-timeline-block:after {
            content: "";
            display: table;
            clear: both;
        }

        #cd-timeline-mobile .cd-timeline-block:first-child {
            margin-top: 20px;
        }

    #cd-timeline-mobile .cd-timeline-img {
        position: absolute;
        border-radius: 50%;
        width: 90px;
        height: 90px;
        left: -30px;
        top: 13%;
        transform: scale(0.5);
    }

        #cd-timeline-mobile .cd-timeline-img.small {
            width: 34px;
            height: 34px;
            left: -3px;
            top: 16%;
            transform: scale(1);
        }

        #cd-timeline-mobile .cd-timeline-img img {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translateX(-50%) translateY(-50%);
        }

    #cd-timeline-mobile .cd-timeline-content {
        position: relative;
        margin-left: 0;
        margin-bottom: 20px;
        width: 45%;
    }

    #cd-timeline-mobile .square {
        width: 100%;
        margin-left: 18px;
    }

        #cd-timeline-mobile .square:after {
            content: "";
            display: block;
            padding-bottom: 100%;
        }

        #cd-timeline-mobile .square .square-circle {
            position: absolute;
            width: 70%;
            height: 70%;
            left: 50%;
            top: 5%;
            border-radius: 100%;
            text-align: center;
            transform: translateX(-50%);
        }

        #cd-timeline-mobile .square img {
            width: 80%;
            position: absolute;
            top: -18%;
            left: 50%;
            transform: translateX(-50%);
        }

    #cd-timeline-mobile .circle-cont {
        width: 100%;
        color: #fff;
        position: absolute;
        padding: 0 30px;
        top: 50%;
        transform: translateY(-50%) translateX(-50%);
        left: 50%;
    }

        #cd-timeline-mobile .circle-cont p {
            font-size: 14px;
            padding: 0;
            margin: 0;
            line-height: 18px;
        }

        #cd-timeline-mobile .circle-cont h3 {
            color: #fff;
            font-size: 50px;
            margin: 0;
            padding: 0;
        }

        #cd-timeline-mobile .circle-cont img {
            position: relative;
            left: auto !important;
            width: 60%;
            margin-top: 10px;
            transform: none;
        }


@media screen and (max-width: 480px) {
    #cd-timeline-mobile .circle-cont {
        padding: 0 20px;
    }

        #cd-timeline-mobile .circle-cont,
        #cd-timeline-mobile .circle-cont p {
            font-size: 13px;
            padding: 0;
            margin: 0;
            line-height: 18px;
        }
}
