/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Tom Usborne
Author URI: https://tomusborne.com
Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 10kb (gzipped) to your page size. We take full advantage of the block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS, and is translated into over 25 languages by our amazing community of users. A few of our many features include 60+ color controls, powerful dynamic typography, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover), and 9 widget areas. Learn more and check out our powerful premium version at https://generatepress.com
Tags: two-columns,three-columns,one-column,right-sidebar,left-sidebar,footer-widgets,blog,e-commerce,flexible-header,full-width-template,buddypress,custom-header,custom-background,custom-menu,custom-colors,sticky-post,threaded-comments,translation-ready,rtl-language-support,featured-images,theme-options
Version: 3.5.1.1735443049
Updated: 2024-12-29 08:30:49

*/

.menu-image-title-after.menu-image-title {
    padding-left: 0;
    color: #505050;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
}
.main-navigation .main-nav ul li a {
    line-height: 30px;
}
.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.site-info {
    color: #fff;
    background-color: #669;
}
.footer-widgets {
    color: #fff;
    background-color: #669;
}
.footer-widgets .widget {
    margin-bottom: 2px;
}
.footer-widgets .widget a {
    color: #fff;
}
.footer-widgets-container {
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
    padding: 40px 40px 0;
}
.inside-site-info {
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
    padding: 0 40px 20px;
}
#block-11, #block-16 {
    margin-bottom: 35px;
}
.breadcrumbs {
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    padding: 0 40px 20px;
}
.separate-containers .inside-article {
    padding-top: 0;
    padding-bottom: 0;
}
.woocommerce-product-gallery__image {
    pointer-events: none;
}
.widget-area .widget {
    padding-top: 0;
    padding-bottom: 20px;
}
a {
    -moz-transition: 1s;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
}
.entry-content ul li {
    list-style: square;
}
button {
    color: ffffff;
    letter-spacing: .1em;
    text-transform: uppercase;
    -moz-transition: 1s;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    background-color: #669;
	font-size: 14px;
}
button:hover {
    color: #fff;
    -moz-transition: 1s;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    background-color: #222;
}
.single-product .product .single_add_to_cart_button.button {
    color: #fff;
    font-weight: 400;
    background-color: #669;
}
.woocommerce .product .add_to_cart_button.button {
    color: #fff;
    background-color: #669;
}
.pt-cv-no-post {
    display: none;
}
.pt-cv-edit-view {
    display: none;
}
.featured-image {
    text-align: center;
}
.site-header {
    background-color: #f1f1f1;
}
.main-navigation {
    background-color: #f1f1f1;
}
.archive-image {
    margin-top: 2em;
    margin-bottom: 2em;
    text-align: center;
}
.taxonomy-terms {
    padding-left: 40px;
    list-style: none;
    margin-top: 30px;
    margin-left: 0;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2024/07/tag.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
	background-position: left 7px;
}
.taxonomy-terms li {
    display: inline-block;
}
.taxonomy-terms li a {
    color: var(--contrast);
    font-size: 15px;
    display: inline-block;
    text-decoration: none;
    -moz-transition: 1s;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    background-color: var(--base);
    vertical-align: top;
    padding: 12px 20px;
    margin: 0 7px 10px 0;
}
.taxonomy-terms li a:hover {
    color: #fff;
    -moz-transition: 1s;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    background-color: var(--base-2);
}
.question-text {
    padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2024/07/question-3.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}
.answer-text {
    padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2022/12/chat-1.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}
.author-info {
    display: flex;
}
.author-details {
    padding-left: 10px;
}
.pt-cv-wrapper .pagination li a {
    color: #505050;
    font-size: 15px;
    -moz-transition: 1s;
    -webkit-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    border: none;
    padding: 12px 18px;
}
.pt-cv-wrapper .pagination li a:hover {
    color: #505050;
    background-color: #f1f1f1;
}
.pt-cv-wrapper .text-left {
    text-align: center;
}

.widget-title {
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    border-bottom: 1px solid #e7e7e7;
	margin-bottom: 20px;
}
#block-127 {
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
    border-bottom: 1px solid #e7e7e7;
}

.wp-block-search__input {
    -moz-transition: border-color 0.6s ease-in-out;
    -webkit-transition: border-color 0.6s ease-in-out;
    -o-transition: border-color 0.6s ease-in-out;
    transition: border-color 0.6s ease-in-out;
    border: 2px solid transparent;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    background-color: #f1f1f1above;
    padding: 10px;
}
.wp-block-search__input:hover {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    border-color: #fda110;
    border-style: dashed;
}
.wp-block-search__input:focus {
    border-color: #669;
    border-style: dashed;
    outline: none;
}
div.asl_r .results .item .asl_content h3 a {
    color: #669;
    font-weight: 600;
}
div.asl_r .results .item .asl_content h3 a:hover {
    color: #669;
    font-weight: 600;
}
#ajaxsearchlite1 .probox .proinput input, div.asl_w .probox .proinput input {
    font-size: 13px;
}
.cvp-live-filter select {
    border: none;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    padding: 12px;
}
.cvp-customized select:focus {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}
.cvp-customized select:hover {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}
data[name="place"] {
    color: red;
}
.main-navigation ul ul {
    width: 100px;
}
[data-name="tx_city"] {
    color: #333;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    background-image: url('/wp-content/uploads/2024/10/place.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 32px 32px;
    padding: 10px 10px 10px 40px;
}
[data-name="tx_product_cat"] {
    color: #333;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    background-image: url('/wp-content/uploads/2024/10/competence.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 32px 32px;
    padding: 10px 10px 10px 40px;
}
.ez-toc-icon-toggle-span {
    display: inline-block;
    content: '';
    background-image: url('/wp-content/uploads/2024/11/chevron-1.png');
    width: 24px;
    background-size: cover;
    height: 24px;
}
.ez-toc-icon-toggle-span svg {
    display: none;
}
#ez-toc-container .ez-toc-js-icon-con {
    border: none;
}
#ez-toc-container {
    border: none !important;
    -moz-border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    -o-border-radius: 5px !important;
    border-radius: 5px !important;
    background-color: #f1f1f1 !important;
    padding: 20px 20px 20px 40px !important;
}
.ez-toc-list a:hover {
    text-decoration: none !important;
}
.ez-toc-title {
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.button-div {
    padding-top: 12px;
    padding-bottom: 36px;
    display: flex;
    justify-content: center;
}

.searchandfilter input[type="submit"] {
    display: none;
}

.searchandfilter ul {
    margin: 0;
    padding: 0;
}

.searchandfilter {
    max-width: 100%;
    box-sizing: border-box;
}

.searchandfilter select {
    width: 100%;
    max-width: inherit;
}

.searchandfilter ul li select {
    border: none;
    background-color: #f1f1f1;
    border-radius: 5px;
    padding: 10px;
    outline: none;
	font-family: Pt Sans;
	padding-right: 30px; 
}

.yoast-breadcrumbs {
	letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 2px solid #f1f1f1;
	padding-bottom: 3px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: small;
}

#breadcrumbs {
	letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 2px solid #f1f1f1;
	padding-bottom: 3px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: small;
}

.sections-filter h4 {
    padding-left: 40px;
    list-style: none;
    margin-top: 10px;
	margin-bottom: 0;
    margin-left: 0;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2024/12/diagram.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
	line-height: 32px;
	font-size: small;
}

/* Контейнер для элемента архива */
.archive-item-wrapper {
    display: flex;
    align-items: center; /* Вертикальное выравнивание */
    gap: 20px; /* Расстояние между картинкой и заголовком */
    margin-bottom: 20px; /* Отступ между записями */
	align-items: flex-start; /* Выровняет элементы по верхнему краю */
}

/* Картинка записи */
.archive-item-wrapper .post-thumbnail {
    flex: 0 0 auto; /* Фиксированная ширина картинки */
}

/* Заголовок записи */
.archive-item-wrapper .entry-title-wrapper {
    flex: 1; /* Заголовок занимает оставшееся место */
}

/* Ссылка заголовка записи */
.archive-item-wrapper .entry-title a {
    color: #666699; /* Основной цвет текста */
}

/* Ссылка заголовка при наведении */
.archive-item-wrapper .entry-title a:hover {
    color: #ff8900; /* Цвет при наведении */
}

.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #f0f0f0; /* Фон для неактивных страниц */
    color: #000000;
    text-decoration: none;
    border: none; /* Убираем бордюр */
    border-radius: 5px;
    transition: background-color 0.6s ease, color 0.6s ease;
}

.pagination .page-numbers.current {
    background-color: #666699; /* Фон для текущей страницы */
    color: #fff;
}

.pagination .page-numbers:hover {
    background-color: #000000; /* Фон при наведении */
    color: #fff;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Сетка с динамическими столбцами */
    gap: 20px; /* Уменьшите значение до желаемого промежутка */
    margin-top: 20px; /* Дополнительное расстояние от заголовка */
}

.archive-grid .archive-item {
    flex: 0 0 48%; /* Два элемента в строке */
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .archive-grid .archive-item {
        flex: 0 0 100%; /* Один элемент в строке */
    }
}

.archive-grid .archive-item h2.entry-title {
    font-size: 1.1rem; /* Уменьшенный размер шрифта */
    line-height: 1.4; /* Увеличиваем межстрочный интервал для лучшей читаемости */
    margin-bottom: 10px; /* Отступ снизу */
}

@media (max-width: 768px) {
    .archive-grid .archive-item h2.entry-title {
        font-size: 1rem; /* Ещё меньший размер шрифта на мобильных экранах */
    }
}

.archive-grid .archive-item .post-thumbnail img {
    width: 96px;
    height: 96px;
    object-fit: cover; /* Сохраняем пропорции и обрезаем лишнее */
    margin-right: 10px; /* Отступ справа от изображения */
}

.embedpress-el-powered,
.ep-doc-print-icon,
.ep-doc-draw-icon {
    display: none !important;
}

.embed-doc {
    width: 100% !important; /* Устанавливаем ширину 100% */
    max-width: 100% !important; /* Убираем возможное ограничение максимальной ширины */
    box-sizing: border-box; /* Включаем отступы и бордюры в расчёт ширины */
}

.wp-block-embedpress-document {
    width: 100% !important; /* Устанавливаем ширину 100% для родительского блока */
    max-width: 100% !important; /* Убираем ограничение ширины */
}

.wp-block-embedpress-document iframe {
    width: 100% !important; /* Устанавливаем ширину iframe */
    height: auto; /* Опционально: автоматическая высота для адаптивности */
}


.download-link {
	letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    padding-left: 40px;
    padding-top: 8px;
    padding-bottom: 15px;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/01/document-2.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}

iframe {
    position: relative; /* Устанавливаем позиционирование */
    top: -1px; /* Сдвиг вверх на 1 пиксель */
    left: -1px; /* Сдвиг влево на 1 пиксель */
    width: calc(100% + 2px); /* Увеличиваем ширину на 2 пикселя */
    height: calc(100% + 2px); /* Увеличиваем высоту на 2 пикселя */
    border: none; /* Убираем границу самого iframe */
}

/* Основной контейнер вкладок */
.wp-block-themeisle-blocks-tabs__header {
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 20px;

    /* Flexbox для горизонтального расположения вкладок */
    display: flex !important; /* Принудительно делаем контейнер flex-контейнером */
    flex-wrap: nowrap !important; /* Запрещаем перенос вкладок на новую строку */
    gap: 5px; /* Расстояние между вкладками */
    overflow-x: auto; /* Добавляем горизонтальную прокрутку, если вкладки не умещаются */
    justify-content: flex-start; /* Выравниваем вкладки по левому краю */
}

/* Стили вкладок */
.wp-block-themeisle-blocks-tabs__header_item {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-right: 5px;

    /* Сохраняем ширину вкладки по содержимому */
    flex: 0 0 auto !important;
    padding: 10px; /* Внутренние отступы для лучшего восприятия */
    text-align: center; /* Центрируем текст внутри вкладки */
    white-space: nowrap; /* Запрещаем перенос текста внутри вкладки */
}

/* Стили для неактивных вкладок */
.wp-block-themeisle-blocks-tabs__header_item:not(.active) {
    color: inherit; /* Исходный цвет текста */
    transition: background-color 0.5s ease, color 0.5s ease; /* Плавный переход */
}

/* Изменение стиля при наведении */
.wp-block-themeisle-blocks-tabs__header_item:not(.active):hover {
    background-color: var(--base-2); /* Фон при наведении */
    color: white; /* Цвет текста при наведении */
}

/* Дополнительные настройки для мобильных устройств */
@media (max-width: 768px) {
    .wp-block-themeisle-blocks-tabs__header {
        gap: 3px; /* Уменьшаем расстояние между вкладками для компактного вида */
    }

    .wp-block-themeisle-blocks-tabs__header_item {
        padding: 8px; /* Уменьшаем внутренние отступы для мобильных устройств */
    }
}

.wp-block-themeisle-blocks-tabs.is-style-border:not(.has-pos-left)>div.wp-block-themeisle-blocks-tabs__content>.wp-block-themeisle-blocks-tabs-item>.wp-block-themeisle-blocks-tabs-item__header.active {
    display: none;
}

.wp-block-themeisle-blocks-tabs.is-style-border:not(.has-pos-left)>div.wp-block-themeisle-blocks-tabs__content>.wp-block-themeisle-blocks-tabs-item>.wp-block-themeisle-blocks-tabs-item__header:not(.active) {
    display: none;
}

.wp-block-themeisle-blocks-tabs.is-style-border:not(.has-pos-left)>.wp-block-themeisle-blocks-tabs__header .wp-block-themeisle-blocks-tabs__header_item.active {
    border: none;
}

.featured-image {
    text-align: left;
}

.servises-include {
    padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/02/document-6.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}

.servises-docs {
    padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/02/checklist-2.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}

.servises-result {
    padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/02/legal-2.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}

.woocommerce-categories {
    display: grid;
    grid-template-columns: 1fr; /* По умолчанию один столбец */
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

.category-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    max-width: 400px; /* Ограничение ширины для красивого отображения */
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.category-item h2 {
    font-size: 1.4rem;
    margin-top: 10px;
    color: #333;
}

.category-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    background: #fff;
}

/* Адаптация для больших экранов */
@media (min-width: 768px) {
    .woocommerce-categories {
        grid-template-columns: repeat(2, 1fr); /* Два столбца на экранах от 768px */
        gap: 30px;
    }

    .category-item {
        max-width: 100%; /* Полная ширина ячейки */
    }
}

.category-banner {
    text-align: left;
    margin: 20px 0;
}

.category-banner img {
    max-width: 100%;
    height: auto;
}

.date_label {
    font-weight: 600;
	padding-bottom: 5px;
	padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/03/date.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}

.target_label {
    font-weight: 600;
	padding-bottom: 5px;
	padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/03/target.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}

.place_label {
    font-weight: 600;
	padding-bottom: 5px;
	padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/03/place.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}

.organisators_label {
    font-weight: 600;
	padding-bottom: 5px;
	padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/03/organisators.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}

.time_label {
    font-weight: 600;
	padding-bottom: 5px;
	padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/03/time.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}

.plan_label {
    font-weight: 600;
	padding-bottom: 5px;
	padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/03/plan.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}

.details_label {
    font-weight: 600;
	padding-bottom: 5px;
	padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/03/details.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}

.price_label {
    font-weight: 600;
	padding-bottom: 5px;
	padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/03/price.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}

.speaker_label {
    font-weight: 600;
	padding-bottom: 5px;
	padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/03/speaker.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}

.results_label {
    font-weight: 600;
	padding-bottom: 5px;
	padding-left: 40px;
    line-height: 2em;
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/03/results.png);
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: left top;
}

/* Уменьшаем высоту пунктов меню */
.main-navigation .main-nav ul li a {
    padding: 8px 12px !important; /* Меньше внутренний отступ у ссылок */
    font-size: 14px; /* Опционально: уменьшаем размер шрифта, если нужно */
}

/* Уменьшаем межстрочное расстояние в выпадающих меню */
.main-navigation .sub-menu li {
    margin: 3px 0 !important; /* Уменьшаем вертикальные отступы */
}

/* Уменьшаем ширину пунктов меню */
.main-navigation .main-nav ul {
    padding-left: 0; /* Убираем лишние отступы */
    gap: 5px !important; /* Уменьшаем расстояние между пунктами */
}

/* Выравниваем меню по правому краю */
.main-navigation .main-nav ul {
    justify-content: flex-end !important;
}



.site-branding {
    width: 100%;
	max-width: 180px; /* Ограничивает максимальную ширину */
}

.site-description {
	letter-spacing: .1em;
	text-transform: uppercase;
	font-size: 12px;
	color: #505050;
}

.main-navigation .main-nav ul li a {
    padding: 4px 4px !important;
    line-height: 10px;
}

@media (max-width: 768px) {

	.site-branding {
    width: 100%;
    max-width: 180px;
    margin-top: 20px; 
	}
	
	/* Для блока inside-article */
    .separate-containers .inside-article {
        padding-left: 10px;
        padding-right: 10px;
    }
	
	.widget-area .widget {
        padding-left: 10px;
        padding-right: 10px;
    }
	
	.footer-widgets-container {
        padding-left: 20px;
        padding-right: 20px;
	}

    .header-site-description {
        max-width: 90%; /* Ограничиваем ширину описания */
        text-align: center; /* Центрируем текст */
        word-wrap: break-word; /* Разбиваем длинные слова */
        overflow-wrap: break-word;
        font-size: 14px; /* Уменьшаем размер шрифта */
        margin: 10px auto; /* Добавляем отступы */
    }

    .inside-header {
        flex-wrap: wrap; /* Позволяем элементам переноситься */
        justify-content: center; /* Центрируем содержимое */
    }

    .site-logo {
        max-width: 120px; /* Уменьшаем логотип, если он слишком большой */
    }

    .main-navigation {
        width: 100%; /* Делаем меню на всю ширину */
        text-align: center;
    }
}

.menu-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* Иконка в пункте меню */
.menu-item a img {
    position: relative;
    transition: transform 0.3s ease-in-out;
    z-index: 2; /* Иконка остается поверх */
}

.menu-item a {
    position: relative;
    display: flex;
    align-items: center;
}

.archive-item {
    position: relative;
    display: flex;
}

/* Иконка термина */
.post-thumbnail {
    position: relative;
    display: inline-block;
}

.post-thumbnail {
    width: 96px;
    height: 96px;
}

.wpm-languages:hover::before,
.wpm-languages a:hover::before {
    content: none !important;
    opacity: 0 !important;
    transform: scale(0) !important;
}

.wpm-languages.active-language a {
    font-weight: bold !important;
}

/* Оставляем цвет таким же, но делаем жирным при наведении */
.wpm-languages a:hover {
    color: inherit !important;
}

#menu-item-language-ru > a {
    position: relative;
    padding-left: 40px !important; /* Отступ слева для иконки */
    background-image: url('/wp-content/uploads/2025/03/global-1.png'); /* Фоновая картинка */
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 32px 32px; /* Размер иконки */
	line-height: 30px;
}

/* Активный язык — жирный */
.wpm-languages.active-language a {
    font-weight: bold;
}

::selection {
    background: #666699; /* Цвет фона выделения */
    color: #ffffff; /* Цвет текста при выделении */
}

#ajaxsearchprowidget-3 .widget-title {
    padding: 10px 0 10px 40px; /* 10px сверху, 10px снизу, 40px слева */
    background-image: url('/wp-content/uploads/2025/03/search.png'); /* Путь к иконке */
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 32px 32px; /* Размер иконки */
}

#nav_menu-2 .widget-title {
    padding: 10px 0 10px 40px; /* 10px сверху, 10px снизу, 40px слева */
    background-image: url('/wp-content/uploads/2025/03/clients.png'); /* Путь к иконке */
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 32px 32px; /* Размер иконки */
}

.main-navigation .main-nav ul li a {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Основная иконка */
.main-navigation .main-nav ul li a img {
    position: relative;
    z-index: 2;
}

/* Фоновая иконка — полупрозрачная */
.main-navigation .main-nav ul li a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -4px; /* Смещение влево на 4px */
    width: 48px;
    height: 48px;
    background: url('/wp-content/uploads/2025/05/circle64.png') no-repeat center center;
    background-size: contain;
    opacity: 0;
    transform: translateY(-50%) scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 1;
}

/* Эффект при наведении */
.main-navigation .main-nav ul li a:hover::before {
    opacity: 0.3;
    transform: translateY(-50%) scale(1);
}/* Общий стиль для меню "Клиентам" и "Личный кабинет" */
#menu-klientam,
#menu-lichnyy-kabinet {
    list-style: none;
    display: inline;
    padding: 5;
    margin: 0;
}

/* Элементы меню */
#menu-klientam .menu-item,
#menu-lichnyy-kabinet .menu-item {
    margin-right: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Ссылки с иконкой */
#menu-klientam .menu-item a,
#menu-lichnyy-kabinet .menu-item a {
    color: #000;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    text-decoration: none;
    transition: color 0.4s ease;
    z-index: 2;
}

/* Основная иконка */
#menu-klientam .menu-item a img,
#menu-lichnyy-kabinet .menu-item a img {
    margin-right: 10px;
    position: relative;
    z-index: 3;
    transition: transform 0.3s ease;
}

/* Полупрозрачный круг за иконкой */
#menu-klientam .menu-item a::before,
#menu-lichnyy-kabinet .menu-item a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -8px;
    width: 48px;
    height: 48px;
    background: url('/wp-content/uploads/2025/05/circle64.png') no-repeat center center;
    background-size: contain;
    opacity: 0;
    transform: translateY(-50%) scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 1;
    filter: opacity(0.35);
    pointer-events: none;
}

/* Эффект наведения */
#menu-klientam .menu-item a:hover,
#menu-lichnyy-kabinet .menu-item a:hover {
    color: #fda110;
}

#menu-klientam .menu-item a:hover::before,
#menu-lichnyy-kabinet .menu-item a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}


/* Общий стиль для меню "Клиентам" и "Личный кабинет" */
#menu-klientam,
#menu-lichnyy-kabinet {
    list-style: none;
    display: inline;
    padding: 5;
    margin: 0;
}

/* Элементы меню */
#menu-klientam .menu-item,
#menu-lichnyy-kabinet .menu-item {
    margin-right: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Ссылки с иконкой */
#menu-klientam .menu-item a,
#menu-lichnyy-kabinet .menu-item a {
    color: #000;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    text-decoration: none;
    transition: color 0.4s ease;
    z-index: 2;
}

/* Основная иконка */
#menu-klientam .menu-item a img,
#menu-lichnyy-kabinet .menu-item a img {
    margin-right: 10px;
    position: relative;
    z-index: 3;
    transition: transform 0.3s ease;
}

/* Полупрозрачный круг за иконкой */
#menu-klientam .menu-item a::before,
#menu-lichnyy-kabinet .menu-item a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -8px;
    width: 48px;
    height: 48px;
    background: url('/wp-content/uploads/2025/05/circle64.png') no-repeat center center;
    background-size: contain;
    opacity: 0;
    transform: translateY(-50%) scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 1;
    filter: opacity(0.35);
    pointer-events: none;
}

/* Эффект наведения */
#menu-klientam .menu-item a:hover,
#menu-lichnyy-kabinet .menu-item a:hover {
    color: #fda110;
}

#menu-klientam .menu-item a:hover::before,
#menu-lichnyy-kabinet .menu-item a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}


.widget-area .widget {
    padding: 20px;
}

.archive-item .post-thumbnail {
    position: relative;
}

.archive-item .post-thumbnail::before,
.post .post-thumbnail::before {
    content: "";
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 132px !important;
    height: 132px !important;
    transform: translate(-50%, -50%) translate(-1px, 2px) !important; /* 2px влево, 2px вниз */
    background-image: url('/wp-content/uploads/2025/05/circle256.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    opacity: 0 !important;
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out !important;
    z-index: 1 !important;
}

.archive-item:hover .post-thumbnail::before,
.post:hover .post-thumbnail::before {
    opacity: 0.25 !important;
    transform: translate(-50%, -50%) translate(-1px, 2px) !important;
}

.archive-title-wrapper,
.entry-title {
    padding-left: 0px; /* Смещение заголовка вправо */
}

.archive-item .entry-title,
.archive-item .entry-title a,
.archive-item .entry-title a:hover {
    color: var(--contrast-2);
}

.archive-item-link {
    display: block;
    text-decoration: none;
}

.archive-item-link .post-thumbnail,
.archive-item-link .post-thumbnail img {
    pointer-events: auto;
    cursor: pointer;
    display: block;
}

.archive-item .post-thumbnail {
    position: relative;
    z-index: 1;
}

.archive-item .post-thumbnail img {
    position: relative;
    z-index: 2;
}

.docs-filter-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0 0 20px 0;
    display: block;
}

.main-nav > ul.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end; /* выравнивает обе строки вправо */
}

/* "wpm-languages" занимает всю строку и выравнивается вправо */
.menu .wpm-languages {
    flex-basis: 100%;
    display: flex;
    justify-content: flex-end;
}

.menu-item-has-children .dropdown-menu-toggle {
    padding-right: 0px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="file"],
input[type="submit"],
input[type="button"],
textarea {
    border-radius: 5px;
}

input:focus,
input:active,
input {
    outline: none !important;
    box-shadow: none !important;
}

@media (min-width: 768px) {
    .tml .tml-field {
        width: 400px !important;
        max-width: 100%;
    }
}

.b24-form-btn:hover {
	background-color: #000000 !important;
}

.b24-form-btn {
	font-weight: 400 !important;
	border-radius: 5px !important;
}


.b24-form-header-title {
    font-weight: 600 !important;
}

.b24-form .b24-form-sign-abuse {
    display: none !important;
}

.b24-window-close {
    padding: 0 !important;
}

.wp-block-button__link {
    letter-spacing: .1em;
    text-transform: uppercase;
	font-size: 14px;
	padding: 12px 20px;
	margin-bottom: 20px;
	font-weight: 400;
}

/* Общие параметры таблиц */
table,
.wp-block-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
  font-family: inherit;
  overflow-x: auto;
}

/* Заголовки таблиц */
table thead th,
.wp-block-table thead th {
  background-color: var(--base) !important;
  border-style: solid !important;
  border-width: 1px 1px 1px 0 !important;
  border-color: var(--base) !important;
  padding: 15px 20px !important;
  font-size: 14px !important;
  letter-spacing: 0.05em;
  font-weight: 600 !important;
  color: #2d2d2d !important;
  text-align: center !important;
  text-transform: uppercase !important;
}

/* Скругления в заголовке */
table thead th:first-child,
.wp-block-table thead th:first-child {
  border-left-width: 1px !important;
  border-top-left-radius: 10px !important;
}
table thead th:last-child,
.wp-block-table thead th:last-child {
  border-top-right-radius: 10px !important;
}

/* Ячейки содержимого */
table td,
.wp-block-table td {
  border-style: solid !important;
  border-width: 1px !important;
  border-color: var(--base) !important;
  padding: 10px 20px !important;
  background-color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #2d2d2d !important;
}

/* Левая граница первой ячейки */
table td:first-child,
.wp-block-table td:first-child {
  border-left-width: 1px !important;
}

/* Верхняя граница первой строки */
table tr:first-child td,
.wp-block-table tr:first-child td {
  border-top-width: 1px !important;
}

/* Скругления внизу */
table tbody tr:last-child td:first-child,
.wp-block-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px !important;
}
table tbody tr:last-child td:last-child,
.wp-block-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px !important;
}

/* Устранение встроенных системных границ */
table,
table td,
table th,
.wp-block-table,
.wp-block-table td,
.wp-block-table th {
  border: none !important;
}

/* Границы задаются отдельно */
table thead th,
.wp-block-table thead th,
table tbody td,
.wp-block-table tbody td {
  border: 1px solid var(--base) !important;
}

/* Полосатые стили Gutenberg – отключение */
.wp-block-table.is-style-stripes {
  background-color: inherit !important;
  border-bottom: none !important;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: inherit !important;
}
.wp-block-table.is-style-stripes td,
.wp-block-table.is-style-stripes th {
  border-color: var(--base) !important;
}

/* Устранение стилей Gutenberg через inline style */
.wp-block-table table[style*="border-"] td,
.wp-block-table table[style*="border-"] th,
.wp-block-table table[style*="border-"] tr {
  border: 1px solid var(--base) !important;
}

/* Подписи */
.wp-block-table td,
.wp-block-table th {
  word-break: normal !important;
}
.wp-block-table :where(figcaption) {
  font-size: 13px;
  text-align: center;
  color: #555;
}
.is-dark-theme .wp-block-table :where(figcaption) {
  color: #ffffffa6;
}

.wp-block-image img {
    margin-bottom: 20px !important;
}


.product-cat-term, .related-office-item {
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}

.b24-form-state-container .b24-form-success {
    background-color: #666699;
}

.lawyer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2em;
}

.lawyer-card {
	padding: 1em;
}

.lawyer-photo img {
}

@media (min-width: 768px) {
	.lawyer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.b24-form-state-container .b24-form-success {
    background-color: #666699 !important;
}

.b24-form-success .b24-form-state-text p {
    color: #ffffff !important;
}

/* Переопределяем фон для полей выбора (списков), которые readonly */
.b24-form-control[readonly] {
    background-color: var(--base) !important;
}

.tag-image-wrapper {
    display: flex;
    align-items: center; /* Выравнивание содержимого по вертикали */
}

.tag-image {
    width: 32px; /* Устанавливаем ширину изображения */
    height: 32px; /* Устанавливаем высоту изображения */
    margin-right: 15px; /* Отступ от изображения до заголовка */
    margin-top: -15px; /* Поднимаем изображение на 5 пикселей относительно заголовка */
}

.post-type-label-wrapper {
    margin-bottom: 5px; /* Отступ между типом материала и заголовком */
}

.post-type-label {
    font-size: 14px;
    color: #666;
    font-weight: bold;
    text-transform: uppercase;
}

.ui-icon-service-i2crm > i {
  background-color: #25D366 !important;
  --ui-icon-service-bg-color: #25D366 !important;
  background-image: url('https://defacto.kz/forms/whatsapp.png') !important;
  --ui-icon-service-bg-image: url('https://defacto.kz/forms/whatsapp.png') !important;
}

#nav_menu-4 .widget-title {
    padding: 10px 0 10px 40px; /* 10px сверху, 10px снизу, 40px слева */
    background-image: url('/wp-content/uploads/2025/08/login.png'); /* Путь к иконке */
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 32px 32px; /* Размер иконки */
}

.b24-widget-button-wrapper.b24-widget-button-position-bottom-right {
    bottom: 10px !important;
    right: 10px !important;
}
.generate-back-to-top {
	left: 30px; 
}

.separate-containers .inside-right-sidebar {
    margin-top: 0px;
    margin-bottom: 20px;
}

.widget-area .widget {
    padding: 10px 20px;
}

.sidebar .widget {
   	margin-bottom: 0px;
}

#nav_menu-4 .menu {
    display: block;         /* отменяем flex */
}

[class^=um-icon-]:before {
    color: #666699;
}

/* === UM → De Facto (flat, no borders, subtle focus) === */

/* Лейблы — как в теме */
body .um .um-field-label {
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #505050 !important;
    margin-bottom: 6px !important;
}

/* Поля ввода/textarea/select — БЕЗ бордюра вообще */
body .um .um-form input[type="text"],
body .um .um-form input[type="email"],
body .um .um-form input[type="password"],
body .um .um-form input[type="search"],
body .um .um-form input[type="tel"],
body .um .um-form input[type="url"],
body .um .um-form input[type="number"],
body .um .um-form select,
body .um .um-form textarea {
    width: 100% !important;
    max-width: 100% !important;

    /* убираем любые рамки, которые задаёт UM */
    border: 0 !important;
    border-width: 0 !important;
    border-color: transparent !important;
    outline: none !important;

    border-radius: 5px !important;
    background-color: #f1f1f1 !important;   /* плоский фон */
    padding: 12px !important;
    height: auto !important;
    line-height: 1.6 !important;

    /* по умолчанию тени нет */
    box-shadow: none !important;
    transition: box-shadow .25s ease !important;
    font: inherit !important;
}

/* Hover — еле заметный намёк, без рамки */
body .um .um-form input:hover,
body .um .um-form select:hover,
body .um .um-form textarea:hover {
    border: 0 !important;
    box-shadow: 0 0 2px rgba(0,0,0,0.05) !important;
}

/* Focus — минимальная мягкая тень вместо рамки и без смены фона */
body .um .um-form input:focus,
body .um .um-form select:focus,
body .um .um-form textarea:focus {
    border: 0 !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: 0 0 6px rgba(102,102,153,0.35) !important; /* лёгкий акцент #666699 */
}

/* Интервалы между полями */
body .um .um-field { margin-bottom: 14px !important; }

/* Кнопки — фирменные, чуть выше и шире */
body .um .um-button,
body .um input[type="submit"],
body .um a.um-button {
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #fff !important;
    background-color: #666699 !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 16px 24px !important;
    min-width: auto !important;   /* гасим min-width:250px у UM */
    line-height: 1.2 !important;
    transition: background-color .6s ease !important;
}
body .um .um-button:hover,
body .um input[type="submit"]:hover,
body .um a.um-button:hover {
    background-color: #000000 !important;
    color: #fff !important;
}
body .um-center .um-button { min-width: auto !important; }

/* Сообщения/ошибки — аккуратно в вашей палитре */
body .um .um-field-error,
body .um .um-form .um-error,
body .um .um-form .um-notice {
    border-left: 3px solid #666699 !important;
    background: #f9f9ff !important;
    padding: 10px 12px !important;
    border-radius: 5px !important;
    margin-bottom: 14px !important;
}

/* Чекбоксы — выравнивание */
body .um .um-field-checkbox label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

/* === UM: поля ввода без рамки, с лёгким затемнением и тонкой тенью === */

/* Базовое состояние */
body .um .um-form .um-field-area input[type="text"],
body .um .um-form .um-field-area input[type="email"],
body .um .um-form .um-field-area input[type="password"],
body .um .um-form .um-field-area input[type="search"],
body .um .um-form .um-field-area input[type="tel"],
body .um .um-form .um-field-area input[type="url"],
body .um .um-form .um-field-area input[type="number"],
body .um .um-form .um-field-area select,
body .um .um-form .um-field-area textarea {
    border: 0 !important;
    border-color: transparent !important;
    outline: none !important;
    background-color: #f1f1f1 !important;
    transition: background-color 0.4s ease 0.1s, box-shadow 0.4s ease 0.1s !important;
    border-radius: 5px !important;
    padding: 12px !important;
    font: inherit !important;
    line-height: 1.6 !important;
    box-shadow: none !important;
}

/* Hover — чуть светлее */
body .um .um-form .um-field-area input[type="text"]:hover,
body .um .um-form .um-field-area input[type="email"]:hover,
body .um .um-form .um-field-area input[type="password"]:hover,
body .um .um-form .um-field-area input[type="search"]:hover,
body .um .um-form .um-field-area input[type="tel"]:hover,
body .um .um-form .um-field-area input[type="url"]:hover,
body .um .um-form .um-field-area input[type="number"]:hover,
body .um .um-form .um-field-area select:hover,
body .um .um-form .um-field-area textarea:hover {
    background-color: #f6f6f6 !important;
}

/* Focus — слегка темнее серого + тонкая тень */
body .um .um-form .um-field-area input[type="text"]:focus,
body .um .um-form .um-field-area input[type="email"]:focus,
body .um .um-form .um-field-area input[type="password"]:focus,
body .um .um-form .um-field-area input[type="search"]:focus,
body .um .um-form .um-field-area input[type="tel"]:focus,
body .um .um-form .um-field-area input[type="url"]:focus,
body .um .um-form .um-field-area input[type="number"]:focus,
body .um .um-form .um-field-area select:focus,
body .um .um-form .um-field-area textarea:focus {
    background-color: #ebebeb !important; /* чуть темнее, но остаётся светло-серым */
    box-shadow: 0 0 3px rgba(0,0,0,0.08) !important; /* тонкая едва заметная тень */
    outline: none !important;
}

body .um .um-field-error, body .um .um-form .um-error, body .um .um-form .um-notice {
    background: #666699 !important;
}

.um-field-arrow {
    color: #666699 !important;
}

/* Запрет переноса текста на кнопках UM */
body .um .um-button,
body .um a.um-button,
body .um input[type="submit"].um-button {
    white-space: nowrap !important;    /* весь текст в одну строку */
    word-wrap: normal !important;      /* отменяем break-word */
    overflow-wrap: normal !important;  /* для совместимости */
}

/* Иконка раскрытия только для GDPR-переключателя Ultimate Member */
.um a.um-toggle-gdpr {
  position: relative;
  display: inline-block;
  padding-left: 28px; /* место под иконку */
  line-height: 1.3;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 10px;
}

/* Иконка слева */
.um a.um-toggle-gdpr::before {
  content: "";
  position: absolute;
  left: 0;
  top: 35%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background: url("/wp-content/uploads/2025/12/expand.png") no-repeat center / contain;
}

/* Состояние "раскрыто" */
.um a.um-toggle-gdpr.active::before,
.um a.um-toggle-gdpr.open::before,
.um a.um-toggle-gdpr[aria-expanded="true"]::before {
  transform: translateY(-50%) rotate(90deg);
}
