header {
  color: var(--header-text-color);
  background-color: var(--header-backfround-color);
  min-height: var(--header-min-height-desktop);
}

.wollemiah-header {
  height: 100%;
  color: rgba(255, 255, 255, 1.0);
  max-width: var(--container-max-width);
  margin-left: auto; margin-right: auto;
  font-size: 18px;
}

.wollemiah-header p, .wollemiah-header span {
  color: rgba(255, 255, 255, 1.0);
}

.wollemiah-header--container, .header-container {
  width: 100%;
  /* margin-left: auto; margin-right: auto; */
  /* padding: 8px 0px; */
  display: flex;
  font-family: 'Roboto Flex'; font-weight: 400; font-size: 14px;
}

.header-container.header-contacts {
  margin-top: 14px;
  margin-bottom: 24px;
}

.header-container.header-menu {
  margin-top: 30px;
  margin-bottom: 14px;
}

.wollemiah-header--container a, .header-container a {
  color: var(--header-link-color);
  text-decoration: none;
  transition: all 0.35s ease-in-out;
  font-size: 18px;
}

.wollemiah-header--container a:focus, .header-container a:focus, 
.wollemiah-header--container a:active, .header-container a:active,
.wollemiah-header--container a:hover, .header-container a:hover {
  color: var(--header-link-active-color);
  /* text-decoration: underline; */
}

.wollemiah-header--container.header-contacts, .header-container.header-contacts {
  /* padding-top: 8px; padding-bottom: 8px; */
  display: grid; 
  grid-template-columns: 2fr 22rem 28rem;
}

.wollemiah-header--title {
  width: 100%; height: 100%;
  font-size: 24px; font-weight: 800; font-style: italic;
  display: flex; align-items: center; justify-content: flex-start;
}

.wollemiah-header--title a {
  font-size: 24px; font-weight: 800; font-style: italic; text-decoration: none;
}
.wollemiah-header--title a:hover, .wollemiah-header--title a:focus { text-decoration: none; }

.wollemiah-header--phone {
  display: flex; 
  flex-flow: row wrap; 
  align-items: center; 
  justify-content: center;
  width: 100%;
  min-width: 300px;
  box-sizing: border-box;
}

.wollemiah-header--phone:last-child {
  justify-content: flex-end;
} 

.header-phone--link {
  margin-left: 20px; 
  position: relative;
  /* flex-grow: 1; */
}

.header-phone--url {
  display: block; min-height: 21px;
  /* padding-left: 30px; */
  font-weight: 700;
  padding-left: 2rem;
}

.header-phone--url:before { 
  position: absolute;
  /* top: 12.5%;  */
  top: 0;
  left: 0px;
  /* display: inline-flex; */
  display: flex;
  width: 30px; height: 100%;
  flex-flow: row wrap; align-items: center; justify-content: center;
  content: url('../images/phone.svg');
  background-size: contain; background-repeat: no-repeat;
}

.wollemiah-header--phone .header-phone--url:hover,
.wollemiah-header--phone .header-phone--url:focus, 
.wollemiah-header--phone .header-phone--url:active,
.wollemiah-header--phone .header-phone--url.header-phone--url:focus-visible {
  text-decoration: none;
}

.wollemiah-header--menu.header-menu {
  font-size: 18px;
  width: 100%; max-width: var(--header-container-max-width);
  display: flex; flex-flow: row wrap;
  align-items: center; justify-content: space-between;
}

.wollemiah-header--menu.header-menu .header-menu--item { cursor: default; }

@media (max-width: 767px) {

  header {
    color: var(--header-text-color);
    background-color: var(--header-backfround-color);
    height: var(--header-min-height-mobile);
    padding: 10px 10px;
  }


  .wollemiah-header {
    padding: 0; margin: 0; height: 100%; 
    display: flex; align-items: center;
  }

  .wollemiah-header .wollemiah-header--toolbar .wollemiah-header--title {
    display: inline-flex; 
    flex-flow: row wrap;
    align-items: center;
    padding: 10px 0px;
    width: 13rem;
  }

  .wollemiah-header .wollemiah-header--toolbar {
    display: flex; flex-flow: row wrap;
    align-items: center; justify-content: space-between;
    height: 100%; width: 100%;
  }

  

  .wollemiah-header .wollemiah-header--toolbar .toolbar--tools {
    display: inline-flex;
    flex-flow: row wrap; 
    flex-grow: 1; flex-shrink: 0;
    align-items: center; justify-content: flex-end;
  }

  .wollemiah-header--phones-toggler, .wollemiah-header--links-toggler {
    width: 30px; height:30px;
    position: relative;
    display: inline-flex; align-items: flex-start; justify-content: flex-start;
    margin: 0px 0px;
    background-color: transparent;
    border: 0; outline: 0;
  }

  .wollemiah-header--phones-toggler {
    margin-right: 24px;
    transition: all 0.5s ease-in-out;
  }

  .wollemiah-header--links-toggler { margin-right: 13px; }

  .wollemiah-header--phones-toggler::before, .wollemiah-header--links-toggler::before {
    position: absolute; display: 	block;
    content: '   ';
    top: 0; left:0;
    width: 100%; height: 100%;
  }

  .wollemiah-header--phones-toggler::before {
    background: url('../images/menu-phone-inactive.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .wollemiah-header--phones-toggler.active::before {
    transform: rotate(90deg);
  }

  .wollemiah-header--links-toggler::before {
    background:url('../images/menu-hamburger.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .wollemiah-header--links-toggler.active::before {
    background:url('../images/menu-close.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
  }


}
