.header__page {
  padding: var(--padding-size);
}

.header__page-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.header__page-row:not(:last-child) {
  padding-bottom: var(--padding-size-med);
}

.header__page-row:not(:first-child) {
  margin-top: var(--padding-size);
}

.header__page-row:first-child {
  border-bottom: solid 1px var(--color-separator-primary);
}

.header__page__nav-common {
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  /*flex-grow: 1;*/
  width: calc(100vw - 2 * .545rem - 2 * .4rem);
  padding: .4rem;
  border-radius: .4rem;
  justify-content: space-between;
  background: var(--color-background-primary);
  margin: 0.545rem;
  z-index: 9990;
}

.header__page__nav-common a {
  color: white;
}

.header__page a {
  text-decoration: none;
}

.header__page__brand {
  display: flex;
  flex-direction: column;
  color: var(--color-text-primary);
  font-size: 2rem;
  /*height: 100%;*/
  height: 2.75rem;
  justify-content: space-between;
  /*margin-bottom: var(--padding-size-max);*/
  /*line-height: 1.75rem;*/
}

.header__page__brand span {
  padding-top: .4rem;
}

.header__page__brand small {
  font-family: Inter, serif;
  font-size: .75rem;
  font-weight: 400;
  white-space: nowrap;
}

.header__page__brand i {
  color: var(--color-separator-secondary);
  width: min-content;
}

.header__page__search {
  display: flex;
  flex-grow: 1;
  padding: .25rem;
  align-items: center;
  color: var(--color-text-primary);
  background: var(--color-background-form-element-primary);
  border: none;
  border-radius: .5rem;
}

.header__page__search input {
  /*width: 21rem;*/
  width: calc(100% - 2 * .75rem);
  padding: 0 .75rem;
  font-size: 1rem;
  color: var(--color-text-primary);
  background: var(--color-background-form-element-primary);
  border: none;
}

.header__page__search input:focus {
  outline: 0;
}

.header__page__search button {
  width: 2.125rem;
  padding: .5rem;
  font-size: 1rem;
  color: white;
  border: none;
  border-radius: .5rem;
  background: var(--color-background-primary);
  white-space: nowrap;
  cursor: pointer;
}

.header__page__cta-link {
  display: none;
}

.header__page__cta-link-align-right {
  margin-left: auto !important;
}

.header__page__cta-link-alerte {
  position: fixed;
  bottom: 4.45rem;
  right: 1rem;
  display: inherit !important;
  width: 3.45rem;
  height: 3.45rem;
  line-height: .8rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  border-radius: 4rem;
  background: var(--color-cta-background-secondary) !important;
  color: var(--color-cta-text) !important;
  font-size: .8rem;
  padding: .4rem;
  z-index: 9990;
}

.header__page__cta-link-alerte:before {
  margin-top: .4rem;
  margin-bottom: .8rem;
  font-size: 1.8rem;
  content: '\f0f3';
}

.header__page__nav {
  display: flex;
  /*margin-top: var(--padding-size);*/
  /*height: 2.75rem;*/
  align-items: center;
  /*width: 100%;*/
  flex: 0 0 100%;
  flex-wrap: wrap;
}

.header__page__nav form {
  width: 100%;
  margin: var(--padding-size) 0 0 0;
}

.header__page__nav-item {
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.header__page__nav-item span {
  margin-top: .2rem;
}

.header__page__nav-item span:nth-last-child(1) {
  margin: .4rem .4rem 0 .4rem;
  font-size: 0.875rem;
}

.header__page-row-wrapper {
  display: flex;
  justify-content: start;
  align-items: end;
}

.header__page__search-button {
  display: flex;
  /*margin-right: .7rem;*/
  margin-bottom: var(--padding-size);
  /*width: 16.875rem;*/
  flex-wrap: wrap;
  flex: 0 0 100%;
  color: var(--color-text-primary);
  font-size: 1rem;
}

.header__page__search-button-placeholder {
  font-size: .75rem;
}

.header__page__search-button button {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  flex: 0 0 100%;
  /*width: 16.875rem;*/
  margin-top: .75rem;
  padding: .75rem;
  color: var(--color-text-primary);
  background: var(--color-background-form-element-primary);
  border-radius: .5rem;
  border: none;
  font-size: 1rem;
}

.header__page__search-button button:hover {
  cursor: pointer;
}

@media screen and (min-width: 820px) {
  .header__page__nav-common {
    width: calc(100vw - 4 * .545rem - 2 * .4rem)
  }
}
@media screen and (min-width: 912px) {
  .header__page__nav-common {
    width: calc(100vw - 2 * .545rem - 2 * .4rem)
  }
}

@media screen and (min-width: 960px) {
  .header__page__search-button, .header__page__search-button button {
    width: 16.875rem;
  }

  .header__page__search-button {
    flex: inherit;
    margin-right: .7rem;
    margin-bottom: inherit;
  }

  .header__page__search-button:not(:first-child) {
    margin-left: .8rem;
  }

  .header__page__nav {
    flex-wrap: nowrap;
  }

  .header__page__nav-item span:nth-last-child(1) {
    margin: 0;
  }

  .header__page-row:not(:last-child) {
    padding-bottom: var(--padding-size);
  }

  .header__page__nav form {
    margin: 0 var(--padding-size-max);
  }

  .header__page__nav-common {
    position: inherit;
    background: inherit;
    width: inherit;
    flex-grow: inherit;
    z-index: inherit;
    justify-content: inherit;
    margin: inherit;
    padding: .4rem 0;
  }

  .header__page__nav-item {
    margin-left: 1.5rem;
  }

  .header__page__nav-common a {
    color: var(--color-text-primary);
  }

  .header__page__cta-link {
    display: inherit;
    /*margin-left: 1.5rem;*/
    color: white !important;
    padding: .75rem;
    font-size: 1rem;
    border-radius: .5rem;
    background: var(--color-background-primary);
    white-space: nowrap;
  }

  .header__page__cta-link span:first-child {
    margin-right: .75rem;
  }

  .header__page__cta-link-alerte {
    position: inherit;
    bottom: inherit;
    right: inherit;
    width: inherit;
    height: inherit;
    font-size: inherit;
  }

  .header__page__cta-link-alerte:before {
    content: '\f0f3';
    margin-top: inherit;
    margin-bottom: inherit;
    margin-right: .5rem;
    font-size: inherit;
  }
}
