/*
Theme Name: LedgerPeek Theme
Theme URI:
Description: LedgerPeek, crafted by Kakhnych Oleh.
Author: Kakhnych Oleh
Tested up to: 5.8
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.0.0
*/
body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 100%;
	margin: 0 !important;
}

body.wp-admin {
	overflow: auto !important;
}

.wpcf7-not-valid-tip {
	font-size: 2rem;
}

.wpcf7 form .wpcf7-response-output {
	font-size: 1.6rem;
	max-width: 50rem;

	display: none !important;
}

/* Скрываем все кастомные сообщения */
.message-box {
	display: none !important;
}

.message-box.show {
	display: none !important;
}

@media screen and (min-width: 1200px) {
	.lang_menu__item.disabled .lang_menu__link {
		pointer-events: none;
	}
}

@media (min-width: 1024px) {
	.templates__block--search_mod {
		display: none;
	}
}

@media (max-width: 1023.5px) {
	.templates__block--desktop_mod {
		display: none;
	}
}
.templates__no_results_text strong:hover {
	text-decoration: underline;
}

.document_hero__tags,
.tags{
	display: none;
}
@media screen and (max-width: 1023.5px) {
	.document_cta {
		padding-bottom: 4rem;
	}
}

.testimonials {
	padding-bottom: 7rem;
}

.grecaptcha-badge {display: none !important;}

.templates__search {
	margin-bottom: 3rem;
}
.blog_filters__item .js-links-flag,
.templates_hero__select .js-links-flag{
	display: flex;
	align-items: center;
}

/* New section "search template" for home page */
.legal_contracts.templates .pin-spacer {
    height: 100% !important;
}

@media screen and (min-width: 1024px) {
    .legal_contracts.templates .template_el__item:nth-child(n+11) {
        display: none; 
    }
    .legal_contracts.templates .templates__sidebar {
        max-height: 100% !important;
        height: 100% !important;
    }
    .legal_contracts.templates .templates__block:not(:last-child) {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 1023.5px) {
	.legal_contracts.templates .template_el__item:nth-child(n+6) {
		display: none;
	}
}