header{
    background-color: white;
    height: 58px;
    border-bottom: 1px solid var(--borderColor);
    position: sticky;
    top: 0;
    z-index: 10;
}

header .header_el{
    padding-left: 24px;
    height: 100%;
}

header .header_el .ow_logo{
    width: 48px;
    height: 48px;
}

header .ow_nav_wrap{
    
}

header .f1_flex_center.ow_nav_button_wrap{
    display: none;
    margin-left: auto;
}

header .f1_flex_center.ow_nav_button_wrap button{
    height: 58px;
    width: 58px;
    border-radius: 0;
    background-size: 24px;
}

header nav .mege_menu_container{
    padding-right: 24px;
    box-sizing: border-box;
}

header nav ul.mega_menu_list{
    
}

header li.mega_menu_list_item{
    padding-right: 8px;
    padding-left: 8px;
    height: 100%;
    position: relative;
}

header li.mega_menu_list_item a{
    text-decoration: none;
}

header li.mega_menu_list_item .mega_menu_item_button{
    padding: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    transition: 0s;
}

header li.mega_menu_list_item.active>.mega_menu_item_link,
header li.mega_menu_list_item.active>.mega_menu_item_button{
    color: #007b5c;
}

header li.mega_menu_list_item.active>.mega_menu_item_button svg{
    fill:  #007b5c;
}

header li.mega_menu_list_item .mega_menu_item_arrow{
    transition: 0.2s;
    rotate: 0deg;
}
header li.mega_menu_list_item.hover .mega_menu_item_arrow{
    rotate: 180deg;
}

header li.mega_menu_list_item .mega_menu_item_button .mega_menu_item_label{
    padding-right: 6px;
}


header li.mega_menu_list_item a,
header li.mega_menu_list_item .mega_menu_item_button{
    font-size: var(--p-font-size-350);
    font-weight: var(--p-font-weight-medium);
    color: var(--blackButtonColor);
    height: 100%;
}

header .mega_menu_item_dropdown{
    position: absolute;
    top: 100%;
    background-color: white;
    padding: 20px;
    width: max-content;
    z-index: 9;
    border: 1px solid var(--borderColor);
    min-width: 300px;
}

header .mega_menu_item_dropdown_overlay{
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    background-color: transparent;
}

header .mega_menu_item_dropdown, header .mega_menu_item_dropdown_overlay{
    display: none;
}


header .mega_menu_sublist .item_group.mega_menu_sublist_item:not(:first-child){
    margin-top: 6px;
}

header li.mega_menu_list_item a.primary{
    height: 32px;
    border: 2px solid var(--brandBtnColor);
    padding: 6px 16px;
    box-sizing: border-box;
    border-radius: 40px;
    width: fit-content;
}

header li.mega_menu_list_item li.mega_menu_sublist_item a{
    line-height: 2.3;
    font-weight: var(--p-font-weight-regular);
    display: block;
    background-image: url(../img/ic_arrow_right.svg);
    background-repeat: no-repeat;
    background-position: calc(100% + 24px) center;
    background-size: 24px;
    transition: .3s;
    box-sizing: border-box;
}

header li.mega_menu_list_item li.mega_menu_sublist_item a:hover{
    background-position: calc(100% - 10px) center;
}

header li.mega_menu_list_item li.mega_menu_sublist_item .mega_menu_sublist_item_dropdown a{
    padding-left: 1em;
    padding-right: 42px;
}

header li.mega_menu_list_item.hover>.mega_menu_item_button{
    border-bottom: 2px solid var(--blackButtonColor);
    padding-top: 2px;
}

header .mega_menu_sublist_item_dropdown{
    background-color: var(--menuHoverColor);
    border-radius: 10px;
    margin-bottom: 4px;
    padding-top: 10px;
    padding-bottom: 10px;
}

header .mega_menu_sublist_item.active>a,
header .mega_menu_sublist_item .mega_menu_sublist_item.active,
header .mega_menu_sublist_item.active .mega_menu_sublist_item_group_title a{
    text-decoration: underline;
}

header .mega_menu_sublist_item_group_title{
    line-height: 2.3;
}

@media screen and (max-width: 800px){
    
    header .f1_flex_center.ow_nav_button_wrap{
        display: flex;
    }
    
    header .ow_nav_wrap{
        display: none;
        position: fixed;
        top: 59px;
        z-index: 1;
        width: 100%;
        height: calc(100% - 59px);
        padding-left: 0;
        background-color: white;
        overflow-x: auto;
    }
    
    header nav.f1_flex_center{
        display: block;
        min-height: 100%;
        height: fit-content;
    }
    
    header nav .mege_menu_container{
        display: block;
        height: 100%;
        width: 100%;
        padding-top: 20px;
        padding-right: 0;
    }
    
    header nav ul.mega_menu_list{
        display: block;
        height: 100%;
    }
    
    header li.mega_menu_list_item{
        display: block;
        padding-right: 20px;
        padding-left: 20px;
        height: auto;
    }
    
    header li.mega_menu_list_item a, header li.mega_menu_list_item .mega_menu_item_button{
        width: 100%;
        height: 42px;
    }
    
    header li.mega_menu_list_item .mega_menu_item_button .mega_menu_item_label{
        width: 100%;
    }
    
    header .mega_menu_item_dropdown_overlay{
        display: none !important;
    }
    
    header .mega_menu_item_dropdown{
        position: relative;
        width: 100%;
        box-sizing: border-box;
    }
    
    header li.mega_menu_list_item.active .mega_menu_item_button{
        border-bottom: none;
    }
    
    header li.mega_menu_list_item li.mega_menu_sublist_item a{
        background-image: none;
    }
    
    header li.mega_menu_list_item.hover>.mega_menu_item_button{
        border-bottom: none;
        padding-top: 0;
    }
     
}