/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Jivo Chat */
.jv-mobile-or-tablet .__jivoMobileButton {
	z-index: auto;
}

.page:not(.home) .jv-mobile-or-tablet .__jivoMobileButton {
	margin-bottom: 20px !important;
}

/* Аккордион */

.wp-block-greenshift-blocks-accordion .wp-block-greenshift-blocks-accordionitem:last-child .gs-accordion-item__title,
.wp-block-greenshift-blocks-accordion .wp-block-greenshift-blocks-accordionitem:last-child .gs-accordion-item__content {
	border-bottom-width: 0 !important;
}

.wp-block-greenshift-blocks-accordion .gsclose.wp-block-greenshift-blocks-accordionitem:last-child .gs-accordion-item__title,
.wp-block-greenshift-blocks-accordion .wp-block-greenshift-blocks-accordionitem:last-child .gs-accordion-item__content .gs-accordion-item__text {
	padding-bottom: 0 !important;
}

/* Ссылки меню */

[aria-label="main"] > ul:not(#menu-footer) a.ct-menu-link {
	color: var(--theme-link-initial-color) !important;
}

[aria-label="main"] > ul:not(#menu-footer) a.ct-menu-link:hover,
[aria-label="main"] > ul:not(#menu-footer) a[aria-current="page"] {
	color: var(--theme-link-hover-color) !important;
}

/* Текст */

.phone-text {
	font-size: 22px;
	display: flex;
    align-items: flex-start;
    gap: 25px;
	color: var(--theme-palette-color-3);
}

.phone-text:hover {
	color: var(--theme-palette-color-2);
}

.phone-text::before {
	content: url(/wp-content/uploads/2024/09/phone.svg);
}

.gspb_heading_subtitle,
h1 + .gspb_heading_subtitle {
	order: -1;
}

.wp-block-list {
	padding-left: 20px;
}

.wp-block-list li {
	margin-bottom: 10px;
}

#program + .gspb_row__content h3 {
	display: flex;
	align-items: center;
    gap: 20px;
}

#program + .gspb_row__content .gspb_heading_subtitle {
	background: var(--theme-palette-color-5);
	border-radius: 99px;
    padding: 5px 10px;
}

a:focus-visible, 
button:focus-visible {
    outline-width: 0 !important;
}

b, strong {
    font-weight: 600 !important;
}

.gs-toggler-wrapper {
    margin-bottom: 0;
}

.sitemap-links a {
	text-decoration: none;
    color: var(--theme-palette-color-3);
	transition: all .2s;
}

.sitemap-links a:hover {
	color: var(--theme-palette-color-2);
}

/* Чат */

#chaty-widget-0 .chaty-tooltip::after {
    background-color: unset !important;
    box-shadow: unset;
}

.chaty-channel-list .chaty-channel, 
.chaty-channel.single .chaty-svg,
.chaty-cta-button {
	box-shadow: unset !important;
}

/* Шапка */

#header {
    margin-top: 10px;
}

#header [data-row*=boxed]>div {
    padding: var(--padding, 0 40px);
}

.ct-panel-actions {
    padding-inline: var(--panel-padding, 20px) !important;
    padding-top: 28px !important;
}

/* Скрыть элементы: кнопка слайдера */

.swiper-button-disabled {
	display: none !important;
}

/* Отступы */

.fluentform,
.ff_submit_btn_wrapper,
.wp-block-greenshift-blocks-swiper {
	margin-bottom: 0 !important;
}

#lecturers,
#program,
#place {
	margin: 0;
}

.ff-el-form-check-label {
	gap: 5px;
}

/* Flex */

#main-container .site-main,
.ff-el-form-check-label {
	display: flex;
}

.flex-100 {
	flex: 0 0 100%;
}

/* Размеры */

.ct-container-full,
.slider-content-zone, 
.ct-container-full > article,
.entry-content {
	height: 100%;
}

.ct-container-full,
#team-slider .slider-content-zone {
	width: 100%;
}

/* Модальное окно */

.ct-popup .ct-toggle-close[data-location=outside] {
    top: -22px !important;
    --toggle-button-inset-end: -22px !important;
}

.ct-popup .ct-toggle-close {
    --theme-icon-size: 14px !important;
    --toggle-button-size: 32px !important;
}

/* Форма связи */

label {
    font-size: 16px !important;
}

.fluentform .ff-el-input--label {
    margin-bottom: 10px;
}

.fluent_form_1 .rangeslider__handle {
    width: 26px;
    height: 26px;
    border: none;
}

.fluent_form_1 .rangeslider--horizontal {
    height: 8px;
    width: 80%;
}

.fluent_form_1 .rangeslider {
    background: var(--theme-palette-color-5);
}

.fluent_form_1 .rangeslider__handle:after {
    background: var(--theme-palette-color-8);
}

.fluent_form_1 .rangeslider__fill {
    background: var(--theme-palette-color-1);
}

.fluent_form_1 label,
.fluent_form_1 .ff_range_value,
.fluent_form_1 p,
.wp-block-greenshift-blocks-row .fluentform .ff-el-form-check-label .ff-el-form-check-input + span a {
    color: var(--theme-palette-color-8);
}

.fluentform .ff-el-form-check-label .ff-el-form-check-input + span {
    font-size: 14px;
	font-weight: 3200;
}

.fluent_form_1 .ff_slider_wrapper {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.fluent_form_1 .ff-custom_html p {
	font-size: 22px;
	font-weight: 400;
	margin-bottom: 10px;
}

.fluent_form_1 .ff-custom_html,
.fluent_form_1 .ff-custom_html p:last-child {
	margin-bottom: 0;
}

.fluent_form_1 .ff-t-column-1 .ff-el-form-hide_label {
	margin: 20px 0 40px;
}

.ff_range_value,
.ff_input-group:has([name="numeric_field"]) input,
.ff_input-group:has([name="numeric_field"]) span {
    text-align: left !important;
    font-weight: 400 !important;
    font-size: 32px !important;
}

.ff_input-group:has([name="numeric_field"]) input,
.ff_input-group:has([name="numeric_field"]) span {
    background-color: unset !important;
    background: none;
    color: white !important;
    border: unset !important;
    padding: 0 !important;
}

.fluent_form_1 .ff_input-group {
	gap: 10px;
}

.calculator-form [name="numeric_field"] {
	flex: 0 !important;
}

.fluentform .ff-el-form-check-label .ff-el-form-check-input {
    top: 1px;
}

/* Адаптивность */

/* Десктоп */

@media (min-width: 999.99px){
	/* Jivo Chat */
	.jv-mobile-or-tablet .__jivoMobileButton {
		margin-bottom: 20px !important;
	}
}

/* Планшет + десктоп */

@media (min-width: 689.99px) {

}

/* Мобила + планшет */

@media (max-width: 999.98px) {
	/* Подвал */
	footer [data-column="logo"] {
		order: -1;
	}
	
	footer [data-column="copyright"] {
		order: 1;
	}
	
	[data-footer*="type-1"].home .ct-footer [data-row*="bottom"] > div {
		padding-bottom: 110px;
	}
	
	/* Текст */
	h1 + .gspb_heading_subtitle::before {
		width: 12px;
		height: 12px;
		margin-right: 15px;
	}
	
	/* Тень */
	.custom-shadow {
		box-shadow: 0px -5px 30px -5px rgba(34, 56, 101, .15);
	}
	
	/* Width */
	.m-w-100,
	.gspb_button_wrapper:has(.m-w-100) {
		width: 100%;
	}
	
	/* 	Карта */
	.rcs-map-container {
		min-height: 260px;
	}
}

/* Планшет */

@media (min-width: 690px) and (max-width: 999.98px) {
	/* Шапка */
    #header [data-row*=boxed]>div {
        --padding: 0 20px !important;
    }
	
	/* Форма */
	.ff_range_value,
	.ff_input-group:has([name="numeric_field"]) input,
	.ff_input-group:has([name="numeric_field"]) span {
		font-size: 28px !important;
	}
	
	.fluent_form_1 .ff-custom_html p {
		font-size: 20px;
	}
	
	/* Текст */
	h1 + .gspb_heading_subtitle::before {
		width: 14px;
		height: 14px;
	}
}

/* Мобила */

@media (max-width: 689.98px) {
	/* Шапка */
    #header [data-row*=boxed]>div {
        --padding: 0 20px !important;
    }
	
	/* Форма */
	.ff_range_value,
	.ff_input-group:has([name="numeric_field"]) input,
	.ff_input-group:has([name="numeric_field"]) span {
		font-size: 24px !important;
	}
	
	.fluent_form_1 .ff-custom_html p {
		font-size: 18px;
	}
	
	.fluent_form_1 .ff-t-column-1 {
		margin-bottom: 50px;
	}
	
	.ff-btn-submit {
		width: 100%;
	}
	
	/* Слайдер */
	#team-slider .slider-content-zone {
		height: 550px !important;
	}
	
	/* Текст */
	#program + .gspb_row__content h3 {
		gap: 10px;
		flex-direction: column;
		align-items: flex-start;
	}
	
	.phone-text {
		font-size: 18px;
	}
}