/*
Theme Name: Kela
Theme URI: https://inshi.pro/
Author: Inshi
Author URI: https://inshi.pro/
Description: This WordPress theme has been custom-developed. It may contain specific features and design elements tailored to the requirements of the client. Please note that as a custom-designed product, it may not encompass the full range of functionalities found in generic WordPress themes. Any replication or redistribution of this theme without proper authorization is strictly prohibited.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*<editor-fold desc="Wp Admin Bar">*/
#wpadminbar
{
	opacity: .3 !important;
	/* display: none; */
}

#wpadminbar:hover
{
	opacity: 1 !important;
}

@media screen and (max-width: 768px)
{
	#wpadminbar
	{
		display: none;
	}
}

html[lang]
{
	margin-top: unset !important;
}

.hidden
{
	display: none !important;
}

/*</editor-fold>*/

/*<editor-fold desc="Base">*/

html
{
	overflow-x: hidden;
}

figure
{
	display: flex;
	flex-direction: column;
}

body .wp-site-blocks
{
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	 overflow: hidden;
}

body .wp-site-blocks > footer
{
	margin-top: auto;
}

/*</editor-fold>*/

/*<editor-fold desc="Helpers">*/
.technically-hidden
{
	display: none !important;
}

.hero-page-start
{
	margin-top: min(max(81px, calc((100vw - 800px) / 21.0526) + 81px), 100px) !important;
}

/*</editor-fold>*/

/*<editor-fold desc="Layout">*/
.size-80
{
	width: 80px;
	height: 80px;
}

/*</editor-fold>*/

/*<editor-fold desc="Header">*/

header.main-header
{
	position: relative;
	z-index: 1000;
	background-color: var(--wp--preset--color--kela-white);
}

div.main-header
{
	position: fixed;
	width: 100%;
	inset: 0 0 auto 0;
	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
	background-color: rgba(255, 255, 255, 1);
	z-index: 1001;
}

.megamenu-shader
{
	position: fixed;
	top: 168px;
	left: 0;
	width: 100%;
	z-index: 999;
}

.megamenu-shader
{
	position: fixed;
	top: min(max(81px, calc((100vw - 800px) / 21.0526) + 81px), 100px);
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	background: rgba(0, 0, 0, 0.55);
}

.megamenu-item
{
	/*display: none;*/
	/*position: absolute;*/
	/*top: 168px;*/
	z-index: 200;
	max-width: 1440px;

}

@media (min-width: 1124px) {
	.megamenu-item {
		max-height: calc(100vh - 120px);
		overflow-y: auto !important;
		overflow-x: hidden;
	}

	.megamenu-item::-webkit-scrollbar {
		width: 6px;
	}

	/*.megamenu-item::-webkit-scrollbar-thumb {*/
	/*	background: rgba(0,0,0,.25);*/
	/*	border-radius: 10px;*/
	/*}*/
}

#utility-nav p:empty
{
	display: none;
}

/*.megamenu-shader {*/
/*	display: none;*/
/*	position: fixed;*/
/*	inset: 0;*/
/*	background: rgba(0,0,0,0.3);*/
/*	z-index: 100;*/
/*}*/

/*</editor-fold>*/

/*<editor-fold desc="FAQ">*/
.faq-item
{
	display: grid !important;
	overflow: hidden;
	transition: grid-template-rows .3s, padding-bottom .3s;
}

.faq-item:not(.open)
{
	grid-template-rows: auto 0fr;
}

.faq-item.open
{
	grid-template-rows: auto 1fr;
	padding-bottom: 24px;
}

.faq-item h5
{
	user-select: none;
	cursor: pointer;
	transition: margin-bottom .3s;
}

.faq-item h5::after
{
	content: '';
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%) rotate(0deg);
	width: 16px;
	height: 16px;
	background-image: url(assets/images/minus.svg);
	transform-origin: 50% 50%;
	transition: transform .2s;
}

.faq-item:not(.open) h5::after
{
	transform: translateY(-50%) rotate(-90deg);
}

/*</editor-fold>*/

/*<editor-fold desc="Accordion">*/

.accordion-item
{
	display: grid !important;
	min-width: 242px;
	cursor: pointer;
	transition: grid-template-rows .3s ease-in-out, padding-bottom .3s ease-in-out;
}

.accordion-item.active
{
	grid-template-rows: auto 1fr;
	/*padding-bottom: 16px;*/
}

.accordion-item:not(.active)
{
	grid-template-rows: auto 0fr;
}

.accordion-item .accordion-item-inner-stack
{
	overflow: hidden;
}

/*@media only screen and (max-width: 840px)*/
/*{*/
/*    !*.accordion-item.active*!*/
/*    !*{*!*/
/*    !*    background: #F7F9FA;*!*/
/*    !*}*!*/

/*    .accordion-item:not(.active):last-child h6*/
/*    {*/
/*        border-bottom: 1px solid #EEF2F5;*/
/*    }*/

/*    .accordion-item:not(.active) h6*/
/*    {*/
/*        border-top: 1px solid #EEF2F5;*/
/*    }*/
/*}*/

@media only screen and (min-width: 841px)
{
	.accordion-item-image
	{
		display: none !important;
	}
}

@media only screen and (min-width: 841px)
{
	/* Скрываем контент внутри самих accordion-item, чтобы не дублировался */
	.accordion-item .accordion-item-inner-stack,
	.accordion-item .accordion-item-content
	{
		display: none !important;
	}
}

@media only screen and (max-width: 840px)
{
	.accordion-display
	{
		display: none !important;
	}

	.wp-container-core-group-is-layout-c4f3e778
	{
		grid-template-columns: repeat(1, minmax(0, 1fr));
		gap: 24px;
	}

	.accordion-item-image
	{
		margin-top: 0 !important;
		margin-bottom: 12px !important;
	}

	.accordion-inner-grid
	{
		padding-block-end: 8px;
		padding-inline: 20px;
	}

	.accordion-item h5
	{
		padding-inline: 20px;
	}

	.accordion-progress-bar
	{
		display: none !important;
	}

	.info-accordion
	{
		position: static !important;
		gap: 20px;
	}

}

.bulit-grid
{
	position: relative;
	padding-top: 22px;
}

.info-accordion
{
	position: absolute;
	padding-left: 26px;
	top: 22px;
}

/* Серая линия */
.info-accordion::before
{
	content: "";
	position: absolute;
	left: 0; /* было 8px */
	top: 0;
	width: 2px;
	height: 100%;
	background: rgba(0, 0, 0, 0.1);
}

/* Красная активная полоска */
.accordion-indicator
{
	position: absolute;
	left: 0; /* тоже прижимаем к самому краю */
	top: -5px;
	width: 2px;
	height: 30px;
	background: #FA2E2D;
	border-radius: 2px;
	/*opacity: 0;*/
	transition: top 0.4s ease, opacity 0.3s ease;
}

.info-accordion.has-active .accordion-indicator
{
	opacity: 1;
}

.info-accordion.has-active .accordion-indicator
{
	opacity: 1;
}

.mt-9
{
	margin-top: 9px !important;
}

.pr-66
{
	padding-right: 66px !important;
}

@media only screen and (max-width: 820px)
{
	.pr-66
	{
		padding-right: 0 !important;
	}
}

/*</editor-fold>*/

.m-auto
{
	position: fixed;
	z-index: 999;
	align-items: center;
	width: 100%;
	top: 140px;
}

#modalCalendar
{
	display: none;
}

.popup-wrapper
{
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(31, 31, 31, 0.50);;
	z-index: 10000;
}

.cye-wrapper
{
	position: relative;
	border-top: 6px solid #F00;
	background-color: #F6F6F6;
	z-index: 5;
}

@media only screen and (max-width: 1200px)
{
	.cye-wrapper
	{
		overflow: scroll !important;
	}
}

.ai-modal
{
	position: relative;
	display: flex;
	justify-content: space-between;
	border-top: 6px solid #F00;
	background: #FFF;
	min-height: 427px;
	flex-wrap: nowrap;
	z-index: 5;
}

@media only screen and (max-width: 600px)
{
	.ai-modal
	{
		min-height: 520px !important;
	}
}

.wp-block-group.programs-track
{
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 24px !important;
	will-change: transform;
	transition: transform .35s ease;
}

/*
.video-placeholder.video_image.blocked
{
	pointer-events: none;
}*/
