﻿

/*--------------------- Menu bar items---------------------*/
.main-menu-container {
    vertical-align: middle;
    flex-wrap: wrap;
    display: flex;
    flex-direction: row-reverse;
    background-color: white;
    transition: all .3s linear;
    padding-top: 15px; /*first margin without scroll*/
    z-index: 98;
    width: 100%;
    top: 0;
}

    .main-menu-container a {
        font-size: 15px !important
    }

.phone-container {
    color: var(--gray);
    background-color: var(--lightgray);
    width: 100%;
    text-align: left;
    height: 45px;
    line-height: 40px;
    transition: all .3s linear;
    z-index: 1 !important;
}

.containerHeader {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: auto;
    justify-content: space-between;
}

.leftHeaderItem {
    order: 2;
    transition: all .3s linear;
    opacity: 1;
}

.rightHeaderItem {
    order: 1;
    transition: all .3s linear;
}

.logo {
    z-index: 2 !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

.fixedMenu .logo {
    padding-top: 0px;
    padding-bottom: 0px;
}

.logo img, .arrow img {
    transition: all .3s linear;
    height: 85px !important;
    padding-top: 5px;
    padding-bottom: 5px;
}
.logo_site {
    display: block;
}

.logo_mobile {
    display: none;
}


.menuBar, .menuBar a {
    background-color: var(--master);
    height: auto !important;
    width: 100%;
    color: white;
    padding-top: 3px;
    padding-bottom: 3px;
}

.fixedMenu {
    z-index: 998;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    border-bottom: 1px solid var(--slave);
    background-color: white;
    padding-top: 0px !important;
}

    .fixedMenu .phone-container {
        background-color: transparent;
        height: 0;
    }

    .fixedMenu .logo img, .fixedMenu .arrow img {
        height: 80px !important;
    }

    .fixedMenu .leftHeaderItem {
        opacity: 0;
    }

.topbar_tel {
    margin-left: 15px;
}


@media all and (max-width: 1024px) {
    .main-menu-container {
        padding: 0px !important;
    }


    .topbar_tel {
        display: none;
        margin-left: 0px;
    }


    .containerHeader {
        display: block;
    }

    .leftHeaderItem {
        display: none !important;
    }
}
/*--------------------- Menu bootstrap Styles ---------------*/
.navbar-default {
    color: #fff;
    background-color: transparent;
    border: none;
    border-radius: 0;
    height: auto !important;
}

.collapse, .menuBar .container {
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-default .fa {
    opacity: .5;
    margin-left: 3px;
}

.navbar-default .caret {
    transition: all .2s linear;
}

.navbar-default li:hover .caret {
    transform: rotate(180deg);
}


.navbar-nav > li > a {
    transition: all .3s linear;
    /*border-radius: var(--radius);*/
}


    .navbar-nav > li > a:hover {
        background-color: var(--slave) !important;
        color: #fff !important;
    }

.navbar-default .navbar-nav > .dropdown > a .caret {
    border-top-color: #fff;
    border-bottom-color: #fff;
}

.navbar-nav > li > .dropdown-menu {
    border: 1px solid var(--gray);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px !important;
    background-color: white;
    border-radius: 0;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

.menu-large {
    position: static !important;
}

.megamenu {
    width: 100%;
    padding: 20px 0;
    border-top: 3px solid var(--slave) !important;
   
}

    .megamenu > li > ul {
        margin: 0;
        padding: 0;
    }

        .megamenu > li > ul > li {
            list-style: none;
        }

    .megamenu > li ul > li > a {
        background-color: transparent !important;
        color: #000000 !important;
        font-size: 18px !important;
        line-height: 35px !important;
        transition: all .3s linear;
        display: block;
        clear: both;
        white-space: normal;
        padding: 3px 20px;
    }

        .megamenu > li ul > li > a:hover {
            background-color: var(--lightgray) !important;
        }

.dropdown-menu i {
    padding-right: 10px;
    padding-left: 10px;
    color: var(--master) !important;
    transition: all .3s linear;
}

.megamenu > li ul > li > a:hover i {
    padding-right: 12px;
}

.dropdown-header {
    color: var(--master);
    font-size: 20px !important;
    font-weight: bold;
}


@media all and (max-width: 1200px) {
    .navbar-default .fa {
        display: none;
    }
}

@media all and (max-width: 768px) {
    .logo_site {
        display: none;
    }

    .logo_mobile {
        display: block;
    }
    .megamenu {
        margin-left: 0;
        margin-right: 0;
    }

    .navbar-nav > li > a {
        border-radius: 0;
    }

    .megamenu > li {
        margin-bottom: 30px;
    }

        .megamenu > li:last-child {
            margin-bottom: 0;
        }

    .megamenu.dropdown-header {
        padding: 3px 15px !important;
    }

    .navbar-nav .open .dropdown-menu .dropdown-header {
        color: #fff;
    }

    .dropdown-menu {
        background-color: white !important;
    }

        .dropdown-menu ul, .dropdown-menu li {
            padding: 0 !important;
            margin: 0 !important;
        }
}

.navbar, .navbar-default .navbar-toggle {
    border-radius: 0;
    top: 0;
}

    .navbar-default .navbar-toggle .icon-bar {
        background-color: #fff;
    }

    .navbar-default .navbar-toggle:hover .icon-bar,
    .navbar-default .navbar-toggle:focus .icon-bar {
        background-color: black;
    }


@media (max-width: 1024px) {
    .navbar-header {
        float: none;
    }

    .navbar-left, .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

        .navbar-nav > li {
            float: none;
        }

            .navbar-nav > li > a {
                padding-top: 10px;
                padding-bottom: 10px;
            }

    .collapse.in {
        display: block !important;
    }
}