.portal-root .main-header {
  position: relative;
}

.portal-root lib-header .header {
  background-color: #fff;
  box-shadow: 0 2px 2px #9daccf14;
  z-index: 900;
  position: relative;
  border-bottom: none;
}

.portal-root lib-header .inner {
  height: 64px;
  z-index: 600;
  position: relative;
}

.portal-root lib-header lib-logo .logo {
  display: block;
  height: 22px;
  width: 124px;
  padding-top: 1px;
  cursor: pointer;
}

.portal-root lib-header-select-role {
  position: relative;
}

.portal-root lib-header-select-role .select-role {
  position: relative;
}

.portal-root lib-header-select-role .select-role .arrow {
  width: 24px;
  height: 24px;
}

.portal-root lib-header-select-role .select-role .open-menu {
  cursor: pointer;
}

.portal-root lib-header-select-role .select-role.header .list {
  display: none;
  box-shadow: 0 12px 32px #0b1f332e;
  position: absolute;
  width: 234px;
  left: -16px;
  top: -16px;
  border-radius: 12px;
  overflow-y: auto;
  background: #fff;
  padding: 16px;
  z-index: 1000;
  list-style: none;
  margin: 0;
}

.portal-root lib-header-select-role .select-role.header.opened .list {
  display: block;
}

.portal-root lib-header-select-role .select-role.header .list .title-h6 {
  padding-right: 32px;
  word-break: break-word;
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.portal-root lib-header-select-role .select-role.header .list li {
  margin: 0;
  padding: 0;
}

.portal-root lib-header-select-role .select-role.header .list .role-item {
  display: block;
  width: 100%;
  padding: 8px 0;
  text-align: left;
  cursor: pointer;
}

.portal-root lib-header-select-role .select-role.header .close-menu {
  display: none;
  position: absolute;
  cursor: pointer;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  padding: 0;
  color: #0d4cd3;
  font-size: 24px;
  line-height: 24px;
}

.portal-root lib-header-select-role .select-role.header.opened .close-menu {
  display: block;
}

.portal-root lib-header-main-links .search-icon {
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.portal-root lib-header-main-links ul.header {
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.portal-root lib-header-main-links ul.header > li {
  display: flex;
  align-items: center;
}

.portal-root lib-header-main-links ul.header a,
.portal-root lib-header-main-links ul.header button {
  text-decoration: none;
}

.portal-root lib-header .login-wrapper {
  flex-shrink: 0;
}

.portal-root lib-header-auth .login-button {
  transition: background-color 0.7s;
  padding: 8px 16px;
  background: #edf2fe;
  border-radius: 12px;
  border: none;
  color: #0d4cd3;
  font: inherit;
  cursor: pointer;
}

.portal-root lib-header-auth .login-button:hover {
  background-color: #0d4cd3;
  color: #fff;
}

@media all and (min-width: 1216px) {
  .portal-root lib-header-main-links .flex-container-d-lg.header {
    display: flex;
  }
}

@media all and (max-width: 1215px) {
  .portal-root lib-header-main-links .flex-container-d-lg.header {
    display: none;
  }
}