.kl-navbar__button {
  font-size: 16px;
  font-weight: 300;
}

@media screen and (min-width: 920px) and (max-width: 1010px) {
  .kl-navbar__content ul.kl-navbar__menu li:last-child {
    display: none;
  }
  
}

.kl-header {
 transition: all 0.3s ease;
}

.kl-header:hover {
  background-color: #fafaf5;
}

.gw-border-bottom {
  border-bottom: 1px solid #E6ECEB;
}

.kl-dropdown-menu-module {
  list-style-type: none;
  padding: 0;
  display: flex;
  width: fit-content;
}

.kl-dropdown-menu {
  display: flex;
  flex-direction: row;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: sofia-pro,Helvetica Neue,Arial,Helvetica,sans-serif;
}

.kl-dropdown-menu-item > label, .kl-dropdown-menu-item > a {
  position: relative;
  padding: 0;
}

.kl-dropdown-menu-item > label:after, .kl-dropdown-menu-item > a:after {
    background-color: #46ffb9;
    bottom: -4px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transition: width .2s ease-in-out;
    visibility: hidden;
    width: 0;
}

.kl-dropdown-menu-item {
  padding: 0 15px;
  display: flex;
  height: 88px;
  align-items: center;
}

.kl-menu-icon {
  width: 10px;
  margin-left: 5px;
  margin-top: 5px;
  position: relative;

}

.kl-menu-icon img {
  position: absolute;
  width: 13px;
  transition: all 0.3s;
  top: 50%;
  transform: translate(0, -50%);
}

.kl-dropdown-menu-item a {
    cursor: pointer;
    text-decoration: none !important;
}

.kl-navbar {
  position: unset;
  z-index: 101;
}

.dropdown-content {
/*   visibility: hidden; */
  top: 100%;
  left: 0;
  background-color: #FAFAF5;
  z-index: 1000;
  width: 100vw;
  max-height: 0;
  min-height: min-content;
  position: absolute;
  top: 89px;
  bottom: 0%;
  left: 0%;
  right: 0%;
  z-index: 100;
  overflow: hidden;
  transition: opacity 0.1s ease, max-height 0.4s ease-in-out;
  height: fit-content;
}

.dropdown-content .dropdown-row {
/*   transform: translate(0, -20%); */
  opacity: 0;
 transition: opacity 0.5s ease 0.2s;
}

.dropdown-overlay {
  visibility: hidden;
    background: rgba(0, 0, 0, .2);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 89px;
    z-index: 99;
    width: 100vw;
    height: 100vh;
  transition: visibility 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.kl-dropdown-menu-item:hover .dropdown-content {
/*   visibility: visible; */
  opacity: 1;
max-height: 800px;
}

.kl-dropdown-menu-item:hover .dropdown-row {
  transform: translate(0);
  opacity: 1;
 transition: transform 0.3s, opacity 0.3s;
}

/* test */
/* .dropdown-content {
  visibility: hidden;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  background-color: #FAFAF5;
  z-index: 1000;
  width: 100vw;
  position: absolute;
  top: 89px;
  left: 0;
  right: 0;
  transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s ease-in-out; /* Add visibility to the transition */
}

.kl-dropdown-menu-item:hover .dropdown-content {
  visibility: visible; /* Make it visible on hover */
  opacity: 1; /* Set opacity to 1 on hover */
  max-height: 800px; /* Set max-height to a large value to allow expansion */
} */

/* .dropdown-row {
  opacity: 0;
  transition: opacity 0.5s ease 0.2s;
}

.kl-dropdown-menu-item:hover .dropdown-row {
  opacity: 1;
}

.dropdown-center {
  margin: 0 auto;
  max-width: 1440px;
  width: 100%;
  overflow: hidden;
}

.dropdown-row {
  padding: 32px 20px;
  display: flex;
  column-gap: 50px;
} */
/*  */


.kl-dropdown-menu-item.menu-with-dropdown:hover ~ .dropdown-overlay {
 visibility: visible;
    opacity: 1;
}

.kl-dropdown-menu-item:hover .kl-menu-icon img {
 transform: translate(0, -50%) rotate(-180deg);

}


.kl-dropdown-menu-item:hover > label:after, .kl-dropdown-menu-item:hover > a:after {
    visibility: visible;
    width: 100%;
}
.active-menu:after  {
    visibility: visible !important;
    width: 100% !important;
}


.dropdown-center {
    margin: 0 auto;
    max-width: 1440px;
    width: 100%;
  overflow: hidden;
}

.dropdown-row {
  padding: 32px 20px;
  display: flex;
  column-gap: 50px;
}

.dropdown-column {
  width: 100%;
  display: flex;
  position: relative;
  flex-direction: column;
}

.dropdown-column > div {
  width: 100%;
}

.info-box {
  width: 100%;
  background-color: white;
  border-radius: 5px;
  padding: 20px;
  display: flex;
  row-gap: 10px;
  flex-direction: column;
  text-align: left;
}

.info-box img {
  width: 100%;
  border-radius: 5px;
  margin: 0;
  padding: 0;
}

.info-box h4 {
  color: #668A87;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500 !important;
  font-family: sofia-pro,Helvetica Neue,Arial,Helvetica,sans-serif  !important;
}

.info-box p {
  padding: 0;
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
}

.info-box a {
  text-decoration: underline !important;
}

.info-box .info-box-link {
  display: flex;
  column-gap: 5px;
  align-items: center;
 font-size: 14px;
}

.info-box .info-box-link span {
  position: relative;
}

.info-box .info-box-link span:after {
    background-color: #46ffb9;
    bottom: -4px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transition: width .2s ease-in-out;
    visibility: visible;
    width: 100%;
}

.submenu-list {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.submenu-item {
  transition: all 0.1s;
  background: transparent;
  position: relative;
}

.submenu-item:after {
  content: '';
  background: white;
  border-radius: 4px;
  position: absolute;
  top: -5px;
  left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 10px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.1s;
}

.submenu-item:hover:after {
  opacity: 1;
}

.submenu-item a {
  text-decoration: none;
  color: #025858;
  display: flex;
  text-align: left;
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  flex-direction: column
}
.submenu-item a span  {
  display: flex;
  align-items: center;
}

.submenu-item a span span {
  margin-left: 5px;
  border-radius: 4px;
  padding-left: 2px;
  padding-right: 2px;
}
.submenu-item p {
  color: #8193A3;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  padding-bottom: 0;
  margin-bottom: 0;
}

.submenu-item img {
  max-width: 20px;
  margin-right: 10px;
  margin: 0 10px 0 0;
}

.dowpdown_column_name {
  color: #668A87;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
}

.dowpdown_column_border {
  position: absolute;
  left: -25px;
  height: 100%;
  width: 1px !important;
  background-color: #E6ECEB;
  top: 0;
}

.kl-dowpdown-toggle-checkbox {
  display: none;
}


.kl-dowpdown-toggle-label {
  display: inline-block;
  padding: 10px;
  cursor: pointer;
  display: flex;
}

.gw-kl-auth > div {
  display: flex;
  row-gap: 10px;
  justify-content: center;
  width: fit-content;
  position: relative;
}

.gw-kl-auth > div > div > a {
  margin-left: 10px;
}

.gw-kl-auth > div::before {
  content: " ";
  width: 2px;
  height: 20px;
  background-color: #025858;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
}

.gw-kl-auth > div > img {
  width: 16px;
  height: 16px;
  margin-left: 15px;
}

.auth_links > div > a:first-child {
  cursor: pointer;
}

.auth_links > div > a:first-child span {
  padding-left: 35px;
  position: relative;
}

.auth_links > div > a:first-child span:before {
 content: '';
  width: 20px;
  height: 20px;
  background-image: url('https://static.goodwings.com/social/account.svg');
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  display: block;
  top: 50%;
  transform: translate(0, -50%);
  left: 5px;
  cursor: pointer;
}

@media screen and (max-width: 920px) {

.kl-dropdown-menu-module {
  width: 100%;
 }

  .kl-dropdown-menu { 
    flex-direction: column;
    row-gap: 0;
    width: 100%;
    padding: 0 20px;
  }
  
  .dropdown-content {
    position: relative;
    min-height: auto;
    top: 0;
    display: none;
  }

  .dropdown-row {
    flex-direction: column;
    padding: 0 20px;

   }

  .kl-navbar__content {
    padding: 0;
  }
  
  .dropdown-column {
    width: 100% !important;
    flex: 1;
    padding: 20px 20px 12px 0;
  }

  .kl-dropdown-menu-item {
    height: auto;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  .kl-dropdown-menu-item .kl-dowpdown-toggle-label,   .kl-dropdown-menu-item > a{
    border-bottom: 1px solid #E6ECEB;
    padding: 0 20px;
    padding: 20px;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 0px;
    font-size: 20px;
    line-height: 30px
  }
  
  .dropdown-overlay {
    display: none;
  }
  .kl-dropdown-menu-item:hover > label:after, .kl-dropdown-menu-item:hover > a:after {
    visibility: hidden;
    width: 100%;
  }

  .kl-dropdown-menu-item:hover .kl-menu-icon img {
     transform: translate(0, -50%);
  }
  
  .kl-dowpdown-toggle-checkbox:checked + .kl-dowpdown-toggle-label + .dropdown-content {
    display: flex;
  }

  .kl-dowpdown-toggle-checkbox:checked + .kl-dowpdown-toggle-label .kl-menu-icon img {
     transform: translate(0, -50%) rotate(-180deg);
  }
  .gw-kl-auth > div {
    position: relative;
    width: 100%;
  }

  .gw-kl-auth > div > img {
        position: absolute;
        width: 18px;
        height: 18px;
        left: 25%;
        top: 10px;
  }
  
  .gw-kl-auth > div::before {
    display: none;
  }

  .gw-kl-auth > div > div > a {
    margin-left: 0;
    margin-bottom: 20px;
  }
  
  .kl-navbar__end {
    margin-top: 60px;
    width: 100%;
  }

  .auth_links {
    width: 100%;
    padding: 0 20px;
  }

.auth_links > div {
    width: 100%;
  }
  .auth_links .button {
    width: 100%;
  }

.kl-dropdown-menu-item:hover .dropdown-content {
    max-height: max-content;
}

.info-box h4 {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  font-family: sofia-pro,Helvetica Neue,Arial,Helvetica,sans-serif  !important;
}

.active-menu:after  {
    visibility: hidden !important;
    width: 0 !important;
}

}

/*  test*/ 
.kl-dropdown-menu-item:hover .dropdown-content {
  visibility: visible;
  max-height: 800px;
  transition: max-height 0.5s ease-in-out, visibility 0s;
  -webkit-transition: max-height 0.5s ease-in-out, visibility 0s;
}

.dropdown-content {
  top: 100%;
  left: 0;
  background-color: #FAFAF5;
  z-index: 1000;
  width: 100vw;
  max-height: 0;
  min-height: min-content;
  position: absolute;
  top: 89px;
  left: 0;
  right: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.5s ease-in-out, visibility 0s 0.5s;
  -webkit-transition: max-height 0.5s ease-in-out, visibility 0s 0.5s;
  height: fit-content;
}


