/*
Theme Name: Hub
Theme URI: https://www.templatemonster.com/authors/brainiakthemes/#author-all-products
Author: BrainiakThemes
Author URI: https://www.templatemonster.com/authors/brainiakthemes/
Description: Hub - Creative and Business, Multipurpose WordPress Theme is a modern multipurpose, minimalistic and easy to use, lightweight and fast loading, multi and one page template for building simple and beautiful business or personal website.
Version: 1.2.1
Requires PHP: 7.0
Tested up to: 5.6.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hub
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, featured-images, custom-header, full-width-template, theme-options, translation-ready
*/

:root {
    --black: rgb(18, 18, 18);
}

html {
    overflow-y: scroll;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #5c5c5c;
}

/* WordPress API Elements */

.wp-caption {
    margin: 30px 0;
    font-size: 16px;
    text-align: center;
    font-style: italic;
    max-width: 100%;
}

.wp-caption p,
.wp-caption-text {
    margin: 0;
    margin-top: 5px;
}

.wp-caption-text,
.sticky,
.gallery-caption,
.bypostauthor,
.screen-reader-text {
    visibility: visible;
}

.screen-reader-text {
    display: none;
}

.aligncenter {
    margin: 30px auto;
    display: block;
}

.alignright {
    margin: 10px 0 10px 30px;
    float: right;
}

.alignleft {
    margin: 10px 30px 10px 0;
    float: left;
}

.spoiler {
    margin-top: 40px;
    width: 100%;
}

.spoiler p {
    font-weight: 500;
    margin-bottom: 0;
}

.spoiler__main_content {
    overflow: hidden;
    width: 100%;
    max-height: 100px;
    position: relative;
    transition: 0.4s max-height;
}

.spoiler__main_content::before {
    content: '';
    position: absolute;
    height: 50%;
    width: 100%;
    left: 0;
    bottom: 0;
    background: linear-gradient(0deg, #fff, rgba(0, 0, 0, 0));
    transition: 0.4s opacity, 0.4s height;
}

.spoiler .spoiler__button {
    width: 100%;
    height: 32px;

    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.spoiler .spoiler__button__text {
    border-bottom: 1px dotted black;
    font-weight: 600;
    font-size: 16px;
}

.spoiler__button__arrow {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url('./assets/images/arrow.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 4px;
    transform: rotate(90deg);
    transition: 0.4s transform;
}

.spoiler--active .spoiler__main_content {
    max-height: 3000px;
}

.spoiler--active .spoiler__main_content::before {
    height: 0;
    opacity: 0;
}

.spoiler--active .spoiler__button__arrow {
    transform: rotate(270deg);
}

@media (max-width: 767px) {
    .spoiler {
        margin-top: 32px;
    }
    .spoiler__main_content {
        max-height: 50px;
    }
}

@media (max-width: 450px) {
    .spoiler__main_content {
        max-height: 40px;
    }
}

.footer-black {
    background-color: var(--black);
    width: 100%;
    padding-top: 60px;
    padding-bottom: 20px;
}
.footer-black p {
    color: white;
    text-align: left;
    font-size: 14px;
}
.footer-black li {
    color: white;
    text-align: left;
    font-size: 14px;
}

.footer-black__row {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 20px;
}

.footer-black__row__inner {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
}

.footer-black__row_up {
    display: grid;
    grid-template-columns: 25% 50% 25%;
}

.footer-black__row_up__left {
    width: 80%;
}

.footer-black__row_up__left .logo {
    width: 100%;
    height: auto;
    max-height: 120px;
}

.footer-black__row_up__left .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    max-width: inherit;
    max-height: inherit;
}

.footer-black__row_up__middle {
    width: 90%;
}

.footer-black__row_up__middle p {
    text-align: center;
    margin-bottom: 0;
}

.footer-black__row_up__right {
    width: 80%;
}

.footer-black__row_up__right p {
    text-align: center;
}
.footer-black__row_up .r1.footer-black__row_up__right {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.footer-black__row_up__right .qr-code {
    max-height: 120px;
    max-width: 120px;
}
.footer-black__row_up__right .qr-code img {
    max-height: inherit;
    max-width: inherit;
    object-position: right center;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-black__row_up .r2.footer-black__row_up__middle {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
.footer-black__row_up .r2.footer-black__row_up__middle > * {
    height: 42px;
    width: 50%;
}

.footer-black__row_up .r2.footer-black__row_up__right p {
    text-align: right;
}

.footer-black__row_up__left__icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer .footer_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    width: 32px;
    height: 32px;
    padding: 4px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 1;
}

.footer .footer_icon:hover {
    opacity: 0.8;
}

.footer_icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.footer .footer_hr {
    margin-top: 20px;
    margin-bottom: 20px;
    height: 1px;
    width: 100%;
    background: rgb(33, 33, 33);
}

.footer-black__row_down {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.footer-black__row_down__menu {
    width: 20%;
}

.footer-black__row_down__menu .footer-black__row_down__menu_title {
    font-weight: 500;
    color: white;
    opacity: 0.9;
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-black__row_down__menu .menu {
    padding-left: 0;
    list-style: none;
}

.footer-black__row_down__menu .menu li {
    color: white;
}

.footer-black__row_down__menu .menu li a {
    color: inherit;
    font-size: inherit;
}

.footer-black__row_up__middle.r1 {
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 100%;
}
.footer-black__row_up__middle.r1 p {
    width: 100%;
}

.footer-black__credentials p {
    text-align: center;
    margin-bottom: 0;
    opacity: 0.8;
}

footer.footer .footer_input {
    border: solid 3px transparent;
    transition: 0.3s border-color, 0.3s color;
}

.input--error {
    border-color: rgb(251, 144, 144) !important;
    color: rgb(251, 144, 144) !important;
}

footer.footer .btn--loading {
    cursor: not-allowed;
    opacity: 0.6;
}

#modal_tnx {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: none;
}

#modal_tnx .bg {
    width: 100%;
    height: 100%;
    background-color: rgba(29, 29, 29, 0.553);
}

#modal_tnx__content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px 40px;
    border-radius: 4px;
    max-width: 90vh;
}

#modal_tnx__content p {
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    margin-bottom: 0;
}

.no-scroll {
    overflow-y: hidden !important;
    overflow-x: hidden !important;
}

@media (max-width: 1200px) {
    .footer-black__row_down__menu .footer-black__row_down__menu_title {
        font-size: 14px;
        margin-bottom: 12px;
    }
}

@media (max-width: 1024px) {
    .footer-black__row_down {
        flex-wrap: wrap;
        gap: 24px;
    }

    .footer-black__row_down__menu {
        width: 30%;
    }

    .footer-black__row_up .r2.footer-black__row_up__middle {
        flex-direction: column;
    }
    .footer-black__row_up .r2.footer-black__row_up__middle > * {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .footer-black {
        padding-top: 30px;
    }
    .r1.footer-black__row_up__left {
        grid-area: a;
    }
    .r2.footer-black__row_up__left {
        grid-area: d;
    }
    .r1.footer-black__row_up__middle {
        grid-area: b;
    }

    .r2.footer-black__row_up__middle {
        grid-area: e;
    }
    .r1.footer-black__row_up__right {
        grid-area: c;
    }

    .r2.footer-black__row_up__right {
        grid-area: f;
    }
    .footer-black__row_up {
        grid-template-columns: unset;
        grid-template-areas:
            'a'
            'd'
            'b'
            'e'
            'c'
            'f';
    }
    .footer-black__row_up__left {
        width: 100%;
    }
    .footer-black__row_up__middle {
        width: 100%;
    }
    .footer-black__row_up__right {
        width: 100%;
    }

    .footer-black__row_up__left .logo img {
        object-position: center;
    }
    .footer-black__row_up__left.r2 p {
        text-align: center;
    }
    .footer-black__row_up__left__icons {
        justify-content: center;
    }
    .footer-black__row_up .r1.footer-black__row_up__right {
        justify-content: center;
    }
    .footer-black__row_up .r2.footer-black__row_up__right p {
        text-align: center;
    }

    #modal_tnx__content {
        padding: 12px 24px;
    }

    #modal_tnx__content p {
        font-size: 16px;
    }
    .footer-black p {
        font-size: 12px;
    }
    .footer-black li {
        font-size: 12px;
    }
}

@media (max-width: 620px) {
    .footer-black__row_down__menu {
        width: 46%;
    }
}

.cute_table_grid.mobile {
    display: none;
}

.cute_table_grid {
    color: inherit;
}

.cute_table_grid__row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: inherit;
    margin-bottom: 20px;
}

.cute_table_grid__row * {
    color: inherit;
}

.cute_table_grid__row__item {
    display: flex;
    flex-direction: row;
    width: 45%;
}

.cute_table_grid__row__item__num {
    font-size: 60px;
    width: 50px;
    font-weight: 500;
    line-height: 120%;
    margin-bottom: 0;
}

.cute_table_grid__row__item__content {
    width: 1px;
    flex-grow: 1;
}

.cute_table_grid__row__item__content__title {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 500;
}

.cute_table_grid__row__item__content__descr {
    font-size: 15px;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .cute_table_grid.desctop {
        display: none;
    }
    .cute_table_grid.mobile {
        display: flex;
    }

    .cute_table_grid {
        flex-direction: column;
    }

    .cute_table_grid__row {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .cute_table_grid__row__item {
        gap: 12px;
        width: 100%;
    }

    .cute_table_grid__row__item__num {
        font-size: 30px;
    }

    .cute_table_grid__row__item__content__title {
        text-align: left;
        font-size: 20px;
    }
    .cute_table_grid__row__item__content__descr {
        text-align: left;
    }
}

.history-widget .history-widget__item {
    width: 100%;
    position: relative;
}

.history-widget .history-widget__item__content {
    width: 100%;
}

.history-widget .history-widget__item__content__col {
    width: 50%;
    padding-bottom: 20px;
}

.history-widget .history-widget__item__content__block {
    padding-right: 40px;
}

.history-widget__item__content__linewrapper {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    transform: translateX(-50%);
}

.history-widget__item__content__line {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
}

.history-widget .history-widget__item__content__round {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -20%);
}

.history-widget__item__content__block__title {
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
}

.history-widget__item__content__block__descr * {
    text-align: left;
}

.history-widget__item__content__block *:last-child {
    margin-bottom: 0;
}

.history-widget .history-widget__item:nth-child(even) .history-widget__item__content__block {
    padding-right: 0;
    padding-left: 50px;
}

.history-widget .history-widget__item:nth-child(even) .history-widget__item__content__col {
    margin-left: auto;
    display: flex;
    flex-direction: row-reverse;
}

.history-widget .history-widget__item:last-child .history-widget__item__content__line {
    display: none;
}
.history-widget .history-widget__item:last-child .history-history-widget__item__content__col {
    padding-bottom: 0;
}

@media (max-width: 767px) {
    .history-widget .history-widget__item__content__block {
        padding-right: 0;
        padding-left: 72px;
    }

    .history-widget .history-widget__item__content__round {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .history-widget__item__content__linewrapper {
        width: 40px;
        left: 0;
        transform: translateX(0%);
    }

    .history-widget .history-widget__item:nth-child(even) .history-widget__item__content__block {
        padding-left: 72px;
    }

    .history-widget .history-widget__item:nth-child(even) .history-widget__item__content__col {
        flex-direction: row;
        margin-left: 0;
    }

    .history-widget .history-widget.history-widget__item__content__block__title {
        margin-bottom: 16px;
    }
    .history-widget .history-widget__item__content__col {
        width: 100%;
    }
}

.main_form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.main_form .btn {
    margin-top: 40px;
}
.main_form input,
.main_form textarea {
    border: solid 3px transparent !important;
    transition: 0.3s border-color, 0.3s color !important;
}
.main_form .input--error {
    border-color: rgb(251, 144, 144) !important;
    color: rgb(251, 144, 144) !important;
}

@media (max-width: 767px) {
    .main_form form {
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-width: 600px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .main_form .btn {
        margin-top: 20px;
    }
}

.main_faqs .elementor-tab-content p {
    font-weight: 400 !important;
}

.wp-block-filters-item {
    margin-bottom: 24px;
}

.wp-block-filters-item__up {
    margin-bottom: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.wp-block-filters-item-arrow {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    transform: rotate(0deg);
    background-image: url('./assets/images/spoiler_arrow.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transition: 0.4s;
}

.wp-block-filters-item__up--active .wp-block-filters-item-arrow {
    transform: rotate(180deg);
}

.wp-block-filters-item-tags {
    display: none;
}

.wp-block-filters-item-title {
    font-size: 16px;
    margin-bottom: 0;
}

.wp-block-filters-item-tag:not(:last-child) {
    margin-bottom: 12px;
}

.wp-block-filters-item-tag-name {
    font-size: 14px;
}

.wp-block-filters-item-tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.cute-checkbox input {
    width: 0;
    height: 0;
    opacity: 0;
}

.cute-checkbox-mark {
    display: block;
    width: 20px;
    height: 20px;
    border: solid 1px black;
    border-radius: 2px;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.3s;
    position: relative;
}

.cute-checkbox-mark::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: url('./assets/images/check.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 80%;
    height: 80%;
    transition: opacity 0.3s;
    opacity: 0;
}

.cute-checkbox input:checked ~ .cute-checkbox-mark {
    background-color: black;
}

.cute-checkbox input:checked ~ .cute-checkbox-mark::before {
    opacity: 1;
}

.height-auto {
    height: auto !important;
}

.main-pined-posts {
    display: grid;
    gap: 10px;
    grid-template-areas:
        'a a b c'
        'a a d e';
}

.pined-post {
    position: relative;
    height: 200px;
}

.main-pined-post {
    height: 100%;
}

.pined-post .pined-post-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pined-post .pined-post-img::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.437);
    opacity: 0.2;
    transition: 1s opacity;
    z-index: 2;
}

.pined-post .pined-post-img:hover img {
    transform: scale(1.2);
}

.pined-post .pined-post-img:hover::before {
    opacity: 1;
}

.pined-post .pined-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: 1s;
}

.pined-post .pined-post-content {
    position: absolute;
    left: 20px;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}
.pined-post .main-pined-post {
    position: absolute;
    left: 40px;
    bottom: 40px;
    right: 40px;
    z-index: 10;
}

.pined-post .pined-post-title {
    color: white;
    transition: 0.3s color;
    font-size: 15px;
    text-align: left;
    margin-bottom: 0;
}

.main-pined-post .pined-post-title {
    font-size: 24px;
}

.pined-post .pined-post-meta {
    margin-top: 12px;
    display: flex;
    flex-direction: row;
    color: white;
    gap: 12px;
}

.pined-post .pined-post-title:hover {
    color: red;
}

.main-pined-posts .pined-post:nth-of-type(1) {
    grid-area: a;
}

.main-pined-posts .pined-post:nth-of-type(2) {
    grid-area: b;
}

.main-pined-posts .pined-post:nth-of-type(3) {
    grid-area: c;
}

.main-pined-posts .pined-post:nth-of-type(4) {
    grid-area: d;
}

.main-pined-posts .pined-post:nth-of-type(5) {
    grid-area: e;
}

@media (max-width: 1024px) {
    .main-pined-post .pined-post-title {
        font-size: 20px;
    }
    .pined-post {
        height: 150px;
    }
    .main-pined-post {
        height: 100%;
    }
}

@media (max-width: 767px) {
    .pined-post {
        height: 0px;
        padding-bottom: 100%;
    }

    .pined-post .pined-post-content {
        left: 20px;
        bottom: 20px;
        right: 20px;
    }

    .main-pined-posts {
        display: grid;
        gap: 5px;
        grid-template-areas:
            'a a'
            'b c'
            'd e';
    }

    .main-pined-post {
        padding-bottom: 80%;
    }
}

.main-page-grid {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.main-page-grid-content {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.main-page-grid-sidebar {
    width: 55%;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.main-page-grid-sidebar-left {
    width: 40%;
}

.main-page-grid-sidebar-right {
    width: 60%;
}

.main-page-grid-content-el {
    padding-bottom: 20px;
    width: 100%;
}

.main-page-grid h3 {
    color: #000000;
    border-bottom: 5px solid #000000;
    font-size: 24px;
    font-weight: normal;
    padding-bottom: 6px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.main-page-grid-content-title__wrapper {
    width: 100%;
    border-bottom: 5px solid #000000;
    margin-bottom: 12px;
}

.main-page-grid .main-page-grid-content-title--black {
    padding: 12px 30px 9px 15px;
    width: fit-content;
    background-color: black;
    margin-bottom: 0;
    color: white;
}

.main-page-grid-content-el__inner-posts {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.main-page-grid-content-el__inner-posts__big {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
}

.main-page-grid-content-el__inner-posts .main-page-grid-main_post {
    width: 100%;
}

.main-page-grid-content-el__inner-posts .main-page-grid-other_posts {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-page-posts-main_post .main-page-posts-post-img {
    height: 180px;
    width: 100%;
    margin-bottom: 10px;
}

.main-page-posts-main_post .main-page-posts-post-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.main-page-posts-main_post .main-page-posts-post-meta {
    margin-bottom: 10px;
    color: #999999;
}

.main-page-posts-main_post .main-page-posts-post-title {
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: normal;
    text-transform: uppercase;
    font-weight: 600;
}

.main-page-posts-main_post .main-page-posts-post-title a {
    font-size: inherit;
    text-transform: inherit;
}

.main-page-grid .main-page-posts-post-read {
    text-transform: uppercase;
    text-align: right;
    font-size: 13px;
    color: #444444;
    display: block;
}

.main-page-posts-post-meta {
    display: flex;
    flex-direction: row;
    gap: 10px;
    color: #999999;
    font-size: 12px;
}

.main-page-posts-post_row {
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 15px;
}

.main-page-posts-post_row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.main-page-posts-post_row .main-page-posts-post-title {
    font-size: 16px;
    margin-bottom: 5px;
}

.main-page-posts-post-descr {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    line-clamp: 6;
    box-orient: vertical;
}

.main-page-posts-post_row .main-page-posts-post-descr {
    font-size: 15px;
    margin-bottom: 5px;
}

.main-page-posts-post_row_img .main-page-posts-post_row_img-content {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 10px;
}

.main-page-posts-post_row_img .main-page-posts-post_row_img-img {
    display: block;
    width: 80px;
    height: 60px;
    min-width: 80px;
    min-height: 60px;
}

.main-page-posts-post_row_img .main-page-posts-post_row_img-img img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

.main-page-posts-post_row_img .main-page-posts-post-title {
    flex-grow: 1;
    font-size: 16px;
}

.main-page-posts-col .main-page-posts-post-img {
    position: relative;
    width: 100%;
    padding-bottom: 70%;
    margin-bottom: 15px;
}

.main-page-posts-col:not(:last-child) {
    padding-bottom: 12px;
    border-bottom: 1px solid #e4e4e4;
}

.main-page-posts-col .main-page-posts-post-img a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.main-page-posts-col .main-page-posts-post-img a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.main-page-posts-col h4 {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.main-page-posts-col .main-page-posts-post-meta {
    margin-bottom: 15px;
    color: #999999;
}

.main-page-posts-col .main-page-posts-post-read {
    text-align: left;
}

.main-page-designg_elements-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-page-grid-sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-page-grid-content-el__inner-posts-trends {
    flex-direction: column;
}

.main-page-grid-content-el__inner-posts-trends .main-page-grid-main_post {
    width: 100%;
}

.main-page-grid-content-el__inner-posts-trends .main-page-grid-other_posts {
    width: 100%;
}

@media (max-width: 1024px) {
    .main-page-grid-sidebar {
        flex-direction: column;
    }

    .main-page-grid-sidebar-left {
        width: 100%;
    }

    .main-page-grid-sidebar-right {
        width: 100%;
    }

    .main-page-grid-content {
        width: 65%;
    }

    .main-page-grid-sidebar {
        width: 35%;
    }
    .main-page-grid {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .main-page-grid {
        flex-direction: column;
        gap: 20px;
    }

    .main-page-grid-content {
        width: 100%;
        gap: 24px;
    }

    .main-page-grid-sidebar {
        width: 100%;
        gap: 20px;
    }

    .wp-block-filters-item-title {
        font-size: 18px;
    }

    .wp-block-filters-item__up {
        margin-bottom: 20px;
    }

    .wp-block-filters-item-tag:not(:last-child) {
        margin-bottom: 8px;
    }

    .cute-checkbox-mark {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 550px) {
    .main-page-grid-content-el__inner-posts {
        flex-direction: column;
    }

    .main-page-grid-content-el__inner-posts__big {
        width: 100%;
    }
    .main-page-grid-content-el__inner-posts .main-page-grid-main_post {
        width: 100%;
    }

    .main-page-grid-content-el__inner-posts .main-page-grid-other_posts {
        width: 100%;
    }
}

.active-big .main-page-posts-col {
    display: none;
}

.active-grid .main-page-posts-col {
    display: block;
}

.active-grid .alx-post {
    display: none;
}

.grid-toggle-switcher {
    height: 28px;
    width: 52px;
    border-radius: 14px;
    background-color: rgb(243, 243, 243);
    position: relative;
    border: solid 2px rgb(220, 220, 220);
    margin-left: auto;
    margin-bottom: 24px;
    cursor: pointer;
}

.grid-toggle-switcher-left {
    height: 24px;
    width: 24px;
    display: block;
    background-image: url('./assets/images/lines_templates.svg');
    background-position: center;
    background-size: 70%;
    background-repeat: no-repeat;
    left: 0;
    top: 0;
    z-index: 10;
    transition: 0.4s;
    position: absolute;
}

.grid-toggle-switcher-right {
    height: 24px;
    width: 24px;
    display: block;
    background-image: url('./assets/images/grid_template.svg');
    background-position: center;
    background-size: 70%;
    background-repeat: no-repeat;
    right: 0;
    top: 0;
    z-index: 10;
    transition: 0.4s;
    position: absolute;
}

.grid-toggle-switcher-round {
    width: 24px;
    height: 24px;
    background-color: var(--black);
    border-radius: 50%;
    left: 0;
    top: 0;
    transition: 0.4s;
    position: absolute;
}

.grid-toggle-switcher--left .grid-toggle-switcher-left {
    filter: invert(100%);
}

.grid-toggle-switcher--left .grid-toggle-switcher-round {
    left: 0;
}

.grid-toggle-switcher--right .grid-toggle-switcher-right {
    filter: invert(100%);
}

.grid-toggle-switcher--right .grid-toggle-switcher-round {
    left: 24px;
}

.active-grid .gutter-sizer,
.active-grid .grid-sizer,
.active-grid #post-content::before {
    display: none;
}

.active-grid #post-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 600px) {
    .active-grid #post-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 340px) {
    .active-grid #post-content {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
    }
    .grid-toggle-switcher {
        display: none;
    }
}

#img-modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
}

#img-modal .img-modal-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(32, 32, 32, 0.803);
}

#img-modal .img-modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 95vh;
    width: 95vw;
    overflow: hidden;
    border-radius: 4px;
}

#img-modal .img-modal-content img {
    overflow: hidden;
    border-radius: 4px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

#img-modal #img-modal-content-close {
    cursor: pointer;
    font-size: 34px;
    width: 44px;
    height: 44px;
    color: white;
    background-color: var(--black);
    border-radius: 50%;
    right: 20px;
    top: 20px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* WIDTHET SIDBAR */

#sidebar .wp-block-heading {
    font-size: 18px;
}

@media (max-width: 768px) {
    #sidebar .wp-block-heading {
        font-size: 16px;
    }

    .wp-block-filters-item-title {
        font-size: 15px;
    }
}

/* CITE */

.alx-main-post blockquote cite {
    font-style: italic;
    color: #333;
    font-weight: unset;
    letter-spacing: unset;
    text-transform: unset;
    line-height: unset;
    font-size: 18px;
}

@media (max-width: 767px) {
    .alx-main-post blockquote cite {
        font-size: 16px;
    }
}

.page-template-template-custom-page section,
.page-template-template-custom-page .section {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    .page-template-template-custom-page section,
    .page-template-template-custom-page .section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

.widget_archive--title .wp-block-filters-item__up .wp-block-heading {
    margin-bottom: 0;
}

.widget_archive--title .wp-block-filters-item__up {
    margin-bottom: 0;
}

.wp-block-categories--title .wp-block-filters-item__up .wp-block-heading {
    margin-bottom: 0;
}

.wp-block-categories--title .wp-block-filters-item__up {
    margin-bottom: 0;
}

.wp-block-categories .wp-block-filters-item__up {
    margin-bottom: 0;
}

.wp-block-filters-item__up--before::before {
    width: 15px;
    background-color: currentColor;
    color: #3a3a3a;
    content: '';
    display: inline-block;
    height: 2px;
    margin-right: 10px;
    margin-top: -2px;
    -webkit-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
    vertical-align: middle;
}

.wp-block-filters-item__up--before:hover::before {
    width: 10px;
}

.no-before::before {
    content: none !important;
}

.alx-search-form button {
    height: 100% !important;
}

#modal--get-call {
    display: none;
    z-index: 1000;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

#modal--get-call .bg {
    width: 100%;
    height: 100%;
    background-color: rgba(29, 29, 29, 0.553);
}

#modal--get-call__popup {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 30px;
    background-color: white;
    border-radius: 4px;
    overflow-y: auto;
    max-height: 95vh;
    width: 95vw;
    max-width: 630px;
}

#modal--get-call__popup__close {
    position: absolute;
    right: 8px;
    top: 8px;
    border: none;
    outline: none;
    width: 40px;
    height: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40%;
    filter: grayscale(100%);
    background-image: url('./assets/images/close.webp');
    padding: 0;
    background-color: transparent;
    z-index: 20;
}

.modal--get-call__popup__content__title {
    margin-bottom: 30px;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    padding: 30px 40px;
    position: relative;
    margin-bottom: 30px;
}
.modal--get-call__popup__content__title h2 {
    font-size: 24px;
    font-weight: 800;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.25;
    letter-spacing: 1.2px;
    text-align: center;
    color: #000;
    margin: 0;
}

.modal--get-call__popup__content__title__up {
    display: block;
    border-top: 3px solid black;
    border-left: 3px solid black;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    height: 15px;
    width: 15px;
}

.modal--get-call__popup__content__title__down {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    border-bottom: 3px solid black;
    border-right: 3px solid black;
    height: 15px;
    width: 15px;
}

.modal--get-call__popup__content__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-label-icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 15px;
    width: 100%;
    gap: 10px;
    border-bottom: solid 2px #eee;
    transition: border-color 0.4s;
}

.form-label-icon.error {
    border-color: #ff6969;
}

.form-label-icon .form-label-icon__icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: grayscale(100%);
}

.form-label-icon__icon.man {
    background-image: url('./assets/images/man.webp');
}

.form-label-icon__icon.phone {
    background-image: url('./assets/images/phone.png');
}

.form-label-icon__icon.square {
    background-image: url('./assets/images/square.png');
}

#modal--get-call__popup .form-label-icon input {
    flex-grow: 1;
    width: 1px;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

.modal--get-call__popup__content__form__descr {
    font-size: 14px;
}

.modal--get-call__popup__content__form__descr a {
    font-size: inherit;
    color: rgb(125, 125, 125);
    font-weight: 600;
    text-decoration: none;
}

.modal--get-call__popup__conten input [type='submit']:focus {
    outline: auto;
}

@media (max-width: 767px) {
    .modal--get-call__popup__content__form {
        gap: 16px;
    }

    .modal--get-call__popup__content__title {
        padding: 15px 20px;
        margin-bottom: 28px;
    }
    .modal--get-call__popup__content__title h2 {
        font-size: 20px;
    }
}
