.header-row, header.header-row {
  min-height: 320px;
  height: 30%;
  max-height: 550px;
  /* background-image: url(header_1.jpg); */
  background-image: url(login_banner_mobile.png);
  background-size: cover;
  background-position-x: center;
  background-position-y: center;
  border-bottom: 2px solid var(--action-bg-color);
  display: flex;
  flex-direction: column;
  /* overflow: hidden; */
  margin-bottom: 30px;
  margin-top: var(--nav-row-height);
}

.nav {
  min-height: var(--nav-row-height);
  height: var(--nav-row-height);
  max-height: var(--nav-row-height);
  width: 100%;
  background: var(--action-bg-color);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* align-items: center; */
  align-items: flex-start;
  z-index: 50;

  position: fixed;
  top: 0;
}

.logo-small,
img.logo-small {
  display: block;
  height: 40px;
  width: auto;
  flex-basis: auto;
}

.logo-seal {
  display: none;
}

.nav-menu {
  list-style: none;
  width: 100%;
  background: var(--action-dark-grey-color);
  color: var(--text-white-color);
  position: absolute;
  left: 0;
  top: var(--nav-row-height);
  display: block;
}

.nav-menu-hidden {
  display: none;
}

.nav-menu li {
  width: 100%;
}

.nav-menu li:first-child {
  margin-top: 10px;
}

.nav-menu li:last-child {
  margin-bottom: 10px;
}

.nav-menu li a {
  text-align: center;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 100%;
  display: inline-block;
  color: inherit;
}

.nav-toggle-menu-wrapper {
  fill: var(--form-title-color);
  color: var(--form-title-color);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  /* cursor: pointer; */
  margin-right: calc(var(--container-outer-spacing) / 2);
  padding-right: calc(var(--container-outer-spacing) / 2);
  padding-left: calc(var(--container-outer-spacing) / 2);
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: 4px;
  margin-bottom: 4px;
  flex: auto;
  min-width: 0;
}

.nav-toggle-menu-wrapper > span {
  cursor: pointer;
  height: 24px;
}

.lang-label {
  padding-left: 8px;
  padding-right: 8px;
  font-weight: var(--font-weight-semibold);
  font-size: 1rem;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.welcome-text-wrapper {
  color: var(--text-white-color);
  padding-left: var(--container-outer-spacing);
  padding-right: var(--container-outer-spacing);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* height: calc(100% - var(--nav-row-height)); */
  height: 100%;
  flex-grow: 1;
  width: 100%;
}

.welcome-text-top-container {
  border-bottom: 2px solid var(--action-bg-color);
  width: 100%;
}

.welcome-text-bottom-container {
  width: 100%;
  font-size: var(--font-size-subtitles);
  margin-top: 9px;
}

.welcome-text-bottom-mid-subtitle {
  border-left: 2px solid var(--action-bg-color);
  border-right: 2px solid var(--action-bg-color);
  padding-left: 9px;
  padding-right: 9px;
  margin-left: 9px;
  margin-right: 9px;
}

.welcome-text-header, p.welcome-text-header {
  line-height: 0.85em;
  color: var(--action-bg-color);
  margin-bottom: 8px;
  
  font-weight: bolder;
  font-size: var(--font-size-header-small);
}

.welcome-text-breakable-line {
  display: block;
}

.welcome-text-subheader, p.welcome-text-subheader {
  color: var(--text-white-color);
  line-height: 1em;
  margin-bottom: 8px;

  font-size: var(--font-size-subheader-small);
  font-weight: normal;
}

.slds-modal__header h2 {
  color: var(--section-sub-headline-color);
}

/* .slds-modal__header p {
  color: var(--section-sub-headline-color);
} */

.lang-switcher-description {
  font-weight: 700;
}

.lang-list-item {
  margin-bottom: 2px;
}

a.lang-item, .lang-item {
  color: #000;
}

a.lang-item:hover, .lang-item:hover {
  text-decoration: underline;
  /* color: rgb(1, 68, 134); */
}

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 0.25rem;
  line-height: 1;
  background-color: transparent;
}

/* Desktop */
@media screen and (min-width: 768px) {
  .header-row, header.header-row {
    background-image: url(login_banner.png);
    background-position-x: left;
    background-position-y: left;
    min-height: 400px;
    max-height: 525px;
  }

  .logo-small,
  img.logo-small {
    display: none;
  }

  .logo-seal {
    display: block;
    margin-left: var(--container-desktop-spacing);
    width: 200px;
    height: auto;
    margin-top: auto;
  }

  .nav {
    background: white;
    border-bottom: 1px solid #ebebeb;
  }

  .nav-toggle-menu-wrapper {
    margin-right: calc(
      var(--container-desktop-spacing) - (var(--container-inner-spacing) + 1px)
    );
  }

  .welcome-text-wrapper {
    width: auto;
    margin-left: var(--container-desktop-spacing);
    margin-right: var(--container-desktop-spacing);

    justify-content: flex-end;
    padding-bottom: 16px;
  }

  .welcome-text-header, p.welcome-text-header {
    font-weight: bold;
    font-size: var(--font-size-header);
  }

  .welcome-text-subheader, p.welcome-text-subheader {
    font-size: var(--font-size-subheader);
  }

  .welcome-text-breakable-line {
    display: inline-block;
  }
}

@media screen and (min-width: 592px) {
  .header-row, header.header-row {
    max-height: unset;
  }
  
  .welcome-text-wrapper {
    justify-content: center;
    padding-bottom: 0;
  }
}

@media screen and (min-width: 992px) {
  .welcome-text-wrapper {
    width: 42%;
    margin-left: var(--container-desktop-spacing);
  }
}

/* NEW LOGO */
.logo-container {
  /* Aspect Ratio: 258/150 */
  /* width: 258px;
  height: 150px;
  padding: 81px 20px 19px; */
  height: 136px;
  padding: 73px 18px 18px;
  width: 234px;   

  background: var(--logo-background-color);
  margin-left: calc(var(--container-desktop-spacing) - 1px);

  text-align: center;

  display: inline-block;
  position: relative;

  transition: all 0.3s ease-in-out;
}

.logo-container .logo-link {
  padding: 73px 0px 32px;
}

.logo-container .logo-c {
  /* Aspect Ratio: 218/39.65 */
  /* width: 218px; */
  width: 198px;
  height: auto;

  margin: 0;
  padding: 0;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.logo-container .claim {
  /* Aspect Ratio: 138/10 */
  opacity: 1;
  visibility: visible;
  display: block;
  position: absolute;

  /* top: 120px;
  left: 65px;
  width: 138px;
  height: 10px; */
  left: 57px;
  top: 108px;
  width: 128px;
  height: auto;

  pointer-events: auto;

  transition:
          visibility 0.28s ease-in-out,
          top 0.28s ease-in-out,
          left 0.28s ease-in-out,
          width 0.28s ease-in-out,
          opacity 0.25s ease-in-out 0.28s
      ;
}

/* SCROLLED */
.logo-container.scrolled {
  /* Aspect Ratio: 146/47 */
  width: 149px;
  height: 48px;
  padding: 14px 12px 19px;

  transition: all 0.3s ease-in-out 0.1s;
}

.logo-container.scrolled .logo-link{
  padding: 16px 0px 14px;
}

.logo-container.scrolled .logo-c {
  /* Aspect Ratio: 124/22.55 */
  width: 126.65px;
  height: auto;
  padding-bottom: 0;

  transition: all 0.3s ease-in-out 0.1s;
}

.logo-container.scrolled .claim {
  opacity: 0;

  /* Dummy Positioning */
  top: 36px;
  left: 42px;
  width: 86px;

  visibility: hidden;
  pointer-events: none;

  transition: 
          visibility 0.2s ease-in-out 0.1s, 
          top 0.2s ease-in-out 0.1s, 
          left 0.2s ease-in-out 0.1s,
          width 0.2s ease-in-out 0.1s, 
          opacity 0.1s ease-in-out
      ;
}

/* MEDIUM-LARGE */
/* Breakpoint should equal pages max-width */
@media screen and (max-width: 1170px) {
  .logo-container {
      /* height: var(--seal-container-height-large);
      padding: 73px 18px 18px;
      width: 234px;         */
  }

  .logo-container .logo-c {
      /* width: 198px; */
  }

  .logo-container .claim {
      /* left: 57px;
      top: 108px;
      width: 128px;
      height: auto; */
  }
}

/* MOBILE */
@media screen and (max-width: 575px) {

  .logo-container {
      /* Aspect Ratio: 146/47 */
      width: 149px;
      height: 48px;
      padding: 14px 12px 19px;
      margin-left: 0;
      background: var(--logo-background-color-mobile);
      transition: none;
  }

  .logo-container .logo-link,
  .logo-container.scrolled .logo-link {
    padding-left: 14px;
    padding-right: 0;
    padding-bottom: 14px;
    padding-top: 16px;
    margin-left: -14px;
  }
  
  .logo-container .logo-c {
      /* Aspect Ratio: 124/22.55 */
      width: 126.65px;
      height: auto;
      padding-bottom: 0;
  
      transition: none;
  }
  
  .logo-container .claim {
      opacity: 0;

      /* Dummy Positioning */
      top: 36px;
      left: 42px;
      width: 86px;

      visibility: hidden;
      pointer-events: none;

      transition: none;
  }

}

