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

/* Logo */

.default-logo {
	transition: transform 0.2s ease-in-out;
}

.site-logo-container:hover .default-logo {
	transform: scale(1.1) rotate(23deg);
}

.site-logo-container:hover + .site-title-container a {
	color: var(--theme-link-hover-color);
}

/* Custom Tailwind */
.hidden {
	display: none !important;
}

.block {
	display: block;
}

.h-full	{
	height: 100%;
}

.w-full	{
	width: 100%;
}

.bg-white {
	background-color: #fff !important;
}

.w-fit,
.w-fit li {
	width: fit-content;
}

/* Хлебные крошки */
[aria-label="Breadcrumb"] {
	gap: 15px !important;
}

/* Услуги */
.services-tabs > div.active {
	border-color: var(--theme-palette-color-4) !important;
}

.more svg:has(+.modified) {
	transform: rotate(-90deg);
}

#services .services-tabs > div.active .more [data-id='0'].gspb_iconsList__item svg path,
.services-tabs > div.active .more .modified {
	fill: var(--theme-palette-color-2) !important;
	color: var(--theme-palette-color-2);
}

/* Меню */
[data-dropdown*=type-1] [class*=animated-submenu].ct-active>.sub-menu {
    width: fit-content;
}

/* Ссылки меню */
[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 {
	color: var(--theme-link-hover-color) !important;
}

/* Кнопки */
.hidden-button {
	color: inherit !important;
	cursor: auto;
}

/* Текст */
.wp-block-list {
	padding-left: 20px;
}

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

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

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

.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);
}

/* Шапка */
#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;
}

/* 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 {
	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;
}

/* Форма связи */
.ff-field_container:has(+ div .bg-white) input {
	background-color: #fff !important;
}

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

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

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

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

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

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

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

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

/* Десктоп */
@media (min-width: 999.99px){
	/* Услуги */
	.services-tabs [class*="service-"]:hover {
		border-color: var(--theme-palette-color-4) !important;
	}
	
	/* Custom Tailwind */
	.z-auto {
		z-index: auto !important;
	}
	
	/* 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"]:has(.floating-button) .ct-footer [data-row*="bottom"] > div,
	[data-footer*="type-1"]:has(.floating-button) .ct-footer [data-row] > div {
		padding-bottom: 110px;
	}
	
	/* Тень */
	.custom-shadow {
		box-shadow: 0px -5px 30px -5px rgba(34, 56, 101, .15);
	}
	
	/* 	Карта */
	.rcs-map-container {
		min-height: 260px;
	}
}

/* Планшет */
@media (min-width: 690px) and (max-width: 999.98px) {
	/* Шапка */
    #header [data-row*=boxed]>div {
        --padding: 0 20px !important;
    }
}

/* Мобила */
@media (max-width: 689.98px) {
	/* Шапка */
    #header [data-row*=boxed]>div {
        --padding: 0 20px !important;
    }
	
	.ff-btn-submit {
		width: 100%;
	}
	
	/* Подвал */
	.hidden-button span {
		font-size: 12px;
	}
	
	/* Форма связи */
	.fluentform .ff-el-form-check-label .ff-el-form-check-input + span {
		font-size: 12px;
	}
}