header {
    padding: 0 20px;
    box-shadow: 0 4px 11px rgba(0, 0, 0, 0.13);
}

.container {
    background-color: #FFFFFF;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.navigation_top {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #CCCCCC;
    padding-top: 20px;
    position: relative;
}

header ul {
    display: flex;
    align-items: center;
    list-style: none;
}

header li:not(:last-child) a {
    margin-right: 5px;
}

header a,
header span {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    color: var(--color-secondary);
    padding: 10px;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    border-radius: 4px 4px 0 0;
    white-space: nowrap;
    transition: background-color 0.3s ease-in-out;
    z-index: 1;
}

header a:hover,
header span:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.navigation_top span {
    padding: 0;
}

.navigation_top span:hover {
    background-color: transparent;
}

.navigation_top a.active {
    /*background-color: rgba(0, 0, 0, 0.03);*/
    color: var(--color-primary);
    position: relative;
}

.navigation_top .desktop a.active:before {
    content: '';
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--linear-gradient-green);
    border-radius: 2px;
}

.navigation_top_left > .mobile {
    display: none;
}

.navigation_top_left > .mobile li.active {
    display: flex;
}

.navigation_top_left > .mobile img {
    width: 10px;
    transform: rotate(90deg);
    margin-left: 10px;
}

.navigation_top_right img {
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.navigation_bottom {
    display: flex;
    padding: 20px 0;
    position: relative;
}

.navigation_bottom a {
    border-radius: 4px;
}

.navigation_bottom__logo {
    align-items: center;
    display: flex;
    margin: 0 10px;
}

.navigation_bottom__logo a {
    padding: 0;
}

.navigation_bottom__logo a:hover {
    background-color: transparent;
}

.navigation_bottom__menu {
    flex-grow: 1;
    overflow-x: hidden;
}

.navigation_bottom__online {
    margin: 0 10px;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(242, 242, 242, 0.98);
    box-shadow: 0 11px 25px rgba(0, 0, 0, 0.09);
    overflow: hidden;
    z-index: 9999;
}

.dropdown ul {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

.visible {
    display: block;
}


/* Menu settings */
/* The main container */
.greedy-menu {
    display: flex;
    max-width: 100%;
    background-color: #fff;
    font-size: 14px;
    line-height: 1;
    /* Style resets */
    /* The links */
    /* The hidden links list */
    /* The button which hides/shows links */
}

.greedy-menu * {
    box-sizing: border-box;
}

.greedy-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    /* The visible links list */
}

.greedy-menu ul:first-of-type {
    position: relative;
    display: flex;
    max-width: 100%;
    /* Displaying the menu items on the same line */
}

.greedy-menu a {
    display: block;
    padding: 10px;
    text-decoration: none;
    white-space: nowrap;
    color: var(--color-primary);
    font-weight: 500;
    border-radius: 4px;
}

.greedy-menu .hidden-links {
    display: block;
    position: absolute;
    top: 100%;
    width: 100%;
    height: auto;
    left: 0;
    /*transform: none;*/
    /*transform-origin: 0 0;*/
    /*transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1);*/
    background: rgba(242, 242, 242, 0.98);
    box-shadow: 0 11px 25px rgb(0 0 0 / 9%);
    padding: 20px;
    z-index: 9998;
}

.greedy-menu .hidden-links.links-invisible {
    transform: scaleY(0);
}

.greedy-menu .hidden-links.links-invisible li {
    opacity: 0;
}

.greedy-menu .hidden-links li {
    display: block;
    opacity: 1;
    /*transition: opacity 0.25s ease 0.15s, color 0.15s;*/
    width: fit-content;
}

.greedy-menu .toggle-links {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    position: relative;
    order: 2;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 10px;
    visibility: hidden;
    /* Firefox specific style reset */
    /*  The hamburger icon */
    /* The circle icon */
}
.greedy-menu .toggle-links:hover::before {
    transform: scale(1.05);
}

.greedy-menu .toggle-links:focus {
    outline: none;
}

.greedy-menu .toggle-links.visible {
    visibility: visible;
}

.greedy-menu .toggle-links::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.greedy-menu .toggle-links.counter::before {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    content: attr(data-count);
    position: absolute;
    z-index: 2;
    top: 2px;
    right: -4px;
    color: #fff;
    font-size: 10px;
    width: 15px;
    height: 15px;
    background: var(--linear-gradient-green);
    line-height: 1;
    /*border: 3px solid #fff;*/
    border-radius: 50%;
    text-align: center;
}


@media (max-width: 1024px) {
    .navigation_top_right span {
        display: none;
    }

    .navigation_top_right img {
        width: 17px;
        height: 17px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .mobile_nav {
        display: flex;
        align-items: center;
        cursor: pointer;
        margin-right: 10px;
    }

    .navigation_bottom__logo img {
        width: 100px;
    }

    .navigation_bottom__online a {
        font-size: 12px;
    }

    .navigation_top_left > .desktop {
        display: none;
    }

    .navigation_top_left > .mobile {
        display: block;
    }
}

@media (max-width: 375px) {
    .mobile_nav {
        display: flex;
        align-items: center;
        cursor: pointer;
        margin-right: 10px;
    }

    .navigation_bottom__logo img {
        width: 100px;
    }

    .navigation_bottom__online {
        margin-left: auto;
    }

    .navigation_bottom__online a {
        font-size: 12px;
    }

    .navigation_bottom__menu {
        order: -1;
        width: auto;
        flex-grow: 0;
    }

    .greedy-menu .toggle-links {
        margin-left: 0;
    }

    .greedy-menu .toggle-links.counter::before {
        display: none;
    }
}