/*
Theme Name: child_themes
Theme URI: https://web-creative.studio/
Template: hello-elementor
Author: WebCreative
Author URI: https://web-creative.studio/
Version: 2.2.1.1572443540
Updated: 2023-01-30 13:52:20

*/


html {
    scroll-behavior: smooth;
}


.elementor-button {
    cursor: pointer;
}

/* ============================================
   Плавное появление Lazy Load картинок от Elementor
   ============================================ */
.swiper-slide-image.swiper-lazy:not(.swiper-lazy-loaded) {
    opacity: 0;
}

.swiper-slide-image.swiper-lazy.swiper-lazy-loaded {
    -webkit-transition: opacity 0.5s ease-in;
    -moz-transition: opacity 0.5s ease-in;
    transition: opacity 0.5s ease-in;
    opacity: 1;
}


:focus {
    outline-style: none;
    outline-width: 0px !important;
    outline-color: none !important;
}


.elementor-nav-menu--dropdown .elementor-item.elementor-item-active,
.elementor-nav-menu--dropdown .elementor-item.highlighted {
    background-color: transparent;
}


.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol,
.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol,
.elementor-widget-woocommerce-archive-description ul,
.elementor-widget-woocommerce-archive-description ol,
.elementor-tab-content ul,
.elementor-tab-content ol .elementor-widget-container ul,
.elementor-widget-container ol,
.jet-toggle__content-inner ul,
.jet-toggle__content-inner ol {
    margin-bottom: 15px;
}

/*Глобальный отступ для родительских контейнеров*/
.ms {
    margin-top: 100px;

    @media screen and (max-width:767px) {
        margin-top: 30px;
    }
}


/*Глобальный внутренний отступ для родительских контейнеров*/
.pds {
    padding: 0px 30px !important;

    @media screen and (max-width:767px) {
        padding: 0px 10px !important;
    }
}


p:last-child {
    margin: 0;
}

.elementor-button span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    flex-grow: 0;
}

.accent {
    color: var(--e-global-color-accent);
}

span {
    line-height: 1;
}

/*Убрать раздувание табов в телефоне*/
.e-n-tabs>.e-n-tabs-heading>.e-n-tab-title {
    align-self: baseline;
}

.e-n-tabs>.e-n-tabs-heading> :is(.e-n-tab-title > .e-n-tab-title-text, .e-n-tab-title) {
    margin: 0 !important;
}


/* Скрывать иконки соц. сетей в которых нет ссылок  */
.elementor-grid-item:has(a[href="#"]):not(a[href]),
.phone li.elementor-icon-list-item:not(:has(a[href])) {
    display: none;
}


/* Базовые стили для чекбоксов и радио */
form input[type="checkbox"],
form input[type="radio"] {
    appearance: none;
    background: #fff !important;
    border: 2px solid #d1d5db !important;
    cursor: pointer;
    display: inline-block;
    height: 20px;
    width: 20px;
    margin: 0;
    position: relative;
    vertical-align: middle;
    transition: all 0.2s ease-in-out;
    padding: 5px !important;
}

/* Стили при наведении */
form input[type="checkbox"]:hover,
form input[type="radio"]:hover {
    border-color: var(--e-global-color-accent);
}

/* Специфичные стили для радиокнопок */
form input[type="radio"] {
    border-radius: 50% !important;
}

form input[type="radio"]:checked {
    border: 6px solid var(--e-global-color-accent) !important;
    background: #fff !important;
}

/* Специфичные стили для чекбоксов */
form input[type="checkbox"] {
    border-radius: 4px !important;
}

form input[type="checkbox"]:checked {
    background: var(--e-global-color-accent) !important;
    border-color: var(--e-global-color-accent) !important;
}

form input[type="checkbox"]:checked:after {
    content: "\2713";
    color: #fff;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Стили для отключенного состояния */
form input[type="checkbox"]:disabled,
form input[type="radio"]:disabled {
    background: #f3f4f6;
    border-color: #e5e7eb;
    cursor: not-allowed;
}

/* Стили для текста метки */
form label {
    cursor: pointer;
    user-select: none;
}

/* Фокус для доступности */
form input[type="checkbox"]:focus,
form input[type="radio"]:focus {
    outline: 2px solid var(--e-global-color-accent);
    outline-offset: 2px;
}

/*Конец чекбоксы*/


/*меню на первом экране*/
.first-screen-menu .menu-item a {
    position: relative;
    border: 1px solid var(--e-global-color-text) !important;
    border-radius: 50px !important;
    padding: 7px 50px 7px 15px !important;
    background-color: var(--e-global-color-secondary) !important;
}

.first-screen-menu .menu-item a::after {
    content: "\e901";
    font-family: "icomoon";
    font-size: 18px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--e-global-color-primary);
    background-color: var(--e-global-color-text);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1 !important;
}

.first-screen-menu .menu-item:hover a::after {
    background-color: var(--e-global-color-accent) !important;
}

.first-screen-menu .menu-item a:hover {
    border-color: var(--e-global-color-accent) !important;
}

.first-screen-menu .elementor-nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
}



input::placeholder {
    opacity: 1 !important;
}

.elementor-widget-image a img[src$=".svg"] {
    width: 100% !important;
}

.box-center .elementor-icon-wrapper {
    display: flex;
}

body {
    margin: 0px;
}

.elementor-message {
    display: none;
}

.no-margin p {
    margin: 0px;
}

/*Карусели*/

.gallery-product .elementor-swiper-button {
    border: 1px solid;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .1s ease;
}

.gallery-product .elementor-swiper-button:hover i {
    color: var(--e-global-color-accent);
}

.gallery-product .elementor-swiper-button:hover {
    border-color: var(--e-global-color-accent);
}

/*баланс текста*/

/** {*/
/*    text-wrap: balance;*/
/*}*/

a {
    transition: 0.5s;
}

/*бесплатно с феникса (кроме футера)*/
.tel-add {
    color: var(--e-global-color-363b8fd);
    font-weight: 400;
    font-size: 13px;
    display: inline-block !important;
    max-width: 76px !important;
    word-wrap: break-word;
    margin-left: 4px;
    vertical-align: middle;
}

/*тень боксов*/
.container-shadow {
    box-shadow: 0 6px 18px 0 rgba(0, 0, 0, 0.12);
}

/*крошки*/

/*.breadcrumb-item {*/
/*    margin-right: 20px !important;*/
/*}*/


/*.breadcrumb-item span {*/
/*    margin-right: 20px !important;*/
/*}*/

/*@media (max-width: 767px) {*/
/*    .breadcrumb-item {*/
/*    margin-right: 5px !important;*/
/*}*/


/*.breadcrumb-item span {*/
/*    margin-right: 0px !important;*/
/*}*/
/*}*/



/*фон картинка в заголовках*/
.title-with-image {
    display: flex;
    height: 320px;
    justify-content: center;
    align-items: start;
    color: var(--e-global-color-primary);
    padding: 0 30px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;

    @media screen and (max-width:767px) {
        height: 220px;
        padding: 0 10px;
    }
}

/*серый текст в контактах*/
.text-before {
    font-weight: 400;
    font-size: 15px;
    color: var(--e-global-color-363b8fd);
    margin-bottom: 5px !important;
}

/*иконки в сером круге*/
.pro-icon {
    vertical-align: middle;
    margin-right: 10px;
}

/*листинг на главной*/
.material-types .jet-listing-dynamic-repeater__items {
    gap: 10px;
}

.material-types .jet-listing-dynamic-repeater__item {
    width: max-content !important;

}


/*для дочерних листингов*/
.price-sale .elementor-icon-box-content {
    display: flex;

    flex-direction: row !important;
    align-items: center;
    gap: 5px;
}

.subtype-list-character .elementor-icon-box-content {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.listing-combined .elementor-icon-box-content {
    display: flex;
    gap: 10px;
}


/*листинг дочерних*/
.listing-subtypes .jet-listing-dynamic-repeater__items {
    grid-template-columns: repeat(1, 1fr);
    gap: 0px;

}

.child-types {
    display: flex;
    justify-content: space-between !important;
}

.listing-subtypes .jet-listing-dynamic-repeater__item:nth-child(odd) {
    background-color: var(--e-global-color-536f810);
}

.character-listing {
    color: var(--e-global-color-363b8fd);
}

.character-text {
    text-align: end;
}

.price-block::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--e-global-color-text);

}

/*ховер кнопок*/

.link-border {
    border-bottom: 1px solid var(--e-global-color-text);
    padding: 2px 0;
    border-radius: 2px;
}

.link-border:hover {
    border-bottom: 1px solid var(--e-global-color-accent);
}



.link-border-black {
    border-bottom: 1px solid var(--e-global-color-primary);
    padding: 2px 0;
    border-radius: 2px;


}

.link-border-black:hover {
    border-bottom: 1px solid var(--e-global-color-text) !important;
    cursor: pointer;
}


.card-musor,
.card-calc,
.card-sbornyi,
.card-materials {
    height: 266px;
}


.pds-1 {
    padding-top: 180px;
    padding-right: 30px;
    padding-left: 30px;

    @media screen and (max-width:1024px) {
        padding-top: 120px;
        padding-right: 10px;
        padding-left: 10px;
    }

    @media screen and (max-width:767px) {
        padding-top: 100px;
        padding-right: 10px;
        padding-left: 10px;
    }
}

.pb-80 {
    padding-bottom: 80px;

    @media screen and (max-width:1024) {
        padding-bottom: 60px;
    }

    @media screen and (max-width:767px) {
        padding-bottom: 20px;
    }
}

.pb-10 {
    padding-bottom: 10px;
}

.p-30 {
    padding: 30px;

    @media screen and (max-width:767px) {
        padding: 20px 10px 20px 10px;
    }
}



/*FAQ*/

.e-n-accordion {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: flex-start !important;

    @media screen and (max-width:1024px) {
        grid-template-columns: repeat(1, 1fr);
    }
}

.e-n-accordion .icon {
    display: flex;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

.e-n-accordion-item[open] .icon,
.e-n-accordion-item:hover .icon {
    background-color: var(--e-global-color-accent);
}



.e-n-accordion-item .icon {
    background-color: var(--e-global-color-text);
}

.e-n-accordion-item {
    border-radius: 16px;
    box-shadow: 0 6px 18px 0 rgba(0, 0, 0, 0.12);
}

/*кнопка*/
.elementor-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.elementor-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(50% 70% at 50% 95%, #e8a045 0%, #20190f 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    /* Псевдоэлемент находится позади текста */
}

/* Стиль кнопки при наведении */
.elementor-button:hover::after {
    opacity: 1;
}


@media (max-width:767px) {
    .first-screen-menu .elementor-nav-menu {
        justify-content: center !important;
        gap: 15px;
    }
}



/*стили полосы прокрутки*/
/* Общие стили для WebKit (Chrome, Safari) */
::-webkit-scrollbar {
    width: 10px;
    /* Толщина полосы */
}

/* Фон полосы прокрутки (бежевый) */
::-webkit-scrollbar-track {
    background: var(--e-global-color-seсondary);
}

/* Ползунок (оранжевый) */
::-webkit-scrollbar-thumb {
    background: var(--e-global-color-accent);
    border-radius: 10px;
}

/* При наведении мыши на ползунок */
::-webkit-scrollbar-thumb:hover {
    background: var(--e-global-color-text);
    /* Почти черный */
}

/* Для Firefox */
* {
    scrollbar-color: var(--e-global-color-accent) var(--e-global-color-seсondary);
}

/* Скрыть полосу прокрутки на мобильных устройствах */
@media (max-width: 767px) {

    /* Скрытие полосы прокрутки для мобильных устройств */
    ::-webkit-scrollbar {
        display: none;
    }

    /* Для Firefox */
    * {
        scrollbar-width: none;
    }
}

/* ============================================
 *    Шаблонстраниц Политики, Соглашения и ПД
 * ============================================ */ 

.custom_h2 h2 {
	font-size: 32px;
}

@media(max-width: 767px) {
	.custom_h2 h2 {
		font-size: 18px;
		line-height: 22px;
		padding-top: 20px;
	}
}