@import 'color.css';

/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

html, body {
	/*height: 100%;*/
    /*font-family: Verdana, Arial, sans-serif;*/
}

body {
	position: relative;
	margin: 0;
}


 /*Timeline styles */
    .timeline {
        background-color: rgba(102, 113, 126, .5);
        padding-bottom: 40px;
    }

        .timeline ul {
            padding: 0px 40px;
        }

        .timeline time {
            font-weight: bold;
            display: block;
            font-size: 18px;
            color: white;
            margin-left: 1rem;
            margin-bottom:.5rem;
        }

            .timeline time.text-right {
                margin-left: 0;
                margin-right: 1rem;
            }

        .timeline ul li {
            list-style-type: none;
            position: relative;
            width: 6px;
            margin: 0 auto;
            padding-top: 50px;
            background: #fff;
        }

            .timeline ul li::after {
                content: '';
                position: absolute;
                left: 50%;
                bottom: 0;
                transform: translateX(-50%);
                width: 30px;
                height: 30px;
                border-radius: 50%;
                background: inherit;
                z-index: 1;
            }

            .timeline ul li div {
                position: relative;
                bottom: 0;
                width: 300px;
                padding: 15px;
                background: #fff;
                border-radius: 20px;
                box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
            }

                .timeline ul li div img {
                    margin-top: 1rem;
                }

                .timeline ul li div::before {
                    content: '';
                    position: absolute;
                    bottom: 7px;
                    width: 0;
                    height: 0;
                    border-style: solid;
                }

            .timeline ul li:nth-child(odd) div {
                left: 45px;
            }

                .timeline ul li:nth-child(odd) div::before {
                    left: -15px;
                    border-width: 12px 20px 12px 0;
                    border-color: transparent #fff transparent transparent;
                }

            .timeline ul li:nth-child(even) div {
                left: -339px;
            }

                .timeline ul li:nth-child(even) div::before {
                    right: -15px;
                    border-width: 12px 0 12px 20px;
                    border-color: transparent transparent transparent #fff;
                }

            .timeline ul li::after {
                background: #fff;
                transition: background .5s ease-in-out;
            }

            .timeline ul li.in-view::after {
                background: #fff;
            }

            .timeline ul li div {
                visibility: hidden;
                opacity: 0;
                transition: all .5s ease-in-out;
            }

            .timeline ul li:nth-child(odd) div {
                transform: translate3d(200px,0,0);
            }

            .timeline ul li:nth-child(even) div {
                transform: translate3d(-200px,0,0);
            }

            .timeline ul li.in-view div {
                transform: none;
                visibility: visible;
                opacity: 1;
            }

    .timeline-infinite ul li::after {
        animation: scaleAnimation 2s 2;
    }

    @keyframes scaleAnimation {
        0% {
            transform: translateX(-50%) scale(1)
        }

        50% {
            transform: translateX(-50%) scale(1.25);
        }

        100% {
            transform: translateX(-50%) scale(1);
        }
    }

    @media screen and (max-width: 975px) {
        .timeline ul li div {
            width: 175px;
        }

        .timeline ul li:nth-child(even) div {
            left: -214px; /*250+45-6*/
        }
    }

    @media screen and (max-width: 600px) {
        .timeline ul li {
            margin-left: 20px;
        }

            .timeline ul li div {
                width: calc(100vw - 175px);
            }

            .timeline ul li:nth-child(even) div {
                left: 45px;
            }

                .timeline ul li:nth-child(even) div::before {
                    left: -15px;
                    border-width: 12px 20px 12px 0;
                    border-color: transparent #fff transparent transparent;
                }
    }



    #yr2001, #yr2013, #yr2019 {
        background: linear-gradient(to top, white 50%, #196bad 50%);
    }

    #yr2005, #yr2022 {
        background: linear-gradient(to top, white 50%, #91abd2 50%);
    }

    #yr2016 {
        background: linear-gradient(to top, white 75%, #91abd2 25%);
    }



    #yr2009, #yr2017 {
        background: linear-gradient(to top, white 50%, #53599a 50%);
    }


    #yr2011, #yr2018 {
        background: linear-gradient(to top, white 50%, #068d9d 50%);
    }


    .timeline section {
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
        padding: 15px;
        margin-bottom: 15px;
    }

    .timeline_icon {
        display: block;
        margin: auto;
    }

    .bg-transparent {
        background: none !important;
        box-shadow: none !important;
        color: white;
    }

        .bg-transparent a {
            color: white;
            text-decoration: none;
        }

        .bg-transparent::before, .bg-transparent::after {
            border-color: transparent !important;
        }