/* Created on : Aug 14, 2020, 11:08:23 AM
    Author     : Andrew Molchanov <andymolchanov@gmail.com> */
.header_burger {
    display: none;
}

#siteHeader {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

#siteHeader:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #26383f;
    z-index: 2;
}

.header_body {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #26383f;
    width: 100%;
    height: 81px;
    color: #ffff;
    padding-right: 256px;
}

.header_menu {
    flex-grow: 1;
    padding: 0 110px 0 100px;
    height: 100%;
}

ul#header_menu {
    margin: 0;
    height: 100%;
    list-style: none;
    display: flex;
    align-items: center;
    position: relative;
}

li.menu-item {
    height: 100%;
    font-size: 16px;
    line-height: 22px;
    padding: 0 25px 0 25px;
    position: relative;
    flex-grow: 1;
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
}

ul#header_menu li.menu-item:hover > ul.sub_menu_header {
    max-height: 1000px;
    padding: 22px 25px 0;
}

ul#header_menu li.menu-item ul.sub_menu_header:hover {
    display: block;
}

li.menu-item a {
    color: #ffff;
}

li.menu-item > a:hover {
    font-family: OpenSansHebrew-Bold;
}

.menu-item.active_menu:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: red;
    bottom: 0;
    right: 50%;
    transform: translate(50%);
}

#logo-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #fff;
    padding: 0 25px;
    position: relative;
    height: 100%;
    z-index: 3;
}

#logo-wrapper-extention {
    position: absolute;
    width: 100%;
    height: 22px;
    background-color: white;
    top: 80px;
    left: 0px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

#whats-up-wrap {
    max-width: 105px;
    max-height: 51px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: white;
}

.sub_menu_header {
    background-color: #26383f;
    position: absolute;
    width: 100%;

    /* display: none; */
    top: 80px;
    max-height: 0px;
    overflow: hidden;
    -webkit-transition: max-height 0.4s linear;
    -moz-transition: max-height 0.4s linear;
    transition: max-height 0.4s linear;
}

.sub_menu_header li {
    padding: 15px 0;
}

.sub_menu_header .submenu_devider_line:last-child {
    display: none;
}

.sub_menu_header a:hover {
    color: #ec1c2c;
    font-weight: bold;
}

.sub_menu_header a {
    font-size: 16px;
    line-height: 22px;
}

.whatsapp-button {
    padding: 10px 13px 8px 0;
    background-color: #26383F;
    width: 105px;
    border-bottom-right-radius: 30px;
    border-top-right-radius: 30px;
    box-shadow: 0px 4px 25px #000000;
    position: relative;
    z-index: 3;
}

.whatsapp-button a i {
    font-size: 25px;
}

.submenu_devider_line {
    height: 1px;
    width: 100%;
    background: #C4C4C4;
}

#footer .elementor-element.elementor-column.elementor-top-column {
    width: 100%;
}

#footer .elementor-column-wrap.elementor-element-populated {
    display: flex;
}

#footer .elementor-widget-wrap {
    display: flex;
    justify-content: center;
}

@media (max-width: 1366px) {
    #siteHeader {
        padding: 0 50px 0 0;
    }

    nav ul#header_menu {
        margin: 0;
    }

    .header_body,
    .header_menu,
    nav ul#header_menu,
    li.menu-item {
        padding: 0;
    }

    .sub_menu_header {
        padding: 0 20px 0 10px;
    }
}

@media (max-width: 768px) {
    #siteHeader {
        padding: 0 50px 0 0;
        justify-content: space-between;
        height: 140px;
    }

    #logo-wrapper-extention {
        top: 138px;
    }

    .header_body {
        padding-right: 0;
        height: 100%;
        z-index: initial;
        flex-wrap: wrap;
    }

    #header_menu {
        overflow: auto;
    }

    .header_menu {
        position: fixed;
        width: 100%;
        top: 0;
        right: 0;
        transition: all 0.3s ease 0s;
        top: -100%;
        padding: 0;
    }

    .sub_menu_header {
        height: 100%;
    }

    .header_menu.active {
        top: 139px;
        padding: 0;
        z-index: -1;
        height: 100%;
        background-color: #26383f;
        width: 90%;
        overflow: auto;
    }

    .header_menu ul#header_menu {
        display: block;
    }

    li.menu-item {
        width: 100%;
        padding: 25px 25px;
        font-family: OpenSansHebrew-Bold;
        position: relative;
        height: auto;
        justify-content: flex-start;
        flex-direction: column;
        align-items: baseline;
    }

    li.menu-item:after {
        content: '';
        width: 90%;
        height: 2px;
        background-color: rgba(193, 193, 193, 0.29);
        position: absolute;
        bottom: 0;
        right: 20px;
    }

    li.menu-item:hover > .sub_menu_header {
        position: initial;
        font-family: OpenSansHebrew-Regular;
    }

    .header_burger {
        display: block;
        position: relative;
        width: 46px;
        height: 38px;
        z-index: 3;
    }

    .header_burger span {
        position: absolute;
        background-color: #fff;
        left: 0;
        top: 15px;
        width: 100%;
        height: 8px;
        border-radius: 4px;
        transition: all 0.3s ease 0s;
    }

    .header_burger:before,
    .header_burger:after {
        content: '';
        position: absolute;
        background-color: #fff;
        width: 100%;
        height: 8px;
        border-radius: 4px;
        left: 0;
        transition: all 0.3s ease 0s;
    }

    .header_burger:before {
        top: 0;
    }

    .header_burger:after {
        bottom: 0;
    }

    .header_burger.active:before {
        transform: rotate(45deg);
        top: 15px;
    }

    .header_burger.active:after {
        transform: rotate(-45deg);
        bottom: 15px;
    }

    .header_burger.active span {
        transform: scale(0);
    }
}

@media screen and (max-width: 380px) {
    #siteHeader {
        padding: 0 10px 0 0;
    }

    .whatsapp-button {
        width: 80px;
    }
}