* Timeline defaults */
/* --------------------------------------- */
.h--timeline-container *,
.h--timeline-events *{
  outline: 0;
}
.h--timeline-container,
.h--timeline-events{
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}
.h--timeline-navigation-container ul, .h--timeline-navigation-container li,
.h--timeline-events ol, .h--timeline-events li,
.h--timeline-line ol, .h--timeline-line li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.h--timeline{
    opacity: 0;
    transition: opacity 0.2s;
    font-family: "Avenir LT Pro 55 Roman";
}
.h--timeline--loaded{
    opacity: 1
}
.h--timeline-container{
    height: 100px;
}
.h--timeline-dates{
    position: relative;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

/* Timeline horizontal line */
/* --------------------------------------- */
.h--timeline-line{
    position: absolute;
    z-index: 1;
    left: 0;
    top: 49px;
    height: 2px;
    background: transparent;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
}
.h--timeline-filling-line{
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: transparent;
    	-webkit-transform: scaleX(0);
    	-ms-transform: scaleX(0);
    transform: scaleX(0);
    	-webkit-transform-origin: left center;
    	-ms-transform-origin: left center;
    transform-origin: left center;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.h--timeline-line ol {
	position:relative;
	left:-70px;
}
.h--timeline-line ol li span.Ruler,
.h--timeline-line ol li span.Point { position:relative;}

.h--timeline-line ol li span.Point::before {
    content: "";
    position: absolute;
    left: -30px;
    top: -52px;
    background: transparent;
    height: 16px;
    width: 16px;
    	-webkit-border-radius: 16px;
    border-radius: 16px;
}

.h--timeline-line ol li .h--timeline-date--selected span.Point::before {background: #99B8A4;}

.h--timeline-line ol li span.Ruler {
    content: "";
    background-image: url(scale.png);
    background-repeat: repeat-x;
    width: 100%;
    height: 18px;
    position: absolute;
    left: 0;
    top: -37px;
    z-index: 1;
}


/* Bullet points */
/* --------------------------------------- */
.h--timeline-date {
    position: absolute;
    top: 10px;
    z-index: 2;
    text-align: center;
    font-size: 20px;
    line-height: 22px;
    color: #fff;
    	-webkit-user-select: none;
    	-moz-user-select: none;
    	-ms-user-select: none;
    user-select: none;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 9px 25px 8px;
    	-webkit-border-radius: 40px;
	border-radius: 40px;
}

.h--timeline-date:hover{
	color:#fff !important;
	background: #99B8A4;
}
a.h--timeline-date,
a.h--timeline-date:focus,
a.h--timeline-date:not([href]):not([tabindex]),
a.h--timeline-date:not([href]):not([tabindex]):hover { color:#fff !important;}

.h--timeline-date::after,
.h--timeline-date::before {
    content: '';
    position: absolute;
    left: 50%;
    	-webkit-transform: translateX(-50%);
    	-ms-transform: translateX(-50%);
    transform: translateX(-50%);
    top: -60px;
    height: 40px;
    width: 2px;
    background-color: #fff;
    transition: background-color 0.3s, border-color 0.3s, top 0.3s;
		-webkit-border-radius:3px;
	border-radius:3px;
}
.h--timeline-date::before {
    height: 28px;
    width: 28px;
    border-width: 0px;
    border: 2px solid transparent;
    background-color: transparent;
    z-index: 2;
    border-radius: 30px;
    top: -54px;
}

.h--timeline-date:hover::before,
.h--timeline-date:hover::after{
    transition: background-color 0.3s, border-color .3s, top .3s;
}
.h--timeline-date:hover::after{
    background-color: #f7f7f7;
    border-color: #6e1e46;
}
.h--timeline-date--selected {
    pointer-events: none;
    background: #99B8A4;
    border-color: #99B8A4;
	font-family: "Avenir-Medium";
}
.h--timeline-date--selected::after{
    background-color: #f7f7f7;
    border-color: #6e1e46;
}
.h--timeline-date--selected::before {
    border-color: #99B8A4;
}


/* Caroussel navigation */
/* --------------------------------------- */
.h--timeline-navigation{
    font-size: 0;
    position: absolute;
    z-index: 1;
    top: 40px;
    	/*-webkit-transform: translateY(-50%);
    	-ms-transform: translateY(-50%);
    transform: translateY(-50%);*/
    height: 80px;
    width: 80px;
	line-height:78px;
    	-webkit-border-radius: 100%;
	border-radius: 100%;
    border-width: 1px;
    border-style: solid;
    border-color: #99B8A4;
    transition: border-color 0.3s;
	text-align:center;
		-webkit-transition: 0.4s ease;
	transition: 0.4s ease;
	z-index:0;
}
.h--timeline-navigation--next{ right: 40px;}
.h--timeline-navigation--prev{right: 130px;}

.h--timeline-navigation svg {
	width:30px;
	fill:#99B8A4;
		-webkit-transition: 0.4s ease;
	transition: 0.4s ease;
}
	
.h--timeline-navigation:hover{
    border-color: #99B8A4;
	background:#99B8A4
}
.h--timeline-navigation:hover svg { fill:#fff;}

.h--timeline-navigation--inactive{ cursor: not-allowed;}
.h--timeline-navigation:hover.h--timeline-navigation--inactive { background:transparent;}
.h--timeline-navigation:hover.h--timeline-navigation--inactive svg { fill:#99B8A4;}
.h--timeline-navigation--inactive:hover{ border-color: #99B8A4;}



/* Timeline events container */
/* --------------------------------------- */
.h--timeline-events {
    overflow: hidden;
    transition: height .4s;
}
.h--timeline-events ul,
.h--timeline-events ul li {
	margin:0;
	padding:0;
	list-style:none;
}

.h--timeline-event{
    position: absolute;
    z-index: 1;
    width: 100%;
    left: 0;
    top: 1rem;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    padding: 1px 5%;
    opacity: 0;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}
.h--timeline-event--selected{
    position: relative;
	top: 0;
    z-index: 2;
    opacity: 1;
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}

/* Timeline animations */
/* --------------------------------------- */
.h--timeline-event--enter-right,.h--timeline-event--leave-right{
    -webkit-animation-name: cd-enter-right;
    animation-name: cd-enter-right;
}
.h--timeline-event--enter-left,.h--timeline-event--leave-left{
    -webkit-animation-name: cd-enter-left;
    animation-name: cd-enter-left ;
}
.h--timeline-event--leave-right,.h--timeline-event--leave-left{
    animation-direction: reverse;
}

@-webkit-keyframes cd-enter-right{
    0%{
        opacity: 0;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    100%{
        opacity: 1;
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
}
@keyframes cd-enter-right{
    0%{
        opacity: 0;
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    100%{
        opacity: 1;
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
}
@-webkit-keyframes cd-enter-left{
    0%{
        opacity: 0;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    100%{
        opacity:1;
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
}
@keyframes cd-enter-left{
    0%{
        opacity: 0;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    100%{
        opacity: 1;
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
}


/* Overwrites */
/* Change the position of dates top / botom / top */
/* --------------------------------------- */
.h--timeline-date--selected::after{
    background-color: #f7f7f7;
    border-color: #6e1e46;
}
.h--timeline-line li .h--timeline-date--selected::after,
.h--timeline-line li .h--timeline-date:hover::after {
    width: 2px;
    height: 40px;
    bottom: 0;
    background-color: #99B8A4;
}


@media All and (max-width:760px) {
	.h--timeline-navigation--prev,
	.h--timeline-navigation--next { right: auto;}
	
	.h--timeline-navigation-container { text-align:center;}
	.h--timeline-navigation-container li { display:inline-block;}
	
	.h--timeline-navigation {
		position:relative;
		top:auto !important;
		height: 50px;
		width: 50px;
		line-height: 48px;
		display: inline-block;
		margin-top:20px;
	}
	.h--timeline-navigation svg { width: 20px;}
	.h--timeline-line ol {left: -106px;}
}