
header {
  padding-inline: 1.5rem;
  padding-top: 0;
  padding-bottom: 0;
  max-width: 128rem !important;
  margin: 0 auto;
}

#header {
  padding-inline: 0;
  z-index: 99 !important;
  position: relative;
}


#header .logo{
  z-index: 2;
}




.mega-menu{
  z-index: 30;
}


.max-mega-menu{
  z-index: 30;
}


.mega-menu-horizontal{
  z-index: 30;
}


header .logo {
  position: relative;
  top: 1rem;
  z-index: 100;
}
header .navbar {
  position: relative;
  padding-top: 0;
}

header #mega-menu-wrap-main-menu {
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
}



header .header__top {
  display: -ms-grid;
  display: grid;
  grid-auto-flow: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 3.2rem;
  padding-bottom: 3.8rem;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
}

header .header__social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.7rem;
}

header .header__top ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2.8rem;

  list-style-type: none;
  margin-left: auto;
  margin: 0;
}
/* wpml */
.wpml-ls-legacy-dropdown {
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
}

.wpml-ls-native::before{
  content: url('/wp-content/uploads/2023/06/planet.svg');
  padding-right: 10px;

}

.wpml-ls-current-language:hover > a {
  color: var(--clr-primary) !important;
  background: inherit !important;
}

.wpml-ls-legacy-dropdown a:focus{
  color: var(--clr-white) !important;
  background: var(--clr-primary) !important;
}

.wpml-ls-legacy-dropdown a:hover {
  color: var(--clr-white) !important;
  background: var(--clr-primary) !important;
}


.wpml-ls-legacy-dropdown a:hover{
  background-color: var(--clr-primary) !important;
}


 .wpml-ls-native::before {
  content: url('/wp-content/uploads/2023/06/planet.svg');

}

.wpml-ls-current-language:hover > a  .wpml-ls-native::before {
  content: url('/wp-content/uploads/2023/06/planet.svg');

}





.wpml-ls-current-language:hover .wpml-ls-native::before {
  content: url('/wp-content/uploads/2023/06/planet.svg') !important;
}



.wpml-ls-sub-menu:hover .wpml-ls-native::before {
  content: url('/wp-content/uploads/2023/06/planet-white2.svg') !important;
}




.wpml-ls-legacy-dropdown .wpml-ls-item{
  width: 100%;
}



.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle::after {
display: none;
}


.wpml-ls-legacy-dropdown a{
  border: none;
}


.wpml-ls-current-language:active  .wpml-ls-native::before{
  content: url('/wp-content/uploads/2023/06/planet.svg');
}




.wpml-ls-native > a ::before {
  content: url('/wp-content/uploads/2023/06/planet-white2.svg') !important;
}




.wpml-ls-item-toggle:hover > a .wpml-ls-native::before{
  content: url('/wp-content/uploads/2023/06/planet-white2.svg') !important;
}


.wpml-ls-native::before  .wpml-ls-current-language:hover > a {
  content: url('/wp-content/uploads/2023/06/planet.svg') !important;
}

.wpml-ls-legacy-dropdown a > .wpml-ls-native::before{
  content: url('/wp-content/uploads/2023/06/planet.svg') !important;
}


.wpml-ls-native::before  .wpml-ls-current-language:focus > a {
  content: url('/wp-content/uploads/2023/06/planet.svg') !important;
}

.wpml-ls-current-language > a .wpml-ls-native::before{
  content: url('/wp-content/uploads/2023/06/planet.svg') !important;
}






/* language swither end */

@media (min-width: 992px) {



  header .logo {
    position: relative;
    top: revert;
    z-index:  100 !important;
  }
  header {
    padding-top: 2rem;
    /* padding-bottom: 3.4rem; */
  }
  #header {
    padding-inline: 0;
    z-index: 99 !important;
    position: relative;
  }
  header .navbar .navbar-brand {
    position: absolute;
    left: 0;
    top: -7rem; 
    z-index: 4;
  }

  /* move list elemenst on right side */
  header #mega-menu-wrap-main-menu {
    margin-left: auto;
    -webkit-box-ordinal-group: revert;
        -ms-flex-order: revert;
            order: revert;
    
  }


 



  header #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item {
    margin: 0 2.5rem 0 0;
    z-index: 34;
  }
  /* header
    #mega-menu-wrap-main-menu
    #mega-menu-main-menu
    > li.mega-menu-item:last-child {
    margin: 0;
  } */

}


  #mega-menu-wrap-main-menu #mega-menu-main-menu{
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  border-radius: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
  background: none;
  border: 0;
  bottom: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  clip: auto;
  color: #fff;
  display: block;
  float: none;
  font-family: inherit;
  font-size: 14px;
  height: auto;
  left: auto;
  line-height: 1.7;
  list-style-type: none;
  margin: 0;
  min-height: auto;
  max-height: none;
  min-width: auto;
  max-width: none;
  opacity: 1;
  outline: none;
  overflow: visible;
  padding: 0;
  position: relative;
  pointer-events: auto;
  right: auto;
  text-align: left;
  text-decoration: none;
  text-indent: 0;
  text-transform: none;
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
  top: auto;
  vertical-align: baseline;
  visibility: inherit;
  width: auto;
  word-wrap: break-word;
  white-space: normal;
  }

  



/* search */
.search-header {
  cursor: pointer;
}
.serach-holder {
  position: absolute;
  inset: 0;
  width: 100%;
  background: var(--clr-white);
  z-index: 9;
  opacity: 1;
  -webkit-transition: opacity 250ms ease-in-out;
  -o-transition: opacity 250ms ease-in-out;
  transition: opacity 250ms ease-in-out;
}

.serach-holder.hidden {
  opacity: 0;
  z-index: -1;
}

.serach-holder .search-close-btn {
  cursor: pointer;
}

.serach-holder .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: relative;
  top: 20rem;
}

.serach-holder .is-search-icon {
  border: none !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  background: white !important;
}

.serach-holder .is-form-style {
  width: 80%;
  margin: 0 auto;
  padding: 0 15px;
  position: absolute;
  left: 50%;
  top: 30%;
  -webkit-transform: translate(-50%, -30%);
      -ms-transform: translate(-50%, -30%);
          transform: translate(-50%, -30%);
  z-index: 3;
}

.serach-holder .is-form-style input.is-search-input {
  font-size: 1.5rem;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 1px solid var(--clr-gray);
  border-color: var(--clr-gray) !important;
}
.serach-holder .is-form-style input.is-search-input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.495) !important;
}
.serach-holder .is-form-style input.is-search-input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.495) !important;
}
.serach-holder .is-form-style input.is-search-input:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.495) !important;
}
.serach-holder .is-form-style input.is-search-input::-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.495) !important;
}
.serach-holder .is-form-style input.is-search-input::placeholder {
  color: rgba(255, 255, 255, 0.495) !important;
}
/* ajax  */

.is-ajax-search-result .is-ajax-search-post:hover {
  background: var(--clr-primary) !important;
  color: var(--clr-white) !important;
}

.is-ajax-search-result .is-ajax-search-post:hover .is-title a {
  color: var(--clr-white) !important;
}

div.is-ajax-search-details,
div.is-ajax-search-result {
  background: var(--clr-gray) !important;
}




@media (min-width: 1180px) {
  header #mega-menu-wrap-main-menu {
    padding: 0px 0px 0px 0px !important;
  }

  #mega-menu-wrap-main-menu #mega-menu-main-menu{
    padding-top: 20px !important;
  }


  #mega-menu-wrap-main-menu{
    z-index: 40;
  }
  
  
  #mega-menu-wrap-main-menu #mega-menu-main-menu{
    z-index: 40;
  }
  
  
  #mega-menu-wrap-main-menu #mega-menu-main-menu li.mega-menu-row{
    z-index: 40;
  }






  .search-header {
    cursor: pointer;
   
  }

  .serach-holder {
    
  }

  #mega-menu-wrap-main-menu #mega-menu-main-menu li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu ul.mega-sub-menu {
    visibility: inherit;
    opacity: 1;
    display: block;
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .mega-sub-menu{
    z-index: 90;
  }



  #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link {
    background: none !important;
  }




}





@media (max-width: 992px) {
  .search-header {
    padding: 1rem;
    border-radius: 50%;
    background: var(--clr-white);
    -webkit-box-shadow: var(--shadow);
            box-shadow: var(--shadow);
  }
}


@media (max-width: 767px) {

  .serach-holder {
    top: 139px;
  }


}
