ul.ems-mega {
    list-style-type: none;
    width: max-content;
}

li {
    position: relative;
}

.submenu-toggle {
    /* display: none; */
    cursor: pointer;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: -20px;
}

.top-level-menu-item:hover .submenu-toggle {
    display: block;
}

ul.ems-mega ul.ems-mega {
    display: none;
    position: absolute;
    left: 140px;
    background-color: #2f2f2f;
    top: 0;
}

/* ul.ems-mega li:hover > ul {
    display: block;
} */
.ems-submenus {
    display: none;
}
.ems-menu-title-element:hover > .ems-submenus {
    display: block !important;
}
/* .ems-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: left;
    background: #2f2f2f;
    color: white;
} */
.ems-wrapper {
    display: grid;
    background: #2f2f2f;
    color: white;
    grid-auto-flow: column;
    grid-gap: 35px;
    padding: 0 35px;
}
/* .ems-menu-element {
    margin-right: 35px;
    margin-left: 35px;
} */
.ems-menu-title-element.ems-hover-func {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 171px;
}
.ems-menu-title-element.ems-hover-func.active h3{
    color: #FFD600;
}
.ems-menu-title-element.ems-hover-func.active i{
    color: #FFD600;
}
.ems-menu-title-element h3 {
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    line-height: 18px;
    font-size: 14px;
    color: white;
}
.ems-menu-title-element i {
    font-size: 33px;
    color: #a4a4a4;
}
.ems-menu-element img {
    height: 67px !important;
    width: auto;
    object-fit: contain;
}
.ems-submenus {
    background: #2f2f2f;
    width: 100%;
    position: absolute;
    left: 0;
    /* z-index: 99999999999999999999; */
    z-index: 99999;
    padding: 35px 60px 0 60px;
}
li.menu-item.top-level-menu-item a {
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}
.ems-submenus-wrapper-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ems-submenus-wrapper-logos {
    display: flex;
    border-top: 1px solid yellow;
    margin-top: 35px;
    /* padding: 20px 10px; */
    padding-top: 10px;
    padding-bottom: 10px;
}
.ems-submenus-wrapper-logos img {
    height: 51px !important;
    width: auto !important;
    object-fit: contain;
    margin-right: 20px;
}


.ems-submenus-wrapper-right {
    width: 50%;
    display: flex;
    gap: 35px;
    padding-bottom: 20px;
}
.ems-submenus-wrapper {
    display: flex;
    gap: 35px;
}
.ems-submenus-wrapper-left-banner {
    width: 50%;
}
.ems-submenus-wrapper-right-banner {
    width: 50%;
}
.ems-submenus-wrapper-right img {
    height: 100% !important;
}


/* hover */
.ems-menu-title-element .ems-hoverimage{
display:none !important;
}

.ems-menu-title-element.active .ems-nothoverimage{
display:none !important;
}

.ems-menu-title-element.active .ems-hoverimage{
display:block !important;
}
li.menu-item.top-level-menu-item.active a{
    color: #ffd600;
}
.ems-subsub-wrapper a:hover {
    color: #ffd600;
}









.ems-subsub-wrapper-container {
    display: flex;
    width: 50%;
}







.ems-submenus-elements {
    display: flex;
    height: 100%;
    gap: 25px;
}
/* .ems-subsub-wrapper {
    margin-left: 35px;
    border-left: 1px solid #FFD600;
} */
/* .ems-subsub-wrapper:first-of-type {
    margin-left: 100px;
    border-left: 2px solid #FFD600;
} */
.ems-subsub-wrapper:first-of-type {
    /* margin-left: 100px; */
    margin-left: 0px;
    border-left: 2px solid #FFD600;
}
ul.ems-mega i {
    margin-left: 10px;
}
ul.ems-mega {
    /* width: 50% !important; */
    width: max-content !important;
    /* width: auto !important; */
    /* margin-right: 35px; */
}
.ems-subsub-wrapper {
    width: 100% !important;
    /* width: max-content !important; */
    /* width: auto !important; */
    word-break: break-word;
}
.ems-subsub-wrapper:last-of-type {
    /* margin-left: 35px; */
    border-right: 2px solid #FFD600;
}
.ems-subsub-wrapper:last-of-type li {
    list-style: none;
    padding-right: 35px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 15px;
}
.ems-subsub-wrapper li {
    list-style: none;
    padding-left: 35px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 15px;
    padding-right: 10px;
}

/* mobile style */
.ems-wrapper-mobile {
    background: #2f2f2f;
    /* padding: 10px 15px; */
    width: fit-content;
}
.ems-menu-title-element-mobile.ems-hover-func-mobile h3 {
    color: white;
    margin-bottom: 0;
    font-size: 18px;
}
.ems-menu-title-element-mobile.ems-hover-func-mobile i {
    color: white;
}
.ems-submenus-mobile {
    display: none;
}
.accordion-content {
    display: none;
}
.ems-menu-title-element-mobile.ems-hover-func-mobile {
    display: flex;
    align-items: center;
    /* margin-bottom: 5px; */
    padding: 10px 15px;
}
.ems-menu-title-element-mobile.ems-hover-func-mobile i {
    padding-left: 15px;
}
ul.ems-mega-mobile.main-accordion li {
    list-style: none;
    display: flex;
    margin-bottom: 5px;
    flex-direction: column;
    padding-left: 30px;
}
li.menu-item-mobile.top-level-menu-item-mobile i {
    color: white !important;
    padding-left: 5px;
}

.ems-submenus-mobile {
    border-bottom: 8px solid #FFD600;
    background: #020202;
}
.ems-menu-title-element-mobile.ems-hover-func-mobile.active {
    background: #ffd600;
}
.ems-menu-element-mobile img {
    image-rendering: -webkit-optimize-contrast;
    margin-right: 10px;
    object-fit: contain;
}
ul.ems-mega-mobile.main-accordion {
    margin-bottom: 0;
}
a.accordion-toggle.main-accordion {
    font-size: 16px;
    color: white;
    font-weight: bold;
    padding: 5px 5px;
}
a.accordion-toggle.sub-accordion {
    font-size: 16px;
    color: white;
    font-weight: bold;
    padding: 3px 2px;
}
a.accordion-toggle.main-accordion:hover {
    border: unset;
}
a.accordion-toggle.main-accordion {
    border: unset;
}

/* hamburger */
.hamburger {
    display: inline-block;
    cursor: pointer;
    /* position: fixed; */
    top: 238px;
    left: 20px;
    z-index: 2;
    margin-right: 15px;
  }
  .ems-hamburger-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

  .bar1, .bar2, .bar3 {
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: 0.4s;
  }
  .change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-4px, 4px);
    transform: rotate(-45deg) translate(-4px, 4px);
  }

  .change .bar2 {opacity: 0;}

  .change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
  }
  .ems-wrapper-mobile {
    /* position: fixed; */
    position: absolute;
    width: 0;
    /* height: 100%; */
    top: 39px;
    left: -15px;
    /* background-color: #111; */
    overflow-x: hidden;
    transition: 0.5s;
    /* padding: 15px 0px; */
    /* padding-top: 60px; */
    /* padding: 5px 15px; */
    z-index: 99;
  }
  .ems-mobile-header-phones {
    display: flex;
    justify-content: right;
}
.ems-mobile-header-phones a:first-child {
    padding-right: 15px;
}
@media(max-width:1368px){
    ul.ems-mega {
        /* width: 50% !important; */
        width: max-content !important;
        /* width: auto !important; */
        /* margin-right: 30px; */
    }
    .ems-subsub-wrapper {
        width: 100% !important;
        /* width: auto !important; */
    }    
}
@media(max-width:1285px){
    .ems-mini-cart:not(.scrolled) {
        width: 260px;
    }
    .ems-mini-cart-icon i {
        padding-left: 16px !important;
        z-index: 9;
    }
}