html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .004);
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    color: #162136;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    line-height: 24px;
}

body, div {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-family: Roboto, Arial, sans-serif;
    vertical-align: baseline;
}

body {
    line-height: 1;
    background-color: #f4f5f8;
    min-width: 320px;
}

html, body {
    height: 100%;
}

.page-container {
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.layout-wrapper {
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    max-width: 1376px;
    padding-left: 16px;
    padding-right: 16px;
}

.header {
    background: #fff;
    box-shadow: 0 1px 2px 0 rgba(22, 33, 54, .16);
    position: relative;
    z-index: 15;
}

@media (min-width: 1024px) {
    .layout-wrapper {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1280px) {
    .layout-wrapper {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.header__grid {
    align-items: center;
    display: flex;
    gap: 32px;
    height: 60px;
}

.header__grid-max {
    flex-grow: 1;
    height: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.header-container-account-profile {
    cursor: pointer;
    position: relative;
    height: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.header-container-account-profile-block {
    display: inline-block;
}

.header-container-account-profile-block a {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.header-container-account-profile-menu {
    display: none;
    position: absolute;
    left: -40px;
    top: 45px;
    padding: 15px;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 15px;
    background: white;
    z-index: 1;
    border-radius: 10px;
    border: 1px solid rgb(246, 246, 246);
}

.header__right-icons {
    height: 100%;
}

.header__grid-min {
    height: 100%;
}

.header-container-account-profile:hover .header-container-account-profile-menu {
    display: -ms-flexbox;
    display: flex;
}

.header-container-account-profile-menu .container-menu-item-link {
    margin: 0;
    font-size: 14px;
    letter-spacing: .028px;
}

.container-menu-item-link {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-left: 20px;
    color: rgb(122, 122, 122);
    font-size: 16px;
    white-space: nowrap;
}

.container-menu-item-link.active, .container-menu-item-link:hover {
    color: rgb(33, 33, 33);
}

.header-container-account-profile-menu .container-menu-item-icon:before {
    width: 16px;
    height: 16px;
    top: 0;
}

.container-menu-item-icon:before {
    content: "";
    position: relative;
    display: inline-block;
    top: 7px;
    width: 24px;
    height: 24px;
    background-color: rgb(179, 179, 185);
    -webkit-mask-size: cover;
    mask-size: cover;
}

.container-menu-item-icon_settings:before {
    -webkit-mask: center / cover no-repeat url("../../images/settings.svg");
    mask: center / cover no-repeat url("../../images/settings.svg");
}

.container-menu-item-icon_logout:before {
    -webkit-mask: center / cover no-repeat url("../../images/logout.svg");
    mask: center / cover no-repeat url("../../images/logout.svg");
}

.container-menu-item-link.active .container-menu-item-icon:before, .container-menu-item-link:hover .container-menu-item-icon:before {
    background-color: rgb(33, 33, 33);
}

.header-container-account-profile-avatar {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: 50% / cover no-repeat url("../../images/user.png");
}
