/*!
Theme Name: Asoto
Theme URI: #
Author: Nadiia Haida
Author URI: //knott.fun
Version: 1.1.2
*/

.cf-block__preview section {
	margin-top: var(--section-gap);
}

html :where(.wp-block) {
    max-width: none !important;
}

.cf-block__preview .gallery {
	display: block !important;
}

.cf-block__preview section p {
	margin-bottom: 0 !important;
}

.accordion-section-title button.accordion-trigger {
	height: auto;
}

.cf-block__preview .preview {
	float: none;
}

.cf-block__preview .arrow {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	width: auto;
}

.cf-block__preview .arrow:after {
	position: static;

	transform: rotate(0);
}

.quicktags-toolbar input {
	width: auto !important;
}

.cf-media-gallery__item {
	flex-basis: 33.3333% !important;
}

.cf-block__preview .faq_content {
	display: block !important;
}

.flatpickr-month {
    overflow: visible !important;
    
    margin-top: -12px;
    margin-bottom: 12px;
}

.wp-block-widget-area__panel-body-content {
	overflow: hidden;
}


#knot-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	z-index: 9999;
}

#knot-loading:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	background-color: var(--bg);
	opacity: 0.5;
	z-index: -1;
}

#knot-loading:after {
	--size: 40px;

	content: '';

	width: var(--size);
	height: var(--size);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill='%23000000' version='1.1' id='Capa_1' width='800px' height='800px' viewBox='0 0 26.349 26.35' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Ccircle cx='13.792' cy='3.082' r='3.082'/%3E%3Ccircle cx='13.792' cy='24.501' r='1.849'/%3E%3Ccircle cx='6.219' cy='6.218' r='2.774'/%3E%3Ccircle cx='21.365' cy='21.363' r='1.541'/%3E%3Ccircle cx='3.082' cy='13.792' r='2.465'/%3E%3Ccircle cx='24.501' cy='13.791' r='1.232'/%3E%3Cpath d='M4.694,19.84c-0.843,0.843-0.843,2.207,0,3.05c0.842,0.843,2.208,0.843,3.05,0c0.843-0.843,0.843-2.207,0-3.05 C6.902,18.996,5.537,18.988,4.694,19.84z'/%3E%3Ccircle cx='21.364' cy='6.218' r='0.924'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	animation: kf-rotate infinite 1s linear;
}

@keyframes kf-rotate {
	from {
		transform: rotate(0);
	} to {
		transform: rotate(400grad);
	}
}