// =====section header starts=====
.header-top{
    background-color: #f5f5f0;
    padding: 10px 0;
    .ht-inner{
        display: flex;
        justify-content: space-between;
        @include breakpoint (smaller)
        {
            flex-wrap: wrap;
            justify-content: center;
        }
        .ht-contact{
            .fa-whatsapp{
                color: #4caf50;
                font-size: 18px;
                margin-right: 4px;
            }
            .fa-viber{
                color: #6f3faa;
            }
            a{
                color: #111;
                font-weight: 600;
                &:hover{
                    color: $secondary;
                }
            }
        }
        .sub-menu{
            @include breakpoint (smaller)
            {
                overflow-x: scroll;
            }
            ul{
                @include breakpoint (smaller)
                {
                    display: flex;
                    width: fit-content;
                }
                li{
                    display: inline-block;
                    position: relative;
                    @include breakpoint (smaller)
                    {
                        width: max-content;
                    }
                    &:not(:last-child){
                        margin-right: 10px;
                        padding-right: 10px;
                        @include breakpoint (smaller)
                        {
                            margin-right: 6px;
                            padding-right: 8px;
                        }
                        &::before{
                            content: '';
                            @include vcenter;
                            right: 0;
                            height: 16px;
                            width: 1px;
                            background-color: #c4c4bc;
                            @include breakpoint (smaller)
                            {
                                height: 12px;
                            }
                        }
                    }
                    a{
                        color: #111;
                        @include breakpoint (small)
                        {
                            font-size: 15px;
                        }
                        @include breakpoint (smaller)
                        {
                            font-size: 14px;
                        }
                        &:hover{
                            color: $secondary;
                        }
                    }
                }
            }
        }
    }
}
.header-mid{
    padding: 16px 0;
    @include breakpoint (smaller)
    {
        padding: 10px 0;
    }
    .hm-inner{
        display: flex;
        justify-content: space-between;
        align-items: center;
        @include breakpoint (smaller)
        {
            width: 90%;
        }
    }
    .hm-info{
        display: flex;
        align-items: center;
    }
    .hm-item{
        text-align: center;
        &:not(:last-child){
            margin-right: 40px;
            @include breakpoint (medium)
            {
                margin-right: 20px;
            }
        }
        i{
            color: #111;
            font-size: 22px;
            @include breakpoint (smaller)
            {
                font-size: 18px;
            }
        }
        .text{
            display: block;
            color: #111;
            text-transform: uppercase;
            font-weight: 300;
            font-size: 14px;
            line-height: normal;
            @include breakpoint (smaller)
            {
                font-size: 12px;
            }
        }
        a{
            display: inline-block;
            position: relative;
            .count{
                position: absolute;
                top: -4px;
                right: -4px;
                height: 16px;
                width: 16px;
                line-height: 16px;
                text-align: center;
                border-radius: 50%;
                background-color: $primary;
                color: #fff;
                font-size: 10px;
            }
        }
    }
    .search-desktop{
        border: 1px solid #ddd;
        padding: 0 0 0 10px;
        border-radius: 4px;
        width: 400px;
        @include breakpoint (wider)
        {
            width: 300px;
        }
        @include breakpoint (wide)
        {
            width: 100%;
        }
        @include breakpoint (small)
        {
            display: none;
        }
        input{
            border: none;
            margin: 0;
        }
        i{
            font-size: 16px;
            padding: 0 10px;
        }
    }
}
.logo{
    a{
        display: flex;
        align-items: center;
        h2{
            margin: 0 0 0 10px;
            color: $secondary;
            font-size: 26px;
            font-weight: 700;
            span{
                display: block;
                color: #555;
                font-weight: normal;
                font-size: 15px;
            }
        }
    }
    img{
        width: 360px;
        @include breakpoint (medium)
        {
            width: 280px;
        }
        @include breakpoint (smaller)
        {
            width: 180px;
        }
    }
}
.header-btm{
    background-color: $primary;
    .menu-wrap{
        @include breakpoint (medium)
        {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .search-mob{
            display: none;
            @include breakpoint (medium)
            {
                display: block;
                background-color: $secondary;
                padding: 0 10px 0 0;
            }
            input{
                margin-bottom: 0;
                background-color: transparent;
                color: #fff;
                border: none;
                border-radius: 0;
                &::placeholder{
                    color: #cfe0f1;
                    font-size: 15px;
                }
            }
            i{
                color: #fff;
            }
        }
        #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item > a.mega-menu-link{
            font-size: 16px;
            @include transition(.3s);
            padding: 0 16px;
            @include breakpoint (wider)
            {
                padding: 0 10px;
            }
            @include breakpoint (medium)
            {
                padding: 0 20px;
            }
        }
        #mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-blocks-left,
        #mega-menu-wrap-menu-1 .mega-menu-toggle .mega-toggle-blocks-center{
            display: none;
        }
        #mega-menu-wrap-menu-1 .mega-menu-toggle + #mega-menu-menu-1{
            @include breakpoint (smaller)
            {
                width: 100%;
                padding-top: 10px;
            }
        }
        #mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link
        {
            line-height: unset;
            padding: 6px 10px;
        }
    }
}
// =====section header ends=====

// =====section preloader starts=====
#loading{
    height: 100vh;
    width: 100%;
    background: #fff no-repeat center;
    position: fixed;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    img{
        width: 20rem;
    }
}
// =====section preloader ends=====