

//Menu
.menu {
    ul {
        @extend display-flex;
        @include flex-wrap(wrap);
        @extend list-type-ulli;
        li {
            position: relative;
            padding: 37px 0;
            a {
                font-size: 15px;
                font-family: 'Montserrat Regular';
                padding: 5px 8px;
                margin: 0 15px;
                position: relative;
                color: #fff;
                text-transform: uppercase;
                font-weight: 600;
                // padding: 5px 15px;
                &:after, &:before {
                    content: '';
                    position: absolute;
                    width: 12px;
                    height: 12px;
                    opacity: 0;
                    border: 1px solid #fff;
                    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
                    transition: transform 0.3s, opacity 0.3s;
                    -webkit-transition-timing-function: cubic-bezier(0.17, 0.67, 0.05, 1.29);
                    transition-timing-function: cubic-bezier(0.17, 0.67, 0.05, 1.29);
                }
                &:before {
                    top: 0;
                    left: 0;
                    border-width: 1px 0 0 1px;
                    -webkit-transform: translate3d(10px, 10px, 0);
                    transform: translate3d(10px, 10px, 0);
                }
                &:after {
                    right: 0;
                    bottom: 0;
                    border-width: 0 1px 1px 0;
                    -webkit-transform: translate3d(-10px, -10px, 0);
                    transform: translate3d(-10px, -10px, 0);
                }
                &:hover {
                    color: #333;
                    &:after {
                        max-width: 100%;
                    }
                }
            }
            &:last-child {
                padding-right: 0px;
                a {
                    padding-right: 0px;
                }
            }
            .sub-menu {
                position: absolute;
                z-index: 1000;
                float: left;
                background-color: #fff;
                -webkit-transition: top 0.3s ease 0s, opacity 0.3s;
                transition: top 0.3s ease 0s, opacity 0.3s;
                @include transform(scaleX(0));
                opacity: 0;
                border: none;
                @include border-radius(0);
                // @include box-shadow(0 3px 5px rgba(0, 0, 0, 0.15));
                margin: 0;
                display: block;
                left: 0;
                padding: 0;
                min-width: 250px;
                white-space: nowrap;
                padding-top: 25px;
                padding-bottom: 25px;
                li {
                    padding: 3px 30px;
                    a {
                        padding: 5px 0px;
                        display: block;
                        color: $grey-primary;
                        margin: 0px;
                    }
                    &:hover {
                        a {
                            text-decoration: underline;
                        }
                        .sub-menu {
                            li {
                                a {
                                    text-decoration: none;
                                }
                            }
                        }
                    }
                    .sub-menu {
                        left: 100%;
                        top: -25px;
                        li {
                            a {
                                text-decoration: none;
                            }
                            &:hover {
                                a {
                                    text-decoration: underline;
                                }
                            }
                        }
                    }
                }
                .menu-item-has-children {
                    position: relative;
                    &:after {
                        position: absolute;
                        font-family: 'Material-Design-Iconic-Font';
                        content: '\f2fb';
                        top: 50%;
                        right: 28px;
                        @include transform(translateY(-50%));
                    }
                }
            }
            &:hover {
                >ul {
                    opacity: 1;
                    top: 100%;
                    -webkit-transform: scaleX(1);
                    -ms-transform: scaleX(1);
                    transform: scaleX(1);
                }
            }
        }
        .curent-menu-item {
            a {
                &:after, &:before {
                    opacity: 1;
                    -webkit-transform: translate3d(0, 0, 0);
                    transform: translate3d(0, 0, 0);
                }
            }
            .sub-menu {
                li {
                    a {
                        &:after, &:before {
                            opacity: 0;
                        }
                    }
                }
            }
        }
    }
}
.toggle-box {
    padding: 29px 0;
    .toggle-btn {
        @extend display-flex;
        width: 90px;
        @include justify-content(space-around);
        @include align-items(center);

    }
}
// Search-box
.search-btn {
    position: relative;
    z-index: 999;
    color: #fff;
    font-size: 22px;
}
.search-box {
    padding-left: 30px;
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 0;
    position: fixed;
    top: 0;
    background: #fff;
    right: 0;
    @include transition(ease-in 0.5s all);
    @include transform(translateY(-150%));
    z-index: 999999;
    form {
        cursor: pointer;
        position: relative;
        input {
            background: transparent;
            padding: 3px 10px;
            border: none;
            border-bottom: 1px solid $black-title;
            width: 780px;
            font-size: 18px;
            color: $black-title;
            font-family: 'Montserrat Medium';
            &::-webkit-input-placeholder {
                font-size: 20px;
                color: $black-title;
            }
            &::-moz-placeholder {
                font-size: 20px;
                color: $black-title;
            }
            &:-ms-input-placeholder {
                font-size: 20px;
                color: $black-title;
            }
            &:-moz-placeholder {
                font-size: 20px;
                color: $black-title;
            }
        }
        .search-icon {
            font-size: 20px;
            color: $black-title;
            position: absolute;
            right: 10px;
            top: 2px;
            @include transform(rotate(90deg));
            background: transparent;
            padding: 0px;
            outline: none;
            cursor: pointer;
            border: none;
        }
    }
    .nav-close {
        position: absolute;
        top: 40px;
        right: 115px;
    }
}
.search-box.active {
    @include transform(translateY(0px));
    opacity: 1;
    @include transition(ease-in 0.5s all);
}

.nav-icon {
    position: relative;
    z-index: 99;
    @include transition(linear 0.5s all);
    font-size: 25px;
    color: #fff;
    &:hover {
        color: $yellow-primary;
    }
}

.nav-box {
    // display: block;
    width: 30%;
    background-color: #fff;
    padding: 40px 60px;
    // display: block;
    opacity: 0;
    @include transition(ease-in 0.5s all);
    @include transform(translateY(-150%));
    position: fixed;
    top: 0px;
    right: 0;
    width: 440px;
    z-index: 9999999;
    height: 100%;
    @include box-shadow(0px 0px 5px 0px rgba(0, 0, 0, 0.1));
}

.nav-box.active {
    @include transform(translateY(0px));
    display: block;
    opacity: 1;
    @include transition(ease-in 0.5s all);
}

.nav-close {
    display: block;
    text-align: right;
    color: $grey-primary;
    font-size: 25px;
    margin-bottom: 80px;
    &:hover {
        color: $yellow-primary;
    }
}

.nav-logo, .nav-img, .nav-info, .nav-socials {
    text-align: center;
}
.nav-logo {
    margin-bottom: 53px;
}

.nav-info {
    margin-top: 33px;
    margin-bottom: 200px;
    .info-item {
        font-size: 15px;
        margin-bottom: 15px;
        &:last-child {
            margin-bottom: 0px;
        }
        span {
            color: $grey-primary;
            font-family: 'Montserrat SemiBold';
        }
        a {
            color: $grey-primary;
        }
    }
}




/*Navbar menu mobile*/

.hidden-tablet-landscape-up {
    display: none;
}

.au-nav-mobile {
    z-index: 10000;
    width: 100%;
    float: left;
    display: none;
    ul {
        padding: 0;
        margin: 0;
        display: block;
        list-style-type: none;
        list-style-type: none;
        background: $yellow-primary;
        li {
            position: relative;
            padding: 0;
            a {
                // text-transform: uppercase;
                font-size: 18px;
                color: #fff;
                padding: 14px 30px;
                font-weight: 700;
                text-align: left;
                display: block;
                &:after {
                    height: 0px;
                }
            }
            >.arrow {
                width: 50px;
                height: 50px;
                color: #000;
                position: absolute;
                top: 0;
                right: 0;
                @include transition(all 0.3s ease);
                i {
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    @include transform(translate(-50%, -50%));
                    width: 11px;
                    height: 11px;
                    &:before {
                        content: '';
                        position: absolute;
                        left: 0;
                        top: 4px;
                        width: 11px;
                        height: 3px;
                        background: #fff;
                        @include border-radius(1px);
                    }
                    &:after {
                        content: '';
                        position: absolute;
                        left: 4px;
                        top: 0;
                        width: 3px;
                        height: 11px;
                        background: #fff;
                        @include border-radius(1px);
                    }
                }
            }
            .clicked {
                color: $black-title;
                @include transition(all 0.3s ease);
                @include transform(rotate(45deg));
                i {
                    &:after,
                    &:before {
                        background: $black-title;
                    }
                }
            }
            .sub-menu {
                display: none;
                padding: 0;
                background: #e5f1fc;
                width: 100%;
                opacity: 1;
                @include transform(none);
                li {
                    padding: 0px;
                    a {
                        font-size: 15px;
                        // font-weight: 400;
                        padding: 15px 40px;
                        border-bottom: 1px solid #e1e1e1;
                        color: $black-title;
                    }
                    >.arrow {
                        i {
                            &:after, &:before {
                                background: #333;
                            }
                        }
                    }
                }
            }
        }
    }
}

.container-fluid {
    &:after,
    &:before {
        display: table;
        content: " ";
        clear: both;
    }
}

.search-widget-open {
    form {
        .search-icon {
            .fa-search {
                &:before {
                    content: '\f00d';
                }
            }
        }
    }
}

.header {
    height: 100px;
    .fixed {
        -webkit-animation: fadeInDown 0.3s ease-out forwards;
        -moz-animation: fadeInDown 0.3s ease-out forwards;
        -o-animation: fadeInDown 0.3s ease-out forwards;
        animation: fadeInDown 0.3s ease-out forwards;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10000;
        background: rgba(0, 0, 0, 0.85);
        -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
        .menu {
            ul {
                li {
                    padding: 25px 15px;
                    .sub-menu {
                        li {
                            padding: 5px 20px;
                        }
                    }
                }
            }
        }
        .search-box {
            height: 400%;
        }
        .toggle-box {
            display: none;
        }
    }
    position: absolute;
    top: 0px;
    z-index: 10000;
    width: 100%;
}
.header-1 {
    .fixed {
        .menu {
            ul {
                li {
                    a {
                        &:hover {
                            color: $yellow-primary;
                        }
                    }
                }
            }
        }
    }
}
.header-3 {
    position: relative;
}
.header-3, .header-5 {
    background: #fff;
    .menu ul li a {
        color: $grey-primary;
        &:after, &:before {
            border: 1px solid #666;
        }
        &:before {
            border-width: 1px 0 0 1px;
        }
        &:after {
            border-width: 0 1px 1px 0;
        }
    }
    .search-btn, .nav-icon {
        color: $grey-primary;
    }
    .fixed {
        background: rgba(255, 255, 255, 0.85);
    }
}
.header-6, .header-3, .header-5{
    .logo {
        img {
            width: 120px;
        }
    }
}
.header-2 {
    .fixed {
        background: rgba(0, 0, 0, 0.8);
        @include box-shadow(0px 1px 3px 0px rgba(255, 255, 255, 0.1));
    }
}
.header-6 {
    position: fixed;
    .menu {
        ul {
            li {
                a {
                    &:hover {
                        color: $yellow-primary;
                    }
                }
            }
        }
    }
}
.header-4 {
    .fixed {
        display: none;
    }
}
.header-menu {
    padding: 0 65px;
}

.header-mobile {
    .header-top-mobile {
        padding: 15px 0;
        &:after {
            content: "";
            display: table;
            clear: both;
        }
        .logo {
            float: left;
        }
        .hamburger {
            float: right;
            outline: none;
        }
        .toggle-box {

            height: 100%;
            position: relative;
            display: inline-block;
            float: right;
            padding: 12px 0;
            .toggle-btn {
                width: 50px;
            }
        }
        .search-box {
            form {
                input {
                    width: 100%;
                }
            }
        }
    }
    .header-top {
        float: left;
        width: 100%;
        &:after {
            content: "";
            display: table;
            clear: both;
        }
    }
}
.header-pull {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    bottom: 0;
    width: 269px;
    @include box-shadow(0px 0px 10px 0px rgba(0, 0, 0, 0.15));
    overflow: hidden !important;
    height: 100%;
    .fixed {
        display: none;
    }
    .header-menu-content {
        @include flex-direction(column);
        padding-top: 160px;
        .logo {
            padding-bottom: 50px;
        }
        .header-socials {
            padding-top: 160px;

        }
    }
    .header-menu {
        padding: 0 25px;
    }
    .footer-line {
        background: rgba(153,153,153, 0.5);
        margin-bottom: 35px;
    }
    .menu {
        ul {
            @include flex-direction(column);
            li {
                padding: 13px 0;
                text-align: center;
                &:hover {
                    > ul {
                        top: 105%;
                    }
                }
                .sub-menu {
                    left: -42%;
                    background: $yellow-primary;
                    display: none;
                    li {
                        a {
                            color: #fff;
                        }
                    }
                }
            }
        }
    }
}
