/* Full colors */
/* Subdued colors */
.header-container {
  position: fixed;
  width: 100%;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px 0 0;
  height: 80px;
  width: 100%;
  border-bottom: 1px solid #0071CE;
  background-color: #ffff;
}
.header.header-activate {
  border-bottom: none;
  padding: 20px 30px 20px 20px;
  background-color: transparent !important;
}
.header.header-activate .logo {
  width: 220px;
}
.header .logo {
  padding-right: 30px;
}
.header__user-action {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.header__user-action__text {
  font-weight: 600;
  line-height: 22px;
  color: #0071CE;
  margin-left: 10px;
}
.header__user-info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
}
.header__user-title {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: bold;
  color: #293A48;
}
.header__user-subtitle {
  text-transform: capitalize;
  font-size: 12px;
  color: #0071CE;
  font-weight: normal;
  margin-left: auto;
}
.header__user-avatar {
  width: 37px;
  height: 37px;
  margin-left: 10px;
  object-fit: cover;
  clip-path: circle();
  background-color: #8f99a3;
}
.header__user-avatar img {
  width: inherit;
  height: 100%;
  object-fit: cover;
}
.header .patients-search-bar {
  display: flex;
  flex: 1;
  margin-left: 20px;
}
.header .clinic_logo {
  width: 37px;
  height: 37px;
  margin-left: 10px;
  object-fit: cover;
  clip-path: circle();
  background-color: #8f99a3;
}
.header .clinic_logo img {
  width: inherit;
  height: 100%;
  object-fit: cover;
}

.header-m {
  display: none;
}

.header-container_language {
  min-width: 180px;
}

.language {
  height: 52px;
  display: inline-flex !important;
  align-items: center;
  min-width: 30px;
  line-height: 0;
  font-weight: 600;
  color: #0071ce;
  background-color: inherit;
  border-radius: 5px;
  padding-left: 20px;
  padding-right: 10px;
  box-sizing: border-box;
  width: 100%;
  font-size: 1rem;
  position: relative;
}
.language.bordered {
  border: 1px solid #0071ce;
  border-radius: 5px;
}
.language .language {
  color: #0071ce;
  letter-spacing: 0.6px;
}
.language .flag {
  width: 28px;
  height: 20px;
}
.language .mat-select-value,
.language .selected-lang {
  vertical-align: middle;
  height: 50px;
}
.language .mat-select-arrow-wrapper {
  visibility: hidden;
}
.language.arrow .mat-select-arrow-wrapper {
  visibility: visible;
}
.language.active .lang-list-wrapper {
  display: block;
}
.language .selected-lang {
  cursor: pointer;
}
.language .lang-list-wrapper {
  display: none;
  position: absolute;
  border-radius: 5px;
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);
  font-size: 16px;
  top: 12px;
  right: -25px;
  pointer-events: auto;
  box-sizing: border-box;
  z-index: 1000;
  max-height: 256px;
  width: 267px;
  overflow: auto;
  transform-origin: 50% 9px 0px;
  font-size: 16px;
  opacity: 1;
  min-width: calc(100% + 32px);
  transform: scaleY(1);
  background-color: #fff;
}
.language .lang-list-wrapper .lang-item {
  font-size: inherit;
  line-height: 3em;
  height: 3em;
  cursor: pointer;
  vertical-align: middle;
}
.language .lang-list {
  display: flex;
  flex-direction: column;
}
.language .mat-option {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  line-height: 48px;
  height: 48px;
  padding: 0 16px;
  text-align: left;
  text-decoration: none;
  max-width: 100%;
  position: relative;
  cursor: pointer;
  outline: none;
  display: flex;
  flex-direction: row;
  max-width: 100%;
  box-sizing: border-box;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.language .mat-select-panel .mat-optgroup-label,
.language .mat-select-panel .mat-option {
  font-size: inherit;
  line-height: 3em;
  height: 3em;
}
.language .mat-option:hover:not(.mat-option-disabled),
.language .mat-option:focus:not(.mat-option-disabled) {
  background: rgba(0, 0, 0, 0.04);
}

@media screen and (max-width: 768px) {
  header.header {
    display: none;
  }

  .header-m {
    display: flex;
    align-items: center;
    background-color: #0071CE;
    color: #ffff;
    height: 45px;
  }
  .header-m .logo {
    position: absolute;
    z-index: auto;
  }
  .header-m .logo:active, .header-m .logo:focus {
    outline: 0;
    border: none;
    -moz-outline-style: none;
    outline-style: none;
  }
  .header-m__arrow {
    margin: 0 15px;
  }
  .header-m__user-info {
    display: none;
  }
  .header-m__user-action {
    height: 45px;
    width: 60px;
  }

  .language .language {
    padding-left: 0;
  }

  .header-container_language {
    min-width: 130px;
  }
}
