@charset "UTF-8";

/*

Project Name: Events timeline slider with Swiper Slider
Project URI: http://www.onyxdev.net/snippets-item/events-timeline-slider-swiper-slider/
Author: Onyx Web Development Nuggets
Author URI: https://www.onyxdev.net
Version: 1.0

*/


/************************************************************

	Main Styles

*************************************************************/




/************************************************************

	Common elements

*************************************************************/


/* Transitions
*************************************/
.timeline-button-next,
.timeline-button-prev {
	-webkit-transition: all .2s ease-in-out;
	   -moz-transition: all .2s ease-in-out;
		-ms-transition: all .2s ease-in-out;
		 -o-transition: all .2s ease-in-out;
			transition: all .2s ease-in-out;
}
.timeline-dates .swiper-slide:after,
.timeline-dates .swiper-slide div {
	-webkit-transition: all .3s ease-in-out;
	   -moz-transition: all .3s ease-in-out;
		-ms-transition: all .3s ease-in-out;
		 -o-transition: all .3s ease-in-out;
			transition: all .3s ease-in-out;
}



/************************************************************

	Wrapper

*************************************************************/
.wrapper {
	min-height: 100vh;
	display: flex;
	align-items: center;
}
.body-content {
    margin: 50px;
}

/*h4 {
	color: #fff;
	font-weight: 700;
	text-align: center;
	margin-bottom: 50px;
	text-transform: capitalize;
}
h5 {
	color: #fff;
	font-weight: 700;
	margin-bottom: 15px;
}
p {
	color: #bfa9f0;
	font-size: 13px;
}*/



/************************************************************

	Timeline

*************************************************************/
.timeline {
	padding: 0 2rem;
}
.timeline-dates {
    padding-bottom: .5rem;
    box-sizing: border-box;
    margin: 3rem 0 3.5rem;
}
.timeline-dates .swiper-slide {
	color: #000;
	cursor: pointer;
	font-family: 'Times New Roman', serif;
	font-weight: bold;
	/*font-style: italic;*/
	min-height: 37px;
    width: auto;
    height: 100%;
}
.timeline-dates .swiper-slide div {
	position: relative;
/*    opacity: 0.4;*/
    height: 70px;
    width: 80px;
    font-size: 2rem !important;
    background: #fff !important; 
    top: 30px !important;
}

.timeline-dates .swiper-slide-active div {
	font-size: 2rem;
/*    opacity: 1;*/
    width: 150px;
    height: 130px;
    background: rgb(20,42,74) !important;
    top: 0px !important;
}

.timeline-dates .swiper-slide .hex-history-color {
	background: rgb(20,42,74) !important;
    height: 80px;
    width: 90px;
    top: 25px !important;
    left: -5px !important;   
}

.timeline-dates .swiper-slide-active .hex-history-color {
    background: linear-gradient(90deg, #4C6EB2 15%, #E11F26 25%, #E2D91D 75%, #42AA48 100%) !important;
    width: 150px;
  	height: 130px;
  	top: 3px !important;
    left: 2px !important;
}

.timeline-dates .swiper-slide div h1 {
	font-size: 1.5rem !important;
	color: rgb(20,42,74) !important;	
}

.timeline-dates .swiper-slide-active div h1 {
	font-size: 2.0rem !important;
	color: #fff !important;
}
/*.body-content:after {
	content: "";
	width: 100%;
	height: 2px;
	position: absolute;
    bottom: .3rem;
    bottom: 72px;
    border-bottom: 4px solid rgb(20,42,74);
}*/

.body-content:after {
	content: "";
	width: 90%;
	height: 2px;
	position: absolute;
    bottom: .3rem;
    top: 113px;
    border-bottom: 4px solid rgb(20,42,74);
}
/*.timeline-dates .swiper-slide:after {
	content: "";
	width: .4rem;
	height: .4rem;
	position: absolute;
    bottom: -.55rem;
    background-color: #ffaa88;
    border-radius: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translateY(-50%);
}
.timeline-dates .swiper-slide-active:after {
    background-color: #e39034;

}*/

.timeline-contents {
    height: 80%;
    width: 100%;
}

/* Arrows */
.timeline-buttons-container {
    position: absolute;
    top: 156px;
    right: 1.5rem;
    left: 1.5rem;
}
.timeline-button-next,
.timeline-button-prev {
    position: absolute;
    bottom: 19px;
    width: auto;
    height: auto;
    margin-top: 0;
    z-index: 2;
    cursor: pointer;
    background-color: rgb(20,42,74);
/*    border-radius: 50%;*/
    width: 46px;
    height: 46px;
    font-size: 20px;
    padding: 5px;
}

.timeline-button-next i,
.timeline-button-prev i {
	color: #fff;
	transition: color 0.3s;
}

.timeline-button-next:hover i,
.timeline-button-prev:hover i {
	color: #000;
}

.timeline-button-next {
    right: 0;
}
.timeline-button-prev {
    left: 0;
}
.timeline-button-next:hover,
.timeline-button-prev:hover {
    background-color: #fff;
}
/*.timeline-button-next:before,
.timeline-button-prev:before {
	font-family: "Ionicons";
	color: rgba(255, 255, 255, 1);
	position: absolute;
	top: 52%;
	transform: translate(-50%,-50%);
	margin-right: -50%;
}
.timeline-button-next:before {
	content: "\f10a";
	left: 53%;
}
.timeline-button-prev:before {
	content: "\f107";
	left: 47%;
}
.timeline-button-next:hover:before,
.timeline-button-prev:hover:before {
	color: #e39034;
}*/
@media (max-width: 992px) {
	.body-content:after {
		width: 86%;
	}
}
@media (max-width: 767px) {
	.body-content:after {
		width: 80%;
	}
}
@media (max-width: 420px) {
	.body-content:after {
		width: 74%;
	}
}