/*
--------------------------------------
Container
--------------------------------------
*/

.elementor-widget-ucaddon_custom_slider {
	overflow: hidden;
}

/*
--------------------------------------
Item
--------------------------------------
*/

.custom-slider__item {
	position: relative;
	display: grid;
	grid-template-rows: 60px 90px 170px;
	flex: 0 0 230px;
	font-family: var(--e-global-typography-primary-font-family);
	border-radius: 20px;
}

.custom-slider__item .custom-slider__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/*Background */

.custom-slider__item-background {
	grid-row: 2/4;
	grid-column: 1/-1;
	background: #fff;
	border-radius: 20px;
}

/*Img*/

.custom-slider__item .custom-slider__item-img-container {
	grid-row: 1/2;
	grid-column: 1/-1;
	height: 165px;
}

.custom-slider__item .custom-slider__img {
	display: flex;
	justify-content: center;
	object-fit: cover;
	border-radius: 50%;
	height: 100%;
	margin: auto;
	padding-top: 0.5em;
}

/*Content*/

.custom-slider__item-content {
	grid-row: 2 / 4;
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	text-align: center;
	height: 100%;
	padding-bottom: 15px;
}

.custom-slider__item .custom-slider__content-container {
	display: flex;
	flex-direction: column;
	flex: 1;
	background: #F5F5F5;
	border-radius: 0 0 20px 20px;
	padding: 25px;
}

/*Name*/

.custom-slider__item .custom-slider__item-title {
	font-family: var(--e-global-typography-secondary-font-family);
	font-size: 24px;
	font-weight: 500;
	color: var(--e-global-color-secondary);
	line-height: 30px;
	max-width: 75%;
	margin: 0 auto;
}

/*Specialty*/

.custom-slider__item .custom-slider__specialty {
	font-size: 14px;
	font-weight: 500;
	background-color: var(--e-global-color-primary);
	color: #fff;
	text-transform: uppercase;
	padding: 0.25em;
}

/*Description*/

.custom-slider__item .custom-slider__description-container {
	padding: 1em 0 0.5em 0;
}

.custom-slider__item p {
	font-size: 16px;
	font-weight: 400;
	color: #000;
	line-height: 160%;
}

/*Btn*/

.custom-slider__item .custom-slider__btn-container {
	margin-top: auto;
}

/*
--------------------------------------
Slider
--------------------------------------
*/

.custom-slider__slider-wrapper {
	position: relative;
	overflow: visible;
	width: 100%;
	margin: 0 auto;
}

.custom-slider__slider-container {
	display: flex;
	gap: 20px;
	transition: transform 0.3s ease;
	will-change: transform;
}

.custom-slider {
	min-width: 30%;
	flex-shrink: 0;
}

.custom-slider__btns-container {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	position: absolute;
	z-index: 15;
	top: 50%;
	left: 5px;
	right: 5px;
}

.custom-slider__slider-nav {
	background: #fff;
	color: #000;
	border: none;
	border-radius: 0;
	cursor: pointer;
	transition: all .35s ease-in-out;
	padding: 10px;
}

.custom-slider__slider-nav:focus,
.custom-slider__slider-nav:hover {
	background: var(--e-global-color-primary);
	color: #fff;
}
