/*!*******************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./node_modules/sass-loader/dist/cjs.js!./scss/templates/header.scss ***!
  \*******************************************************************************************************************************************************************************************/
.header {
  padding-top: 27px;
  padding-bottom: 28px;
  font-family: "Lato", sans-serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0.01em;
  text-align: left;
  color: #FAFAFA;
  width: 100%;
  top: 0;
  z-index: 5;
  position: absolute;
}
.header-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 450px) {
  .header .menu-item-has-children {
    display: none;
  }
}
.header .menu-item-has-children .sub-menu {
  display: none;
}
.header .menu-item-has-children .sub-menu.active {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  position: absolute;
  top: 0;
  left: 100%;
  width: 65vw;
  height: 100vh;
  padding: 32px 24px;
  overflow: hidden;
}
@media screen and (min-width: 700px) and (max-width: 1300px) {
  .header .menu-item-has-children .sub-menu.active {
    width: 100%;
  }
}
.header .menu-item-has-children .sub-menu.active .sub-menu-wrapper {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 62vh;
}
.header .menu-item-has-children .sub-menu.active .sub-menu-wrapper::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.09);
  border-radius: 10px;
  background-color: #EBEBEB;
  padding: 0 5px 0 0;
  z-index: -1;
}
.header .menu-item-has-children .sub-menu.active .sub-menu-wrapper::-webkit-scrollbar {
  width: 4px;
  border-radius: 10px;
  background-color: #EBEBEB;
}
.header .menu-item-has-children .sub-menu.active .sub-menu-wrapper::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #808080;
}
.header .menu-item-has-children .sub-menu.active .sub-overlay {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 17, 17, 0.56);
  z-index: -1;
}
.header .menu-item-has-children .sub-menu.active .menu-title {
  width: 100%;
  color: white;
  font-family: "Rubik", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.0015em;
  text-align: left;
  margin: 0 0 24px;
}
.header .menu-item-has-children .sub-menu.active .menu-item {
  display: inline-block;
  margin: 0 14px 24px;
}
.header .menu-item-has-children .sub-menu.active .menu-item a {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 180px;
  text-transform: uppercase;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.012em;
  text-align: center;
  transition: 0.3s all;
}
@media screen and (min-width: 700px) and (max-width: 1300px) {
  .header .menu-item-has-children .sub-menu.active .menu-item a {
    width: 120px;
  }
}
.header .menu-item-has-children .sub-menu.active .menu-item a img {
  max-height: 48px;
  width: auto;
  margin: 0 0 8px;
}
.header__menu-button {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.3s ease;
}
.header__menu-button .header__menu-burger {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-right: 12px;
}
.header__menu-button .header__menu-burger svg path {
  transition: stroke 0.3s ease;
}
.header__menu-button:hover, .header__menu-button:hover svg path {
  color: #66C8CE;
  stroke: #66C8CE;
}
.header__logo {
  position: absolute;
  left: 50%;
  top: 56px;
  cursor: pointer;
}
@media screen and (min-width: 700px) and (max-width: 1300px) {
  .header__logo {
    left: 40%;
  }
}
@media screen and (max-width: 450px) {
  .header__logo img {
    width: 132px;
    height: 65px;
  }
}
.header__logo::before, .header__logo::after {
  content: "";
  display: block;
  height: 1.4px;
  position: absolute;
  width: 50vw;
  background: #FFFFFF;
  opacity: 0.32;
  top: 31px;
}
.header__logo::before {
  right: calc(100% + 8px);
}
.header__logo::after {
  left: calc(100% + 8px);
  width: calc(50vw - 188px);
}
@media only screen and (max-width: 700px) {
  .header__logo::after {
    width: calc(50vw - 140px);
  }
}
.header__links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  cursor: pointer;
}
.header__links .link-standart {
  margin: 0 24px;
  font-weight: 500;
}
.header__links .link-standart:first-child {
  margin-left: 0;
}
.header__links .link-standart:last-child {
  margin-right: 0;
}
@media screen and (max-width: 450px) {
  .header__links .link-standart {
    display: none;
  }
}
@media screen and (min-width: 600px) and (max-width: 1023px) {
  .header__links .link-standart {
    display: none;
  }
}
.header__links .link-contact-us {
  padding: 8px 24px;
  white-space: nowrap;
}
@media screen and (max-width: 399px) {
  .header__links .link-contact-us {
    padding: 5px;
    font-size: 12px;
  }
}
@media screen and (min-width: 400px) and (max-width: 599px) {
  .header__links .link-contact-us {
    padding: 5px 18px;
  }
}
.header .header-sub-menu {
  display: flex;
  gap: 24px;
  margin: 0 0 0 -120px;
}
@media screen and (max-width: 599px) {
  .header .header-sub-menu {
    display: none;
  }
}
.header .header-sub-menu a {
  padding: 0;
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.012em;
  transition: 0.3s all;
}
.header .header-sub-menu a:hover {
  color: #66C8CE;
}

#overlay {
  transition: all 0.3s ease;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  background: rgba(17, 17, 17, 0.56);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
#overlay.visible {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

body.blog .header,
.archive .header,
.error404 .header,
.post-type-archive-cars .header,
.v-dorozi .header,
.v-nayavnosti .header,
.privacy-policy .header {
  color: #111111;
  background: #FFFFFF;
}
body.blog .header__menu-button:hover svg path,
.archive .header__menu-button:hover svg path,
.error404 .header__menu-button:hover svg path,
.post-type-archive-cars .header__menu-button:hover svg path,
.v-dorozi .header__menu-button:hover svg path,
.v-nayavnosti .header__menu-button:hover svg path,
.privacy-policy .header__menu-button:hover svg path {
  stroke: #66C8CE;
}
body.blog .header__menu-button svg path,
.archive .header__menu-button svg path,
.error404 .header__menu-button svg path,
.post-type-archive-cars .header__menu-button svg path,
.v-dorozi .header__menu-button svg path,
.v-nayavnosti .header__menu-button svg path,
.privacy-policy .header__menu-button svg path {
  stroke: #111111;
}
body.blog .header__logo,
.archive .header__logo,
.error404 .header__logo,
.post-type-archive-cars .header__logo,
.v-dorozi .header__logo,
.v-nayavnosti .header__logo,
.privacy-policy .header__logo {
  top: auto;
  transform: translateX(-50%);
}
@media screen and (max-width: 500px) {
  body.blog .header__logo,
  .archive .header__logo,
  .error404 .header__logo,
  .post-type-archive-cars .header__logo,
  .v-dorozi .header__logo,
  .v-nayavnosti .header__logo,
  .privacy-policy .header__logo {
    left: auto;
    right: 20px;
    transform: none;
    display: none;
    background-color: transparent;
  }
}
body.blog .header__logo img,
.archive .header__logo img,
.error404 .header__logo img,
.post-type-archive-cars .header__logo img,
.v-dorozi .header__logo img,
.v-nayavnosti .header__logo img,
.privacy-policy .header__logo img {
  filter: invert(1);
}
body.blog .header__logo::before, body.blog .header__logo::after,
.archive .header__logo::before,
.archive .header__logo::after,
.error404 .header__logo::before,
.error404 .header__logo::after,
.post-type-archive-cars .header__logo::before,
.post-type-archive-cars .header__logo::after,
.v-dorozi .header__logo::before,
.v-dorozi .header__logo::after,
.v-nayavnosti .header__logo::before,
.v-nayavnosti .header__logo::after,
.privacy-policy .header__logo::before,
.privacy-policy .header__logo::after {
  display: none;
}
body.blog .header .link-standart,
.archive .header .link-standart,
.error404 .header .link-standart,
.post-type-archive-cars .header .link-standart,
.v-dorozi .header .link-standart,
.v-nayavnosti .header .link-standart,
.privacy-policy .header .link-standart {
  color: #111111;
}
body.blog .header .link-standart:hover,
.archive .header .link-standart:hover,
.error404 .header .link-standart:hover,
.post-type-archive-cars .header .link-standart:hover,
.v-dorozi .header .link-standart:hover,
.v-nayavnosti .header .link-standart:hover,
.privacy-policy .header .link-standart:hover {
  color: #66C8CE;
}

body.author .header,
body.blog .header {
  position: relative;
}

.error404 .header {
  position: fixed;
  box-shadow: 0px 1px 8px -1px rgba(16, 18, 52, 0.12);
}
