
/*------------------------------------*\
    HISTORY PAGE TEMPLATE
\*------------------------------------*/
.historyTimeline {
    margin: auto;
    position: relative;
    padding: 10px 0;
	padding-right:100px;
	overflow:hidden;
	--barheight : 100%;
}

.historyTimeline:before {
    content: '';
    display: block;
    position: absolute;
    background: #006432;
    width: 2px;
    top: 66px;
	height:calc(var(--barheight) - 132px);
    bottom: auto;
    right: 50px;
    margin-left: -1px;
	z-index:-1;
	transition:height 300ms;
}
.historyTimeline > * {
	z-index:5;	
    position: relative;
}
.historyTimeline .timelineStop {
    clear: both;
    width: 100%;
	height:100px;
	position:relative;
}

.historyTimeline .timelineStop:before {
    content: '';
	position:absolute;
	left:100%;
	top:50%;
	transform:translateY(-50%) translateX(-50%);
	margin-left:50px;
    display: block;
    width: 62px;
    height: 62px;
    background: #006432;
    border: solid 6px #006432;
    border-radius: 50%;
    z-index: 2;
}

.historyContent {
    text-align: center;
}

.historyContent .entry-title {
    position: relative;
    padding-bottom: 25px;
}

.historyContent .entry-title:before {
    position: relative;
    display: block;
    content: '';
    width: 42px;
    height: 37px;
    background-image: url(images/icon.png);
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0 auto 10px;
}

.historyContent .entry-title:after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: #7488a3;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -20px;
}

.historyBlock {
	position:relative;
}




.historyBlock .date {
	position:relative;
	font-weight:700;
	margin-left:30px;
}
.historyBlock .date:before {
    content: "";
    position: absolute;
    width: 15px;
    height: 2px;
    background-color: #EFAC41;
    left: -30px;
    top: 50%;
    display: block;
}
.historyBlock .historyText {
	position: relative;
    transform: none;
    padding: 30px 30px 30px;
    background-color: #f4f4f4;
	font-size:16px;
	border-radius:50px;
}
.historyBlock .historyText.hasimg {
    padding: 80px 30px 30px;	
	border-top-left-radius:0;
	border-top-right-radius:0;
}
.historyBlock .historyText .historyTitle {
	font-size:18px;
	font-weight:700;
	margin-bottom:12px;
}

.historyBlock .historyImage {
    position: relative;
	margin-bottom:-50px;
	z-index:5;
    border-radius: 50px;
    overflow: hidden;	
}
.historyBlock .historyImage img{
	max-height:370px;
	object-fit:cover;
}
.historyBlockContainer {
	position:relative;
	margin-bottom:30px;
}

 .historyBlockContainer:before {
	position: absolute;
	top: 50%;
	height: 2px;
	margin-top:-1px;
	border: 0;
	background: #006432;
	content: '';
	z-index: 0;
	display: block;
	width: auto;
	left:30px;
	right:-38px;
}
 .historyBlockContainer:after {
	content: '';
	position: absolute;
	top: 50%;
	height: 4px;
	width:4px;	
	z-index: 0;
	margin-top:-2px;
	background: #006432;
	right:-40px;
}
.historyBlockContainer.major:after {
	display:none;
	
}
.historyBlockContainer .year {
	position:absolute;
    border: solid 6px #006432;
	background:#fff;
    width: 72px;
    height: 72px;
	transform:translateY(-50%) translateX(-50%);
    border-radius: 50%;	
    left: 100%;
    top: 50%;
	font-size:14px;
    font-weight: 700;
	margin-left:38px;
	z-index:5;
}
.historyBlockContainer .year span{
	position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    text-align: center;
    display: block;
	padding-left:5px;
	padding-right:5px;
}
.historyBlockContainer.major .historyBlock {
	
}
.historyBlockContainer.major .historyBlock .historyImage {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	margin-left:0;
	margin-right:0;
	margin-bottom:0;
	z-index:1;
}
.historyBlockContainer.major .historyBlock .historyImage img{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	object-fit:cover;
	max-height:100%;
}
.historyBlockContainer.major .historyBlock .historyImage:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
    /* IE6-9 */
}
.historyBlockContainer.major .historyBlock .historyText.hasimg {
	background:transparent;
	color:#fff;
	padding-top:200px;
	z-index:5;
}


.historyJourney .jrnyTitle {
    color: #192a47;
    margin: 50px;
    font-size: 80px;
    text-align: center;
    line-height: 1;
    font-weight: 700;
}

.historyJourney .jrnyTitle span {
    color: #192a47;
}

.tlStart {
    width: 100%;
}

@media (min-width: 992px) {
   .historyTimeline {
	   padding-right:0;
   }
   .historyTimeline:before {
	   right:auto;
	   left:50%;
   }
   .historyBlockContainer .year {
	   left:50%;
	   margin-left:0;
   }
   .historyTimeline .timelineStop:before {
		left:50%;
		margin-left:0;
   }
   .historyBlockContainer.evenBlock:before{
		left:50%;	   
		right: auto;
		width: 10%;
   }
   .historyBlockContainer.oddBlock:before{
		right:50%;	   
		left: auto;
		width: 10%;	   
   }
   .historyBlockContainer.major:before {
	   display:none;
   }
   .historyBlockContainer:after {
		margin-right: -2px;
		right: 50%;	   
   }
   .historyBlockContainer {
	   margin-bottom:-50px;
   }
   .historyBlockContainer:last-child {
	   margin-bottom:30px;
   }
   .historyBlockContainer .historyBlock {
	   min-height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
   }
   .historyBlockContainer.major {
	   margin-bottom:30px;
	   padding-top:30px;
   }
   .historyBlockContainer.major .year {
	   top:30px;
   }
    .tlStart .historyBlock {
        opacity: 0;
        transform:translateX(-100%);
        transition: 1000ms;
    }

    .tlStart .historyBlockContainer.evenBlock .historyBlock {
        transform:translateX(100%);
    }

    .tlStart .historyBlockContainer.evenBlock .historyBlock.come-in, .tlStart .historyBlock.come-in {
        transform:translateX(0%);
        opacity: 1;
    }
	.tlStart .historyBlockContainer.evenBlock .historyBlock.come-in, .tlStart .historyBlock.come-in {
		transform: translateX(0%);
        opacity: 1;
	}
}