/* global */

.header__wrapper.mobile-header {
  display: none !important;
}
@media (max-width: 992px) {
  .header__wrapper.desktop-header {
    display: none;
  }
  .header__wrapper.mobile-header {
    display: flex !important;
    flex-direction: column;
  }
}

header.main-header {
  padding: 0px;
border-bottom: 1px solid rgba(0, 0, 0, 0.14);
box-shadow: none!important;
 
}
header.main-header > div {
  width: 100%;
}
body:has(.big-menu) .main-header.old,
.main-header.old,
.main-header.old {
  display: none;
}
body:has(.big-menu) .main-header.new-header,
.main-header.new-header,
.main-header.new-header {
  display: flex !important;
  height: 162px !important; 
}
@media (max-width: 992px) {
  body:has(.big-menu) .main-header.new-header,
  .main-header.new-header,
  .main-header.new-header {
    display: flex !important;
    height: 80px !important; /* zmienić globals żeby body oofset miało 159*/
  }
}
body:has(.big-menu) .body-container-wrapper,
body .body-container-wrapper,
body .body-container-wrapper {
  padding-top: 159px;
}
@media (max-width: 992px) {
  body:has(.big-menu) .body-container-wrapper,
  body .body-container-wrapper {
    padding-top: 80px;
  }
}

.search--inner.hide {
  opacity: 0;
}
.header-bar {
  transition: all 0.3s;
}
.header-bar.scrolled-out--bar {
  position: fixed;
  top: -57px;
  z-index: 9997;
}
@media (max-width: 992px) {
  .header-bar.scrolled-out--bar {
    position: fixed;
    top: 0px;
    z-index: 9997;
  }
}
.header-bar.scrolled-out {
  position: fixed;
  top: -160px;
  z-index: 9997;
}
header.main-header .container {
  width: min(100% - 2 * var(--container-padding), var(--container-max-width));
  margin-inline: auto;
}
.header__wrapper .container {
  padding: 20px 0 0px !important;

}
.header__wrapper .top-bar{

    .container {
        padding: 0px 0 0px !important;
    }
}
.header__wrapper .top-bar {
  
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  opacity: 0;
  transition: all 0.1s;
}
.header__wrapper .top-bar.active {
  opacity: 1;
}

.header__wrapper .top-bar{
      position: relative;
  z-index: 3;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}
.header__wrapper--main {
  position: relative;
  z-index: 3;
  background: white;

}

.header__wrapper .search_wrapper {
  position: absolute;
  top: 160px;
  width: 100%;
  height: 500px;
  background: #f0f3f4;
  top: -800px;
  padding: 50px 0px;
  transition: all 0.4s;
  z-index: 2;
}
.header__wrapper .search_wrapper.active {
  display: flex;
  flex-direction: column;
  top: 159px;
}
.header__wrapper .top-bar__main {
 display: flex;
    height: 60px;
    gap: 51px;
}
.header__wrapper .top-bar__main .top-search {
  cursor: pointer;
  padding-top: 24px;
    padding-bottom: 10px;
    
}
.header__wrapper .top-bar__main .top-search  .icon-wrapper{
   width: 20px!important;
   height: 20px!important;
   display: flex;
   align-items: center;
   justify-content: center;
   svg{
    width: 17px!important;
   }
}
.header__wrapper .top-menu ul {
  display: flex;
  flex-direction: row;
  
  height: 60px;
}
.header__wrapper .top-menu {
    display: flex;
}
.header__wrapper .top-menu ul li {
  transition: all 0.3s;
}
.header__wrapper .top-menu ul li a {
  color: #000;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px; 

  text-decoration: none;
  transition: all 0.3s;


  display: flex;
    align-items: center;
    padding-inline: 30px;
    padding-top: 24px;
    padding-bottom: 10px;
    height: 100%;
}
.header__wrapper .top-menu ul li a:hover {
  color: #009fe3;
  background-color: #f0f3f4;
}

/* logo */
.header__wrapper--main__inner {

  position: relative;
}
.header__wrapper--main__inner .logo {
  width: 150px;
  height: 80px;
  display: flex;
  align-items: end;
  > span{
    height: 69.5px;
  }
  a{
    display: block;
  
  }
  img{
    margin-bottom: 4.5px; 
  }
}
/* menu */
.header__wrapper--main .second-level {
  display: none;
  position: absolute;
  top: 81px;
  left: -30px;
  width: calc(100% + 30px);
  background: #fff;
}
.header__wrapper--main .second-level::before {
  content: '';
  height: 100%;
  width: 100vw;
  background-color: white;
  display: block;
  position: absolute;
  left: -100vw;
}
.header__wrapper--main .menu {
  margin-left: -30px;
}
.header__wrapper--main .menu-item {
//   height: 80px;
//   display: flex;
//   align-items: center;

//   padding-inline: 30px;
//   transition: color 0.3s ease;
}
.header__wrapper--main .menu-item:hover {
  background: #f0f3f4;
}
.header__wrapper--main .menu-item:hover .menu-item--first-level {
  color: #009fe3;
}
.header__wrapper--main .menu-item:hover .second-level {
  display: flex;
}
.header__wrapper--main .menu-item .menu-item--first-level {
  color: #000;
//   font-size: 18px;
//   font-style: normal;
//   font-weight: 400;
//   line-height: 27px; 
//   letter-spacing: 0.36px;
  text-decoration: none;
  transition: all 0.3s;
//   height: 80px;
//   display: flex;
//   align-items: center;

  display: flex;
  align-items: center;
  padding-inline: 30px;
  height: 80px;
  font-size: 18px;
  line-height: 26px;
  width: 101%;
}
.header__wrapper--main .second-level {
  padding: 0px 30px 92px 30px;
  gap: 30px;
}
.header__wrapper--main .second-level .menu-name {
  font-weight: 700;
  margin: 0px;
  color: #009fe3;
  margin-top: 30px;
}
.header__wrapper--main .second-level__inner {
  gap: 30px 58px;
}
.header__wrapper--main .second-level__inner .menu_group {
  width: calc(25% - 44px);
}
.header__wrapper--main .second-level__inner .menu_group > a {
  font-size: 24px;
  font-weight: 300!important;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
  width: 100%;
  text-decoration: none;
  transition: all 0.3s;
  font-family: 'Frutiger LT Std', sans-serif !important;
 
  color: #000 !important;
}
.header__wrapper--main .second-level__inner .menu_group > a:hover {
  color: #009fe3;
}
.header__wrapper--main .second-level__inner .menu_group .third-level a {
  padding: 10px 0px;
  border-bottom: 1px solid #e6e6e6;
  font-weight: 300!important;
  font-size: 17px;
  text-decoration: none;
  transition: all 0.3s;
  color: #000;
  
}
.header__wrapper--main .second-level__inner .menu_group .third-level a:hover {
  color: #009fe3;
}

/* search */
.header__wrapper .search_wrapper {
  justify-content: space-between;
}
.header__wrapper .search_wrapper .h4 {
  margin-left: 30px;
  font-size: 45px;
  line-height: 50px;
}
.header__wrapper .search_wrapper form {
  position: relative;
  border-bottom: 1px solid #e6e6e6;
}
.header__wrapper .search--inner {
  max-width: 1028px;
}
.header__wrapper .search--inner .hs_cos_wrapper,
.header__wrapper .search--inner .hs-search-field,
.header__wrapper .search--inner .hs-search-field__bar,
.header__wrapper .search--inner .hs-search-field__form {
  width: 100%;
}

.header__wrapper .search--inner .hs-search-field__input {
  border: unset;
  font-size: 45px;
  line-height: 50px;
  outline: unset;
  font-weight: 300;
  background: transparent;
  font-family: 'Frutiger LT Std', sans-serif !important;
  ::-webkit-input-placeholder,
  ::placeholder {
    font-family: 'Frutiger LT Std', sans-serif !important;
    font-weight: 300 !important;
  }
}
.header__wrapper .search--inner input::placeholder {
  font-family: 'Frutiger LT Std', sans-serif !important;
  font-weight: 300 !important;
}
.header__wrapper .search_wrapper form .hs-search-field__button {
  position: absolute;
  right: 16px;
  top: 14px;
  background: transparent;
  border: none;
  padding: 0px;
}
.header__wrapper .search_wrapper form .hs-search-field__button::before {
  content: '';
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none"><path d="M17 17L12.3806 12.3806M12.3806 12.3806C13.6309 11.1304 14.3333 9.43473 14.3333 7.66663C14.3333 5.89853 13.6309 4.20285 12.3806 2.95261C11.1304 1.70237 9.43473 1 7.66663 1C5.89853 1 4.20285 1.70237 2.95261 2.95261C1.70237 4.20285 1 5.89853 1 7.66663C1 9.43473 1.70237 11.1304 2.95261 12.3806C4.20285 13.6309 5.89853 14.3333 7.66663 14.3333C9.43473 14.3333 11.1304 13.6309 12.3806 12.3806Z" stroke="black" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  display: block;
  width: 45px;
  height: 45px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5;
}
.header__wrapper .search_wrapper form .hs-search-field__button .hs_cos_wrapper_type_icon {
  display: none;
}

input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration,
input[type='search']::-webkit-search-results-button,
input[type='search']::-webkit-search-results-decoration {
  display: none;
}

/* mobile menu */

.header__wrapper.mobile-header {
  position: relative;
}
.header__wrapper.mobile-header .header__wrapper__top {
  padding: 0px 20px;
}
.header__wrapper.mobile-header .toggle {
  cursor: pointer;
  gap: 11px;
}
.header__wrapper.mobile-header .toggle span {
  display: block;
  width: 40px;
  height: 2px;
  position: relative;
  background: #000;
  transition: all 0.3s;
}
.header__wrapper.mobile-header.active .toggle .lt-1 {
  transform: rotate(45deg);
}
.header__wrapper.mobile-header.active .toggle .lt-3 {
  transform: rotate(-45deg);
  margin-top: -12px;
}
.header__wrapper.mobile-header.active .toggle .lt-2 {
  display: none;
}
.header__wrapper.mobile-header .header__wrapper__main {
  display: none;
}
.header__wrapper.mobile-header.active .header__wrapper__main {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px;
  left: 0px;
  width: 100%;
  min-height: calc(100vh - 70px);
  max-height: calc(100vh - 70px);
  background: white;
  overflow: scroll;
}
.header__wrapper.mobile-header .bar-menu,
.header__wrapper.mobile-header .main-menu {
  padding: 0px 20px;
  padding-top: 20px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}
.header__wrapper.mobile-header .bar-menu ul {
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.header__wrapper.mobile-header .bar-menu ul a {
  display: block;
  text-decoration: none;
  font-size: 19px;
  font-weight: 400;
  font-family: 'Frutiger LT Std', sans-serif !important;
  font-weight: 400 !important;
  color: #000 !important;
}
.header__wrapper.mobile-header .main-menu .second-level {
  display: none;
}
.header__wrapper.mobile-header .main-menu {
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.header__wrapper.mobile-header .main-menu .menu-item > a {
  text-decoration: none;
  font-size: 19px;
  font-weight: 400 !important;
  position: relative;
  margin-right: 20px;
  font-family: 'Frutiger LT Std', sans-serif !important;
  color: #000 !important;
}
.header__wrapper.mobile-header .main-menu .menu-item {
  position: relative;
}

.header__wrapper.mobile-header .main-menu .menu-item > svg {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 18px;
  height: 18px;
  z-index: 2;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.3s;
}
.header__wrapper.mobile-header .main-menu .menu-item.active > svg {
  transform: rotate(90deg);
}

.header__wrapper.mobile-header .main-menu .menu-item .third-level {
  display: none;
}

.header__wrapper.mobile-header .main-menu .menu-item.active .second-level {
  display: flex;
  background: #f0f3f4;
  margin-left: -20px;
  width: calc(100% + 40px);
  padding: 23px 20px 5px 60px;
  margin-top: 17px;
}
.header__wrapper.mobile-header .main-menu .menu-item.active .second-level .second-level__inner {
  gap: 16px;
}
.header__wrapper.mobile-header .main-menu .menu-item.active .second-level .menu_group > a {
  text-decoration: none;
  font-size: 24px;
  color: #000 !important;
  font-weight: 300;
  margin-bottom: 18px;
  font-family: 'Frutiger LT Std', sans-serif !important;
  font-weight: 300 !important;
}
.header__wrapper.mobile-header .main-menu .menu-item.active .second-level .menu_group {
  position: relative;
}

.header__wrapper.mobile-header .main-menu .menu-item.active .second-level .menu_group > svg {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 24px;
  height: 24px;
  z-index: 2;
  opacity: 0.4;
  cursor: pointer;
  transition: all 0.3s;
}
.header__wrapper.mobile-header .main-menu .menu-item.active .second-level .menu_group.active > svg {
  transform: rotate(90deg);
}

.header__wrapper.mobile-header .main-menu .menu-item.active .second-level .menu_group.active .third-level {
  display: flex;
  background: white;
  margin-left: -60px;
  width: calc(100% + 80px);
  padding-top: 17px;
  padding-left: 60px;
  padding-bottom: 10px;
}
.header__wrapper.mobile-header .main-menu .menu-item.active .second-level .menu_group.active .third-level a {
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  margin-right: 40px;
  padding: 17px 0px;
}
.header__wrapper.mobile-header .main-menu .menu-item.active .second-level .menu_group.active .third-level a:last-of-type {
  border-bottom: unset;
}

/* mobile search */
.header__wrapper.mobile-header .search-mobile form {
  padding-top: 20px;
  padding-bottom: 100px;
}

.header__wrapper.mobile-header .search-mobile .hs-search-field__input {
  padding: 0px;
}

.header__wrapper.mobile-header .search-mobile .hs-search-field__input {
  border: unset;
  font-size: 45px;
  line-height: 50px;
  outline: unset;
  background: transparent;
  appearance: auto;
  min-width: 100%;
  position: relative;
  height: 50px;
  font-size: 16px;
}
.header__wrapper.mobile-header .search-mobile form .hs-search-field__button {
  position: absolute;
  right: 0px;
  top: 28px;
  background: transparent;
  border: none;
  padding: 0px;
}
.header__wrapper.mobile-header .search-mobile form .hs-search-field__button::before {
  content: '';
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none"><path d="M17 17L12.3806 12.3806M12.3806 12.3806C13.6309 11.1304 14.3333 9.43473 14.3333 7.66663C14.3333 5.89853 13.6309 4.20285 12.3806 2.95261C11.1304 1.70237 9.43473 1 7.66663 1C5.89853 1 4.20285 1.70237 2.95261 2.95261C1.70237 4.20285 1 5.89853 1 7.66663C1 9.43473 1.70237 11.1304 2.95261 12.3806C4.20285 13.6309 5.89853 14.3333 7.66663 14.3333C9.43473 14.3333 11.1304 13.6309 12.3806 12.3806Z" stroke="black" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  display: block;
  width: 30px;
  height: 30px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.5;
}
.header__wrapper.mobile-header .search-mobile form .hs-search-field__button .hs_cos_wrapper_type_icon {
  display: none;
}

.header__wrapper .top-menu ul li a,
.main-header .header__wrapper--main__inner a {
  font-family: 'Frutiger LT Std', sans-serif !important;
  font-weight: 400 !important;
}
