/*

Plugin Name: Multi Drop Down Mobile menu
version: 1.0
Author: Rojan Dahal
Desc: 



*/

@media screen and (max-width: 1200px) {
  .theme-btn18 {
    padding: 10px !important;
    font-size: 12px !important;
  }
  .main-menu-ex li a {
    font-size: 13px !important;
  }
}

/*Base css*/
@media screen and (max-width: 1024px) {
  * {
    margin: 0;
    padding: 0;
  }
  body {
    font-size: 16px;
    font-family: "arial", sans-serif;
  }
  .has-dropdown i {
    display: none;
  }
  a,
  a:hover {
    outline: none;
    text-decoration: none;
  }

  ul,
  li {
    list-style: none;
  }
  .menu-close-logo {
    /* position: absolute; */
    top: 15px;
    /* margin-bottom: 40px; */
    margin-top: -34px;
    margin-bottom: 20px;
  }

  /*Menu Css*/
  .mobile-logo a {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
  }

  .mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 17px 0;
    z-index: 999;
    background: #fff;
  }

  .mobile-header-elements {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-nav-icon {
    font-size: 23px;
    border: 1px solid;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #000;
  }

  .mobile-sidebar {
    position: fixed;
    height: 100%;
    width: 50%;
    background: #fff8f6;
    z-index: 9999;
    padding: 40px 30px;
    left: -100%;
    top: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
  }

  .mobile-sidebar .contact-icon {
    background: #fe6032;
  }

  .mobile-sidebar.mobile-menu-active {
    left: 0;
    visibility: visible;
    opacity: 1;
    transition: all 0.3s;
    padding-top: 55px;
    max-height: 100%;
    overflow-y: scroll;
  }

  .menu-close {
    position: absolute;
    right: 20px;
    top: 37px;
    font-size: 25px;
    color: #fe6032;
    cursor: pointer;
  }

  .mobile-nav li a {
    font-size: 18px;
    line-height: 24px;
    color: #fe6032;
    padding: 10px 0;
    display: block;
  }

  ul.mobile-nav-list {
    margin-top: 30px;
  }

  li.has-children {
    position: relative;
    z-index: 2;
  }

  span.mobile-nav-menu-icon {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    color: #fe6032;
  }

  ul.mobile-menu-sub {
    display: none;
    position: relative;
    left: 0;
    padding-left: 10px;
    transition: all 0.3s;
  }

  ul.mobile-menu-sub.sub-menu-active {
    display: block;
    position: relative;
    transition: all 0.3s;
  }

  .mobile-nav li {
    position: relative;
    z-index: 2;
  }

  span.submenu-button {
    position: absolute;
    width: 100%;
    height: 44px;
    top: 0;
    left: 0;
    z-index: 3;
    transition: all 0.3s;
  }

  span.submenu-button:after,
  span.submenu-button:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 2px;
    background: #fe6032;
    top: 12px;
    right: 9px;
    transition: all 0.3s;
  }

  span.submenu-button:before {
    height: 2px;
    width: 20px;
    right: 0px;
    top: 22px;
  }

  span.submenu-button.submenu-opened:after {
    visibility: hidden;
    opacity: 0;
  }

  .sub-menu {
    display: none;
    padding-left: 15px;
  }

  span.multi-drop-icon {
    position: absolute;
    right: 10px;
    width: 20px;
    height: 100%;
    top: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  ul.mobile-nav-list {
    max-height: 500px;
    overflow-y: scroll;
  }

  .single-footer.single-footer-menu.single-footer4 h3 {
    margin-bottom: 0;
  }

  .social.social4-menu.social4 {
    margin-top: 0;
  }

  a.mobile-menu-button.hash-nav {
    /* background: blue; */
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    border: 1px solid;
    text-align: center;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 769px) {
  * {
    margin: 0;
    padding: 0;
  }
  body {
    font-size: 16px;
    font-family: "arial", sans-serif;
  }

  a,
  a:hover {
    outline: none;
    text-decoration: none;
  }

  ul,
  li {
    list-style: none;
  }
  .menu-close-logo {
    /* position: absolute; */
    top: 15px;
    /* margin-bottom: 40px; */
    margin-top: -34px;
    margin-bottom: 20px;
  }

  /*Menu Css*/

  .mobile-logo a {
    font-size: 20px;
    font-weight: 700;
    color: black;
    text-decoration: none;
  }

  .mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 17px 0;
    z-index: 999;
    background: #fff;
  }

  .mobile-header-elements {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-nav-icon {
    font-size: 23px;
    border: 1px solid;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #000;
  }

  .mobile-sidebar {
    position: fixed;
    height: 100%;
    width: 50%;
    background: #fff8f6;
    z-index: 9999;
    padding: 40px 30px;
    left: -100%;
    top: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
  }

  .mobile-sidebar .contact-icon {
    background: black;
  }

  .mobile-sidebar.mobile-menu-active {
    left: 0;
    visibility: visible;
    opacity: 1;
    transition: all 0.3s;
    padding-top: 55px;
    max-height: 100%;
    overflow-y: scroll;
  }

  .menu-close {
    position: absolute;
    right: 20px;
    top: 37px;
    font-size: 25px;
    color: #fe6032;
    cursor: pointer;
  }

  .mobile-nav li a {
    font-size: 18px;
    line-height: 24px;
    color: #fe6032;
    padding: 10px 0;
    display: block;
  }

  ul.mobile-nav-list {
    margin-top: 30px;
  }

  li.has-children {
    position: relative;
    z-index: 2;
  }

  span.mobile-nav-menu-icon {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    width: 50px;
    text-align: center;
    line-height: 50px;
    color: #fe6032;
  }

  ul.mobile-menu-sub {
    display: none;
    position: relative;
    left: 0;
    padding-left: 10px;
    transition: all 0.3s;
  }

  ul.mobile-menu-sub.sub-menu-active {
    display: block;
    position: relative;
    transition: all 0.3s;
  }

  .mobile-nav li {
    position: relative;
    z-index: 2;
  }

  span.submenu-button {
    position: absolute;
    width: 100%;
    height: 44px;
    top: 0;
    left: 0;
    z-index: 3;
    transition: all 0.3s;
  }

  span.submenu-button:after,
  span.submenu-button:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 2px;
    background: #fe6032;
    top: 12px;
    right: 9px;
    transition: all 0.3s;
  }

  span.submenu-button:before {
    height: 2px;
    width: 20px;
    right: 0px;
    top: 22px;
  }

  span.submenu-button.submenu-opened:after {
    visibility: hidden;
    opacity: 0;
  }

  .sub-menu {
    display: none;
    padding-left: 15px;
  }

  span.multi-drop-icon {
    position: absolute;
    right: 10px;
    width: 20px;
    height: 100%;
    top: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  ul.mobile-nav-list {
    max-height: 500px;
    overflow-y: scroll;
  }

  .single-footer.single-footer-menu.single-footer4 h3 {
    margin-bottom: 0;
  }

  .social.social4-menu.social4 {
    margin-top: 0;
  }

  a.mobile-menu-button.hash-nav {
    /* background: blue; */
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    border: 1px solid;
    text-align: center;
    margin-bottom: 20px;
  }
}

.mobile-menu-a a {
  color: #fe6032;
  font-size: 16px;
  line-height: 16px;
}

.mobile-menu-icon-box {
  display: flex;
  align-items: start;
  padding: 5px 0;
}

.mobile-menu-icon {
  padding-right: 8px;
}

.mobile-menu-social h3 {
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  color: #fe6032;
  padding: 20px 0;
}

.mobile-menu-social-icon ul li a {
  color: #fe6032;
  /* font-size: 16px; */
  border: 1px solid #fe6032;
  height: 30px;
  width: 30px;
  display: inline-block;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
}

.mobile-menu-social-icon ul li {
  display: inline-block;
  padding: 0px 2px;
}

@media screen and (max-width: 520px) {
  .mobile-sidebar {
    width: 100%;
  }
}

.main-menu-ex.main-menu-ex9 .sub-menu.study li p {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  background: #fe6032;
  padding: 10px 15px;
  border-radius: 4px;
  margin: 3px 0;
  color: white;
}

.main-menu-ex.main-menu-ex9 .sub-menu.study {
  width: 225px;
}

.sub-menu.study li a span {
  font-size: 14px;
  transform: translateX(0) rotate(-45deg);
  transition: all.4s;
}
