﻿[data-timeline] {
	display: none;
}

.active[data-timeline] {
	display: block;
	animation: fade-in 250ms forwards;
}

.fade-out[data-timeline] {
	display: block;
	animation: fade-out 250ms forwards;
}

@keyframes fade-in {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes fade-out {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

.timeline__nav {
	text-align: center;
	display: flex;
	align-items: center;
}

.timeline__nav__labels {
	flex-basis: 12em;
	font-size: 30px;
	color: #D22030;
	font-weight: 700;
}

@media (max-width:767px) {
    .timeline__nav__labels {
        font-size: 21px;
    }
}

[data-timeline-nav] {
	color: #54565A;
	font-size: 30px;
	padding: 0;
	border: 0;
	background: transparent;
	transition: all .15s;
	outline: 0;
	width: 0.73em;
	height: 0.73em;
	position: relative;
	overflow: hidden;
}

	[data-timeline-nav]:after {
		position: absolute;
		transform: scaleY(.8) rotate(45deg);
		top: -0.16666666666em;
		content: '';
		display: block;
		width: 1.05555555556em;
		height: 1.05555555556em;
		border: 0.19444444444em solid;
		border-radius: 0.11111111111em;
	}

	[data-timeline-nav]:hover {
		color: #D22030;
	}

	[data-timeline-nav]:focus {
		outline: 0;
	}

.timeline__nav__prev {
	margin-left: auto;
}

	.timeline__nav__prev:after {
		left: 7px;
	}

.timeline__nav__next {
	margin-right: auto;
}

	.timeline__nav__next:after {
		right: 7px;
	}

.timeline {
	position: relative;
}

.timeline__bar {
	position: relative;
	left: 50%;
	transition: all .5s;
}

	.timeline__bar .dot {
		transform: translate(-50%, 0);
	}

		.timeline__bar .dot:first-child:before {
			width: 50%;
			left: 50%;
		}

		.timeline__bar .dot:last-child:before {
			width: 50%;
		}

.timeline__products {
	text-align: right;
}

	.timeline__products > span {
		font-size: 16px;
		display: table;
		float: right;
		clear: both;
		margin: 3px 0;
		padding: 2px 6px;
		background: rgb(222, 227, 235);
		font-weight: 700;
		transition: all 250ms 250ms;
	}

		.timeline__products > span.active {
			color: #fff;
			background: #D22030;
		}

.timeline__products__below {
	display: none;
	text-align: left;
	margin-bottom: 2em;
}

.timeline__map {
	position: relative;
}

	.timeline__map__pin img {
		display: block;
		max-width: 100%;
		margin: 0 auto;
	}

.timeline__map__map {
	width: 100%;
}

.timeline__content__container {
	overflow: visible;
	margin-bottom: 1em;
}

.timeline__content img {
	display: block;
	max-width: 100%;
}

@media(max-width: 1199px) {
	.timeline__bar {
		margin: 10px 0;
	}

	.timeline__products__below {
		display: block;
	}

	.timeline__products > span {
		font-size: 18px;
		display: none;
		clear: none;
		float: none;
		margin: 4px 2px;
		padding: 1px 6px;
		font-weight: 400;
	}

		.timeline__products.timeline__products__below > span.active {
			display: inline-block;
		}

		.timeline__content img {
			display: block;
		}
}

@media (max-width:767px) {
    .timeline__content img {
        margin: 0 auto;
        margin-bottom: 1em;
    }
}

.timeline-vert {
    position: relative;
    overflow: hidden
}

    .timeline-vert .logo {

        padding-bottom: 1.2em;
        position: relative;
        text-align: center;
    }

    .timeline-vert .date {
        top: 1.7em;
        color: #C31D2B;
    }

    .timeline-vert .dot {
        top: 0.55em;
        width: 3px;
        height: 134%;
        right: -75px;
    }

        .timeline-vert .dot:before {
            content: "";
            position: absolute;
            width: 3px;
            height: 0;
            top: 0;

            left: 28px;
            right: 0;
            background-color: #C9C9C9;
        }

        .timeline-vert .dot:after {
            content: "";
            position: absolute;
            width: 24px;
            height: 24px;
            border-radius: 100px;
            top: .6em;
            left: 0.1em;
            background-color: #fff;
            border: 3px solid #C9C9C9;
        }

        .timeline-vert .pt-5:last-child .dot {
            height: 0;
        }

        @media(min-width: 770px) {
            .timeline-vert .dot {
                right: -45px;
            }

            .timeline-vert .date {
                top: 1.5em;
            }
        }

@media(max-width:420px) {

    .timeline-btn {
        height: 60px;
    }
}


    .timeline-vert .pt-5:nth-last-child(2) .dot {
        height: 107.5% !important;
    }


@media(min-width:768px) {
    .timeline-vert .pt-5:nth-last-child(2) .dot {
        height: 109.5%!important;
    }
}



@media(min-width:992px) {
    .timeline-vert .pt-5:nth-last-child(2) .dot {
        height: 118%!important;
    }
}




.timeline-vert .pt-5:nth-last-child(2) .dot {
    height: 113.5%
}
