

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700&display=swap');


* {padding: 0;margin: 0;border: 0;}
*,*:before,*:after {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}
:focus,:active {outline: none;}
a:focus,a:active {outline: none;}
nav,footer,header,aside {display: block;}
html,body {height: 100%;width: 100%;font-size: 100%;line-height: 1;font-size: 14px;-ms-text-size-adjust: 100%;-moz-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;}
input,button,textarea {font-family: inherit;}
input::-ms-clear {display: none;}
button {cursor: pointer;}
button::-moz-focus-inner {padding: 0;border: 0;}
a,a:visited {text-decoration: none;}
a:hover {text-decoration: none;}
ul li {list-style: none;}
img {vertical-align: top;}
h1,h2,h3,h4,h5,h6 {font-size: inherit;font-weight: inherit;}
input, label, a {-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}
*:focus, *:active {user-select: none; outline: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);}

li::marker {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}
ul {
    list-style-type: none !important;
}

html {
    overflow-x: hidden !important;
    margin: 0 auto !important;
    max-width: 1920px !important;
    width: 100%;
    height: max-content;
    min-height: 100%;
    font-family: 'Roboto', sans-serif !important;
}
body {
    background: url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/Layer_2.webp') no-repeat;
    background-position: center center !important;
    background-size: 100% 100% !important;
    overflow-x: hidden !important;
    margin: 0 auto !important;
    max-width: 1920px !important;
    width: 100%;
    height: 100% !important;
    min-height: calc(100vh - 200px) !important;
    display: flex;
    flex-direction: column;
}
.article_block.active {
    margin-block-start: 0px !important;
    margin-top: 0px !important;
}
/* header */
header .entry-title {
    display: none;
}
header .container {
    max-width: 1920px;
    width: 100%;
    margin: auto;
}
header .content {
    max-width: 1240px;
    width: 64.58%;
    margin: 0 auto;
}
.hdr_banner {
    height: 300px;
    background-size: 100% cover;
    background-position: top center;
    background-repeat: no-repeat;
    display: flex;
    align-items: end;
    justify-content: start;
}
body.main .hdr_banner {
    background-image: url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/main_banner.webp');
}
.main_logo {
    position: relative;
    min-width: max-content;
    width: 55%;
    display: inline-block;
    pointer-events: all;
}
.title_logo_img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    position: relative;
    bottom: -3px;
    pointer-events: none;
    z-index: 0;
}
.main_title {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-family: 'Academy', sans-serif;
    font-size: 85px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: 1.07;
    text-align: left;
    letter-spacing: normal;
    margin-left: 5%;
}
.container_nav {
    height: 100%;
}
.hdr_nav {
    height: 100px;
    margin: 0 0 15px;
    background-position: right center;
    background-size: contain;
    background-repeat: no-repeat;
}
body.main .hdr_nav {
    background-image: url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/nav_bg.webp');
}
.hdr_nav__list {
    display: flex;
    align-items: center;
    margin: 0;
    height: 100%;
}
.nav_list__item {
    margin-right: 26px;
}
.nav_list__link {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    color: #00278a;
    text-decoration: underline;
    transition: 0.3s;
}
.nav_list__link.current {
    color: #464646 !important;
    font-weight: 700;
}
.nav_list__link:active {
    text-decoration: none;
    color: #7d7d98;
}
body .nav_list__link:hover {
    text-decoration: none !important;
    color: #585858 !important;
}

/* main */
#main {
    padding: 0 !important;
    margin: 0 !important;
}
#primary {
    margin: 0 auto !important;
    max-width: 1240px !important;
    width: 64.58% !important;
    margin-bottom: 60px !important;
    flex: 1 1 auto;
}
#main p {
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
}
.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: auto !important;
}
.is-layout-flow.wp-block-column.left_column {
    width: 30% !important;
}
.is-layout-flow.wp-block-column:last-of-type {
    width: 70% !important;
}
.entry-title {
    margin: 0 !important;
}
.is-layout-flex, .wp-container-3, .wp-block-columns {
    padding: 0 !important;
    margin: 0 !important;
}
.ast-row {
    background-color: transparent !important;
    max-width: 1240px;
    width: 64.58%;
    margin: 0 auto !important;
}
.ast-row .ast-article-post {
    background-color: transparent !important;
    padding: 0 !important;
}
.author_name {
    color: #000000 !important;
    font-family: 'Roboto', sans-serif;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    margin-top: 19px !important;
}
.is-layout-flow.wp-block-column.left_column p {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}
.is-layout-flow.wp-block-column.left_column h3 {
    color: #000000 !important;
    font-family: 'Roboto', sans-serif;
    font-size: 18px !important;
    font-weight: 700 !important;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    margin-top: 19px !important;
    margin-bottom: 8px !important;
}

.right_column img {
    margin-bottom: 5px;
}

.right_column ul li {
    list-style: disc;
}
.right_column ul li, .right_column ol li {
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
}
.right_column h2 {
    color: #666666 !important;
    font-family: 'Roboto', sans-serif;
    font-size: 32px !important;
    font-weight: 300 !important;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
}
.author_sign {
    text-align: right;
    font-style: italic;
}
.books_title {
    color: #666666 !important;
    font-family: 'Roboto', sans-serif;
    font-size: 32px !important;
    font-weight: 300 !important;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    margin-top: 14px !important;
}
body .is-layout-flex {
    gap: 46px;
}
.is-layout-flex.wp-block-columns.books {
    margin-top: 23px !important;
    width: 100% !important;
    display: grid;
    grid-template-columns: repeat(3, calc(100%/3 - 9px));
    grid-template-rows: repeat(3, max-content);
    gap: 14px;
}
.book_name {
    color: #000000 !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    letter-spacing: normal !important;
    line-height: normal !important;
    text-align: left !important;
    font-style: normal !important;
    letter-spacing: normal !important;
    line-height: normal !important;
}
.book_name:first-of-type {
    grid-row: 1/2;
    align-self: start;
}
.book_name:nth-of-type(2) {
    grid-row: 1/2;
    grid-column: 2/3;
    align-self: start;
}
.book_name:nth-of-type(3) {
    grid-row: 1/2;
    grid-column: 3/4;
    align-self: start;
}
.books .wp-block-image img {
    width: 100%;
}
.book_img:first-of-type {
    grid-row: 2/3;
    grid-column: 1/2;
    width: 100%;
}
.book_img:nth-of-type(2) {
    grid-row: 2/3;
    grid-column: 2/3;
    width: 100%;
}
.book_img:nth-of-type(3) {
    grid-row: 2/3;
    grid-column: 3/4;
    width: 100%;
}
.books_order_details {
    width: 100%;
    margin-top: 27px !important;
}
#main .books_order_details p {
    margin-top: 0px !important;
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
}
/* popup */
.right_column span.show_popup1 {
    padding: 6px 10px;
    border-radius: 6px;
    text-align: center;
    width: 20%;
    min-width: max-content;
    white-space: nowrap;
    font-size: 14px;
    background-color: rgb(78, 76, 76);
    color: #fff;
    display: inline-block;
    margin-top: 0 !important;
    cursor: pointer;
}
span.show_popup2 {
    padding: 8px 12px;
    padding-bottom: 10px;
    background-color: rgb(78, 76, 76);
    color: #fff;
    border-radius: 6px;
    width: 80%;
    text-align: center;
    display: inline-block;
    margin-top: 0 !important;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}
span.show_popup1:hover,
span.show_popup2:hover  {
    background-color: #000;
}
.wp-block-group.popup_bg1,
.wp-block-group.popup_bg2 {
    position: fixed;
    z-index: 9999999999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s all;
    margin-block-start: 0 !important;
}
.wp-block-group.popup_bg1.active,
.wp-block-group.popup_bg2.active {
    pointer-events: all;
    opacity: 1;
    transition: 0.5s all;
    margin-block-start: 0 !important;
}
.popup_wrapper1,
.popup_wrapper2 {
    display: grid;
    max-height: 90vh;
    max-width: 85vw;
    border-radius: 8px;
    background-color: #fff;
    padding: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background-color: #e9e9e9;
}
.wp-block-group.popup_wrapper1 input,
.wp-block-group.popup_wrapper1 textarea,
.wp-block-group.popup_wrapper2 input,
.wp-block-group.popup_wrapper2 textarea {
    background-color: #e9e9e9;
    border: 2px solid #9c9999;
    border-radius: 6px;
    margin-top: 6px;
}
.wp-block-group.popup_wrapper1 input:focus,
.wp-block-group.popup_wrapper1 textarea:focus,
.wp-block-group.popup_wrapper2 input:focus,
.wp-block-group.popup_wrapper2 textarea:focus {
     border: 2px solid #696969;
}
.popup_wrapper1.active,
.popup_wrapper2.active {
    transform: translate(-50%, -50%) scale(1);
}
.wp-block-group.popup_wrapper1 input.wpcf7-submit,
.wp-block-group.popup_wrapper2 input.wpcf7-submit {
    background-color: rgb(78, 76, 76);
    color: #fff;
    border-radius: 6px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s !important;
    border: none;
}
.wp-block-group.popup_wrapper1 input.wpcf7-submit:hover,
.wp-block-group.popup_wrapper2 input.wpcf7-submit:hover {
    background-color: #000;
}
.wp-block-group.popup_wrapper1 p:last-of-type, 
.wp-block-group.popup_wrapper2 p:last-of-type {
    margin-bottom: 0;
}
.close_popup {
    width: 16px;
    height: 16px !important;
    display: flex;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 34px;
    line-height: normal;
    font-weight: 700;
    transform: rotate(45deg);
    cursor: pointer;
}
div#wpcf7-f973-p77-o1,
div#wpcf7-f973-p77-o2 {
    margin-top: 0;
}
.wpcf7 form.sent .wpcf7-response-output {
    display: none !important;
}


/* footer */
.ftr {
    background-color: transparent !important;
    height: 70px;
}
.content {
    max-width: 1240px;
    width: 64.58%;
    margin: 0 auto;
}
.ftr .content {
    display: flex;
    flex-direction: column;
    position: relative;
}
.ftr_copywright {
    width: max-content;
    color: #a5a5a5;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: 1;
    text-align: left;
    margin-bottom: 0;
    align-self: end;
}
.ftr_hr {
    width: 100vw;
    height: 1px;
    background-color: rgb(131, 130, 130);
    margin: 15px 0 15px 30px;
}
.ftr .content:before {
    content: '';
    position: absolute;
    z-index: 2;
    display: block;
    bottom: 15px;
    left: 0;
    width: 57px;
    height: 64px;
    background: url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/ftr_figures.svg') no-repeat;
    background-size: contain;
}
.ftr .content:after {
    content: '';
    position: absolute;
    z-index: 2;
    display: block;
    bottom: -7px;
    left: 60px;
    width: 21px;
    height: 22px;
    background: url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/ftr_quad.svg') no-repeat;
    background-size: contain;
}

@media (max-width: 1024px) {
    header .content, .content {
        max-width: 1240px;
        width: 80%;
        margin: 0 auto;
    }
}
@media (max-width: 992px) {
    header .content, .content {
        max-width: 1240px;
        width: 80%;
        margin: 0 auto;
    }
    .hdr_banner {
        height: 220px;
    }
    .hdr_nav {
        height: 72px;
    }
    #primary {
        margin: 0 auto !important;
        flex: 1 1 auto;
        max-width: 1240px !important;
        width: 80% !important;
        padding-bottom: 40px;
    }
    .main_logo {
        max-width: 65%;
    }
}
@media (max-width: 880px) {
    .hdr_banner {
        background-size: auto 100%;
    }
    .main_logo {
        max-width: 63%;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: auto;
    }
    .is-layout-flow.wp-block-column.left_column {
        width: 30%;
    }
    .is-layout-flow.wp-block-column:last-of-type {
        width: 70%;
    }
    .book_name {
        align-self: end !important;
        font-size: 16px !important;
    }
    .is-layout-flex.wp-container-8.wp-block-columns {
        padding-bottom: 40px !important;
    }
}
@media (max-width: 768px) {
    body .hdr_nav {
        background-image: none !important;
    }
    .books_order_details {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: end;
    }
    .books_order_details p {
        text-align: right;
        margin-right: 0 !important;
    }
    .home .ftr {
        margin-top: 50px;
    }
}
@media (max-width: 533px) {
    header {
        position: fixed;
        top: 0;
        width: 100vw;
        z-index: 200 !important;
    }
    body {
        margin-top: 130px !important;
    }
    .hdr_banner {
        height: 120px;
    }
    .main_logo {
        max-width: 75%;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        position: relative;
        bottom: 0px;
    }
    .title_logo_img {
        width: 90%;
        max-width: 90%;
    }
    .mob_burger {
        width: 30px;
        height: 30px;
        display: block;
        position: relative;
    }
    .mob_burger._active span {
        opacity: 0;
    }
    .mob_burger span {
        display: block;
        position: absolute;
        top: calc(50% - 2px);
        width: 100%;
        height: 4px;
        background-color: #fff;
        border-radius: 2px;
    }
    .mob_burger::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        width: 100%;
        height: 4px;
        background-color: #fff;
        border-radius: 2px;
        transition: 0.3s;
    }
    .mob_burger._active::before {
        top: calc(50% - 2px);
        transform: rotate(45deg);
    }
    .mob_burger::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 4px;
        background-color: #fff;
        border-radius: 2px;
        transition: 0.3s;
    }
    .mob_burger._active::after {
        top: calc(50% - 2px);
        transform: rotate(-45deg);
    }
    .container_nav .content {
        display: flex;
        flex-direction: row-reverse;
        position: fixed;
        z-index: 99999;
        top: 80px;
        right: 20px;
    }
    .hdr_nav {
        height: max-content;
        width: max-content;
        position: absolute;
        top: 40px;
        right: -100%;
        height: calc(100vh - 130px);
        z-index: 999999999999998;
        transition: 0.3s;
    }
    .hdr_nav._active {
        right: -20px;
    }
    .hdr_nav {
        background-image: none !important;
    }
    .hdr_nav__list {
        padding: 20px;
        background-color: #ececec;
        height: max-content;
        width: 100%;
        display: flex;
        flex-direction: column;
        border-radius: 0 0 0 6px;
    }
    .nav_list__item {
        margin-bottom: 12px;
        margin-right: 0;
        text-align: center;
    }
    .nav_list__link {
        text-align: center;
        margin: 0 auto;
        color: #000000;
        text-decoration: none;
        font-weight: 500;
    }
    .nav_list__link:hover, .nav_list__link:focus, .nav_list__link:active {
        text-decoration: underline;
    }
    .is-layout-flex.wp-block-columns.books {
        margin-top: 23px !important;
        width: 100% !important;
        display: grid;
        grid-template-columns: repeat(3, calc(75% - 9px));
        grid-template-rows: repeat(3, max-content);
        gap: 20px;
        padding-bottom: 20px !important;
        overflow-x: auto;
    }
    .n2-section-smartslider {
        position: relative;
        width: 100%;
        max-width: 100vw !important;
        margin: 0 auto !important;
        outline: 0;
        --widget-offset: 0px;
        margin-top: 8px !important;
    }
    .wp-block-file a {
        margin-bottom: 30px;
    }
    .wp-block-file__button {
        margin: 0 !important;
    }
    figure {
        width: 100% !important;
        overflow: hidden;
        max-height: 440px;
    }
    figure img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }
}
@media (max-width: 428px) {
    .main_title {
        font-size: 34px;
        margin-bottom: 16px;
    }
    .main_title__decor {
        font-size: 100px;
        line-height: 0.76;
    }
}

/* HISTORY PAGE */

body.history header {
    z-index: 2;
}
body.history .hdr_banner {
    background-image: url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/main_banner-history.webp');
}
body.history #primary {
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}
body.history .nav_list__link {
    color: #754c24;
}
body.history .hdr_nav {
    background-image: url(https://www.koloristika.in.ua/wp-content/uploads/2023/03/nav_bg_brown.webp);
}
body.history .page_nav_block h3 {
    color: #000000;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
}
.inherit-container-width.wp-block-group.page_nav_block.is-layout-constrained {
    font-family: 'Roboto', sans-serif;
}
body.history .page_nav_block:first-of-type h3 {
    margin-top: 10px !important;
}
body.history .page_nav_block ul {
    padding: 0;
    margin: 0px 0 0 0;
    
}
body.history .page_nav_block li, body.history .page_nav_block li a {
    color: #754c24;
    padding: 0 0 0 20px;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    text-decoration: underline;
    position: relative;
    cursor: pointer;
}
body.history .page_nav_block li a, .page_nav_block li.active a {
    padding: 0;
}
body.history .page_nav_block li.active, body.history .page_nav_block li.active a {
    color: #3b2714;
    text-decoration: none;
    font-weight: 500;
}
body.history .page_nav_block li:before {
    content: '';
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    left: 0;
    top: calc(50% - 1px);
    border-radius: 3px;
    background-color: #000000;
}
body.history .page_nav_block li:hover {
    text-decoration: none;
}
body.history .is-layout-flow.wp-block-column.left_column {
    width: 30% !important;
}
body.history .is-layout-flow.wp-block-column.right_column {
    position: relative;
}
body.history .is-layout-flow.wp-block-column.right_column .article_block {
    display: none;
}
body.history .is-layout-flow.wp-block-column.right_column .article_block.active {
    display: block;
}
body.history .is-layout-flow.wp-block-column.right_column .right_major_block.hide {
    display: none;
}
body.history .is-layout-flow.wp-block-column.right_column h2 {
    color: #666666;
    font-size: 32px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
}
body.history .is-layout-flow.wp-block-column.right_column .article_block h3 {
    color: #666666;
    font-size: 24px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    margin: 20px 0 10px 0;
}
body.history .is-layout-flow.wp-block-column.right_column p {
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
}
body.history .is-layout-constrained.wp-block-group.quote_block {
    background: url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/quote_up.webp') top left no-repeat, url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/quote_down.webp') bottom right no-repeat;
}
body.history #main .quote_block p {
    padding-top: 20px;
    color: #747474;
    font-size: 18px;
    font-style: italic;
    letter-spacing: normal;
    line-height: normal;
}
body.history #main .quote_block .author_sign {
    padding-top: 0;
    margin-top: 6px;
}
@media (max-width: 922px) {
    body.history #primary {
        padding-bottom: 60px !important;
    }

}
@media (max-width: 781px) {
    body.history .left_column {
        display: flex;
        justify-content: space-between;
    }
    body.history .page_nav_block {
        margin-top: 0 !important;
        position: relative;
    }
    body.history .page_nav_block:first-of-type h3 {
        margin-top: 19px !important;
    }
    body.history .page_nav_block ul {
        position: absolute;
        top: 100%;
        background-color: #ececec;
        padding: 5px;
        height: 0;
        opacity: 0;
        transition: 0.3s;
        pointer-events: none;
        z-index: 3;
    }
    body.history .page_nav_block li, body.history .page_nav_block li a {
        padding: 0 0 4px 18px;
        margin-bottom: 4px;
        /* border-bottom: 1px solid #754c24; */
        text-decoration: none !important;
    }
    body.history .page_nav_block li a {
        padding: 0;
        border-bottom: none;
    }
    body.history .page_nav_block li:last-of-type {
        margin-bottom: 0;
        border-bottom: none;
    }
    /* body.history .page_nav_block li:before {
        display: none;
    } */
    body.history .page_nav_block h3 {
        display: flex;
        align-items: center;
        width: 70%;
    }
    body.history .page_nav_block h3:after {
        content: url('https://www.koloristika.in.ua/wp-content/themes/astra/assets/images/menu_arrow.svg');
        display: block;
        /* width: 8px;
        height: 8px; */
        /* border-left: 1px solid #000;
        border-bottom: 1px solid #000;
        transform: rotate(-45deg); */
        /* margin: 0 0 4px 5px; */
        align-self: start;
        transition: 0.3s;
    }
    body.history .page_nav_block h3._active:after {
        transform: rotate(180deg);
    }
    body.history .page_nav_block h3._active~ul {
        height: max-content;
        opacity: 1;
        pointer-events: all;
    }
}
@media (max-width: 700px) {
    body.history .page_nav_block h3 {
        white-space: nowrap;
        font-size: 14px;
    }
}
@media (max-width: 533px) {
    body.history .hdr_nav {
        background-image: none;
    }
    body.history .left_column {
        display: flex;
        flex-direction: column;
    }
    .is-layout-constrained.wp-block-group.page_nav_block {
        margin: 6px 0 0 0 !important;
        display: flex;
    }
    body.history .page_nav_block ul {
        position: absolute;
        left: 45%;
        top: -8px;
        border-radius: 0 4px 4px 4px;
        z-index: -1;
    }
    body.history .page_nav_block h3._active~ul {
        margin-top: 27px !important;
        height: max-content;
        opacity: 1;
        pointer-events: all;
        z-index: 1;
    }
    body.history .page_nav_block li:before {
        top: calc(50% - 5px);
    }
    body.history .page_nav_block li, body.history .page_nav_block li a {
        font-size: 14px;
        text-decoration: none !important;
    }
    body.history .page_nav_block h3 {
        margin: 0 !important;
        padding: 4px;
        width: 45%;
        justify-content: space-between;
        font-size: 16px;
    }
    body.history .page_nav_block h3:after {
        /* transform: rotate(-135deg);
        margin-bottom: 2px; */
    }
    body.history .page_nav_block h3._active {
        background-color: #ececec;
        transition: 0.3s;
        border-radius: 4px 0 0 4px;
    }
    body.history .page_nav_block h3._active:after {
        transform: rotate(-90deg);
    }
}
@media (max-width: 431px) {
    body.history .page_nav_block h3 {
        width: 50%;
        white-space: nowrap;
        font-size: 15px !important;
    }
    .is-layout-flow.wp-block-column.left_column h3 {
        font-size: 15px !important;
    }
    body.history .page_nav_block ul {
        left: 50%;
    }
}


/* PRACTICUM PAGE */

body.practicum header {
    z-index: 2;
}
body.practicum .hdr_banner {
    background-image: url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/main_banner-practice.webp');
}
body.practicum .hdr_nav {
    background-image: url(https://www.koloristika.in.ua/wp-content/uploads/2023/03/nav_bg_crimson.webp);
}
body.practicum .nav_list__link {
    color: #ac1a2f;
}
body.practicum .is-layout-constrained.wp-block-group.quote_block {
    background: url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/quote_up.webp') top left no-repeat, url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/quote_down.webp') bottom right no-repeat;
}
body.practicum .is-layout-flex.wp-container-10.wp-block-columns {
    justify-content: space-between;
}
body.practicum .page_nav_block h3 {
    color: #000000;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    display: none;
}
body.practicum .page_nav_block ul {
    padding: 0;
    margin: 0px 0 0 0;
    position: relative;
    z-index: 4;
}
body.practicum .page_nav_block li, body.practicum .page_nav_block li a {
    color: #ac1a2f;
    padding: 0 0 0 20px;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    text-decoration: underline;
    position: relative;
    cursor: pointer;
}
body.practicum .page_nav_block li a {
    padding: 0;
}
body.practicum .page_nav_block li:hover, body.practicum .page_nav_block li a:hover {
    text-decoration: none;
}
body.practicum .page_nav_block li:before {
    content: '';
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    left: 0;
    top: calc(50% - 1px);
    border-radius: 3px;
    background-color: #000000;
}
body.practicum .page_nav_block li.active, body.practicum .page_nav_block li.active a {
    color: #701220;
    text-decoration: none;
    font-weight: 500;
}
body.practicum .is-layout-flow.wp-block-column .article_block {
    display: none;
}
body.practicum .is-layout-flow.wp-block-column .article_block.active {
    display: block;
}
body.practicum .is-layout-flow.wp-block-column .right_major_block.hide {
    display: none;
}
body.practicum .is-layout-constrained.wp-block-group.right_major_block h2 {
    color: #666666;
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
}
body.practicum .is-layout-flow.wp-block-column.right_column .article_block h3 {
    color: #666666;
    font-size: 24px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    margin-bottom: 10px;
}
body.practicum .is-layout-constrained.wp-block-group.right_major_block .wp-block-image.size-full {
    max-width: 70%;
    margin-left: 0 !important;
    margin-right: auto;
}
body.practicum #main .quote_block p {
    padding: 20px 0 0 0;
    color: #747474;
    font-size: 18px;
    font-style: italic;
    letter-spacing: normal;
    line-height: normal;
}
body.practicum .quote_block p.author_sign {
    text-align: right;
    padding: 0 0 20px 0 !important;
}
.n2-ss-slider-controls .nextend-thumbnail-inner {
    background: transparent !important;
}
div#n2-ss-2 .n2-ss-slider-2 {
    z-index: 1 !important;
}
.n2-ss-slider .n2-ss-slide--focus {
    opacity: 0 !important;
}
/* .n2-ss-slider-controls.n2-ss-slider-controls-below {
    margin-top: 50px;
} */
/* descr slider */
.n2-ss-layers-container.n2-ss-slide-limiter.n2-ow {
    height: max-content !important;
    position: absolute !important;
    top: 0 !important;
    color: #666666 !important;
}
.n2-ss-layers-container.n2-ss-slide-limiter.n2-ow a,
.n2-ss-layers-container.n2-ss-slide-limiter.n2-ow p {
    color: #666666 !important;
}
.n2-ss-slide-active {
    min-height: 350px !important;
}
@media (max-width: 430px) {
    .n2-ss-slide-active {
        min-height: 460px !important;
    }
}
@media (max-width: 922px) {
    body.practicum #primary {
        padding-bottom: 60px !important;
    }
}
@media (max-width: 781px) {
    .is-layout-constrained.wp-block-group.right_major_block h2 {
        margin-bottom: 24px;
    }
    body.practicum .is-layout-constrained.wp-block-group.right_major_block .wp-block-image.size-full {
        max-width: 100%;
        margin: 0 auto;
    }
    body.practicum .page_nav_block ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    body.practicum .page_nav_block ul {
        height: 200px;
        margin-left: 0 !important;
    }
    body.practicum .page_nav_block li, body.practicum .page_nav_block li a {
        white-space: normal;
        font-size: 14px;
        margin-left: 12px;
    }
}
@media (max-width: 533px) {
    body.practicum .is-layout-flow.wp-block-column.left_column {
        width: 100% !important;
    }
    body.practicum .is-layout-flex {
        gap: 1px !important;
        display: flex;
        flex-direction: column;
    }
    .is-layout-flow.wp-block-column:last-of-type {
        width: 100% !important;
    }
    body.practicum .hdr_nav {
        background-image: none;
    }
    body.practicum .page_nav_block {
        position: relative;
    }
    body.practicum .page_nav_block ul {
        height: max-content;
        margin-left: 0 !important;
        width: 100%;
        max-width: 100%;
        position: absolute;
        top: 40px;
        display: none;
        z-index: 4;
        background-color: #ececec;
    }
    body.practicum .page_nav_block li, body.practicum .page_nav_block li a {
        padding: 4px 4px 4px 10px;
        /* background-color: #ececec; */
        margin-left: 0 !important;
        text-decoration: none;
    }
    body.practicum .page_nav_block li:before {
        content: '';
        display: block;
        position: absolute;
        width: 6px;
        height: 6px;
        left: 6px;
        top: 11px;
        border-radius: 3px;
        background-color: #000000;
    }
    body.practicum .page_nav_block li:active {
        color: #701220;
        font-weight: 500;
    }
    body.practicum .page_nav_block ul:after {
        content: '';
        display: block;
        flex: 1;
        height: 20px;
        width: 100%;
        background-color: #ececec;
    }
    body.practicum .is-layout-constrained.wp-block-group.page_nav_block {
        flex-direction: column;
    }
    body.practicum .page_nav_block h3 {
        display: flex;
        text-align: left;
        width: 100%;
    }
    body.practicum .page_nav_block h3:after {
        content: '';
        display: block;
        width: 8px;
        height: 8px;
        border-left: 1px solid #000;
        border-bottom: 1px solid #000;
        transform: rotate(-45deg);
        margin: 0 0 2px 3px;
        align-self: center;
        transition: 0.3s;
    }
    body.practicum .page_nav_block h3._active:after {
        transform: rotate(135deg);
    }
    body.practicum .page_nav_block h3._active~ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    body.practicum .page_nav_block {
        position: relative;
    }
    body.practicum .page_nav_block ul {
        /* height: 400px; */
        margin-left: 0 !important;
        width: 100%;
        /* max-width: 50%; */
        position: absolute;
        top: 40px;
        display: none;
    }
    body.practicum .page_nav_block ul:after {
        content: '';
        display: block;
        flex: 1;
        height: max-content;
        max-height: 65px;
        width: 100%;
        background-color: #ececec;
    }
    body.practicum .page_nav_block li:before {
        top: 9px;
    }
}
/* @media (max-width: 428px) {
    body.practicum .page_nav_block ul:after {
        max-height: 57px;
    }
}
@media (max-width: 375px) {
    body.practicum .page_nav_block ul:after {
        max-height: 0px;
    }
} */

/* THEORY PAGE */

body.theory header {
    z-index: 3;
}
body.theory .hdr_banner {
    background-image: url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/main_banner-teoria.webp');
}
body.theory .hdr_nav {
    background-image: url(https://www.koloristika.in.ua/wp-content/uploads/2023/03/nav_bg_green.webp);
}
body.theory .nav_list__link {
    color: #00683d;
}
body.theory .is-layout-constrained.wp-block-group.quote_block {
    background: url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/quote_up.webp') top left no-repeat, url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/quote_down.webp') bottom right no-repeat;
}
body.theory .is-layout-flex.wp-container-10.wp-block-columns {
    justify-content: space-between;
}
body.theory .page_nav_block h3 {
    color: #000000;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    display: none;
}
body.theory .page_nav_block ul {
    padding: 0;
    margin: 0px 0 0 0;
    position: relative;
    z-index: 4;
}
body.theory .page_nav_block li, body.theory .page_nav_block li a {
    color: #00683d;
    padding: 0 0 0 20px;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    text-decoration: underline;
    position: relative;
    cursor: pointer;
}
body.theory .page_nav_block li:hover, body.theory .page_nav_block li a:hover {
    text-decoration: none;
}
body.theory .page_nav_block li a, .page_nav_block li.active a {
    padding: 0;
}
body.theory .page_nav_block li.active, body.theory .page_nav_block li.active a {
    color: #004126;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}
body.theory .page_nav_block li:before {
    content: '';
    display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    left: 0;
    top: calc(50% - 1px);
    border-radius: 3px;
    background-color: #000000;
}
body.theory .page_nav_block li.active {
    color: #004126;
    text-decoration: none;
    font-weight: 500;
}
body.theory .is-layout-flow.wp-block-column .article_block {
    display: none;
}
body.theory .is-layout-flow.wp-block-column .article_block.active {
    display: block;
}
body.theory .is-layout-flow.wp-block-column .right_major_block.hide {
    display: none;
}
body.theory .is-layout-constrained.wp-block-group.right_major_block h2 {
    color: #666666;
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
}
body.theory .is-layout-flow.wp-block-column.right_column .article_block h3 {
    color: #666666;
    font-size: 24px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
}
body.theory .is-layout-constrained.wp-block-group.right_major_block .wp-block-image.size-full {
    max-width: 70%;
    margin-left: 0 !important;
    margin-right: auto;
}
body.theory #main .quote_block p {
    padding: 20px 0 0 0;
    color: #747474;
    font-size: 18px;
    font-style: italic;
    letter-spacing: normal;
    line-height: normal;
}
body.theory .quote_block p.author_sign {
    text-align: right;
    padding: 0 0 20px 0 !important;
}
body.theory .bibliography {
    padding-left: 16px !important;
}
body.theory .bibliography li {
    margin-bottom: 6px;
}
@media (max-width: 922px) {
    body.theory #primary {
        padding-bottom: 60px !important;
    }
}
@media (max-width: 781px) {
    .is-layout-constrained.wp-block-group.right_major_block h2 {
        margin-bottom: 24px;
    }
    body.theory .is-layout-constrained.wp-block-group.right_major_block .wp-block-image.size-full {
        max-width: 100%;
        margin: 0 auto;
    }
    body.theory .page_nav_block ul {
        display: flex;
        flex-direction: column;
        height: 250px;
        flex-wrap: wrap;
        white-space: normal;
        margin-left: 0 !important;
    }
    body.theory .page_nav_block li, body.theory .page_nav_block li a {
        white-space: normal !important;
    }
    body.theory .page_nav_block li:before {
        content: '';
        display: block;
        position: absolute;
        width: 6px;
        height: 6px;
        left: 6px;
        top: 8px;
        border-radius: 3px;
        background-color: #000000;
    }
}
@media (max-width: 700px) {
    body.theory .page_nav_block ul {
        height: 250px;
        margin-left: 0 !important;
    }
    body.theory .page_nav_block li, body.theory .page_nav_block li a {
        white-space: normal;
        font-size: 14px;
        margin-left: 12px;
    }
}
@media (max-width: 533px) {
    body.theory .is-layout-flex {
        gap: 1px !important;
    }
    body.theory .hdr_nav {
        background-image: none;
    }
    body.theory .page_nav_block {
        position: relative;
    }
    body.theory .page_nav_block ul {
        height: 400px;
        margin-left: 0 !important;
        width: 100%;
        position: absolute;
        top: 40px;
        display: none;
    }
    body.theory .page_nav_block li, body.theory .page_nav_block li a {
        padding: 4px 4px 4px 20px;
        background-color: #ececec;
        margin-left: 0 !important;
        text-decoration: none;
    }
    body.theory .page_nav_block li a {
        padding: 0;
    }
    body.theory .page_nav_block li:before {
        content: '';
        display: block;
        position: absolute;
        width: 6px;
        height: 6px;
        left: 6px;
        top: 11px;
        border-radius: 3px;
        background-color: #000000;
    }
    body.theory .page_nav_block li:active {
        color: #004126;
        font-weight: 500;
    }
    body.theory .page_nav_block ul:after {
        content: '';
        display: block;
        flex: 1;
        height: 0px;
        max-height: 35px;
        width: 100%;
        background-color: #ececec;
    }
    body.theory .is-layout-constrained.wp-block-group.page_nav_block {
        flex-direction: column;
    }
    body.theory .page_nav_block h3 {
        margin-top: 0 !important;
        display: flex;
        text-align: left;
        width: 100%;
    }
    body.theory .page_nav_block h3:after {
        content: '';
        display: block;
        width: 8px;
        height: 8px;
        border-left: 1px solid #000;
        border-bottom: 1px solid #000;
        transform: rotate(-45deg);
        margin: 0 0 2px 3px;
        align-self: center;
        transition: 0.3s;
    }
    body.theory .page_nav_block h3._active:after {
        transform: rotate(135deg);
    }
    body.theory .page_nav_block h3._active~ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    body.theory .page_nav_block {
        position: relative;
    }
    body.theory .page_nav_block ul {
        height: 400px;
        margin-left: 0 !important;
        width: 100%;
        position: absolute;
        top: 40px;
        display: none;
    }
    body.theory .page_nav_block ul:after {
        content: '';
        display: block;
        flex: 1;
        height: max-content;
        max-height: 55px;
        width: 100%;
        background-color: #ececec;
    }
    body.theory .page_nav_block li:before {
        top: 9px;
    }
}
@media (max-width: 428px) {
    body.theory .page_nav_block ul:after {
        max-height: 72px;
    }
    body.theory .page_nav_block ul {
        height: 460px;
        margin-left: 0 !important;
        width: 100%;
        position: absolute;
        top: 40px;
        display: none;
    }
}
@media (max-width: 428px) {
    body.theory .page_nav_block ul:after {
        max-height: 73px;
    }
}
@media (max-width: 375px) {
    body.theory .page_nav_block ul:after {
        max-height: 110px;
    }
    body.theory .page_nav_block ul {
        height: 520px;
        margin-left: 0 !important;
        width: 100%;
        position: absolute;
        top: 40px;
        display: none;
    }
}

/* GLOSSARIUM PAGE */

body.glossarium header {
    z-index: 3;
}
body.glossarium .hdr_banner {
    background-image: url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/main_banner-glossariy.webp');
}
body.glossarium .hdr_nav {
    background-image: url(https://www.koloristika.in.ua/wp-content/uploads/2023/03/nav_bg_blue.webp);
}
body.glossarium .nav_list__link {
    color: #003664;
}
body.glossarium .is-layout-constrained.wp-block-group.quote_block {
    background: url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/quote_up.webp') top left no-repeat, url('https://www.koloristika.in.ua/wp-content/uploads/2023/03/quote_down.webp') bottom right no-repeat;
}
body.glossarium .is-layout-flex.wp-container-10.wp-block-columns {
    justify-content: space-between;
}
body.glossarium .page_nav_block h3 {
    color: #000000;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    display: none;
}
body.glossarium .page_nav_block ul {
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}
body.glossarium .page_nav_block li, body.glossarium .page_nav_block li a {
    color: #003664;
    padding: 0 8px 0 10px;
    font-size: 32px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    text-decoration: underline;
    position: relative;
    cursor: pointer;
    position: relative;
}
body.glossarium .page_nav_block li a {
    padding: 0;
}
body.glossarium .page_nav_block li:hover, body.glossarium .page_nav_block li a:hover {
    text-decoration: none;
}
body.glossarium .page_nav_block li.active, body.glossarium .page_nav_block li.active a {
    color: #01223f;
    font-weight: 500;
    text-decoration: none;
    position: relative;
}
body.glossarium .page_nav_block li:before {
    content: '';
    display: block;
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #00223f;
    top: calc(50% - 2px);
    left: 0;
}
body.glossarium .page_nav_block li:last-of-type {
    padding-right: 10px;
}
body.glossarium .page_nav_block li:last-of-type:after {
    content: '';
    display: block;
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #00223f;
    top: calc(50% - 2px);
    right: 0;
}
body.glossarium .is-layout-flow.wp-block-column.right_column p {
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
}
body.glossarium .is-layout-constrained.wp-block-group.right_major_block h2 {
    color: #666666;
    font-size: 32px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
}
body.glossarium .is-layout-constrained.wp-block-group.right_major_block .book_title {
    color: #666666;
    font-size: 24px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
}
body.glossarium .wp-block-file a {
    font-size: 14px;
}
body.glossarium .is-layout-flow.wp-block-column.right_column .article_block h2 {
    color: #666666;
    font-size: 32px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
}
body.glossarium .is-layout-flow.wp-block-column.right_column .article_block h3 {
    color: #666666;
    font-size: 24px;
    font-weight: 300;
    font-style: normal;
    letter-spacing: normal;
    line-height: normal;
    margin: 20px 0 10px 0;
}
body.glossarium .is-layout-flow.wp-block-column.right_column .article_block {
    display: none;
}
body.glossarium .is-layout-flow.wp-block-column.right_column .article_block.active {
    margin-top: 0;
    display: block;
}
body.glossarium .is-layout-flow.wp-block-column.right_column .right_major_block.hide {
    display: none;
}
body.glossarium .page_nav_block li.active {
    color: #01203b;
    text-decoration: none;
    font-weight: 500;
}
body.glossarium .wp-block-file__button.wp-element-button {
    background-color: #003664;
}
body.glossarium .wp-block-file__button.wp-element-button:active {
    background-color: #01203b;
}
@media (max-width: 922px) {
    body.glossarium #primary {
        padding-bottom: 60px !important;
    }
}
@media (max-width: 533px) {
    body.glossarium {
        margin-top: 100px !important;
    }
    body.glossarium .is-layout-flow.wp-block-column.left_column {
        width: 40% !important;
        padding-top: 40px;
    }
    body.glossarium .page_nav_block li, body.glossarium .page_nav_block li a {
        color: #003664;
        padding: 0 8px 0 10px;
        font-size: 20px;
        font-weight: 400;
        font-style: normal;
        letter-spacing: normal;
        line-height: normal;
        text-decoration: underline;
        position: relative;
        cursor: pointer;
        position: relative;
    }
    body.glossarium .page_nav_block li a {
        padding: 0;
    }
}