:root {
    --color-primary: #00A400;
    --color-primary-hover: #009800;
    --color-black: #000000;
    --color-dark: #2E2E2E;
    --color-white: #FFF;
    --color-light: #F8F8F8;
    --color-grey-light: #A8A8A8;
    /*--color-grey-light: #CDCDCD;*/
    --color-grey-medium: #676767;
    --color-red: #ff0000;
    --color-overlay: rgba(46,46,46,0.5);
    
    --animate: 0.2s ease;
    
    --radius-sm: 5px;
    --radius: 10px;
    --radius-md: 15px;
    --radius-lg: 20px;
    
    --shadow: 0 0 20px 0 rgba(0,0,0,0.05);
}

*,
*:before,
*:after {
    box-sizing: border-box;
    transition: background var(--animate);
}

html, body {
    min-width: 320px;
}
body {
    font-family: var(--font-primary);
    font-weight: normal;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    min-height: 100vh;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
}
.hidden {
    display: none !important;
}
@media screen and (max-width: 767px) {
    .overflow-hidden_mobile {
        overflow: hidden;
    }
    .hidden_mobile {
        display: none !important;
    }
}
@media screen and (min-width: 768px) {
    .overflow-hidden_desktop {
        overflow: hidden;
    }
    .visible_mobile {
        display: none !important;
    }
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--animate), background var(--animate), border-color var(--animate), text-decoration var(--animate), opacity var(--animate);
}
a:hover {
    color: var(--color-primary)
}
a:not([class]) {}
a:not([class]):hover {}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
button {
    cursor: pointer;
}

#header {
    flex: 0 0 auto;
    position: relative;
    z-index: 100;
    background: var(--color-white);
}
.header-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    position: relative;
}
.header-logo {
    flex: 0 0 auto;
}
.header-logo__img {
    width: auto;
    height: 40px;
}
.header-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px 20px;
}
@media screen and (max-width: 767px) {
    #header {
        margin-bottom: 15px;
        padding-top: 10px;
    }
    .header-buttons__login.btn-link {
        position: absolute;
        top: 10px;
        right: 30px;
    }
    .header-buttons__login .icon_lg {
        font-size: 20px;
    }
    .body_nav_opened #header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding-bottom: 35px;
    }
    .body_nav_opened:before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-dark);
        opacity: 0.5;
        z-index: 99;
    }
    .body_nav_opened #main {
        padding-top: 174px;
    }
}
@media screen and (min-width: 768px) {
    .header-inner {
        flex-direction: row;
        align-items: center;
        height: 120px;
        gap: 40px;
    }
    .header-logo__img {
        height: 80px;
    }
    .header-buttons {
        flex-direction: row;
        align-items: center;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .header-buttons__text {
        display: none;
    }
}


.nav-main {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.nav-main__link {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: var(--color-dark);
    position: relative;
    padding-bottom: 3px;
}
.nav-main__link:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: var(--radius);
    background: var(--color-primary);
    transform: scale(0,1);
    transform-origin: 0 0;
    transition: transform var(--animate);
}
.nav-main__link:hover,
.nav-main__link_active {
    font-weight: 500;
    color: var(--color-orimary);
}
.nav-main__link:hover:after,
.nav-main__link_active:after {
    transform: scale(1,1);
}
@media screen and (min-width: 768px) {
    .nav-main {
        display: flex !important;
        flex-direction: row;
        gap: 60px;
        opacity: 1 !important;
    }
    .nav-main__link {
        white-space: nowrap;
    }
    .nav-main__link:hover {
        color: var(--color-primary);
    }
}



.toggle-item {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0;
    gap: 4px;
    border: none;
    background: none;
    position: absolute;
    top: 10px;
    right: 0;
    z-index: 10;
}
.toggle-item__line {
    width: 100%;
    height: 2px;
    background: var(--color-dark);
    position: relative;
    border-radius: 5px;
    transition: transform var(--animate), opacity var(--animate), background-color var(--animate);
}
.toggle-item_active .toggle-item__line:first-child {
    transform: rotate(45deg);
    top: 9px;
}
.toggle-item_active .toggle-item__line:last-child {
    transform: rotate(-45deg);
    top: -9px;
}
.toggle-item_active .toggle-item__line:nth-child(2),
.toggle-item_active .toggle-item__line:nth-child(3) {
    opacity: 0;
    transition: opacity 0s ease, background-color 0.3s ease;
}
@media screen and (min-width: 768px) {
    .toggle-item {
        display: none;
    }
}

#main {
    flex: 1 1 auto;
    position: relative;
}
@media screen and (min-width: 768px) {
    #main {}
}