.girteka-history-slider {
	width: 100%;
	overflow: hidden;
	padding: 30px 0;
}

.slider-container {
	display: flex;
	overflow: hidden;
	width: 100%;
	cursor: grab;
}

.slider-container.active {
	cursor: grabbing;
}

.timeline-list {
	display: flex;
	flex-direction: row;
	list-style: none;
	margin: 0;
	padding: 0;
	transition: transform 0.5s ease-in-out;
}

.timeline-item {
	max-width: 600px;
	/* Adjust as needed for spacing */
	padding: 20px;
	background: transparent;
	flex: 0 0 auto;
	color: #ffffff;
	/* White text color */
	position: relative;
	padding-left: 300px;
}

.timeline-item::after {
	content: '';
	position: absolute;
	top: 65px;
	right: -6px;
	width: calc(100% - 300px);
	height: 2px;
	background-color: rgb(255 255 255 / 15%);
	transform: translateY(-50%);
}

.timeline-item::before {
	content: '';
	position: absolute;
	top: 65px;
	right: calc(100% - 300px);
	width: 10px;
	height: 10px;
	background-color: #ffffff;
	/* Circle color */
	border-radius: 50%;
	transform: translateY(-50%);
}

.year {
	font-weight: bold;
	font-size: 32px;
	margin-left: -200px;
	font-size: 60px;
	font-weight: 500;
	font-family: 'Poppins';
}

.title, .additional-title {
	font-size: 32px;
	font-family: 'Poppins';
	font-weight: 500;
}

.description, .additional-description {
	margin-top: 5px;
	font-size: 16px;
	/* Adjust size */
	line-height: 1.4;
	font-family: 'Roboto';
	color: #fff;
	font-weight: 400;
}

.timeline-btn {
    border: none;
    padding: 0px !important;
}

li.timeline-item.same-year {
	max-width: 300px;
	padding-left: 0;
	padding-top: 110px;
	margin-left: 22px;
}

.timeline-item.same-year::before {
	right: 100%;
}

.timeline-item.same-year::after {
	width: 100%;
}

li.timeline-item:first-child {
    padding-left: 200px;
    max-width: 500px;
}

li.timeline-item:first-child::before {
    right: calc(100% - 200px);
}

li.timeline-item:first-child::after {
    width: calc(100% - 200px);
}

.girteka-history-slider {
    user-select:none;
}

.timeline-btns-block {
    position: absolute;
    z-index: 2;
    top: -70px;
    right: calc((100vw - 1320px) / 2);
}

.timeline-previous-arrow, .timeline-next-arrow {
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
	background-color:transparent !important;
}

.timeline-previous-arrow {
    background-image: url("../images/timeline-next-arrow.svg");
}

.timeline-next-arrow {
    background-image: url("../images/timeline-next-arrow.svg");
}

.blue-timeline .timeline-next-arrow {
    opacity: 1 !important;
    filter: brightness(0.5);
}

.blue-timeline .timeline-previous-arrow {
    opacity: 1 !important;
    filter: brightness(0.5);
}


.timeline-previous-arrow {
    rotate: 180deg;
}

.timeline-btns-block button{
    opacity:0.2;
	background-color:transparent !important;
}

.timeline-btns-block button:hover{
    opacity:1;
}

/* Tablet screens */
@media (max-width: 1024px) {
    li.timeline-item:first-child::after, li.timeline-item::after {
        width: calc(100% - 20px);
    }
    
    li.timeline-item:first-child::before, li.timeline-item::before {
        right: calc(100% - 20px);
    }
    
    .year {
        margin-top: -33px;
        margin-bottom: 40px;
        margin-left: 0;
        font-size: 40px;
    }
    
	.title{
		font-size: 20px;
	}
	
    .description, .additional-description {
        max-width: calc(100% - 40px);
    }
    
    li.timeline-item:first-child {
        padding-left: 10px;
        max-width: 500px;
    }
    
    .timeline-item {
            padding-left: 0;
    }
    
    .timeline-btns-block {
        right: 60px;
    }
	
	.slider-container {
		overflow: scroll !important;
		overflow-y: scroll !important;
	}
	
	.slider-container {
		-ms-overflow-style: none;  /* Internet Explorer 10+ */
		scrollbar-width: none;  /* Firefox */
	}
	.slider-container::-webkit-scrollbar { 
		display: none;
	}
}

@media (max-width: 767px) {
	.timeline-item {
		max-width: 400px;
	}
    li.timeline-item:first-child {
		max-width: 400px;
	}
	
	.blue-timeline ul.timeline-list {
		display: block;
	}
	
	.blue-timeline .timeline-next-arrow {
		display:none;
	}

	.blue-timeline .timeline-previous-arrow {
		display:none;
	}
	
	.blue-timeline li.timeline-item.item-declaring-year {
		border-left: 1px solid #cecece;
		padding-left: 30px;
	}
}

@media (max-width: 1320px) and (min-width: 1024px) {
	.timeline-btns-block{
		right:20px;
	}
}

@media (max-width: 1024px) and (min-width: 767px) {
	.timeline-btns-block{
		right:60px;
	}
}


.slider-container .timeline-list .year .mark{
    display:none;
}
.blue-timeline .timeline-list .description, 
.blue-timeline .timeline-list .additional-description{
    color:#666!important;
}
@media (max-width: 767px) {
    .blue-timeline .year {
        font-size: 28px;
        margin-top: -25px;
    }
    .blue-timeline .title {
        font-size: 18px;
    }
    
    .timeline-btns-block {
        right: 20px;
    }
    .blue-timeline  {
        padding:0!important;
    }
    .blue-timeline .slider-container .timeline-list {
        margin-left:20px!important;
    }

    .blue-timeline .slider-container .timeline-list .year .mark {
        display:block;
    }
    
    .blue-timeline .slider-container .timeline-list .year .mark {
        content: '';
        position: absolute;
        left: -15px;
        top: 0px;
        background-color: #0B576A;
        border-radius: 50%;
        border: solid 9px #fff;
        padding: 5px;
    }
    
    .blue-timeline .timeline-item::after,
    .blue-timeline .timeline-item::before {
        content: unset;
    }
    .blue-timeline .timeline-item .year {
        margin-bottom:0;
    }
    .blue-timeline li.timeline-item.item-declaring-year
    {
        border-left: 1px solid rgba(11, 86, 105, 0.1);
    }
    
    .blue-timeline li.timeline-item.item-declaring-year:last-child{
        border:none!important;
    }
    
    .blue-timeline  .description, .blue-timeline .additional-description {
        max-width: 100%;
    }

}
