#header {
  position: sticky;
  z-index: 1;
  /* margin-bottom: -55px; 231007 idenso.com */ 
  /*max-height: 80vw; 231013 ideso.com homeslider mobile view*/
}

#header .empty-header {
  height: 6em;
}
  
#header .header-link-container {
  font-size: var(--clFontSizeMediumPlusPlus);
  color: white;
  transition: 300ms;
}

#header .header-image-sub-title {
  font-weight: 800;
}

#menu-header ul a {
  font-weight: 400;
}

#header a:hover {
  cursor: pointer;
}

#header .header-info {
  text-shadow: 0px 3px 6px rgba(0, 0, 0, 0.23), 0px 10px 20px rgba(0, 0, 0, 0.16);
}

/* HEADER NAVBAR */
#nav-container h1 {
  margin: 0;
}

#nav-container a, #nav-container{
  letter-spacing: 1px;
  font-size: var(--clFontSizeSmallPlus);
}

#nav-container {  /* sticky navbar miatt csinaltam igy */
  position: absolute;
  z-index: 666;
  width: 100%;
  background-color: white;
  /*border-top: 1px solid #d6d6d6;*/
  border-bottom: 1px solid #d6d6d6;
  position: fixed;  
  /*max-width: 1920px;*/
  
}

#nav-container .logo {
  display: inline-flex;
}

#nav-container .logo_href {
  display: flex;
  justify-content: center;
}

#nav-container .nav-inner-container {
  margin: 0px auto;
  padding: min(0.5%, 5px) 6% min(0.5%, 5px) 4%;
  height: 70px;
  transition: 400ms;
  box-shadow: 3px 9px 13px -11px grey;
}

#nav-container .nav-with-phone-number, #nav-container .logo, #nav-container .logo img, #nav-container .logo svg {
  height: 100%;
}

#nav-container .logo img, #nav-container .logo svg {
  width: auto;
  max-width: 150px;  /*it is needed because of js resize when scrolling*/
  max-height: 100%; /*it is needed because of js resize when scrolling*/
  margin: auto;
}

#nav-container .nav-with-phone-number {
  float:  right;
  display: inline-flex;
}

#menu-container {
  height: 100%;
}

#menu-header {
  margin: 0px;
  height: 100%;
  padding-left: 0;
  display: flex;
  gap: 20px;
}

#menu-header li.menu-item-has-children a:after, #menu-header-mobile li.menu-item-has-children a:after{
  content: "\00BB";
  padding-left: 5px;
}

#menu-header li:not(.menu-item-has-children ) a:after {
  content: "";
  padding-left: 0;
}

#menu-header ul, #menu-header ul ul {
  padding: 0;
  position: absolute;
  background: linear-gradient( 180deg, #ffffff 5.14%, rgb(243 243 243) 60.00%);
  border-bottom:  10px solid #29c2de;
  opacity: 0;
  transition: 300ms;
  transition-delay: 200ms;
  box-shadow: 0 10px 14px -10px black;
  min-width:200px;
  visibility: hidden;
  z-index: 100;
  text-align: center;
}

#menu-header ul ul {
  left: 100%;
  top: 0;
}

#menu-header ul a {
  padding: 1vw 0.5vw;
  transition: 0ms;
}

#menu-header ul ul a {
  padding: 0.7vw 0.5vw;
}

#menu-header li {
  display: inline-block;
  position: relative;
  height: 100%;
}

#menu-header ul li {
  display: block;
}
#menu-header li:hover ul ul {
  opacity: 0%;
}

#menu-header li:hover ul, #menu-header li ul li:hover ul  {
  display: block;
  opacity:  100%;
  visibility: visible;
}

#menu-header li:hover ul {
  z-index: 101;
}

#menu-header li ul li:hover ul  {
  z-index: 102;
}

#menu-header a, #menu-header-mobile a { 
  opacity: 0.8;
  padding: 0 15px;
  height: 100%;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}

#quote-switch {
  /* csak oldalt elhelyezkedo verzio
  position: absolute;
  right: 0;
  top: 17vw;
  width: 100px;
  z-index: 4444;
  padding: 1% 3%;
  */
  
  /*menuben integralt verzio*/
  margin: auto;
  margin-left: 15px;
  /*margin-left: 60px;*/
  cursor: pointer;
  
}

#quote-switch .switch-content {
  width: 100%;
}

#quote-switch .switch-content a {
  color: white;
}

#menu-header li.highlighted a, #quote-switch .switch-content {
  color: white;
  border-radius: 50px;
  padding: 17% 24%;
}

#menu-header li.highlighted a {
  height: auto;
}

#menu-header [aria-current]:not([aria-current="false"]), #menu-header a:hover, #menu-header-mobile [aria-current]:not([aria-current="false"]), #menu-header-mobile a:hover {
  opacity: 1;
}

#menu-header [aria-current]:not([aria-current="false"]), #menu-header-mobile [aria-current]:not([aria-current="false"]) {
}

#menu-header a:hover, #menu-header-mobile a:hover {
}

#menu-header li.highlighted [aria-current]:not([aria-current="false"]), #menu-header li.highlighted a:hover, #quote-switch .switch-content:hover{
}

/* MENU TOGGLER */

#toggle {
  display: none;
  width: 27px;
  height: 23px;
  position: absolute;
  right: 5%;
  margin: 0px auto;
  cursor: pointer;
  transition: 400ms;
  top: 50%;
  transform: translateY(-50%);
  
}

#toggle div {
  margin-top: 3px;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #776C82;
  border-radius: 3px;
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#toggle div.one {
  top: 0;
}

#toggle div.two {
  top: 8px;
}

#toggle div.three {
  top: 16px;
  width: 66%;
  left: 33%;
}

#mobile-navmenu-container a {
  font-size: var(--clFontSizeSmallPlus);
}

#mobile-navmenu-container a {
  font-weight: 600;
}

#quote-switch-mobile {
  display: none;
}

#menu-header-mobile {
  visibility: hidden;
  position: fixed;
  top: 70px;
  right: -15vw;
  background: linear-gradient( 180deg, #ffffff 5.14%, rgb(243 243 243) 55.28%);
  border-bottom-left-radius: 66px;
  border-top-left-radius: 36px;
  box-shadow: 97px 12px 0px #1e9bae;
  border-left: 5px solid #29c2de;
  border-bottom: 10px solid #29c2de;
  border-top: 5px solid #29c2de;
  transition: 400ms;
  height: auto;
  padding: 37px;
  padding-top: 10px;
  min-width: 200px;
  max-width: 100%;
  pointer-events: none;
  z-index: 11;
  opacity: 0;
}

#menu-header-mobile li {
  transition-delay: 0ms !important;
  padding-bottom: 0;
  display: flex;
  border-bottom: 1px solid #C9C9C9;
  margin: 0;
  position: relative;
}

#menu-header-mobile li:last-of-type {
  border-bottom: none;
}

#menu-header-mobile li a {
  font-size: large;
  line-height: initial;
  height: 45px;
  width:  100%;
  padding: 0.8vw;
}

#menu-header-mobile .sub-menu {
  position: absolute;
  pointer-events: none;
  top: 45px;
  left: 5%;
  opacity: 0;
  visibility: hidden;
  padding: 0;
  transition: all 150ms ease 0s;
  transition-delay: 0ms;
  z-index: 9999;
  width: 100%;
  text-align: left;
}

#menu-header-mobile .sub-menu li {
  border-bottom: 0;
  background-color: transparent;
  display: flex;
  flex-wrap: wrap;
  transition: 600ms;
}

#menu-header-mobile .sub-menu li.menu-item-has-children a:after {
  content: "";
  padding-left: 0;
}

#menu-header-mobile .sub-menu ul, #menu-header-mobile li:hover .sub-menu ul {
  display: none !important;
  visibility: hidden !important;
  z-index: -1;
  opacity: 0% !important;
}

#menu-header-mobile .sub-menu li a {
  height: auto;
  min-height: 20px;
  padding: 1vw;
  font-size: var(--clFontSizeSmallPlus);
  font-weight: 400;
  display: block;
}

#menu-header-mobile .sub-menu a:after {
  display: none;
}

#mobile-nav-container a, #mobile-nav-container {
  font-size: var(--clFontSizeNormal);
}

#mobile-nav-container .phone-container {
  padding-left: 0;
  padding-right: 110px;
}

#mobile-navmenu-container {
  width: 0%;
}

@media only screen and (max-width: 1920px) {}
@media only screen and (max-width: 1600px) {
  #header .header-link-container {
    font-size: var(--clFontSizeNormal);
  }
  
  #header h1 {
    font-size: var(--clFontSizeVeryLarge);
  }
}

@media only screen and (max-width: 1440px) {
  #menu-header a {
    padding: 0 1.05vw;
  }
}

@media only screen and (max-width: 1280px) {}
@media only screen and (max-width: 1024px) {
  #nav-container a, #nav-container {
    font-size: var(--clFontSizeSmallPlus);
  }
  
  #nav-container .nav-inner-container {
    padding: 0 1%;
  }
  
  #menu-header a {
    padding: 0 0.8vw;
  }
  
  #nav-container .logo {
    width: 17%;
  }
  
  #nav-container .nav-with-phone-number {
    width: 81%;
  }
  
  #menu-header {
    padding-left: 0;
  }
}

@media only screen and (max-width: 900px) {
  #header .header-link-container {
    font-size: var(--clFontSizeMediumPlusPlus);
  }
  
  #toggle {
    display: block;
  }
  
  #quote-switch {
    right: 10vw;
    position: relative;
    width: 100%;
    margin: auto;
    padding-left: 0;
  }
  
  #menu-header {
    display: none;
  }
  
  #menu-header-mobile, #toggle {
    display: initial;
  }
  
  #nav-container a, #nav-container {
    font-size: var(--clFontSizeMinimal);
  }
  
  #nav-container .logo, #nav-container .nav-with-phone-number {
    width: auto;
  }
  
  #nav-container .nav-inner-container {
    padding: 0 6% 0 1%;
  }
}

@media only screen and (max-width: 800px) {
  #nav-container .nav-inner-container {
    height: 10vw;
  }
  
  #mobile-nav-container a, #mobile-nav-container {
    font-size: var(--clFontSizeMediumPlusPlus);
  }
  
  #menu-header-mobile {
    top: 10vw;
    max-width: 40%;
  }
  
  #quote-switch {
    right: 13vw;
  }
  
  #mobile-nav-container .nav-inner-container {
    height: 10vw;
  }
}

@media only screen and (max-width: 600px) {
  #nav-container .nav-inner-container {
    height: 12vw;
  }
  
  #mobile-nav-container a, #mobile-nav-container {
    font-size: var(--clFontSizeLarger);
  }
  
  #mobile-nav-container .nav-inner-container {
    height: 13vw;
  }
  
  #menu-header-mobile {
    top: 12vw;
    max-width: 100%;
  }
  
  #menu-header ul a {
    padding-top: 2vw;
  }
  
  #quote-switch {
    right: 15vw;
  }

  #header h1 {
    font-size: var(--clFontSizeExtraLarge);
  }
}

@media only screen and (max-width: 500px) {
  #nav-container .nav-inner-container {
    height: 14vw;
  }
  
  #mobile-nav-container .nav-inner-container {
    height: 17vw;
  }
  
  #menu-header-mobile {
    top: 14vw;
  }
  
  #menu-header ul {
    top: 40px;
  }
  
  #menu-header ul a {
    padding-top: 3vw;
  }
  
  #quote-switch {
    right: 16vw;
  }
  
  #quote-switch .switch-content {
    letter-spacing: 0.5px;
    font-weight: 700;
    transition: 800ms;
    opacity: 1;
  }

  #quote-switch .switch-content.disabled {
    opacity: 0.3;
    background-color: gray;
    cursor: default;
  }  
  
  #toggle {
    width: 23px;
  }
}
@media only screen and (max-width: 400px) {
  #nav-container .nav-inner-container {
    height: 15vw;
  }
  
  #quote-switch {
    right: 20vw;
  }
  
  #menu-header-mobile {
    top: 15vw;
  }
  
  #menu-header-mobile li a {
    font-size: medium;
    font-weight: 600;
    height: 35px;
  }
  
  #menu-header-mobile .sub-menu {
    top: 35px;
  }
  
  #menu-header-mobile .sub-menu li a {
    font-size: var(--clFontSizeSmaller)
  }
  
  #quote-switch .switch-content {
    padding: 12% 20%;
  }
}

@media only screen and (max-width: 300px) {
  #nav-container .nav-inner-container {
    height: 40px;
  }
  
  #menu-header {
    min-width: 200px;
  }
  
  #menu-header-mobile {
    top: 17vw;
    min-width: 180px;
    padding: 15px;
  }
  
  #menu-header ul {
    top: 30px;
  }
  
  #menu-header ul a {
    padding-top: 1.5vw;
  }
  
  #menu-header li a {
    height: 30px;
    font-size: small;
  }
  
  #menu-header ul li a {
    min-height: 27px;
  }
  
  #quote-switch {
    right: 35px;
  }
  
  #quote-switch .switch-content {
    padding: 6%;
    letter-spacing: 0.2px;
    font-weight: 500;
    border-radius: 0;
  }
  
  #toggle {
    width: 20px;
    height: 20px;
  }
  
  #toggle div.two {
    top: 6px;
  }
  
  #toggle div.three {
    top: 12px;
  }
  
  #menu-header-mobile li a {
    font-size: var(--clFontSizeSmaller);
    font-weight: 500;
    height: 25px;
  }
  
  #menu-header-mobile .sub-menu {
    top: 25px;
  }
  
  #menu-header-mobile .sub-menu li a {
    font-size: 12px;
  }
}