@media screen and (max-width: 1024px) {
  /* set top page margin */
  .content.content_top_margin {
    margin-top: 60px !important;
  }
  .hidden {
    display: none !important;
  }
  nav.desktop {
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    top: 0;
    left: 0;
    justify-content: space-between;
    height: 100vh;
    background: #fff;
  }
  header {
    position: fixed !important;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    height: 60px;
    font-family: "Open Sans", sans-serif;
  }
  .header_content {
    padding: 0 20px;
    box-sizing: border-box;
  }
  a.keyzo_logo {
    width: 90px;
    height: 30px;
    line-height: normal;
    position: relative;
    z-index: 120000;
  }
  /* Mobile menu toggle */
  button.toggle_mobile_menu {
    display: block;
    position: relative;
    z-index: 1200;
    background: transparent;
    border: none;
    font-size: 21px;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
  }
  nav,
  ul.mega_menu {
    flex-direction: column;
    box-sizing: border-box;
  }
  nav.desktop .group {
    height: 100%;
    align-items: flex-start;
    padding: 30px 37px 30px 20px;
    margin-top: 60px;
    width: 100%;
    box-sizing: border-box;
    overflow: scroll;
    box-shadow: inset 0px 0px 10px #ddd;
    scrollbar-color: var(--keyzo_green) white;
  }
  ul.mega_menu li {
    padding: 12px 0;
    border-bottom: 1px solid #eaeaea;
  }
  ul.sub_menu.basic {
    max-width: 100%;
    translate: unset;
    left: 0;
  }
  .group button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
  }
  .group button .mobile_icon,
  .group button .mobile_icon {
    display: block;
  }
  a.contactus_button {
    width: 100%;
    max-width: 280px;
    margin: 20px auto 20px;
  }
  button.mm_top_active .mobile_icon {
    transform: rotate(90deg);
  }
  ul.sub_menu {
    position: static;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 !important;
    box-shadow: none;
    overflow-y: scroll;
    background: transparent;
    border-radius: 0;
  }
  ul.sub_menu li {
    flex-direction: column;
    gap: 10px;
    border: 0;
  }
  .top_row {
    flex-direction: column;
    margin-bottom: 10px;
  }
  .top_row .col,
  .top_row .col1,
  .top_row .col2,
  .top_row .col3,
  .top_row .col4,
  .top_row .col5 {
    width: 100% !important;
    margin-bottom: 0px;
  }
  .top_row h4 {
    margin: 10px 0 0;
  }
  .top_row a {
    margin-left: 20px;
  }
  .basic .top_row a {
    margin-left: 0px;
  }
  .sub_menu_more {
    margin-bottom: 30px;
  }
  .sub_menu_more .img_container img {
    display: none;
  }
  a.all_modules {
    display: none;
  }
  /* hide mobile version of the link from the desktop menu */
  a.all_modules.mobile_link {
    display: block;
    margin-top: 10px;
    background: transparent !important;
    color: #333 !important;
    position: static;
    padding: 0 !important;
    font-weight: 700;
    margin-left: 0px;
  }
  a.all_modules i {
    display: none;
  }
  a.all_modules:hover i,
  a.all_modules:hover {
    display: inline-block;
    color: var(--keyzo_green) !important;
  }
  .group ul.mega_menu li:nth-child(5) {
    margin-right: 0;
  }
  .bottom_row {
    background: white;
    border-top: 0;
    padding-top: 0;
  }
  .bottom_row a {
    display: inline-block;
    padding: 0px 0px;
    background: transparent;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    margin: 0;
  }
}

@media screen and (max-width: 1119px) {
  ul.sub_menu {
    padding: 20px 16px 28px;
  }
  .sub_menu_more {
    max-width: 200px;
  }
  .group button i {
    display: none;
  }
}
