.edu-slider--wrapper {
    margin: 0 auto;
    max-width: 100%; /* Або інше потрібне значення */
    /*overflow: hidden;  Важливо для приховування зайвих слайдів */
}

.edu-slider--container {
    position: relative;
    width: 100%;
    --slides-to-show: 1; /* За замовчуванням 1 */
    --gap: 1em;
    overflow: hidden; /* Важливо для приховування зайвих слайдів */
}

.edu-slider--view {
    /*width: 95%;  Контейнер видимої області */
	width: clamp(240px, 100%, 1250px);
    /* width: calc(100% - (var(--slides-to-show) * var(--gap))*2); Контейнер видимої області */
    transition: transform 0.25s ease-out;
    overflow: hidden; /* Важливо для приховування зайвих слайдів */
    margin: auto;
	/* margin: 2em; */
}

.edu-slider--view ul {
    display: flex;
    gap: var(--gap);
    list-style: none;
    padding: 0;
    margin: 0;
    /*width: fit-content;  Ширина вмісту (всіх слайдів в ряд) */
}

.edu-slider--view__slides {
  flex: 1 0 calc(100% / var(--slides-to-show) - var(--gap));
    /* gap: 1em; */
    box-sizing: border-box;
    padding: 20px; /* За потреби */
     /*text-align: center; За потреби */
    background-color: #fffefe;
    /* max-width: 90%; */
	margin: 0 0.7em 0 0;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.edu-slider--view__slides:hover {
	box-shadow: 10px 5px 5px #f3f2f2;
}
.edu-slider--view__slides.more-link {
	background-color: transparent;
	margin: auto;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.edu-slider--arrows {
    width: 100%;
    margin: 0 auto;
}

.edu-slider--arrows span {
    position: absolute;
    top: 50%;
    transform: translateX(0) translateY(-50%);
    width: 40px;
    height: 40px;
    display: block;
    cursor: pointer;
    border-radius: 50%;
    background: #e2e0e0;
    line-height: 1em;
    text-align: center;
    opacity: 0.6;
}
.dashicons, .dashicons-before::before {
	font-size: 40px;
	color: #BE8A45;
}
.dashicons-arrow-left {
    left: 0;
    transform: translateX(-100%) translateY(-50%);
}

.dashicons-arrow-right {
    right: 0;
    transform: translateX(100%) translateY(-50%);
}

.dashicons-arrow-left:hover,
.dashicons-arrow-right:hover {
    opacity: 1;
}

.edu-slider--arrows span.disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

/*-- edu course wrapper Start --*/
.edu_course_main_wrapper {
	padding-top: 100px;
	padding-bottom: 100px;
}
.metabox {
	display: flex;
	flex-direction: row;
	margin: 0.6rem 0;
	justify-content: space-between;
}

#filter {
	position: relative;
	display: inline-block;
	height: 50px;
	border: 2px solid #e38612;
	background: #ffffff;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
}

#filter li a {
	display: block;
	font-size: 16px;
	cursor: pointer;
	color: #000000;
	font-weight: 600;
	letter-spacing: 1px;
	background: transparent;
	padding: 5px 10px;
	margin-right: 10px;
	position: relative;
	z-index: 1;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

#filter li {
	position: relative;
}

.my_filter_tabs .active {
	position: relative;
}

#filter li a:last-child {
	margin-right: 0px;
}

#filter li a {
	padding: 10px 50px;
}

.filter_slider {
	display: inline-block;
	height: 50px;
	border-radius: 3px;
	background-color: #e38612;
	position: absolute;
	z-index: 1;
	bottom: -48px;
	transition: all .4s linear;
	border-radius: 50px;
	;
}

#filter li .active {
	color: #ffffff !important;
}

.edu_coll_slider_tabs .nav-tabs .active a {
	background-color: transparent !important;
	border: none !important;
	position: relative;
}

.edu_coll_slider_tabs .tab-pane {
	padding: 15px;
	height: 300px;
}

.edu_coll_slider_tabs .nav-tabs li {
	margin: 0px;
}

.edu_coll_slider_tabs .nav-tabs li a {
	position: relative;
	margin-right: 0px !important;
	padding: 12px 23px !important;
	font-size: 16px;
	border: none !important;
	text-transform: uppercase;
	color: #1e283c;
	letter-spacing: 1px;
	text-decoration: none;
}

.edu_coll_slider_tabs .nav-tabs a:hover {
	background-color: transparent !important;
	border: none;
	color:#5e3a4a;
}

.slider {
	display: inline-block;
	height: 3px;
	background-color: #5e3a4a;
	position: absolute;
	z-index: 1;
	bottom: 0px;
	transition: all .4s linear;
	transition: all 500ms ease;
	-webkit-mask-image: linear-gradient(-75deg, rgba(244, 55, 55, 0.24) 50%, #f43737 50%, rgba(0, 0, 0, 1) 70%);
	-webkit-mask-size: 200%;
	animation: shine 2s infinite;
}

.edu_coll_slider_tabs .nav-tabs .active a {
	background-color: transparent !important;
	border: none !important;
	position: relative;
	font-weight: 600;
	color:#5e3a4a;
}

.edu_coll_slider_tabs .nav-tabs {
	position: relative;
	border: 0;
	display: flex;
	flex-wrap: nowrap;
	padding-bottom: 20px;
	overflow: hidden;
}

.edu_coll_slider_tabs .nav-tabs:after {
	content: '';
	background: rgba(84, 102, 237, 0.2);
	width: 130%;
	height: 1px;
	position: absolute;
	bottom: 0;
	left: -10%;
}
.edu_coll_slider_tabs .nav-tabs .active a:after {
	content: '';
	display: inline-block;
 	height: 3px;
	width: 40%;
	background-color: #5e3a4a;
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 1;
	bottom: -0.65em;
	transition: all .4s linear;
	transition: all 500ms ease;
	-webkit-mask-image: linear-gradient(-75deg, rgba(244, 55, 55, 0.24) 50%, #f43737 50%, rgba(0, 0, 0, 1) 70%);
	-webkit-mask-size: 200%;
	animation: shine 2s infinite;
}

.edu_coll_slider_tabs {
	padding-top: 60px;
	width: 100%;
	display:flex;
	justify-content: center;
	flex-wrap: nowrap;
}

.edu_slide_tabs_img_box img {
	width: 100%;
}

.edu_slide_tabs_img_box {
	position: relative;
}

.tab-content {
	margin: 2rem 0 2rem 0;
}

.edu_tabs_label {
	width: 70px;
	height: 70px;
	text-align: center;
	background: #dad5d5;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	position: absolute;
	bottom: -35px;
	right: 30px;
}

.edu_tabs_label:after {
	content: '';
	border: 10px solid #fff;
	width: 80px;
	height: 80px;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	position: absolute;
	top: -4px;
	left: -4px;
}

.edu_tabs_label p {
	font-size: 20px;
	color: #3d3d3d;
	line-height: 70px;
}

.edu_slide_tab_box {
	margin-top: 60px;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

.edu_tabs_label_inner {
	width: 70px;
	height: 70px;
	text-align: center;
	background: rgba(116, 66, 93, 1);
	background: -moz-linear-gradient(left, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(116, 66, 93, 1)), color-stop(100%, rgba(62, 46, 46, 1)));
	background: -webkit-linear-gradient(left, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	background: -o-linear-gradient(left, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	background: -ms-linear-gradient(left, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	background: linear-gradient(to right, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#74425d', endColorstr='#3e2e2e', GradientType=1);
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	position: absolute;
	top: 0;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

.edu_tabs_label_inner p {
	font-size: 20px;
	color: #fff;
	line-height: 70px;
}

.edu_slide_tab_box:hover .edu_tabs_label_inner {
	top: -55px;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

.edu_slide_tabs_img_cont_box {
	padding: 40px 20px;
	border: 1px solid #eee;
	border-top: 0;
}

.edu_slide_tab_box:hover {
	-o-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	-ms-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	-webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

.edu_slide_tabs_img_cont_box h4 {
	font-size: 16px;
	color: #797979;
	font-family: 'Lato', sans-serif;
}

.edu_slide_tabs_img_cont_box h4 span,
.edu_slide_tabs_img_cont_box h3 a:hover {
	color: #5e3a4a;
}

.edu_slide_tabs_img_cont_box h3 {
	padding-top: 10px;
}

.edu_slide_tabs_img_cont_box h3 a {
	font-size: 22px;
	font-weight: 600;
	color: #1e283c;
	position: relative;
}

.edu_slide_tabs_img_cont_box h3 a:after {
	position: absolute;
	content: '';
	width: 60px;
	height: 3px;
	left: 0px;
	bottom: -20px;
	transition: all 500ms ease;
	background: rgba(116, 66, 93, 1);
	background: -moz-linear-gradient(left, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(116, 66, 93, 1)), color-stop(100%, rgba(62, 46, 46, 1)));
	background: -webkit-linear-gradient(left, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	background: -o-linear-gradient(left, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	background: -ms-linear-gradient(left, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	background: linear-gradient(to right, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#74425d', endColorstr='#3e2e2e', GradientType=1);
	-webkit-mask-size: 200%;
	animation: shine 2s infinite;
}

.edu_slide_tabs_img_cont_box p {
	padding-top: 35px;
}

.edu_slide_tabs_img_cont_box h5 {
	margin-top: 30px;
}

.edu_slide_tabs_img_cont_box h5 a {
	font-size: 14px;
	color: #fff;
	float: left;
	width: 160px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	background: rgba(116, 66, 93, 1);
	background: -moz-linear-gradient(left, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	background: -webkit-gradient(left top, right top, color-stop(0%, rgba(116, 66, 93, 1)), color-stop(100%, rgba(62, 46, 46, 1)));
	background: -webkit-linear-gradient(left, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	background: -o-linear-gradient(left, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	background: -ms-linear-gradient(left, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	background: linear-gradient(to right, rgba(116, 66, 93, 1) 0%, rgba(62, 46, 46, 1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#74425d', endColorstr='#3e2e2e', GradientType=1);
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
}

.edu_slide_tabs_img_cont_box h5 a:hover {
	background-image: -webkit-linear-gradient(50deg, #9e396ffa 0%, #3f2e2f52 100%);
	background: rgba(116, 66, 93, 1);
	background: -moz-linear-gradient(50deg, #9e396ffa 0%, #3f2e2f52 100%);
	background: -webkit-gradient(50deg, #9e396ffa 0%, #3f2e2f52 100%);
	background: -webkit-linear-gradient(50deg, #9e396ffa 0%, #3f2e2f52 100%);
	background: -o-linear-gradient(50deg, #9e396ffa 0%, #3f2e2f52 100%);
	background: -ms-linear-gradient(50deg, #9e396ffa 0%, #3f2e2f52 100%);
	background: linear-gradient(50deg, #9e396ffa 0%, #3f2e2f52 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(50deg, #9e396ffa 0%, #3f2e2f52 100%);
}

.edu_slide_tab_box2 {
	margin-top: 30px;
}

/*-- edu course wrapper End --*/

@media (max-width: 767px) {
	.edu_coll_slider_tabs .nav-tabs li a{
		padding: 12px 8px!important;
	}
}
@media (max-width: 540px) {
	.edu_coll_slider_tabs .nav-tabs li a,
	.edu_coll_slider_tabs .nav-tabs .active a {
		font-size: 0.75em;
	}
	.edu-slider--view__slides {
		margin: 0;
	}
	.edu_coll_slider_tabs .nav-tabs .active a::after {
		bottom: -1em;
	}	
}
