@import "variables.css";
@import "header.css";
@import "button.css";
@import "footer.css";
@import "card.css";
@import "form.css";
@import "sidebar.css";

html,*{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    height: 3px;
    width: 3px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-3);
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

body{
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Roboto,  sans-serif;
    background: var(--color-2);
    color: var(--color-4);
    margin: 0;
}

.container {
    max-width: 1656px;
    width: 100%;
    margin: 0 auto;
    padding-left: 56px;
    padding-right: 56px;
    height: inherit;

    .container {
        padding-left: 0;
        padding-right: 0;
    }
}

a {
    text-decoration: none;
}

main {
    margin-top: 128px;
    flex: 1 0 auto;
}

footer {
    flex: 0 0 auto;
}


table {
    margin-block-start: 15px!important;
    margin-block-end: 15px!important;
    border-collapse: collapse;
}

table td {
    border: 1px solid var(--color-5);
    padding: 10px;
}

.table_wrapper tbody tr:nth-child(odd) {
    background: #4d49491a;
}

.table_wrapper {
    overflow: auto;

    table {
        width: 100%;
    }
}

.arrow_wrapper {
    display: flex;
    align-items: center;
    gap: 10px;


}

.big__banner_wrapper {
    .arrow {
        left: 24px;

        &.arrow--right {
            right: 24px;
            left: auto;
        }
    }
}

.arrow {
    width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    cursor: pointer;
    border-radius: 12px;


    svg {
        width: 14px;
        height: 14px;

        fill: #454c8b;
    }

    &.arrow--disabled {
        opacity: 0.5;
    }
}

.navigation-wrapper {
    position: relative;
}

.navigation-wrapper .arrow.arrow--disabled {
    display: none;
}



.swiper-button-next:after, .swiper-button-prev:after {
    color: white;
    font-weight: bold;
}

.swiper-button-next {
    right: 0;
    left: auto;
}

.swiper-button-prev {
    left: 0;
    right: auto;
}

.block__head__title {
    font-size: 24px;
    color: var(--color-4);
}

html :where(.wp-block) {
    max-width: 100vw;
}

section {
    padding-bottom: 40px;
}

.wp-block-group p a {
    color: var(--color-4);
}

.layout_wrapper {
    display: flex;
}

body.aside {
    .page__content_wrapper {
        max-width: calc(100vw - 270px);
    }
}

.page__content_wrapper {
    flex: 1;
    transition: var(--base-transition);
    max-width: calc(100vw - 80px);
}

.wp-block-group p a,
.yoast-breadcrumbs a,
.wp-block-group li a,
.wp-block-group table,
.wp-block-group table a{
    color: var(--color-5);
}

@media (max-width: 1000px) {
    body.aside,
    body{
        .page__content_wrapper {
            max-width: 100%;
        }
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

}


@media (max-width: 500px) {

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .wp-block-image {
        max-width: calc(100vw - 20px);

        figure {
            width: 100%;
            display: block!important;
        }

        img {
            width: 100%;
            object-fit: contain;
        }
    }
}





