:root {
  --error-color: #dd3344;
  --main-font-color: #484848;
  --main-bg-color: #f2f2f2;
  --primary-btn-color: #ff0000;
  --box-shadow-color: #48484829;
  --border-color: #889798;
  --text-color: #060F10;
  --border-color-active: #4f5b5c;

  --mdc-theme-error: var(--error-color);
  --mdc-theme-secondary: #ffffff;
  --mdc-theme-primary: var(--border-color);
}

body {
  font-family: Roboto, Helvetica, Arial, sans-serif;
  color: var(--main-font-color);
  letter-spacing: 0.5px;
  font-size: 1rem;
  background-color: var(--main-bg-color);
  margin: 0rem;
}

main {
  max-width: 87.5rem;
  position: fixed;
  inset: 4rem 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 auto 1.5rem;
}

.nav__desktop {
  background-color: white;
  color: var(--main-font-color);
  height: 4rem;
}

.mdc-menu-surface--open {
  /* inline stying because of the library, so !important is neccesary */
  top: 3.125rem !important;
  min-width: 7rem;
}

.nav__desktop__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 87.5rem;
  margin: 0 auto;
}

.nav__desktop__tabs {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  padding-left: 1.5rem;
}

.nav__desktop__tabs__logo img {
  width: auto;
  height: 2.063rem;
}

.nav__desktop__menus {
  padding-right: 1.5rem;
}

.nav__desktop__menus button {
  --mdc-theme-on-primary: var(--main-font-color);
  --mdc-theme-primary: rgba(0, 0, 0, 0);
  font: inherit;
  border: none;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
}

.nav__desktop__menus button:hover {
  background-color: #0000000a;
}

.mdc-list-item {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0;
  padding-left: 1rem;
  padding-right: 1rem;
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  outline: none;
  border: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  color: inherit;
  font-size: inherit;
  background: none;
  text-decoration: none;
  margin: 0;
  align-items: center;
  min-height: 3rem;
}

.mdc-list-item__text {
  -webkit-font-smoothing: antialiased;
  white-space: normal;
  line-height: 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.03125em;
  font-weight: 400;
}

.mdc-list-item__text a {
  color: var(--main-font-color);
  text-decoration: none;
  height: 100%;
  width: 100%;
  display: block;
}

.content {
  flex-grow: 1;
  position: relative;
  height: 0;
  padding: 0 1.5rem;
}

.error__message {
  font-size: 0.75rem;
  color: var(--error-color);
  padding: 0.25rem 1rem;
  display: none;
}

.error__message__visible {
  display: block;
}

.content__content {
  height: 100%;
}

.login__container {
  height: 100%;
  position: relative;
  background-color: var(--main-bg-color);
  display: flex;
  flex-direction: column;
}

.login__container__header {
  width: 100%;
  margin: 2rem auto 1.5rem;
  align-items: center;
  display: flex;
  flex-direction: row;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 0.75rem;
}

.login__container__header__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 2.5rem;
  flex-shrink: 0;
}

.title__large {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25rem;
}

.login__container__content {
  height: 100%;
  position: relative;
  overflow: auto;
}

.login__auth__container {
  display: flex;
  column-gap: 1rem;
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: 2;
}

.login__auth__container__content {
  flex-grow: 1;
  flex-shrink: 0;
  width: 50%;
  min-width: 22.5rem;
  background-color: #fff;
  padding: 1rem 0;
}

.login__auth__container__content__div {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input__group {
  margin-bottom: 0.875rem;
}

.login__auth__container__content form {
  max-height: 100%;
  max-width: 25rem;
  width: 100%;

  padding: 0 0.75rem;
}

.margin-bottom__large {
  margin-bottom: 1.5rem;
}

.auth__container__image {
  flex-shrink: 1;
}

.auth__container__image img {
  object-fit: cover;
  max-width: 100%;
  display: block;
  height: 100%;
}

.container__actions {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 0;
  justify-content: center;
  -moz-column-gap: 1.5rem;
  column-gap: 1.5rem;
  margin-bottom: 1rem;
}

.container__actions__auth0 {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.container__actions button {
  --mdc-theme-primary: var(--primary-btn-color);
  border: none;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: 0 2px 4px #4848483d;
}

.select-opco-button {
  margin-top: 15px;
  --mdc-theme-primary: var(--primary-btn-color);
  border: none;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: 0 2px 4px #4848483d;
}

.container__actions button:hover {
  border-color: #cd0303;
  background-color: #cd0303;
}

.container__actions__href {
  text-decoration: underline;
  color: #647793;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}

.login__auth__container__register {
  border-top: 1px solid #dee5e5;
  padding-top: 1.5rem;
  width: 100%;
  text-align: center;
}

.login__auth__container__register a {
  --mdc-theme-primary: #484848;
  border: 1px solid #bbcaca;
  box-shadow: 0 2px 4px #4848483d;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
}

.mdc-select--outlined .mdc-menu-surface {
  height: 12.5rem;
}

.mdc-select:not(.mdc-select--disabled, .mdc-select--invalid).mdc-select--focused .mdc-floating-label,
.mdc-text-field--focused:not(.mdc-text-field-disabled, .mdc-text-field--invalid) .mdc-floating-label {
  color: var(--border-color-active);
}

.cookie__notice {
  background-color: #dee5e5;
  left: 0;
  right: 0;
  bottom: 0;
  color: #484848;
  padding: 1.5rem;
  position: fixed;
  max-width: 100%;
  width: initial;
  z-index: 2147483004;
  box-shadow: 0 -4px 2px #48484814;
}

.cn__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
}

.icon__extra-large {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  vertical-align: baseline;
  color: #97a6a7;
  display: inline-block;
  text-decoration: inherit;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 1.25rem;
}

.icon__extra-large span {
  padding-top: 0.188rem;
}

.mdc-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 4rem;
  border: none;
  outline: none;
  line-height: inherit;
  user-select: none;
  -webkit-appearance: none;
  overflow: visible;
  vertical-align: middle;
}

.mdc-text-field .icon {
  font-style: normal;
  font-weight: 400;
  font-size: 0.875rem;
  vertical-align: baseline;
  color: #97a6a7;
  display: inline-block;
  text-decoration: inherit;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}

.button__icon {
  cursor: pointer;
  min-width: 2.5rem;
  padding: 0;
  --mdc-theme-primary: rgba(231, 235, 235);
}

.button__icon:hover {
  --mdc-theme-primary: rgb(237, 236, 236);
}

.mdc-select, .mdc-text-field {
  width: 100%;
}

@media screen and (max-width: 796px) {
  .nav__desktop {
    height: 2.5rem;
    padding: 0 0.75rem;
  }
  .nav__desktop__tabs {
    padding-left: 0px;
  }
  .nav__desktop__menus {
    padding-right: 0px;
  }
  .nav__desktop__tabs__logo img {
    width: auto;
    height: 1.5rem;
  }

  main {
    inset: 2.5rem 0 0;
  }
  .content {
    padding: 0;
  }
  .login__container__header {
    width: 100%;
    margin: 0px auto 0px;
    align-items: center;
    display: flex;
    flex-direction: row;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 0.75rem;
  }
  .login__container__header__title {
    margin-left: 0.75rem;
  }

  .login__auth__container {
    column-gap: 0;
  }
  .auth__container__image img {
    display: none;
  }
  .login__auth__container__content {
    min-width: auto;
  }
}
