/* Styles for Custom Timelines */
.ct-bg-overlay{
	display: none;
	position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /*background-color: rgba(4,52,201,0.5);*/
	background-color: rgba(53,53,53,0.7);
    z-index: 11;
}
.custom-timeline-container{
	width: 90%;
	max-width: 960px;
	margin: auto;
	font-family: eurostile,sans-serif;
	position: relative;
}

.custom-timeline-container .ct-vertical-line{
	width: 4px;
	height: calc(100% - 130px);
	position: absolute;
	top: 88px;
	left: calc(50% - 2px);
	background: rgb(4,52,201);
	background: linear-gradient(180deg, #353535 0%, #ff8b00 90%);
}

.custom-timeline-heading{
	width: 100%;
	clear: both;
	position: relative;
	height: 120px;
}

.custom-timeline-heading .ct-intro{
	float: left;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	width: calc(50% - 80px);
	font-size: 24px;
	line-height: 34px;
	font-weight: bold;
	text-align: right;
	background: #353535;
	background: linear-gradient(to bottom right, #353535 0%, #ff8b00 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.custom-timeline-heading .ct-intro-image{
    max-width: 110px;
    max-height: 110px;
    float: right;
    position: relative;
    bottom: 0;
}
.custom-timeline-heading .ct-intro-node{
	width: 26px;
	height: 26px;
	background: #353535;
	border-radius: 50%;
	position: absolute;
	top: calc(50% - 13px);
	left: calc(50% - 13px);
}

.custom-timeline-heading .ct-node-ring{
	width:64px;
	height:64px;
	border-radius:50%;
	position: absolute;
	top: calc(50% - 32px);
	left: calc(50% - 32px);
	background-color: rgba(255,255,255,0);
	border:4px solid #353535;
}

.custom-timeline-heading .ct-starting-year{
	float: right;
	width: calc(50% - 80px);
	font-size: 130px;
	line-height: 130px;
	font-weight: bold;
	text-align: left;
	background: #353535;
	background: linear-gradient(to bottom right, #353535 0%, #ff8b00 60%, #ff8b00 80%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin: 0;
	position: absolute;
	top: calc(50% - 76px);
	right: 0;
}

.custom-timeline-entry{
	display: block;
	clear: both;
	position: relative;
}

.custom-timeline-entry .ct-entry-buttons{
	height: 100px;
	position: relative;
	cursor: pointer;
}

.custom-timeline-entry .ct-entry-buttons .ct-entry-buttons-year{
	float: left;
	text-align: right;
	font-size: 24px;
	line-height: 24px;
	font-weight: bold;
	width: calc(50% - 70px);
	position: relative;
	top: calc(50% - 12px);
	background: #353535;
	background: linear-gradient(to bottom right, #353535 0%, #ff8b00 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.custom-timeline-entry:nth-child(odd) .ct-entry-buttons .ct-entry-buttons-year{
	float: right;
	text-align: left;
}

.custom-timeline-entry .ct-entry-buttons .ct-entry-buttons-arrow{
	float: right;
	text-align: left;
	width: calc(50% - 40px);
	font-size: 32px;
	position: relative;
	top: calc(50% - 16px);
	left: -20px;
	color: #ff8b00;
}

.custom-timeline-entry:nth-child(odd) .ct-entry-buttons .ct-entry-buttons-arrow{
	float: left;
	text-align: right;
	width: 50%;
}

.custom-timeline-entry .ct-entry-buttons .ct-entry-buttons-arrow svg{
	width:32px;
	height:32px;
}

.custom-timeline-entry:nth-child(odd) .ct-entry-buttons .ct-entry-buttons-arrow svg{
	rotate:-180deg;
}

.custom-timeline-entry .ct-entry-buttons .ct-line{
	width: 60px;
	height: 1px;
	border-top:1px solid #353535;
	position: absolute;
	top: 50%;
	left: calc(50% - 60px);
}

.custom-timeline-entry:nth-child(odd) .ct-entry-buttons .ct-line{
	left:initial;
	right: calc(50% - 60px);
}

.custom-timeline-entry .ct-entry-buttons .ct-node{
	width: 26px;
	height: 26px;
	background: #353535;
	border-radius: 50%;
	position: absolute;
	top: calc(50% - 13px);
	left: calc(50% - 13px);
}

.custom-timeline-entry .ct-entry-content{
	display:none;
	background-color: #fff;
	position: absolute;
	z-index: 12;
	width: 100vw;
	transform: translateX(-50%);
	top: calc(-50% + 20px);
	left: 50%;
	padding: 80px;
}

.custom-timeline-entry .ct-entry-content .entry-content-container{
	max-width: 960px;
	margin: auto;
}

.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-year{
	text-align: left;
	font-weight: bold;
	width: 390px;
	font-size: 130px;
	line-height: 130px;
	position: absolute;
	left: calc(50% - 430px);
	top: 51px;
	background: #353535;
	background: linear-gradient(to right, #353535 0%, #ff8b00 60%, #ff8b00 90%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-entry-content-year{
	text-align: right;
	left: initial;
	right: calc(50% - 430px);
	cursor: pointer;
}

.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-year .ct-line{
	width: 60px;
    height: 1px;
    border-top: 1px solid #353535;
    position: absolute;
    top: calc(50% + 4px);
    right: -30px;
	cursor: pointer;
}

.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-entry-content-year .ct-line{
	right: initial;
	left: -30px;
}

.custom-timeline-entry .ct-entry-content .entry-content-container .ct-node{
	width: 26px;
	height: 26px;
	background: #353535;
	border-radius: 50%;
	position: absolute;
	top: 107px;
	left: calc(50% - 13px);
	cursor: pointer;
}

.custom-timeline-entry .ct-entry-content .entry-content-container .ct-arrow{
	color: #ff8b00;
	position: absolute;
	top: 105px;
	right: calc(50% - 52px);
	cursor: pointer;
}

.custom-timeline-entry .ct-entry-content .entry-content-container .ct-arrow svg{
	width: 32px;
	height: 32px;
}

.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-arrow{
	left: initial;
	left: calc(50% - 52px);
}

.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-images{
	padding-right: 60px;
	text-align: center;
	font-weight: bold;
	width: 630px;
	position: relative;
	left: calc(50% - 536px);
	top: 114px;
	margin-bottom: 70px;
}

.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-entry-content-images{
	padding-right: 0;
	left: calc(25%);
	top: 110px;
}

.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-images img{
	max-height: 100px;
	width: auto;
	display: inline-block;
	margin-bottom: 0;
}

.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-text{
	float: right;
	text-align: left;
	width: calc(50% - 80px);
	font-size: 16px;
	line-height: 24px;
}

.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-entry-content-text{
	float: left;	
}

.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-text p{
	margin: 12px 0;
}

@media only screen and (max-width: 1060px){
	.custom-timeline-heading .ct-starting-year{
		font-size: 80px;
	}
	.custom-timeline-heading .ct-intro{
		font-size: 18px;
   		line-height: 24px;
	}
	.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-year{
		left: calc(50% - 370px);
		font-size: 108px;
	}
	.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-entry-content-year{
		left: initial;
		right: calc(50% - 370px);
		width: 274px;
	}
	.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-images{
		width:400px;
		left: calc(50% - 408px);
		top: 94px;
	}
	.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-entry-content-images{
		left: 25%;
		width: 540px;
	}
	.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-year .ct-line{
		right:32px;
	}
	.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-entry-content-year .ct-line{
		right:initial;
		left: -84px;
	}
}

@media only screen and (max-width: 830px){
	.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-year{
		left: calc(50% - 290px);
		font-size: 80px;
	}
	.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-entry-content-year{
		left: initial;
		right: calc(50% - 290px);
		width: 200px;
	}
	.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-images{
		width: 400px;
		left: calc(50% - 360px);
	}
	.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-entry-content-images{
		left: 25%;
		width: 450px;
	}
	.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-year .ct-line{
		right:110px;
	}
	.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-entry-content-year .ct-line{
		right:initial;
		left: -78px;
	}
}


@media only screen and (max-width: 690px){
	.custom-timeline-heading .ct-starting-year{
		font-size: 46px;
	}
	.custom-timeline-heading .ct-intro{
		font-size: 16px;
   		line-height: 20px;
	}
	.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-year{
		left: initial;
		right: initial;
		margin: auto;
		position: relative;
		width: 200px;
	}
	.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-entry-content-year{
		left: initial;
		right: initial;
	}
	.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-text{
		left: initial;
		right: initial;
		text-align: center;
		width: 100%;
		position: relative;
		top: 54px;
	}
	.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-entry-content-text{
		float: left;	
	}
	.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-images{
		width: 100%;
		left: initial;
		right: initial;
		padding: 0;
		height: auto;
		float: none;
		position: relative;
		margin: 0;
		top: 60px;
		margin-bottom: 20px;
	}
	.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-entry-content-images{
		left: initial;
		width: 100%;
		top: 50px;
	}
	.custom-timeline-entry .ct-entry-content .entry-content-container .ct-entry-content-year .ct-line{
		right: 85px;
		top: 8px;
		rotate: 90deg;
		width: 30px;
	}
	.custom-timeline-entry:nth-child(odd) .ct-entry-content .entry-content-container .ct-entry-content-year .ct-line{
		right:initial;
		left: 85px;
	}
}

@media only screen and (max-width: 482px){
	.custom-timeline-heading .ct-starting-year{
		width: calc(50% - 46px);
		top: calc(50% - 68px);
	}
	.custom-timeline-heading .ct-starting-year{
		font-size: 38px;
	}
	.custom-timeline-heading .ct-intro{
		width: calc(50% - 44px);
		font-size: 12px;
   		line-height: 16px;
	}
}

