/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


.mega-menu-list {
    position: relative;
    min-height: 450px;
    padding: 30px 0;
}
.mega-menu-item ul a {
    color: #000;
    font-size: 19px;
    line-height: 21px;
    max-width: 270px;
    display: inline-block;
    position: relative;
    padding: 0 !important;
    white-space: pre-wrap !important;
}
.mega-menu-item ul {
    display: flex;
    flex-direction: column;
    gap: 10px 20px;
    max-height: 350px;
    flex-wrap: wrap;
    padding: 0 0 0 15px !important;
    text-align: right;
    list-style: none;
    position: static !important;
    width: auto !important;
}
.mega-menu-title {
    text-align: right;
    position: relative;
    max-width: 250px;
    line-height: 1.4;
    padding: 2px 0px 2px 20px;
    z-index: 1;
    font-family: "Heebo", sans-serif;
}
.mega-menu-title a {
    color: #111111;
    font-size: 19px;
    font-weight: 500;
    white-space: pre-wrap !important;
}

.mm-link-wrap {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
    padding: 30px 320px 30px 0;
    display: none;
    gap: 30px;
    font-family: "Heebo", sans-serif;
}
a.menu-link span {
    position:relative;
}
a.menu-link span:before , .mega-menu-item ul a:before , .footer-link:before{
    position: absolute;
    content: '';
    height: 1px;
    bottom: 0;
    right: 0;
    width: 0;
    background: #071c37;
    transition: width .2s;
}
a.menu-link:hover span:before , .mega-menu-item ul a:hover:before , .footer-link:hover:before {
    width:100%;
}
.mm-links-title {
    font-weight: 500;
    font-size: 20px;
    color: #111 !important;
    display: block !important;
    text-align: right;
    line-height: 1.4;
    border-bottom: 1px solid #DADADA;
    padding: 0 0 20px 0 !important;
    margin-bottom: 20px;
}
.mega-back-btn {
    display:none;
}
.mega-menu-list:before {
    content: "";
    position: absolute;
    top: 0;
    right: 280px;
    height: 100%;
    width: 1px;
    background-color: #DADADA;
    z-index: 1;
}
.mega-menu-title:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.49043 6.51124L9.74043 2.26124C10.0342 1.96749 10.5092 1.96749 10.7998 2.26124L11.5061 2.96749C11.7998 3.26124 11.7998 3.73624 11.5061 4.02686L8.49668 7.04249L11.5092 10.055C11.8029 10.3487 11.8029 10.8237 11.5092 11.1144L10.8029 11.8237C10.5092 12.1175 10.0342 12.1175 9.74356 11.8237L5.49356 7.57374C5.19668 7.27999 5.19668 6.80499 5.49043 6.51124Z' fill='%23111111'/%3E%3C/svg%3E%0A");
    width: 30px;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px;
}

.mm-links-title:hover {
    color: #111;
} 
.header:hover a.elementor-item , .she-header a.elementor-item {
    color: #000 !important;
}
.mega_item, .elementor-nav-menu , .elementor-widget:has(.mega_item) {
    position: static !important;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}
.header:hover a.elementor-item .sub-arrow path, .she-header a.elementor-item .sub-arrow path {
    fill: #000 !important;
}
.she-header .elementor-menu-toggle__icon--open path , .header:hover .elementor-menu-toggle__icon--open path{
    stroke: #000;
}
li.mega_item:not(:hover) .sub-menu.mega-menu {
    display: none !important;
}

@media(min-width:1401px){
ul.mega-menu:before {
    content: "";
    position: absolute;
    top: -37px;
    left: 0;
    width: 100%;
    height: 40px;
}
.elementor-nav-menu ul.mega-menu , .elementor-nav-menu--layout-horizontal .elementor-nav-menu>li:not(:first-child)>ul.mega-menu {
    background-color: #fff;
    width: calc(100% + 100px) !important;
    right: -50px !important;
    max-width: calc(100% + 100px) !important;
    margin: 0 !important;
    top: 100px !important;
    border-top: 1px solid #dadada;
}
    .mega-menu-item.active .mega-menu-title ,.mega-menu-title:hover{
  background-color: #000;
}
    .mega-menu-item.active .mega-menu-title a ,.mega-menu-title:hover a{
  color:#fff;
}
    .mega-menu-item.active .mega-menu-title:before ,  .mega-menu-title:hover:before {
   background-image: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.49043 6.51124L9.74043 2.26124C10.0342 1.96749 10.5092 1.96749 10.7998 2.26124L11.5061 2.96749C11.7998 3.26124 11.7998 3.73624 11.5061 4.02686L8.49668 7.04249L11.5092 10.055C11.8029 10.3487 11.8029 10.8237 11.5092 11.1144L10.8029 11.8237C10.5092 12.1175 10.0342 12.1175 9.74356 11.8237L5.49356 7.57374C5.19668 7.27999 5.19668 6.80499 5.49043 6.51124Z' fill='%23FDC321'/%3E%3C/svg%3E%0A");
}
.mega-menu-item.active .mm-link-wrap {
    display: flex;
}
}

@media(max-width:1400px){
    html:has(.elementor-nav-menu--dropdown[aria-hidden="false"]) {
    overflow: hidden;
}

    .elementor-nav-menu--toggle .elementor-menu-toggle.elementor-active+.elementor-nav-menu__container {
    height: calc(100vh - 55px);
    padding-bottom: 30px;
    right: -50px !important;
    width: 100vw !important;
    overflow: auto;
    top: 76px !important;
}

.elementor-nav-menu ul.mega-menu, .elementor-nav-menu--layout-horizontal .elementor-nav-menu>li:not(:first-child)>ul.mega-menu {
    width: 100% !important;
}
    .she-header span.e-n-menu-toggle-icon.e-open path , .header:hover span.e-n-menu-toggle-icon.e-open path{
    stroke: #000;
}
.e-n-menu-wrapper ul.e-n-menu-heading {
    border-top: 1px solid #DADADA;
}
span.e-n-menu-title-text {
    color: #000 !important;
}
 .e-n-menu-dropdown-icon svg {
    fill: #000 !important;
}
.e-n-menu-dropdown-icon {
    flex-grow: 1;
    align-items: end;
}
.e-n-menu-dropdown-icon span {
    transform: rotate(90deg);
}
.sub-menu.mega-menu {
    position: absolute;
    top: 0 !important;
    right: -110%;
    transition: right 0.3s;
    background-color: #fff;
}
.sub-menu.mega-menu[aria-expanded="true"] {
    height: 100%;
    right: 0;
}
.mega-back-btn {
    display: flex;
    font-family: Heebo;
    font-weight: 700;
    font-size: 19px;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    position: relative;
    border-top: 1px solid #DADADA;
}
.mega-back-btn svg {
    position: absolute;
    right: 16px;
}
.mega-menu-title {
    max-width: 100%;
    padding-left: 120px;
    border-top: 1px solid #DADADA;
}
    .mega-menu-title a {
        padding:20px 0 !important;
		pointer-events:none;
    }
.mega-menu-list:before {
    display: none;
}
.mega-menu-list {
    padding: 0 24px 40px;
    min-height: auto;
    height: 100%;
}
.elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main {
    display: none;
}

.elementor-nav-menu--dropdown-tablet .elementor-menu-toggle, .elementor-nav-menu--dropdown-tablet nav.elementor-nav-menu--dropdown {
    display: block;
}
    .mega-menu-title:before {
        transform: rotate(-90deg);
    }
    .mm-link-wrap {
    position: static;
    padding: 0;
}
.mm-links-title {
    border-bottom: 1px solid #FDC321;
    padding: 0 12px 10px 0 !important;
}
.mm-link-box {
    padding: 15px 0;
}

.mega-menu-title.active:before {
    transform: rotate(90deg);
}

.mega-menu-item ul {
    padding: 0 12px 0 12px !important;
}
    .elementor-nav-menu--dropdown .menu-item > a {
    border-top: 1px solid #DADADA;
    justify-content: space-between;
    padding: 20px 0;
    background-color: #fff !important;
    color: #000 !important;
}
.elementor-nav-menu--dropdown .sub-menu .menu-item > a {border: none;padding: 10px 0;}
.elementor-nav-menu--dropdown .menu-item {
    padding: 0 20px;
}
    .sub-menu {
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 30px !important;
}
.mega_item .sub-arrow {
    transform: rotate(90deg);
    padding: 0;
}

}

 @media(max-width:960px){  
.elementor-nav-menu--toggle .elementor-menu-toggle.elementor-active+.elementor-nav-menu__container {
    top: 60px !important;
    padding-bottom: 60px !important;
}
}

 @media(max-width:767px){  
.elementor-nav-menu--toggle .elementor-menu-toggle.elementor-active+.elementor-nav-menu__container {
    right: 0px !important;
    top: 56px !important;
}
}

