/* Главно меню */
.ks-nav__list,
.ks-nav__list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ks-nav a {
	color: var(--e-global-color-text);
	display: flex;
	align-items: center;
	font-family: "Montserrat", Sans-serif;
	font-weight: 600;
	line-height: 20px;
	padding: 13px 20px;
	position: relative;
	transition: .4s;
}

.ks-nav a::after {
	content: "";
	display: block;
	position: absolute;
	z-index: 2;
}

.ks-nav--horizontal a::after {
	background-color: var(--e-global-color-primary);
	bottom: 0;
	height: 1.5px;
	left: 0;
	opacity: 1;
	transition: .3s;
	width: 100%;
}

.ks-nav--horizontal li:not(.current-menu-item) > a:not(:hover):not(:focus)::after {
	height: 0;
	left: 50%;
	opacity: 0;
	width: 10px;
}

.ks-nav--vertical a::after {
	border: 3px solid var(--e-global-color-secondary);
	inset: 0;
	opacity: 1;
	transition: opacity .4s;
}

.ks-nav--vertical li:not(.current-menu-item) > a:not(:hover):not(:focus)::after {
	opacity: 0;
}

.ks-nav a:hover,
.ks-nav a:focus,
.ks-nav .current-menu-item > a {
	color: var(--e-global-color-primary);
}

.ks-nav--horizontal {
	display: flex;
	justify-content: center;
}

.ks-nav--horizontal .ks-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.ks-nav--horizontal .ks-nav__list > li {
	display: flex;
	position: relative;
}

.ks-nav--horizontal .ks-nav__list > li > a {
	flex-grow: 1;
	white-space: nowrap;
}

.ks-nav--horizontal .ks-nav__list > li:not(:last-child)::after {
	align-self: center;
	border-left: 2px solid var(--e-global-color-secondary);
	content: "";
	height: 35%;
}

/* Мобилно меню */
.ks-drawer {
	align-items: center;
	background-color: rgba(0, 0, 0, .8);
	display: flex;
	height: 100%;
	inset: 0;
	justify-content: flex-start;
	position: fixed;
	z-index: 9999;
}

.ks-drawer[hidden] {
	display: none;
}

.ks-drawer__panel {
	animation: ks-slide-in .6s both;
	background-color: #fff;
	box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, .2);
	box-sizing: border-box;
	height: 100%;
	max-width: 100%;
	overflow-y: auto;
	padding: 81px 10px 10px;
	position: relative;
	width: 300px;
}

.ks-drawer__close {
	align-items: center;
	background: none;
	border: 0;
	border-radius: 0;
	color: #515962;
	cursor: pointer;
	display: flex;
	height: 40px;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: 7.5px;
	top: 7.5px;
	width: 40px;
}

.ks-drawer__close svg {
	height: 15px;
	width: 15px;
}

.ks-drawer__close:hover,
.ks-drawer__close:focus {
	background: none;
	color: var(--e-global-color-primary);
}

.ks-drawer__close:focus:not(:focus-visible) {
	outline: none;
}

.ks-drawer__logo {
	display: block;
	margin-bottom: 20px;
}

.ks-drawer__logo img {
	display: block;
	height: 49px;
	object-fit: contain;
	object-position: center center;
	width: 100%;
}

.ks-drawer.is-closing .ks-drawer__panel {
	animation-name: ks-slide-out;
}

.ks-drawer.is-closing {
	animation: ks-fade-out .6s both;
}

html.ks-no-scroll {
	overflow: hidden;
}

@keyframes ks-slide-in {
	from {
		transform: translate3d(-100%, 0, 0);
	}

	to {
		transform: none;
	}
}

@keyframes ks-slide-out {
	from {
		transform: none;
	}

	to {
		transform: translate3d(-100%, 0, 0);
	}
}

@keyframes ks-fade-out {
	to {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ks-drawer,
	.ks-drawer__panel,
	.ks-drawer.is-closing,
	.ks-drawer.is-closing .ks-drawer__panel {
		animation: none;
	}
}

/* Карусел */
.elementor-element.ks-carousel {
	display: block;
	height: fit-content;
	min-width: 0;
	padding: 0;
	position: relative;
	width: 100%;
}

.ks-carousel:not(.ks-ready) {
	display: flex;
	gap: 10px;
	overflow: hidden;
}

.ks-carousel:not(.ks-ready) > .e-con {
	flex: 0 0 calc((100% - 30px) / 4);
}

.elementor-editor-active .ks-carousel:not(.ks-ready) {
	overflow-x: auto;
}

.elementor-element.ks-carousel.ks-ready > .swiper {
	padding-bottom: 16px;
}

.elementor-element.ks-carousel.elementor-arrows-position-inside > .swiper ~ .elementor-swiper-button-prev {
	left: 0;
}

.elementor-element.ks-carousel.elementor-arrows-position-inside > .swiper ~ .elementor-swiper-button-next {
	right: 0;
}

.ks-carousel > .swiper > .swiper-wrapper > .swiper-slide {
	flex-shrink: 0;
	height: auto;
}

.ks-carousel > .swiper > .swiper-wrapper > .swiper-slide > .e-con {
	height: 100%;
	max-width: 100%;
}

.elementor-element.ks-carousel.ks-ready > .swiper-pagination-bullets {
	bottom: auto;
	height: max-content;
	left: 50%;
	line-height: 0;
	position: absolute;
	text-align: center;
	top: 100%;
	transform: translate(-50%, -100%);
	width: max-content;
}

.ks-carousel .swiper-pagination-bullet {
	background: #000;
	height: 6px;
	vertical-align: top;
	width: 6px;
}

@media (max-width: 1024px) {
	.ks-carousel:not(.ks-ready) > .e-con {
		flex-basis: calc((100% - 10px) / 2);
	}
}

@media (max-width: 767px) {
	.ks-carousel:not(.ks-ready) > .e-con {
		flex-basis: 100%;
	}
}

/* Форма за наръчника (класовете идват от старата форма, лендингите ги стилизират) */
.ks-hp {
	height: 1px;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

.mailerlite-form .mailerlite-form-description,
.mailerlite-form .mailerlite-form-field {
	margin-bottom: 10px;
}

.mailerlite-form .mailerlite-form-field label {
	display: block;
}

.mailerlite-form .mailerlite-subscribe-button-container {
	text-align: center;
}

.mailerlite-form-response {
	color: #00a154;
	display: none;
	margin-top: 20px;
	text-align: center;
}

.mailerlite-form-loader {
	display: none;
	font-weight: bold;
	margin: 0 20px;
	text-align: center;
}

.mailerlite-form-error {
	color: #f00;
	display: block;
}

.mailerlite-subscribe-submit {
	max-width: 100%;
}

.ks-partner-note {
	color: #2a2030;
	font-size: .9rem;
	margin: 12px 0 0;
}

.ks-partner-note a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
}

/* Формата на лендингите */
#ksl .ksl-embed .mailerlite-form-description {
	display: none;
}

#ksl .ksl-embed .mailerlite-form-field label {
	color: #3f2849;
	display: block;
	font-size: .85rem;
	font-weight: 700;
	margin: 0 0 6px;
}

#ksl .ksl-embed .mailerlite-form-field input[type=email] {
	background: #fff;
	border: 1.5px solid #c9bcd0;
	border-radius: 999px;
	box-sizing: border-box;
	color: #2a2030;
	font: inherit;
	font-size: 1rem;
	padding: 13px 18px;
	width: 100%;
}

#ksl .ksl-embed .mailerlite-form-field input[type=email]:focus {
	border-color: #3f2849;
	box-shadow: 0 0 0 3px rgba(63, 40, 73, .12);
	outline: none;
}

#ksl .ksl-embed .mailerlite-subscribe-button-container {
	margin-top: 12px;
	text-align: left;
}

#ksl .ksl-embed .mailerlite-subscribe-submit {
	background: #ccffab;
	border: 0;
	border-radius: 999px;
	color: #3f2849;
	cursor: pointer;
	font: inherit;
	font-size: 16px;
	font-weight: 800;
	padding: 14px 30px;
	transition: filter .15s;
	width: 100%;
}

#ksl .ksl-embed .mailerlite-subscribe-submit:hover {
	filter: brightness(.94);
}

#ksl .ksl-embed .mailerlite-form-response {
	margin-top: 10px;
}

#ksl .ksl-embed .mailerlite-form-response h4 {
	font-size: 1rem;
	margin: 0;
}

/* Образователен център „Иновейшън“ на лендингите */
#ksl .ks-ic-tag {
	background: #e78640;
	border-radius: 999px;
	color: #2a1230;
	display: inline-block;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .03em;
	padding: 4px 11px;
	white-space: nowrap;
}

#ksl .ks-ic-btn {
	background: #e78640;
	border-radius: 999px;
	color: #2a1230;
	display: inline-block;
	font-size: .95rem;
	font-weight: 800;
	padding: 12px 24px;
	text-decoration: none;
	transition: filter .15s;
}

#ksl .ks-ic-btn:hover {
	color: #2a1230;
	filter: brightness(.94);
}

#ksl .ks-ic-tel {
	color: var(--p);
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

#ksl .ks-ic-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	margin: 16px 0 0;
}

#ksl .ks-ic-hero {
	background: #fff6ee;
	border: 2px solid #e78640;
	border-radius: 18px;
	padding: 20px 22px;
}

#ksl .ks-ic-hero__top {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	justify-content: space-between;
	margin: 0 0 12px;
}

#ksl .ks-ic-hero__top img {
	display: block;
	height: 40px;
	width: auto;
}

#ksl .ks-ic-hero__title {
	color: var(--p);
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 6px;
}

#ksl .ks-ic-hero__text {
	color: #2a2030;
	font-size: .95rem;
	margin: 0 0 12px;
}

#ksl .ks-ic-points {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

#ksl .ks-ic-points li {
	background: #fff;
	border: 1px solid #f3c9a6;
	border-radius: 999px;
	color: var(--p);
	font-size: .8rem;
	font-weight: 700;
	margin: 0;
	padding: 4px 11px;
}

#ksl .ks-ic-calc {
	background: #fff6ee;
	border-left: 4px solid #e78640;
	border-radius: 0 10px 10px 0;
	color: #2a2030;
	font-size: .92rem;
	margin: 14px 0 0;
	padding: 10px 14px;
}

#ksl .ks-ic-calc a {
	color: var(--p);
	font-weight: 800;
}

#ksl .ksl-partner.ks-ic-section {
	background: #fff9f3;
	border-color: #e78640;
}

#ksl .ks-ic-section .ksl-subj a {
	background: #fff;
}

#ksl .ks-ic-section p a {
	text-decoration-color: #e78640;
}

#ksl .ks-ic-link {
	color: var(--p);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: #e78640;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

#ksl .ks-ic-facts {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, 1fr);
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

#ksl .ks-ic-facts li {
	background: #fff;
	border-radius: 12px;
	margin: 0;
	padding: 10px 12px;
}

#ksl .ks-ic-facts b {
	color: var(--p);
	display: block;
	font-size: 1.1rem;
	line-height: 1.2;
}

#ksl .ks-ic-facts span {
	color: #6b5a74;
	font-size: .74rem;
}

#ksl .ks-ic-note {
	color: #6b5a74;
	font-size: .8rem;
	margin: 10px 0 0;
}

#ksl .ks-ic-ghost {
	border: 2px solid #fff;
	border-radius: 999px;
	color: #fff;
	display: inline-block;
	font-size: 1rem;
	font-weight: 800;
	margin: 10px 0 0 10px;
	padding: 12px 28px;
	text-decoration: none;
}

#ksl .ks-ic-ghost:hover {
	background: #fff;
	color: var(--p);
}

@media (min-width: 821px) {
	#ksl .ksl-hero {
		grid-template-rows: auto 1fr;
	}

	#ksl .ksl-hero > .ksl-form {
		grid-column: 2;
		grid-row: 1 / span 2;
	}

	#ksl .ksl-hero > .ks-ic-hero {
		align-self: start;
		grid-column: 1;
		grid-row: 2;
	}
}

@media (max-width: 820px) {
	#ksl .ks-ic-ghost {
		font-size: .92rem;
		margin-left: 0;
		padding: 12px 20px;
	}
}
