/* Search Input */
.header__search {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100vw;
  -webkit-transform: translate(0, -130%);
      -ms-transform: translate(0, -130%);
          transform: translate(0, -130%);
  z-index: 1;
  -webkit-transition: -webkit-transform .6s;
  transition: -webkit-transform .6s;
  -o-transition:  transform .6s;
  transition: transform .6s;
  transition: transform .6s, -webkit-transform .6s;
}
.header__search.active{
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
          transform: translate(0, 0);
  height: 100vh;
} 
.header__search .hs-search-field__bar-container {
  padding-top: 56px;
  padding-bottom: 56px;
  -webkit-box-shadow: 0 5px 10px 0 rgb(0 0 0 / 10%);
          box-shadow: 0 5px 10px 0 rgb(0 0 0 / 10%);
  z-index: 8;
  position: relative;
  background: #ffffff;
  -webkit-transition: padding .3s;
  -o-transition: padding .3s;
  transition: padding .3s;
}
.hs-search-field--open .hs-search-field__bar-container {  
  padding-bottom: 15px;
}
.header__search .hs-search-field__bar input.hs-search-field__input {
  border: 1px solid rgba(196,196,196,1) !important;
  height: 60px;
  width: 100%;
  border-radius: 30px !important;
  padding-left: 64px;
}
.header__search-button,
.header__close-button{
  background: none;
  border: 0;
  width: 26px;
  height: 26px;
  position: absolute;
  cursor: pointer;
  top: calc((50% + 42px)/2 + 8px);
  -webkit-transition: top .3s;
  -o-transition: top .3s;
  transition: top .3s;
}
.hs-search-field--open .header__search-button,
.hs-search-field--open .header__close-button{
  top: calc((50% + 30px)/2 + 16px);
}
.header__search-button{
  left: calc((100vw - 1120px)/2 + 32px);  
}
.header__close-button{
  right: calc((100vw - 1120px)/2 + 32px);
}
.header__search .hs-search-field__suggestions-container {
  display: none;
  padding-top: 30px;
  height: calc(100vh - 100px);
  position: relative;
  background: #ffffff;
}
.hs-search-field--open .hs-search-field__suggestions-container{
  display: block;
}


.hs-search-field--open .hs-search-field__suggestions {
/*   border: 1px solid #000; */
}
.header__search .hs-search-field__suggestions li {
  display: block;
  margin: 0;
  padding: 0;
}
.header__search .hs-search-field__suggestions #results-for {
  margin-bottom: 24px;
}
.header__search .hs-search-field__suggestions a,
.header__search .hs-search-field__suggestions #results-for {
  display: block;
  text-decoration: none;
}
.header__search .hs-search-field__suggestions a:hover,
.header__search .hs-search-field__suggestions a:focus {
  outline: none;
}

.header__search-button-open {
  width: 26px;
  height: 26px;
  background: none;
  border: 0;
  text-align: center;
  cursor: pointer;
}
.header__search-button-open>img{
  pointer-events: none;
}
/* End Search Input */

.header{
  position: fixed;
  width: 100vw;
  z-index: 11;
}
.header:before {
  content:"";
  position:absolute;
  z-index:-1;  
  background: var(--whiteTransparent);
/*   -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px); */
  top:0;
  left:0;
  right:0;
  bottom:0;
}
.header.blur:before{
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header__top{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}
.header__top:after{
  content: "";
  position: absolute;
  bottom: 0;
  left: calc((100vw - 1120px)/2 * -1);
  width: 100vw;
  height: 1px;
  background: var(--lightGrey);
}
.header__top-left{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  max-width: 100%;
  width: 100%;
  overflow: hidden;
}
.header__top-right{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  margin-left: 32px;
}
.header__mail{    
  display: inline-block;
  margin-right: 32px;
  margin-bottom: 0;
  text-decoration: underline;
}

.header__mail:last-child{
  margin-right: 0;
}
.header__bottom{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 26px;
  padding-bottom: 26px;
}
.header__bottom-left,
.header__bottom-right,
.header .hs-menu-wrapper>ul{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__bottom-left{
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}
.header__burger-btn, 
.header__mobile-tel{
  display: none;
}
.header__logo{
  display: block;
  margin-right: 64px;
}
.header .hs-menu-wrapper>ul{
  list-style: none;
  position: relative;
}
.header__menu{
  padding-bottom: 7.5px
}
.header__mobile-menu{
  display: none;
}
.header .hs-menu-item{
  margin-right: 30px;
  position: relative;
}
.header .hs-menu-depth-1 {
  position: relative;
  margin-bottom: 0;
}
.header .hs-menu-depth-1:before {
  content: "";
  background: #C6C6C6;
  width: 100%;
  height: 1px;
  position: absolute;
  top: calc(-14px - 11px/2);
  right: 0;
}
.header .hs-menu-depth-1:first-child:before {
  right: -54%;
}
.header .hs-menu-depth-1:last-child:before {
  right: 50%;
      right: 50%;
    width: 52%;
}
.header .hs-menu-depth-1:after {
  content: "";
  background: #FFFFFF;
  border: 1px solid #C6C6C6;
  border-radius: 50%;
  width: 11px;
  height: 11px;
  position: absolute;
  top: -25px;
  left: calc(50% - 11px/2);
}
.header .hs-menu-item:last-children{
  margin-right: 0;
}
.header .hs-menu-item a{  
  position: relative;
  text-decoration: none;
  font-weight: 400;
  font-size: var(--fontSize2XS);
  line-height: var(--fontSizeXL);
}
.header .hs-item-has-children > a{
  padding-right: 13px;
  -webkit-transition-delay: .7s;
       -o-transition-delay: .7s;
          transition-delay: .7s;
}
.header .hs-item-has-children > a:after {
  content: url(https://25564760.fs1.hubspotusercontent-eu1.net/hubfs/25564760/DataRu/icons/arrow-down-black.svg);
  line-height: 0;
  position: absolute;
  top: calc(50% - 3px);
  right: 0;
  -webkit-transition: -webkit-transform .2s, -webkit-filter .2s;
  transition: -webkit-transform .2s, -webkit-filter .2s;
  -o-transition: transform .2s, filter .2s;
  transition: transform .2s, filter .2s;
  transition: transform .2s, filter .2s, -webkit-transform .2s, -webkit-filter .2s;
  -webkit-transition-delay: .7s;
       -o-transition-delay: .7s;
          transition-delay: .7s;
}
.header .hs-menu-depth-1>a:hover,
.header .hs-menu-depth-1>a:focus,
.header .hs-menu-depth-1>a:active{
  color: var(--accentColor);
  -webkit-transition-delay: .1s;
       -o-transition-delay: .1s;
          transition-delay: .1s;
}
.header .hs-item-has-children > a:hover:after,
.header .hs-item-has-children > a:focus:after,
.header .hs-item-has-children > a:active:after{
  -webkit-filter: invert(21%) sepia(78%) saturate(2862%) hue-rotate(190deg) brightness(104%) contrast(99%);
          filter: invert(21%) sepia(78%) saturate(2862%) hue-rotate(190deg) brightness(104%) contrast(99%);
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
  -webkit-transition-delay: .1s;
       -o-transition-delay: .1s;
          transition-delay: .1s;
}
.header .hs-menu-item > a:before {
  content: "";
  line-height: 0;
  width: 7px;
  height: 7px;
  background: #016FBE;
  border-radius: 50%;
  position: absolute;
  top: -26px;
  right: calc(50% - 7px/2);
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .2s, visibility .2s;
  -o-transition: opacity .2s, visibility .2s;
  transition: opacity .2s, visibility .2s;
}
.header .hs-menu-item > a:hover:before,
.header .hs-menu-item > a:focus:before,
.header .hs-menu-item > a:active:before {
  opacity: 1;
  visibility: visible;
}
.header .hs-menu-children-wrapper{
  opacity: 0;
  visibility: hidden;
  list-style: none;
  position: absolute;
  padding: 16px 24px;
  background: var(--whiteTransparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  top: 62px;
  right: calc(50% - 250px/2);  
  width: 250px;
  border-radius: 0px 0px 20px 20px;
  -webkit-transition: opacity .2s, visibility .2s;
  -o-transition: opacity .2s, visibility .2s;
  transition: opacity .2s, visibility .2s;
  -webkit-transition-delay: .7s;
       -o-transition-delay: .7s;
          transition-delay: .7s;
}
.header .hs-item-has-children:hover>.hs-menu-children-wrapper{
  opacity: 1;
  visibility: visible;
  -webkit-transition-delay: .1s;
       -o-transition-delay: .1s;
          transition-delay: .1s;
}

.header .hs-menu-children-wrapper li{
  margin-bottom: 16px;
  margin-right: 0;
  padding-left: 21px;
}
.header .hs-menu-children-wrapper li.hs-menu-depth-2:after {
  content: "";
  background: #FFFFFF;
  border: 1px solid #C6C6C6;
  border-radius: 50%;
  width: 11px;
  height: 11px;
  position: absolute;
  top: calc(50% - 11px/2);
  left: 0;
}
.header .hs-menu-children-wrapper li.hs-menu-depth-2 > a:before{
  left: calc(-7px - 10px - 2px);
  top: calc(50% - 7px/2);
}
.header .hs-menu-children-wrapper li:last-child{
  margin-bottom: 0;
}

.header__tel{
  text-decoration: none;
  margin-bottom: 0;
}
.button.header__consultation{
  margin-left: 32px;
  padding: 19px 29px;
}


@media (max-width: 1152px){
  .header__search{
    top: 0 !important;
  }
  
  
  .header{
    top: 0 !important;
  }
  .header:before {
    width: 100vw;
    height: 80px;
  }
  .header__logo{
    max-height: 60px;
  }
  .header__burger-btn {
    display: block;
    width: 28px;
    height: 19px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
  }
  .header__burger-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--accentColor);
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
  }
  .header__burger-btn span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
  }
  .header__burger-btn span:nth-child(2) {
    top: 8px;
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
  }
  .header__burger-btn span:nth-child(3) {
    top: 16px;
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
  }
  .header__burger-btn.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 0px;
    left: 0px;
  }
  .header__burger-btn.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }
  .header__burger-btn.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 20px;
    left: 0px;
  }
  .header__top,
  .header__menu,
  .header__bottom-right{
    display: none;
  }
  .header__menu--mob{
    display: block;
    padding: 0;
  }
  .header__bottom{
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .header__mobile-menu {
    background: #ffffff;
    width: 100vw;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translate(0, -160%);
        -ms-transform: translate(0, -160%);
            transform: translate(0, -160%);
    -webkit-transition: visibility .6s, opacity .6s, -webkit-transform .6s;
    transition: visibility .6s, opacity .6s, -webkit-transform .6s;
    -o-transition: transform .6s, visibility .6s, opacity .6s;
    transition: transform .6s, visibility .6s, opacity .6s;
    transition: transform .6s, visibility .6s, opacity .6s, -webkit-transform .6s;
    position: absolute;
    display: block;
    z-index: -1;
  }
  .header__mobile-menu.open {
    opacity: 1;
    visibility: visible;
    padding-top: 64px;
    padding-bottom: 64px;
    height: calc(100vh - 80px);
    overflow-y: scroll;
    -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
            transform: translate(0, 0);
    -webkit-transition: visibility .6s, opacity .6s, -webkit-transform .6s;
    transition: visibility .6s, opacity .6s, -webkit-transform .6s;
    -o-transition: transform .6s, visibility .6s, opacity .6s;
    transition: transform .6s, visibility .6s, opacity .6s;
    transition: transform .6s, visibility .6s, opacity .6s, -webkit-transform .6s;
  }
  .header .hs-menu-wrapper>ul{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .header .hs-menu-item{
    margin-right: 0;
    margin-bottom: 24px;
    text-align: center;
  }
  .header .hs-menu-item:last-child{
    margin-bottom: 0;
  }
  .header .hs-menu-item a{
    font-size: var(--fontSize3XS);
    line-height: var(--fontSizeM);
    -webkit-transition-delay: 0s !important;
    -o-transition-delay: 0s !important;
    transition-delay: 0s !important;
  }
  .header .hs-item-has-children > a:after{
    -webkit-transition-delay: 0s !important;
    -o-transition-delay: 0s !important;
    transition-delay: 0s !important;    
  }
  .header .hs-menu-depth-1:before,  
  .header .hs-menu-depth-1:after,
  .header .hs-menu-item > a:before,
  .header .hs-menu-children-wrapper li.hs-menu-depth-2:after{
    content: none;
  }
  .header__mobile-menu .hs-menu-children-wrapper{
    width: 100%;
    position: relative;
    padding: 0;
    top: 0;
    left: 0;
    text-align: center;    
    height: 0;
    opacity: 0;
    visibility: hidden;    
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;    
    -webkit-transition-duration: 0s;    
         -o-transition-duration: 0s;    
            transition-duration: 0s;
  }
  .header .hs-item-has-children:hover>.hs-menu-children-wrapper{
    height: auto;    
    margin-top: 12px;
    -webkit-transition-delay: 0s;
    -o-transition-delay: 0s;
    transition-delay: 0s;   
  }
  .header__mobile-menu .hs-menu-children-wrapper li{
    padding: 0;
    margin-bottom: 8px;
  }
  .header__mobile-menu-socials {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 24px;
    margin-top: 48px;
  }
  .header__mobile-menu-social{
    display: block;
    width: 32px;
    height: 32px;
    color: transparent;
    background-color: var(--grey);
    margin: 0;
    -webkit-transition: background-color .2s;
    -o-transition: background-color .2s;
    transition: background-color .2s;
  }
  .header__mobile-menu-social:hover{
    background-color: var(--accentColor);    
  }
  
  
  .header__mobile-menu-text{
    margin-top: 48px;
  }
}

@media (max-width: 767px){

  .header__mobile-tel{
    display: block;
  }
  .header__bottom-right {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .header__tel,
  .header__consultation{
    display: none;
  }
  .header__bottom.open .header__tel,
  .header__bottom.open .header__consultation{
    display: block;
    margin-left: 0;
  }
  .header__bottom.open .header__consultation{
    margin-top: 16px;
  }
  .header__bottom.open .header__mobile-tel{
    display: none;
  }
  .header__bottom-right>* {
    margin-bottom: 8px;
  }
  .header__bottom-right>*:last-child {
    margin-bottom: 0;
  }
  .header__consultation{
    margin: 0;
  }
  
}