a {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.spacer {
  height: 80px;
}
.header {
  position: fixed;
  height: 80px;
  width: 100%;
  top: 0;
  z-index: 999;
  background-color: white;
  box-shadow: 0 1px 10px 0 rgba(0,0,0,0.1);
}
.header__burger {
  display: none;
}
.header__wrapper{
  padding: 15px 0 0 0;
  display: flex;
  justify-content: space-between;
}
.header__logo img {
  padding-right: 10px;
  object-fit: contain;
  height: 55px;
  width: 180px;
  border-right: 2px solid grey;
}
.header__logo_short {
  display: none;
}
.header__social_icons {
  display: none;
}
.header__menu_wrapper {
  display: flex;
  align-items: center;
}
.header__menu {
  font-size: 0.8rem;
  display: flex;
  justify-content: space-evenly;
}
.header__menu a:hover,
.header__menu > .current_page_item a,
.header__menu > .current-menu-item a {
  padding-bottom: 10px;
  border-bottom: 3px solid grey;
}
.header__menu li {
  display: block;
  margin: 0 8px 0 8px;
}
.header__contacts {
  padding-left: 10px;
  border-left: 2px solid grey;
  display: flex;
  flex-direction: column;
  text-align: right;
  justify-content: center;
}
.header__contacts_mobile {
  display: none;
}
.header__contacts_tel {
  font-size: 1.2rem;
  text-decoration: none;
  color: black;
}
.header__contacts_call_order {
  font-size: 0.9rem;
  text-decoration: underline;
}
.menu-item-has-children ul {
  position: absolute;
  background: white;
  width: 150px;
  top: 30px;
  left: -8px;
  display: none;
}
.sub-menu a:hover {
  padding-bottom: 1px;
  border-bottom: 3px solid grey;
}
.sub-menu li {
  margin-bottom: 10px;
}
.menu-item-has-children {
  position: relative;
}
.header__menu li:hover > ul {
  display: block;
}
@media screen and (max-width: 1200px) {
  .header__menu {
    font-size: 0.7rem;
  }
  .header__contacts_tel {
    font-size: 1rem;
  }

}
@media screen and (max-width: 991px) {
  .header__logo_short {
    display: block;
  }
  .header__logo img {
    width: 80px;
  }
  .header__logo_full {
    display: none;
  }
  .header__menu {
    flex-wrap: wrap;
  }
  .header__menu li{
    margin-bottom: 15px;
  }
  .header__contacts {
    width: 170px;
  }
}
@media screen and (max-width: 768px) {
  .header__wrapper {
    justify-content: center;
  }
  .header__burger {
    margin-right: 20px;
    display:block;
    width: 40px;
    height: 40px;
    position: relative;
    background-color: #d7e0e6;
    border-radius: 45px;
  }
  .header__burger:before,
  .header__burger:after {
    content: '';
    background-color: black;
    position: absolute;
    width: 60%;
    height: 2px;
    left: 8px;
  }
  .header__burger:before {
    top: 10px;
  }
  .header__burger span {
    position: absolute;
    width: 60%;
    height: 2px;
    background-color: black;
    left: 8px;
    top: 19px;
  }
  .header__burger:after {
    bottom: 10px;
  }
  .header__menu_wrapper {
    justify-content: center;
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    align-items: baseline;
  }
  .header__social_icons {
    display: block;
    position: fixed;
    top: -100%;
    font-size: 1.2rem;
  }
  .header__social_icons a{
    margin-right: 10px;
  }
  .header__menu {
    position: absolute;
    margin-top: 10%;
    flex-direction: column;
    font-size: 1.2rem;
    text-align: center;
  }
  .header__menu li {
    margin-bottom: 10px;
  }
  .header__logo {
    z-index: 3;
    margin-right: auto;
  }
  .header__logo img{
    border-right: 0px;
  }
  .header__contacts_mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: -100%;
  }
  .header__contacts {
    border-left: 0px;
    margin-right: auto;
    padding: 0;
    text-align: center;
  }
  .header__burger.active:before {
    transform: rotate(45deg);
    top: 19px;
    transition: all 0.3s ease 0s;

  }
  .header__burger.active:after {
    transform: rotate(-45deg);
    bottom: 18px;
    transition: all 0.3s ease 0s;
  }
  .header__burger.active span {
    transform: scale(0);
    transition: all 0.3s ease 0s;
  }
  .header__menu_wrapper.active {
    top: 0;
    transition: all 0.3s ease 0s;
  }
  .header__social_icons.active {
    top:80%;
    transition: all 0.3s ease 0s;
  }
  .header__contacts_mobile.active {
    top: 90%;
    transition: all 0.3s ease 0s;
  }
  .menu-item-has-children ul {
    width: 250px;
    top: 25px;
    left: -33%;
  }
}
@media screen and (max-width: 575px) {
  .header__menu {
    margin-top: 60px;
  }
}


