/*
	Main styles
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    border: 0;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #dfe6e9;
}

a {
    background-color: transparent;
}

a:focus {
    outline: unset;
}

b, strong {
    font-weight: 700;
}

small {
    font-size: 14px
}

main img {
    max-width: 100%;
    height: auto;
    border-style: none;
}

button, input {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
    overflow: visible;
}

button {
    text-transform: none;
    -webkit-appearance: button;
}

button::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.screen-reader-text, .screen-reader-text span, .screen-reader-shortcut {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
    color: #333;
    background: #fff
}

/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
/* ibm-plex-sans-300 - latin_cyrillic */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local(''),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-300.woff2') format('woff2'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-300.woff') format('woff'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-300.ttf') format('truetype'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-300.svg#IBMPlexSans') format('svg');
}

/* ibm-plex-sans-regular - latin_cyrillic */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local(''),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-regular.woff2') format('woff2'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-regular.woff') format('woff'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-regular.ttf') format('truetype'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-regular.svg#IBMPlexSans') format('svg');
}

/* ibm-plex-sans-500 - latin_cyrillic */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local(''),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-500.woff2') format('woff2'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-500.woff') format('woff'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-500.ttf') format('truetype'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-500.svg#IBMPlexSans') format('svg');
}

/* ibm-plex-sans-500 - latin_cyrillic */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local(''),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-600.woff2') format('woff2'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-600.woff') format('woff'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-600.ttf') format('truetype'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-600.svg#IBMPlexSans') format('svg');
}

/* ibm-plex-sans-700 - latin_cyrillic */
@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local(''),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-700.woff2') format('woff2'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-700.woff') format('woff'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-700.ttf') format('truetype'),
        url('../fonts/ibm-plex-sans-v13-latin_cyrillic-700.svg#IBMPlexSans') format('svg');
}

/* montserrat-800 - latin_cyrillic */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: local(''),
        url('../fonts/montserrat-v24-latin_cyrillic-800.woff2') format('woff2'),
        url('../fonts/montserrat-v24-latin_cyrillic-800.woff') format('woff'),
        url('../fonts/montserrat-v24-latin_cyrillic-800.ttf') format('truetype'),
        url('../fonts/montserrat-v24-latin_cyrillic-800.svg#Montserrat') format('svg');
}

/* montserrat-900 - latin_cyrillic */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: local(''),
        url('../fonts/montserrat-v24-latin_cyrillic-900.woff2') format('woff2'),
        url('../fonts/montserrat-v24-latin_cyrillic-900.woff') format('woff'),
        url('../fonts/montserrat-v24-latin_cyrillic-900.ttf') format('truetype'),
        url('../fonts/montserrat-v24-latin_cyrillic-900.svg#Montserrat') format('svg');
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
    position: relative;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 300;
    font-size: 17px;
    color: #000;
    line-height: 1.76;
    background-color: #fff;
    overflow-x: hidden;
}

p {
    margin-top: 0;
    margin-bottom: 20px;
}

p:empty {
    margin-bottom: 0;
}

.site-container-wrap {
    position: relative;
}

.site-container {
    position: relative;
    margin: auto;
    max-width: 1300px;
    width: 100%;
}

.hide {
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
}

@media screen and (max-width: 1300px) {
    .site-container {
        padding: 0 15px;
    }
}

@media screen and (max-width: 980px) {
    .site-container {
        overflow: hidden;
    }
}

/* ## Headings */

h2, h3, h4, h5, .h1, .h2, .h3 {
    line-height: 1.5;
    font-weight: 700;
}

h1 {
    margin-bottom: 30px;
    font-size: 46px;
    line-height: 1.3;
    font-weight: 700;
}

h2, .h2 {
    font-size: 36px;
}

h3, .h3 {
    font-size: 26px;
}

.h4, .h5, .h6, .h7 {
    font-weight: 600;
    line-height: 1.67;
}

.h4 {
    font-size: 22px;
}

.h5 {
    font-size: 20px;
}

.h6 {
    font-size: 18px;
}

.h7 {
    font-size: 16px;
}

@media screen and (max-width: 640px) {
    h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5, .h6 {
        word-break: break-word;
    }

    h1 {
        font-size: 36px;
    }
}

@media screen and (max-width: 400px) {
    h1 {
        font-size: 30px;
    }
}

/* ## Links */

a, button, input:focus {
    transition: .3s
}

a {
    color: #436eab;
    text-decoration: none;
}

.post a {
    text-decoration: underline;
}

.post a:hover {
    text-decoration: none;
}

/* ## Buttons */

.button, button, input[type="button"], input[type="reset"], input[type="submit"] {
    display: block;
    padding: 16px 25px;
    font-size: 17px;
    font-weight: 600;
    color: #000;
    line-height: 1.2;
    text-align: center;
    background-color: #c6e657;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
}

button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus {
    outline: unset;
}

button:not(.search-submit):hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover {
    opacity: .7;
}

.button-arrow {
    display: flex;
    align-items: center;
    margin-top: 20px;
    font-size: 15px;
    color: #7fb43b;
    border-radius: 20px;
    white-space: nowrap;
    transition: 0.3s linear;
}

.button-arrow:after {
    content: "";
    width: 38px;
    height: 9px;
    margin-left: 20px;
    background-image: url(../img/arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.3s linear;
}

.cross {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cross:before, .cross:after {
    content: "";
    width: 1px;
}

.cross:before {
    transform: rotate(45deg);
}

.cross:after {
    transform: rotate(-45deg);
}

@media screen and (max-width: 640px) {
    .button, button, input[type="button"], input[type="reset"], input[type="submit"] {
        background: linear-gradient(#c6e657, #c6e657);
    }
}

/* ## Form */

input[type="text"], input[type="tel"], input[type="email"], input[type="search"], input[type="text"], textarea, select {
    display: block;
    margin: 0;
    padding: 15px 20px;
    width: 100%;
    font-size: 16px;
    color: #303549;
    line-height: 1.3;
    background-color: #fff;
    border-width: 1px;
    border-style: solid;
    border-color: #e3e3e3;
    border-radius: 10px;
}

select:hover {
    cursor: pointer;
}

input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus, input[type="search"]:focus, textarea:focus, select:focus {
    border: 1px solid #e6eaee;
    outline: none;
}

input[type="checkbox"], input[type="image"], input[type="radio"] {
    width: auto
}

label {
    display: block;
}

select {
    padding-right: 50px;
    color: #000;
    font-weight: 300;
    background-image: url(../img/bottom.png);
    background-position: right 20px center;
    background-repeat: no-repeat;
    border-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none !important;
}

select::-ms-expand {
    display: none;
}

/* ## Placeholder */

::placeholder {
    font-size: 16px;
    color: #414143;
    text-overflow: ellipsis;
    opacity: 0.3;
    transition: opacity ease 0.3s;
}

input:focus::placeholder {
    opacity: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header {
    display: flex;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

@media screen and (max-width: 640px) {
    .site-header {
        flex-direction: column;
    }
}

/* ## Logo */

.logo {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 45px;
}

@media screen and (max-width: 640px) {
    .logo {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* ## Right */

.site-header .right {
    width: calc(100% - 150px - 45px);
}

.site-header .right .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

@media screen and (max-width: 980px) {
    .site-header .right {
        display: flex;
    }

    .site-header .right .top {
        flex-grow: 1;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 640px) {
    .site-header .right {
        width: 100%;
    }
}

/* ## Social */

.social {
    --gap: 10px;
    position: relative;
    z-index: 99;
    display: flex;
    align-items: center;
    gap: var(--gap);
}

.no-flexgap .social {
    margin: calc(-1 * var(--gap)) 0 0 calc(-1 * var(--gap));
    width: calc(100% + var(--gap));
}

.no-flexgap .social>* {
    margin: var(--gap) 0 0 var(--gap);
}

.social a {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background-position: center;
    background-repeat: no-repeat;
}

.vk {
    background-image: url(../img/vk.png);
}

.pin {
    background-image: url(../img/pin.png);
}

.ok {
    background-image: url(../img/ok.png);
}

.social a:hover {
    opacity: 0.8;
}

.social-wrap {
    display: flex;
    align-items: center;
}

.site-header .social-wrap {
    flex-direction: row-reverse;
}

.social-wrap span {
    margin-left: 20px;
    max-width: 150px;
    font-size: 12px;
    line-height: 1.3;
    opacity: .5;
}

@media screen and (max-width: 980px) {
    .site-header .top .social-wrap {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    .social a {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 400px) {
    .social {
        flex-wrap: wrap;
        justify-content: center;
    }

    .social a {
        margin-bottom: 10px;
    }
}

/*--------------------------------------------------------------
# Menu
--------------------------------------------------------------*/

.menu {
    position: relative;
    display: flex;
    margin: 0;
    padding: 0;
    line-height: 1;
    list-style: none;
}

.menu a:hover {
    text-decoration: underline;
}

@media screen and (min-width: 981px) {
    .header-menu {
        position: relative;
    }

    /* ## Primary menu */
    .primary-menu {
        margin-left: -25px;
    }

    .primary-menu .menu {
        align-items: center;
    }

    .primary-menu>ul>li {
        position: relative;
        display: flex;
        white-space: nowrap;
    }

    .primary-menu a {
        color: #000;
    }

    .primary-menu>ul>li>a {
        position: relative;
        display: flex;
        align-items: center;
        padding: 10px 25px;
        font-weight: 600;
        font-size: 18px;
        border-radius: 20px;
    }

    .primary-menu>ul>li:hover>a, .primary-menu>ul>.current-menu-item>a {
        color: #fff;
        background-color: #e52029;
    }

    .primary-menu a:hover {
        text-decoration: unset;
    }

    .primary-menu li:hover>.sub-menu {
        display: flex;
    }

    .primary-menu li ul {
        position: absolute;
        top: 37px;
        left: 0;
        z-index: 12;
        display: none;
        flex-direction: column;
        margin: 0;
        padding: 12px 0;
        min-width: 250px;
        height: auto;
        list-style: none;
        background-color: #fff;
        box-shadow: 0px 0px 40px 0px rgba(202, 224, 242, 0.46);
        border-radius: 15px
    }

    .primary-menu li ul li {
        position: relative
    }

    .primary-menu li ul a, .primary-menu .hide-menu a {
        display: block;
        padding: 8px 30px;
        font-size: 16px;
        font-weight: 400;
        line-height: 1
    }

    .primary-menu li ul a:hover {
        text-decoration: underline
    }

    .primary-menu li ul ul {
        top: 0;
        left: 100%;
    }

    /* ## Hide menu */
    .primary-menu .hide-menu {
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        cursor: pointer;
    }

    .primary-menu .hide-menu .burger {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 25px;
        height: 38px;
        border-radius: 20px;
        transition: 0.3s;
    }

    .primary-menu .hide-menu .burger span, .primary-menu .hide-menu .burger span:before, .primary-menu .hide-menu .burger span:after {
        width: 15px;
        height: 3px;
        background-color: #000;
        border-radius: 2px;
        transition: 0.3s;
    }

    .primary-menu .hide-menu .burger span {
        position: relative;
    }

    .primary-menu .hide-menu .burger span:before, .primary-menu .hide-menu .burger span:after {
        content: "";
        position: absolute;
    }

    .primary-menu .hide-menu .burger span:before {
        top: -7px;
    }

    .primary-menu .hide-menu .burger span:after {
        top: 7px;
    }

    .primary-menu .hide-menu:hover .burger {
        background-color: #e52029
    }

    .primary-menu .hide-menu:hover .burger span, .primary-menu .hide-menu:hover .burger span:before, .primary-menu .hide-menu:hover .burger span:after {
        background-color: #fff;
    }

    .primary-menu .hide-menu ul {
        left: unset;
        right: 0;
    }
}

/* ## Mobile menu */

.mobile-menu-button, #mobile-menu-toggle {
    display: none;
}

/* ## Mobile menu */

.mobile-menu-button, #mobile-menu-toggle {
    display: none;
}

@media screen and (max-width: 980px) {
    .mobile-menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 30px;
        width: 60px;
        height: 60px;
        background-color: #e52029;
        border-radius: 10px;
        transition: 0.3s;
        cursor: pointer;
    }

    .mobile-menu-button span {
        position: relative;
    }

    .mobile-menu-button span, .mobile-menu-button span:before, .mobile-menu-button span:after {
        width: 25px;
        height: 2px;
        background-color: #fff;
        transition: 0.3s;
    }

    .mobile-menu-button span:before, .mobile-menu-button span:after {
        content: "";
        position: absolute;
    }

    .mobile-menu-button span:before {
        top: -8px;
    }

    .mobile-menu-button span:after {
        top: 8px;
    }

    .primary-menu {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 999;
        display: flex;
        flex-direction: column;
        padding-top: 40px;
        width: 320px;
        font-size: 1em;
        color: #e2e2e2;
        background-color: #303030;
        box-shadow: 0px 0px 29px 0px rgba(104, 136, 209, 0.16);
        transition: -webkit-transform 0.35s ease-out;
        transition: transform 0.35s ease-out;
        transition: transform 0.35s ease-out, -webkit-transform 0.35s ease-out;
        transform: translate3d(-400px, 0, 0);
        overflow-y: scroll;
    }

    .primary-menu ul {
        display: block;
        line-height: 1;
    }

    .primary-menu .top-menu {
        margin-bottom: 0;
    }

    .primary-menu li {
        position: relative;
        border-top: 1px solid #4d4d4d;
    }

    .primary-menu .menu>li:first-child {
        border-top: 0;
    }

    .primary-menu li a {
        display: flex;
        padding: 20px 15px;
        color: #e2e2e2;
    }

    .primary-menu .sub-menu {
        padding: 0;
        list-style: none;
    }

    .top-menu .sub-menu {
        display: none;
    }

    .primary-menu .sub-menu li {
        text-transform: none;
    }

    .primary-menu .sub-menu li a {
        align-items: center;
        padding-left: 40px;
    }

    .primary-menu .sub-menu li a:before {
        content: "";
        flex-shrink: 0;
        margin-right: 10px;
        width: 3px;
        height: 10px;
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFAQMAAAC6v8ThAAAABlBMVEVHcEwAmqjMic0bAAAAAXRSTlMAQObYZgAAABBJREFUeNpjaGA4wPAAiBsAEOoDYca3kSkAAAAASUVORK5CYII=);
        filter: grayscale(100%);
        opacity: 0.8;
        background-position: center;
        background-repeat: no-repeat;
    }

    #mobile-menu-toggle:checked~.primary-menu {
        transform: translate3d(0, 0, 0);
    }

    .primary-menu .cross {
        position: absolute;
        top: 0;
        right: 10px;
        z-index: 100;
        margin-bottom: 5px;
        margin-top: 10px;
        width: 30px;
        height: 30px;
    }

    .primary-menu .cross:before, .primary-menu .cross:after {
        height: 30px;
        background-color: #fff;
    }

    .primary-menu .social {
        justify-content: center;
        flex-wrap: wrap;
        padding: 15px 10px;
    }

    .primary-menu .social a {
        margin-right: 10px;
        width: 40px;
        height: 40px;
    }

    .primary-menu .mortgage-link {
        margin: 10px;
    }

    body.mobile-menu-active {
        overflow: hidden;
    }

    /* ## Menu toggle */
    .toggle {
        position: absolute;
        right: 0;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 57px;
        background-color: rgba(255, 255, 255, 0.09);
        cursor: pointer;
    }

    .toggle:hover {
        background-color: rgba(255, 255, 255, 0.13);
    }

    .toggle:before {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnN2Z2pzPSJodHRwOi8vc3ZnanMuY29tL3N2Z2pzIiB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgeD0iMCIgeT0iMCIgdmlld0JveD0iMCAwIDYxMiA2MTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUxMiA1MTIiIHhtbDpzcGFjZT0icHJlc2VydmUiIGNsYXNzPSIiPjxnPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgoJPGcgaWQ9Il94MzFfMF8zNF8iPgoJCTxnPgoJCQk8cGF0aCBkPSJNNjA0LjUwMSwxMzQuNzgyYy05Ljk5OS0xMC4wNS0yNi4yMjItMTAuMDUtMzYuMjIxLDBMMzA2LjAxNCw0MjIuNTU4TDQzLjcyMSwxMzQuNzgyICAgICBjLTkuOTk5LTEwLjA1LTI2LjIyMy0xMC4wNS0zNi4yMjIsMHMtOS45OTksMjYuMzUsMCwzNi4zOTlsMjc5LjEwMywzMDYuMjQxYzUuMzMxLDUuMzU3LDEyLjQyMiw3LjY1MiwxOS4zODYsNy4yOTYgICAgIGM2Ljk4OCwwLjM1NiwxNC4wNTUtMS45MzksMTkuMzg2LTcuMjk2bDI3OS4xMjgtMzA2LjI2OEM2MTQuNSwxNjEuMTA2LDYxNC41LDE0NC44MzIsNjA0LjUwMSwxMzQuNzgyeiIgZmlsbD0iI2ZmZmZmZiIgZGF0YS1vcmlnaW5hbD0iIzAwMDAwMCIgc3R5bGU9IiIgY2xhc3M9IiI+PC9wYXRoPgoJCTwvZz4KCTwvZz4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8L2c+PC9zdmc+);
        background-position: center;
        background-repeat: no-repeat;
        background-size: 20px;
        opacity: 0.5;
    }

    .toggle:hover:before {
        opacity: 0.8;
    }

    .primary-menu .sub-menu {
        display: none;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 99;
        background: #000;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.35s ease-in;
    }

    .menu-overlay.active {
        visibility: visible;
        opacity: 0.5;
    }
}

@media screen and (max-width: 400px) {
    .primary-menu {
        padding-bottom: 20px;
        width: 100%;
    }
}

/* ## Search */

.search-form {
    display: flex;
    align-items: center;
    flex-basis: 575px;
    height: 50px;
    width: 100%;
    background-color: #f5f5f5;
    border-radius: 10px;
}

.search-form .search-submit {
    flex-shrink: 0;
    padding: 0;
    width: 60px;
    height: 40px;
    background-image: url(../img/search.png);
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    cursor: pointer;
}

.search-form .search-submit:hover {
    opacity: .5;
}

.search-form input[type="search"] {
    padding-left: 30px;
    padding-right: 0;
    border: 0;
    background: none;
}

.search-form input[type="search"]:focus {
    border: none;
}

@media screen and (max-width: 980px) {
    .search-form {
        flex: 1;
    }

    .top .search-form {
        height: 100%;
    }
}

@media screen and (max-width: 640px) {
    .search-form {
        flex-basis: unset;
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.content-sidebar-wrap {
    position: relative;
    display: grid;
    grid-template-columns: minmax(580px, 855px) minmax(300px, 380px);
    gap: 65px;
}

.ie .content-sidebar-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap
}


.post-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-shrink: 0;
    margin-bottom: 40px;
    height: 390px;
    border-radius: 20px;
    overflow: hidden;
}

.post-image img {
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.post-image .post-excerpt {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 20px;
    width: calc(100% - 40px);
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
}

.post-excerpt p:last-of-type {
    margin-bottom: 0;
}

@media screen and (max-width: 1240px) {
    .content-sidebar-wrap {
        gap: 40px;
    }
}

@media screen and (max-width: 980px) {
    .content-sidebar-wrap {
        display: block;
        padding-top: 0;
    }

    .post-excerpt {
        font-size: 18px;
    }
}

@media screen and (max-width: 640px) {
    .post-image .post-excerpt {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 20px;
        padding: 0 0 20px 0;
        width: 100%;
        font-size: 16px;
        color: #000;
        background-color: transparent;
        border-bottom: 1px solid #ebebeb;
    }
}

/* ## Images */

.post img {
    content-visibility: auto;
}

.wp-block-image {
    display: flex;
    justify-content: center;
    max-width: 100%;
}

.post img {
    border-radius: 20px;
}

.wp-caption img, .wp-block-image img:not(:only-child) {
    display: block;
    border-radius: 20px 20px 0 0;
}

.wp-caption-text, .wp-block-image figcaption {
    padding: 10px;
    font-size: 15px;
    line-height: 1.3;
    text-align: center;
    background-color: #f5f5f5;
    border-radius: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin-top: 30px;
    margin-bottom: 30px;
}

.wp-caption.aligncenter, img.aligncenter {
    margin: 30px auto;
}

.alignright {
    float: right;
    margin: 6px 0 30px 30px;
}

.alignleft {
    float: left;
    margin: 6px 30px 30px 0;
}

.alignnone {
    display: block;
    margin: 30px auto;
}

@media screen and (max-width:728px) {
    .alignright:not(.wp-caption), .alignleft:not(.wp-caption) {
        display: table;
    }

    .alignright, .alignleft {
        float: none;
        margin: 30px auto;
    }
}

/* ## Lists */

.post ul, .post ol {
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.post ul li, .post ol li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 10px;
}

.post ul li:last-child, .post ol li:last-child {
    margin-bottom: 0;
}

.post ul>li:before {
    content: '';
    position: absolute;
    left: 8px;
    top: 9px;
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #e52029;
}

.post ol {
    counter-reset: listCounter;
}

.post ol>li:before {
    counter-increment: listCounter;
    content: counter(listCounter);
    position: absolute;
    left: 0;
    top: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 23px;
    height: 23px;
    font-size: 14px;
    color: #000;
    background-color: #c6e657;
    border-radius: 50%;
}

.post li ul, .post li ol {
    margin: 10px 0;
}

/* ## Table */

.post-table {
    margin: 40px 0;
    max-width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.post table {
    width: 100%;
    font-size: 15px;
    line-height: 1.3;
    border: unset;
    border-collapse: collapse;
    border-spacing: 0;
}

.post tr:nth-child(even) {
    background-color: #f5f5f5;
}

.post tr:first-child {
    background-color: #e6e6e6;
}

.post td {
    padding: 10px 20px;
    text-align: center;
    border: unset
}

.post td:first-of-type {
    text-align: left;
}

.post table>tbody>tr:first-child>td:first-child, .post table>tbody>tr:first-child>th:first-child {
    border-radius: 10px 0 0 0
}

.post table>tr:first-child>td:first-child, .post table>tr:first-child>th:first-child {
    border-radius: 10px 0 0 0
}

.post table>tbody>tr:first-child>td:last-child, .post table>tbody>tr:first-child>th:last-child {
    border-radius: 0 10px 0 0
}

.post table>tr:first-child>td:last-child, .post table>tr:first-child>th:last-child {
    border-radius: 0 10px 0 0
}

.post table>tbody>tr:last-child>td:last-child, .post table>tbody>tr:last-child>th:last-child {
    border-radius: 0 0 10px 0
}

.post table>tr:last-child>td:last-child, .post table>tr:last-child>th:last-child {
    border-radius: 0 0 10px 0
}

.post table>tbody>tr:last-child>td:first-child, .post table>tbody>tr:last-child>th:first-child {
    border-radius: 0 0 0 10px
}

.post table>tr:last-child>td:first-child, .post table>tr:last-child>th:first-child {
    border-radius: 0 0 0 10px
}

/* ## Video */

.post-video {
    position: relative;
    margin: 30px 0;
    padding: 56.25% 0 0;
    height: 0;
    overflow: hidden;
}

.post-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ## Standard gallery */

.gallery {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 30px 0;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-bottom: 5px;
    text-align: center;
}

.gallery-icon.landscape {
    height: 100%;
}

.gallery-item a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.gallery-item a:hover {
    opacity: 0.8;
}

.gallery-icon img {
    margin: 0 auto;
    display: block;
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media screen and (min-width: 640px) {
    .gallery-columns-1 .gallery-item {
        flex-basis: calc(100% - 5px);
    }

    .gallery-columns-2 .gallery-item {
        flex-basis: calc(50% - 5px);
    }

    .gallery-columns-3 .gallery-item {
        flex-basis: calc(33.3333333333% - 5px);
    }

    .gallery-columns-4 .gallery-item {
        flex-basis: calc(25% - 5px);
    }

    .gallery-columns-5 .gallery-item {
        flex-basis: calc(20% - 5px);
    }

    .gallery-columns-6 .gallery-item {
        flex-basis: calc(16.6666666667% - 5px);
    }

    .gallery-columns-7 .gallery-item {
        flex-basis: calc(14.2857142857% - 5px);
    }

    .gallery-columns-8 .gallery-item {
        flex-basis: calc(12.5% - 5px);
    }

    .gallery-columns-9 .gallery-item {
        flex-basis: calc(11.1111111111% - 5px);
    }
}

@media screen and (max-width: 640px) {
    .gallery-item {
        flex-basis: calc(50% - 5px);
    }
}

@media screen and (max-width: 400px) {
    .gallery-item {
        flex-basis: calc(100% - 5px);
    }
}

/* ## TOC */

#toc_container {
    position: relative;
    margin: 40px 0;
    padding: 35px 50px 40px;
    width: 100%;
    background-color: #f5f5f5;
    border-radius: 20px;
}

#toc_container:first-child {
    margin-top: 0;
}

.toc_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
}

#toc_container .toc_toggle {
    margin-left: 30px;
    font-size: 0;
    text-transform: none;
    font-weight: 300;
}

#toc_container .toc_toggle a {
    display: block;
    padding: 6px 15px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    font-style: normal;
    line-height: 1;
    text-decoration: none;
    color: #fff;
    background-color: #e52029;
    border-radius: 7px;
}

#toc_container .toc_toggle a:hover {
    opacity: .7;
}

#toc_container ul.toc_list {
    margin-top: 35px;
    column-count: 2;
    column-gap: 30px;
    font-size: 15px;
}

#toc_container ul {
    margin: 0;
}

#toc_container li ul {
    margin-top: 10px;
}

#toc_container ul li {
    display: block;
    padding-left: 30px;
    width: 100%;
    line-height: 1.5;
}

#toc_container ul li:before {
    top: 1px;
    left: 0;
    width: 8px;
    height: 20px;
    background-color: unset;
    background-image: url(../img/toc.png);
    background-position: center;
    background-repeat: no-repeat;
    border: none
}

#toc_container ul li a {
    text-decoration: none;
}

#toc_container ul li a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    #toc_container {
        padding: 25px 30px;
    }

    #toc_container ul.toc_list {
        column-count: 1;
    }
}

@media screen and (max-width: 400px) {
    .toc_title {
        flex-direction: column;
    }

    #toc_container .toc_toggle {
        margin-top: 10px;
        margin-left: 0;
    }
}

/* ## Post meta */

.post-meta {
    --gap: 40px;
    display: flex;
    align-items: center;
    gap: var(--gap);
    margin-bottom: 40px;
    font-size: 13px;
    line-height: 1.3
}

.no-flexgap .post-meta {
    margin: calc(-1 * var(--gap)) 0 0 calc(-1 * var(--gap));
    width: calc(100% + var(--gap));
}

.no-flexgap .post-meta>div {
    margin: var(--gap) 0 0 var(--gap);
}

.post-meta>div {
    display: flex;
    align-items: center
}

.post-meta>div:not(.post-author) {
    opacity: .5
}

.avatar-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.post-author .avatar-container {
    margin-right: 15px;
    width: 40px;
    height: 40px;
}

.avatar-container img {
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.avatar-container img.sab-custom-avatar {
    max-width: unset;
}

.author-name {
    display: flex;
    flex-direction: column;
    flex-basis: 180px;
    flex-shrink: 0;
    color: #000;
    font-size: 14px;
    line-height: 1;
}

.author-name:before {
    content: 'В вопросе разбирался:';
    margin-bottom: 5px;
    font-size: 12px;
    color: #7fb43b
}

.author-text {
    opacity: .4;
}

.post-meta>div:not(.post-author):before {
    content: '';
    margin-right: 15px;
    width: 16px;
    background-repeat: no-repeat;
}

.post-date:before {
    height: 16px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA7klEQVQ4jZ3SsU0DQRAF0HfGCPmQA8sECDLXQEIHJBAS0AE1gERCCeSuAZFQxIZQAhkWEUgICxPcrFgObJ350mjm75+/2pk7fuIsYhl+6f3I+9jBYfAHbLXM74X+iGc8VbjCMV6xHQ1v2Gxd8IE66tx7BwmTEC4ilqHUJ0h5hFnk6QpzW5/xvYMDvBTiHqqWeYHPqHcxEk1JM3P/D9MyLDAXO0kYdDSWGCD1guTtpggdeF0ejqPeiNCBjxVfIeMm8nlHrn3B7Zpcr32wLvIL5pFPIt934Nkj4RRDzWZrzU8yWsGH4UkVjnD9zwkuvwD1BTDCx624ZQAAAABJRU5ErkJggg==);
}

.post-reading:before {
    height: 16px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAABI0lEQVQYGQXBvyv0AQAH4MerLC8u3aJvbxl0KYnSEcrpXQw3vttZpHQGZbjVcHWLTaTeSJ0NR7359TV4ber+rY/nERERoWloqBkRESHCDyMRJnX1FBEREcK8f+60XLjT0/Oo9CciQrjW9OjKjHX79q2bceXUzwjhwJeORQMnzpw5MbCooxsh/Har5s1CmDIVFrypubUZwrW6vrUIK7YirOmruwxGDRUGEWFHOyIMFP4Hv9xreLUaYcdftbDqVcO9acaVltyoRKjaVQsVN5aUxoUnhQ9jERERxnwoPIXQ1XKkExERoeNISzeEqtKsvmMVdXUVx/pmlaohwrYHc/Y8+/Tp2Z45D7YjRIQNLw4tKxSWHXqxEREiIkxoO/fu3bm2iYiIb+y/m8AQSvQDAAAAAElFTkSuQmCC);
}

.post-views:before {
    content: '';
    height: 10px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAKCAMAAACKYC6uAAAARVBMVEX///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeYafpAAAAF3RSTlMAARAVGRwdKDJDVGtub3yDh5KWo7Cys8mu0C0AAABXSURBVAjXZY5LDoAgEEOLMAr4QQbo/Y/qAtEYu2uT1xboshavTEgl55KC6d4rVdwyK9UDQGyssrUTUtkisJLMrvEAMsn1CZimHgyE+42MUpFR+p/9HrsA9ScF6jPO+xUAAAAASUVORK5CYII=);
}

@media screen and (max-width: 800px) {
    .post-meta {
        flex-wrap: wrap;
        justify-content: flex-start
    }
}

@media screen and (max-width: 640px) {
    .post-meta {
        display: none;
    }
}

/* ## Blockquote, blocks */

blockquote p:last-of-type {
    margin-bottom: 0;
}

blockquote:not([class]) {
    position: relative;
    margin: 60px 0 50px;
    padding: 40px 50px;
    width: 100%;
    font-size: 26px;
    text-align: center;
    border-top: 1px solid #eaefec;
    border-bottom: 1px solid #eaefec;
}

blockquote:not([class]):before {
    content: '';
    position: absolute;
    top: -16px;
    left: calc(50% - 40px);
    width: 80px;
    height: 33px;
    background-color: #fff;
    background-image: url(../img/quote.png);
    background-position: center;
    background-repeat: no-repeat;
}

.info-box, blockquote.info, blockquote.check, blockquote.danger, blockquote.warning, blockquote.thumbs-up, blockquote.thumbs-down {
    position: relative;
    margin: 40px 0;
    font-size: 16px;
    border-width: 1px;
    border-style: solid;
    border-radius: 20px;
}

.info-box:before, blockquote.info:before, blockquote.check:before, blockquote.danger:before, blockquote.warning:before {
    content: '';
    position: absolute;
    left: 20px;
    top: -20px;
    z-index: 1;
    width: 60px;
    height: 40px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff;
}

.red, blockquote.danger, blockquote.warning {
    border-color: #e52029;
}

.red:before, blockquote.danger:before, blockquote.warning:before {
    background-image: url(../img/red.png);
}

.green, blockquote.info, blockquote.check {
    border-color: #c6e657;
}

.green:before, blockquote.info:before, blockquote.check:before {
    background-image: url(../img/green.png);
}

blockquote.thumbs-up, blockquote.thumbs-down {
    border-color: #8bd6e9;
}

.info-box p:last-of-type {
    margin-bottom: 0;
}

.post-content .mark, .post-content mark {
    padding: 3px;
    background-color: #ffff8e;
}

@media screen and (min-width: 641px) {
    .info-box, blockquote.info, blockquote.check, blockquote.danger, blockquote.warning, blockquote.thumbs-up, blockquote.thumbs-down {
        padding: 30px 40px;
    }
}

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

    blockquote:not([class]) {
        font-size: 20px;
    }

    .info-box, blockquote.info, blockquote.check, blockquote.danger, blockquote.warning, blockquote.thumbs-up, blockquote.thumbs-down {
        padding: 20px;
    }
}


/* ## Post footer */

.post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 35px;
    padding: 15px 30px;
    background-color: #f5f5f5;
    border-radius: 15px;
}

@media screen and (max-width: 800px) {
    .post-footer {
        flex-direction: column;
    }
}

/* ## Rating */

.post-footer .rating {
    position: relative;
    display: flex;
    align-items: center;
    flex-basis: 500px;
    margin: 0;
    margin-right: 30px;
    font-weight: 400;
    font-size: 17px;
}

.post-footer .rating span {
    font-size: 16px;
    font-weight: 600;
}

.rmp-icon--full-highlight {
    color: #c6e657;
}

.rmp-rating-widget {
    margin-top: 10px;
    white-space: nowrap;
}

.rmp-widgets-container.rmp-wp-plugin.rmp-main-container {
    flex-shrink: 0;
    flex-basis: 140px;
    margin: 0;
}

.rmp-rating-widget__msg.js-rmp-msg {
    font-size: 11px;
    font-weight: 300;
    color: #c6e657;
}

.rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-rating-widget__icons-list__icon {
    padding-left: 0;
}

.rmp-widgets-container.rmp-wp-plugin.rmp-main-container .rmp-rating-widget__icons-list__icon:before {
    content: none;
}

.rmp-rating-widget__results.js-rmp-results, .rmp-results-widget__avg-rating, .rmp-results-widget__vote-count {
    display: none;
}

@media screen and (max-width: 980px) {
    .rating {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 800px) {
    .post-footer .rating {
        flex-basis: unset;
        justify-content: center;
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .post-footer .rating {
        flex-direction: column;
    }

    .rmp-widgets-container.rmp-wp-plugin.rmp-main-container {
        flex-basis: unset;
    }
}

/* ## Share */

.share {
    flex-shrink: 0;
}

.archive-description .share {
    margin-top: 30px;
}

.post .ya-share2__list {
    margin: 0;
}

.share .ya-share2__item {
    transition: .3s;
}

.ya-share2__list.ya-share2__list_direction_horizontal>.ya-share2__item {
    margin: 2px 8px 0 0;
}

.share .ya-share2__container_size_m .ya-share2__badge .ya-share2__icon {
    height: 32px;
    width: 40px;
    background-size: 25px 25px;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (max-width: 728px) {
    .share .ya-share2__container_size_m .ya-share2__badge .ya-share2__icon {
        height: 40px;
        width: 40px;
        background-size: 40px 40px;
    }
}

@media screen and (max-width: 400px) {
    .like span:last-child {
        display: none;
    }
}

/* ## Related */

.yarpp-related {
    margin-top: 60px;
}

.yarpp-related .h2 {
    margin-bottom: 40px;
    font-size: 32px;
}

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/

.comments-wrap {
    margin-top: 60px;
    max-width: 855px;
}

.comments-wrap .h2 {
    margin-bottom: 40px;
    font-size: 32px;
}

ol.comment-list, ol.children {
    margin: 0;
    padding: 0;
    list-style: none;
}

.comment-list .children li {
    margin-left: 30px;
}

.comment-list .comment>div {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.comment .avatar {
    flex-shrink: 0;
    margin-right: 30px;
    border-radius: 50%;
}

.comment .comment-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    line-height: 1;
}

.comment-author {
    margin-right: 20px;
    font-size: 13px;
    color: #7fb43b;
}

.comment-reply-link {
    padding: 5px 10px;
    font-size: 12px;
    color: #fff;
    background-color: #e52029;
    border-radius: 7px;
    transition: .3s;
    cursor: pointer;
}

.comments-with-rating .comment-reply-link {
    margin-left: auto;
}

.comment-reply-link:hover {
    opacity: 0.8;
}

.comment-text {
    font-size: 16px;
    line-height: 1.56;
}

.comment-text p:last-of-type {
    margin-bottom: 0;
}

.comment-time {
    font-size: 12px;
    opacity: 0.7;
}

@media screen and (max-width: 980px) {
    .comments-wrap {
        max-width: 100%;
    }
}

@media screen and (max-width: 728px) {
    .comment .avatar {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    .comments-wrap .h2 {
        font-size: 36px;
    }

    .comment-list .children li {
        margin-left: 0;
    }
}

/* ## Comment form */

.comment-respond {
    margin-top: 50px;
    padding: 40px 50px;
    background-color: #f5f5f5;
    border-radius: 20px;
}

.comment-respond form {
    position: relative;
}

#cancel-comment-reply-link {
    position: absolute;
    right: 0;
    top: -20px;
    font-size: 12px;
}

.form-row.col-2 {
    display: flex;
    margin-top: 20px;
}

.form-row.col-2>div {
    flex: 1;
}

.comment-form-author {
    margin-right: 15px;
}

.form-submit {
    display: inline-block;
    margin-top: 30px;
}

.form-submit .button {
    padding: 17px 30px;
}

@media screen and (max-width: 768px) {
    .comment-respond {
        padding: 30px 25px;
        margin-left: -15px;
        margin-right: -15px;
    }

    .form-row.col-2 {
        display: block;
    }

    .comment-form-author {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .form-submit {
        display: block;
    }

    .form-submit .button {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Archive
--------------------------------------------------------------*/

.archive-info h1 {
    position: relative;
    margin-top: 0;
    margin-bottom: 40px;
}

.archive-description {
    margin-bottom: 40px;
    font-size: 18px;
}

@media screen and (max-width: 640px) {
    .archive section h2 {
        font-size: 26px;
    }
}

/* ### Content */

.item-wrap {
    position: relative;
    flex-direction: column;
}

.item-wrap .item {
    height: 100%;
}

.item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

a.item {
    color: #000;
    text-decoration: none;
}

a.h3, a.h2, a.h5, a.h7 {
    color: #000
}

.item-desc {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.67;
}

.item-desc p:last-child {
    margin-bottom: 0;
}

.item-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 20px;
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
}

.item-image img {
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ### Meta */

.item-author {
    font-size: 14px;
    opacity: .7;
}

.articles-list .item-author {
    margin-bottom: 10px;
}

.item-categories {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.articles-list .item-categories {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 1;
}

.articles-list .item-categories a {
    display: block;
    padding: 6px 20px 7px;
    color: #fff;
    text-decoration: none;
    background-color: #e52029;
    border-radius: 7px;
}

.articles-list .item-categories a:hover {
    opacity: .8;
}

/* ## Articles list */

.articles-list {
    --minmax: 250px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--minmax), 1fr));
    grid-gap: 40px;
}

.ie .articles-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.articles-list .item-wrap {
    position: relative;
    padding: 0 25px 25px;
    border-width: 1px;
    border-style: solid;
    border-color: #f0e5d9;
    border-radius: 40px;
    transition: .3s;
}

.articles-list .item-wrap:hover {
    border-color: #c6e657;
    box-shadow: inset 0 0 0 1px #c6e657;
}

.articles-list .item-image {
    margin-left: -25px;
    height: 200px;
    width: calc(100% + 50px);
}

.articles-list .h6 {
    margin-bottom: 20px;
}

.articles-list .button-arrow {
    margin-top: auto;
}

@media screen and (max-width: 400px) {
    .articles-list .item {
        padding: 0;
        background-color: transparent;
    }
}

.error404 .h4 {
    margin-bottom: 35px;
}

/* ## Subcat */

.subcat {
    margin-bottom: 70px;
}

.icons-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 45px;
}

.ie .icons-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.icon-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #000;
    text-align: center;
    border-width: 1px;
    border-style: solid;
    border-color: #f3efef;
    border-radius: 20px;
    word-break: break-word;
}

.icon-item:hover {
    border-color: #c6e657;
    box-shadow: inset 0 0 0 1px #c6e657;
}

.icon-item span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    height: 140px;
    width: 140px;
    border-radius: 20px;
    overflow: hidden;
}

.icon-item span img {
    max-width: 500px;
    border-radius: 0;
    object-fit: cover;
}

@media screen and (max-width: 640px) {
    .cat-icon {
        gap: 10px;
    }
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar-primary {
    position: relative;
}

.sidebar .widget {
    margin-bottom: 60px
}

.widgettitle {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
}

.vk-widget, .ok-widget {
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 20px;
}

#__okGroup0, #vk_groups {
    width: 100% !important;
}

@media screen and (max-width: 980px) {
    .sidebar {
        display: none
    }
}

.sidebar-sticky {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column
}

/* ## Types */

.menu-types .menu {
    flex-wrap: wrap;
}

.menu-types li a {
    position: relative;
    display: block;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 17px 30px;
    font-weight: 600;
    font-size: 18px;
    line-height: 1;
    color: #000;
    border-width: 1px;
    border-style: solid;
    border-color: #ebebeb;
    border-radius: 10px;
    transition: .3s;
}

.menu-types li a:hover {
    border-color: #ffe558;
    background-color: #ffe558;
    text-decoration: none;
}

.menu-types .sub-menu {
    display: none;
}

/* ## Cats */

.cats-widget {
    position: relative;
    z-index: 1;
    border: 1px solid #f3efef;
    background-color: #fff;
    border-radius: 20px;
}

.cats-widget ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.cats-widget .category-list>li {
    position: relative;
    padding: 10px 30px;
}

.cats-widget .category-list>li:not(:first-of-type) {
    border-top: 1px solid #f3efef;
}

.cats-widget .category-list>li:not(:last-of-type) {
    margin-bottom: 5px
}

.cats-widget .category-list>li>a {
    position: relative;
    display: block;
    padding: 3px 0 5px;
    font-size: 20px;
    color: #000;
    font-weight: 700;
    line-height: 1.56;
    background-color: transparent;
    border-radius: 5px;
}

.cats-widget .category-list>li>a:hover, .cats-widget .category-list>li.current-cat>a {
    text-decoration: underline;
}

.cats-widget .category-list>li>ul {
    position: relative;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
}

.cats-widget .category-list>.current-cat>ul, .cats-widget .category-list>.current-cat-ancestor>ul {
    display: flex
}

.cat-item {
    display: flex;
    flex-direction: column
}

.children .cat-item {
    align-items: flex-start
}

.cats-widget .category-list>li>ul a {
    position: relative;
    display: block;
    padding: 10px 30px;
    font-size: 16px;
    color: #000;
    font-weight: 400;
    line-height: 1;
    border-radius: 10px;
}

.cats-widget .category-list>li>ul a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 8px;
    height: 8px;
    border-width: 2px;
    border-style: solid;
    border-color: #e52029;
    border-radius: 50%;
}

.cats-widget .category-list>li>ul a:hover, .category-list .current-cat-ancestor ul .current-cat>a {
    text-decoration: none;
    background-color: #c6e657;
}

.cats-widget .category-list>li>ul a:hover:before, .category-list .current-cat-ancestor ul .current-cat>a:before {
    content: none;
}

.cats-widget .category-list>li>ul a:not(:last-of-type) {
    margin-bottom: 5px
}

.cats-widget .category-list li ul ul {
    margin-left: 30px;
}

/* ## Areas */

.areas-widget .widgettitle {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    font-size: 36px;
    line-height: 1.3;
}

.widget.areas-widget .widgettitle span {
    font-size: 30px;
    font-weight: 300;
}

.areas-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.areas-list a {
    position: relative;
    display: block;
    padding: 10px 30px;
    font-size: 16px;
    color: #000;
    font-weight: 400;
    border-radius: 10px;
}

.areas-list a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 8px;
    height: 8px;
    border-width: 2px;
    border-style: solid;
    border-color: #e52029;
    border-radius: 50%;
}

.areas-list a:hover {
    text-decoration: none;
    background-color: #c6e657;
}

.areas-list a:hover:before {
    content: none;
}

/* ## Filter */

.filter-widget, .post .filter {
    padding: 40px;
    background-color: #f5f5f5;
    border-radius: 20px;
}

.post .filter {
    margin-bottom: 40px;
}

.filter-widget .widgettitle {
    text-align: center;
}

.filter-form {
    --gap: 20px;
    --minmax: 230px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--minmax), 1fr));
    grid-gap: var(--gap);
}

.filter-widget .filter-form {
    margin-bottom: 40px;
}

.filter-item {
    position: relative;
}

.post .filter-item:nth-child(4) {
    grid-column: span 2;
}

.filter-widget .filter-item:nth-child(4) {
    display: none;
}

.filter-form label {
    position: absolute;
    top: 10px;
    left: 20px;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1;
    opacity: .5;
}

.filter-form select {
    padding: 30px 20px 10px;
    font-size: 18px;
}

.filter-button {
    font-size: 18px;
}

.cultivars .num {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    text-align: center;
}

.cultivars .num span {
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
}

.filter-count {
    margin-bottom: 40px;
}

.filter-count span {
    color: #e52029;
}

@media screen and (max-width: 728px) {
    .post .filter-item:nth-child(4) {
        grid-column: span 1;
    }
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/

.pagination {
    margin-top: 50px;
    margin-bottom: 70px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    width: 50px;
    height: 50px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: #000;
    background-color: #f5f5f5;
    border-radius: 10px;
}

a.page-numbers {
    text-decoration: none;
}

.page-numbers.current, .page-numbers:hover {
    background-color: #c6e657;
}

@media screen and (max-width: 800px) {
    .nav-links {
        justify-content: center;
    }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 20px;
    padding: 0;
    font-size: 15px;
    list-style: none;
}

.breadcrumbs li {
    margin-right: 15px;
}

.breadcrumbs a {
    display: flex;
    align-items: center;
    color: #7fb43b;
    transition: 0.3s linear;
}

.breadcrumbs span {
    display: flex;
    align-items: center;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs li:first-child a:before {
    content: "";
    width: 11px;
    height: 9px;
    margin-right: 20px;
    background-image: url(../img/bread.png);
    background-repeat: no-repeat;
    background-position: center;
    transition: 0.3s linear;
}

.breadcrumbs li:not(:only-child):not(:last-child) a:after {
    content: "";
    width: 3px;
    height: 5px;
    margin-left: 15px;
    width: 5px;
    height: 5px;
    border: 1px solid #e52029;
    border-radius: 50%;
    transition: 0.3s linear;
}

@media screen and (max-width: 800px) {
    .breadcrumbs {}
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
    position: relative;
    margin-top: 70px;
}

.site-footer:after {
    content: "";
    position: absolute;
    top: 0;
    left: calc(-50vw + 50%);
    z-index: -1;
    display: block;
    height: 100%;
    width: 100vw;
    background-color: #f5f5f5;
}

.footer-top {
    --gap: 50px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap);
    padding-top: 30px;
    padding-bottom: 30px;
}

.no-flexgap .footer-top {
    margin: calc(-1 * var(--gap)) 0 0 calc(-1 * var(--gap));
    width: calc(100% + var(--gap))
}

.no-flexgap .footer-top>* {
    margin: var(--gap) 0 0 var(--gap)
}

.footer-top>div:first-of-type {
    display: flex;
    align-items: center;
    flex: 1.5
}

.footer-top>div:nth-child(2) {
    flex: 1
}

.footer-top .logo {
    margin-right: 30px;
}

.copyright {
    font-size: 14px;
    line-height: 1.67;
    opacity: 0.5;
}

.footer-menu .menu {
    flex-wrap: wrap;
}

.footer-menu.primary-menu .menu .sub-menu {
    display: none;
}

.site-footer .social-wrap {
    flex-direction: row-reverse;
}

.site-footer .social-wrap span {
    margin-left: 20px;
}

.site-footer .search-form {
    flex: 2;
    margin-right: 0;
    background-color: #fff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #e1e3e6;
}

.footer-menu a {
    display: block;
    margin-right: 20px;
    padding: 7px 0;
    font-size: 14px;
    font-weight: 400;
    color: #7fb43b;
}

.footer-menu .sub-menu {
    display: none;
}

.footer-design {
    display: flex;
    align-items: center;
    margin-left: auto;
    font-size: 9px;
    color: #868686;
}

.footer-design:after {
    content: "";
    flex-shrink: 0;
    margin-left: 20px;
    width: 74px;
    height: 24px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEoAAAAYCAMAAABqSJu/AAAC61BMVEVHcEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgweUZtuAeuuIjxeYevOMexeYcveMevuQAAAAAAAAivuQgveQbs+AhxucgweQhyOcAAAAgweUgxOYeuuIZsN8Hf8wjyegjx+cjyeglyOgjyegjyecgweUjx+cBecoAfMsHgc4EgM0Becobt+EAeMoBecoAeMkEgM0BecoAeMkAeMkHgc4EessNidEHh9AEfMsKkdMHg84Gi9EEfMsKhM8KjtIHf8wAg84Hg84Hhc8Hgc4Hgc4NltUbq90AAAANjdIAAAANmtYNktQbs+AQn9cQp9sQo9kWp9sQn9gWq90NltQWr94Qm9YQo9kAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEfMsbt+EBecoHf80gveQcweUeuuIewOUjxeYjx+cZtN8br98NltUWq90Qm9YWp9sQo9kTntggueIevuQcveMcu+IgweUexeYgxOYlw+Yex+cEgM0AfMsNktQNjdIGidABf8wDjtINidEKhtAHhc8Hg84NktIGjdIZtOEWr98QkNSy5286AAAAznRSTlMAEZmWggtdEowOpIh2pZFxnINrcEMFAaNNA54MBySNFYSTbAlTqHdvf16SUHwCLycWaRRXHQoYIIaOi50Gn2qQfWFjE4l5HF+FgaCmFy5oqZdaR0BKZLY2IxpUexBRKaKPImIqc3o4PBuUr2BylX4heJubXwb1110fQhto1yUjoDrMOh1JISz4pm3JI/E4ojsYyfqvJXKq7jjMLGYpsR/5V9tWaBKOcXftBU2Q4eOAI0+ifSOEpPTg8ru8feCEM0tmMJu+sSwNmHRJVYerXIkRFAcAAALjSURBVHjarZJVWCJhFIYPMDADSBqANLZid3e3rt2x6xqr293d3d3d3d1hd2539+WCuOiVF8J7M+ecZ+Z9zv/PB5oxd+H8BYtAKyx529Q0b9oU0AIzX79pbHw1ZhRoztQZixteNtTVDVe1qXoJCdPHD1Q2cdLY57W1z8Ypa2NLbwolWWfgm40e+bS+/sUsgKuevqYkC9kETY45oqqqahWAv6c8s2fCDySrCnKgc39fGhgAeKGoUe9kcnPz71NQ6J2lal0C3KQYuwLAxgyTIk9wYGseoA98+8FkHOIIYJ2PDDXSKRODMNzHOlsUZJl7lMv7r5rd8qflEmQw9bo7fdNIeTw7Isw6imDIIFFjY8DmsUSxARbpEFVyHyCLRhHyI+K8IPRWDNjaW3HTqSYp6rWOtLVdADlepbLFu+GAx2KiRRRdxWZSkcCJEOzkIjSno2JmDKQyWXRXojsSUkD3DVG8fteZfJ1zXK0609FxDoI9Vaohw+TsMh2mu7MVTXEcMivOzgWTxOEJkiBUbOjIs2Q/NHQlUiWEHIkQIDq8+B6BRb+mVl3p7DwLMk56j6qczWCU5oGFSkWwc7Est3pgHO6OivHxFobOXJorEUO4/h6hAjCNJKXc8Y8YpFad7uo6D1Yc8zTlX8nGYxXdU2PlAaOl7gInvDJsfsWoWITcvAGhHFdirhuATokeBHMKAGQ5vaoT7e2XwY5K8dDV9dM1Ypu4keILzaxDlNf+KNYeomPD9IEsojlEMU1IAD7JQr43Pg2KblMNLExMk8KCaMZq1eHW1osATkkIhnn4ALkUodOxfF53GFikvmHIkAkAuFRFGBgOgDL8HDLNRL6JeUjif9P2Dz//nlQWRBzq1f1EcbyeiBL7Tbc+gJ2g72DPl4+/joFW2Pnp6xbQAgd2A3z7vhU0ZvmmHfsPHfyxDzRlzop172o+19TsBY1ZVln5vrJy2y7QnPXV1dUrl24GLbBxw9o1q3vqf5Wous0GWh9gAAAAAElFTkSuQmCC);
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (max-width: 1240px) {
    .footer-top {
        --gap: 30px;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 980px) {
    .footer-top {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        flex-basis: unset;
        width: 100%;
        text-align: center;
    }

    .copyright {
        flex-basis: unset;
    }

    .footer-design {
        margin-left: unset;
        margin-top: 20px;
    }

    .site-footer .social-wrap {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
    }
}

@media screen and (max-width: 640px) {
    .footer-top>div:first-of-type {
        flex-direction: column;
    }

    .footer-top .logo {
        margin-right: 0;
    }

    .footer-menu .menu {
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .footer-menu a {
        margin-right: 0;
    }

    .footer-design {
        justify-content: center;
    }

    .site-footer .social-wrap {
        flex-direction: column;
        margin-right: unset;
    }

    .site-footer .social-wrap span {
        margin-left: 0;
    }

    .footer-menu .menu li {
        width: 100%;
    }

    .footer-links {
        justify-content: center;
        margin-left: 0;
    }

    .footer-links a {
        margin-bottom: 10px;
    }
}

/* ## Scroll to top */

#scroll-button {
    position: fixed;
    right: 25px;
    bottom: 40px;
    z-index: 1099;
    display: flex;
    flex-direction: column;
    width: 35px;
    text-align: center;
}

#scroll-button_up, #scroll-button_down {
    margin-top: 5px;
    margin-bottom: 5px;
    opacity: 0.5;
    cursor: pointer;
    transition: 0.3s;
}

#scroll-button_up svg, #scroll-button_down svg {
    display: block;
    margin: auto;
    width: 14px;
    height: 16px;
}

#scroll-button_up:hover, #scroll-button_down:hover {
    opacity: 1;
}

#scroll-button_middle {
    font-size: 10px;
    font-weight: 700;
    opacity: 0.5;
}

@media screen and (max-width: 800px) {
    #scroll-button {
        display: none;
    }
}