/* NOTE global */

html * {
    max-height: 1000000px;
    -webkit-text-size-adjust: 100%;
}

html img {
    max-width: 100%;
    height: auto;
    line-height: 0;
}

body {
    margin: 0px;
    padding: 0px;
    background-color: #1e1d48 !important;
}
body .editor-styles-wrapper{
    background-color: #1e1d48 !important;
}

@layer {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-weight: normal;
        -webkit-margin-before: 0em;
        -webkit-margin-after: 0em;
        margin-top: 0px;
        margin-bottom: 0px;
        font-size: inherit;
    }

    p {
        margin: 0px;
        -webkit-margin-before: 0em;
        -webkit-margin-after: 0em;
        -webkit-margin-start: 0px;
        -webkit-margin-end: 0px;
    }
}

:focus {
    outline: none !important;
}


p:empty:before {
    display: none;
}

.home .single_title {
    display: none;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

.footer {
    margin-top: auto;
}

.breadcrumb_wrap strong {
    font-weight: normal;
}

.button_d {
    cursor: pointer;
}

.d_none {
    display: none !important;
}

.wp-block-video [poster] {
    height: 100%;
}

/* NOTE отмена стилей гюттеберг*/
:where(figure) {
    margin: 0 0 0em;
}

.safe-svg-inside {
    height: auto !important;
    width: auto !important;
}

:where(.is-layout-flex) {
    gap: 0em;
}


.is-layout-flex {
    display: block !important;
    align-items: stretch !important;
}

/* NOTE для табов */
.ui-tabs {
    padding: 0;
}

.tabs_wrap_ul {
    margin: 0;
    padding: 0;
    display: flex;
}

.ui-tabs-tab {
    background-color: var(--color-1);
    width: 33.3333333333%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    float: none;
    margin: 0 !important;
    border: 2px solid var(--color-1) !important;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
    float: none;
    padding: 0;
    color: var(--color-3);
    width: 100%;
    height: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active {
    margin: 0;
    padding-bottom: 0px;
    background-color: #fff;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active a {
    cursor: default !important;
    color: var(--color-1);
}

/* NOTE для fancybox */
.fancybox__content {
    background-color: #fff !important;
}

.f-thumbs__slide__button {
    background-color: #fff !important;
}

/* NOTE для аккордеона */

.accordion_d {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
}

.ui-accordion-header {
    display: flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    height: 50px !important;
    font-size: inherit !important;
    box-sizing: border-box !important;
    padding-left: 30px !important;
    padding-right: 40px !important;
    margin-top: 20px !important;
    width: 100% !important;
    background-color: #d3d3d3 !important;
    font-weight: bold !important;
}

.ui-accordion-header:nth-child(1) {
    margin-top: 0px !important;
}

.ui-accordion-header:hover,
.ui-accordion-header.ui-state-active {
    background-color: #e6e6e6;
}

.accordion_d_content {
    width: 100%;
}

.ui-accordion .ui-accordion-content.accordion_d_content {
    width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 35px;
    padding-bottom: 15px;
}

.accordion_d_content:nth-last-child(1) {
    padding-bottom: 0px;
}

.ui-accordion-header-icon {
    position: absolute;
    right: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: initial;
}

.ui-accordion-header-icon:before {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "fontawesome";
    font-size: 16px;
    color: inherit;
    width: 100%;
    height: 100%;
    content: "";
    text-indent: 0;
}

.accordion_d_icon-minus:before {
    content: "\f068";
}

.accordion_d_icon-plus:before {

    content: "\2b";
}

/* NOTE для категорий */

.wp_wrap_subkategory_item_img,
.woocommerce_subkategory_item_img {
    display: block;
    overflow: hidden;
}

.wp_wrap_subkategory_item_img img,
.woocommerce_subkategory_item_img img {
    transition: 0.5s;
}

.wp_wrap_subkategory_item_img:hover img,
.woocommerce_subkategory_item_img:hover img {
    transform: scale(1.15);
    transition: 0.5s;
}



/* NOTE пагинация */
.navigation.pagination {
    margin-top: 30px;
    margin-bottom: 30px;
}

.navigation.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    width: 30px;
    height: 30px;
    margin-left: 5px;
    margin-right: 5px;
}

.navigation.pagination .page-numbers:hover {
    background-color: var(--color-1);
    color: var(--text-color-1);
}

.navigation.pagination .page-numbers.current {
    background-color: var(--color-1);
    color: var(--text-color-1);
}

.navigation.pagination .prev.page-numbers,
.navigation.pagination .next.page-numbers {
    padding-left: 10px;
    padding-right: 10px;
    width: auto;
}

.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navigation.pagination .screen-reader-text {
    display: none;
}

/* NOTE стандартная галерея гюттенберга*/
.wp-block-gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    margin: 0 !important;
}


/* NOTE для страници политики обработки персональных данных*/

.politica_text p {
    margin-block-start: 1em;
    margin-block-end: 1em;
}



/* NOTE кнопка наверх */
.jakor {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    z-index: 111;
    border-radius: 4px;
    background-color: var(--color-1);
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
    box-sizing: border-box;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    transition: 0.4s;
    opacity: 0;
}

.jakor.show {
    visibility: visible;
    opacity: 1;
}

.jakor svg {
    width: 60%;
    height: auto;
    stroke: #fff;
    stroke-width: 3px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    rotate: 90deg;
}

.jakor:hover {
    opacity: 0.7;
}


/* NOTE begin 1200px */
@media screen and (max-width: 1200px) {}

/* NOTE end 1200px */

/* NOTE begin 900px */
@media screen and (max-width: 900px) {
    .jakor {
        display: none !important;
    }

}

/* NOTE end 900px */


/* NOTE begin 700px */
@media screen and (max-width: 700px) {}

/* NOTE end 700px */



/* NOTE begin 500px */

@media screen and (max-width: 500px) {}

/* NOTE end 500px */