.navbar-fixed-bottom,
.navbar-fixed-top {
    position: relative;
    background: #ffffff;
}
.header-top .logo {
    position: relative;
    font: 24px verdana;
    margin: 20px auto; 
}
#style-menu,
#style-menu ul,
#style-menu ul li,
#style-menu ul li a,
#style-menu #menu-button {
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    box-sizing: border-box;
    z-index: 111;
}
#style-menu:after,
#style-menu > ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
#style-menu {
    line-height: 1;
    float: right;
    width: 100%;
}
#style-menu > ul > li {
    float: left;
}
#style-menu > ul > li > a {
    margin: 10px 5px;
    padding: 15px 10px 15px 10px;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff;
    -webkit-transition: color .2s ease;
    -moz-transition: color .2s ease;
    -ms-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
    font-weight: 400;
    outline: none;
    border: 1px solid transparent;
}
#style-menu > ul > li.current-menu-item > a{
    color: #fff;
    border: 1px solid #fff;
}

#style-menu > ul > li:before{
    position: absolute;
    content: "";
    background: #ffffff;
    bottom: 25px;
    height: 5px;
    width: 5px;
    opacity: 0;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity .2s ease .0s, bottom .0s ease .2s, height .0s ease .2s, width .0s ease .2s, border-radius .0s ease .2s, left .0s ease .2s;
}

#style-menu > ul > li a.active{
    color: #fff;
    border: 1px solid #fff;
}
#style-menu > ul > li a:hover{
    color: #fff;
    border: 1px solid #fff;
}
#style-menu > ul ul li a.active, #style-menu > ul ul li a:hover{
    border: 0px solid transparent;
}

.sub-header-fixed #style-menu > ul > li > a {
    padding: 15px 15px 29px 15px;
}
#style-menu > ul > li > a.active {
    color: #1de0d9;
}
.blackMenu #style-menu > ul > li > a.active {
    color: #1de0d9;
}
#style-menu > ul > li.has-sub > a {
    padding-right: 25px;
}
.blackMenu #style-menu > ul > li.has-sub > a::after {
    border-bottom: 1px solid #14213d;
    border-right: 1px solid #14213d;
}
#style-menu > ul > li.has-sub > a::after {
    position: absolute;
    top: 18px;
    right: 13px;
    width: 5px;
    height: 5px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    content: "";
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: border-color 0.2s ease;
    -moz-transition: border-color 0.2s ease;
    -ms-transition: border-color 0.2s ease;
    -o-transition: border-color 0.2s ease;
    transition: border-color 0.2s ease;
}
#style-menu ul ul {
    position: absolute;
    left: -9999px;
    padding-top: 13px;
}
.sub-header-fixed #style-menu ul ul {
    padding-top: 3px;
}
.sub-header-fixed #style-menu ul ul ul {
    padding-top: 0;
}
.sub-header-fixed #style-menu {
    margin-top: 6px;
}
#style-menu ul ul li {
    height: 0;
    -webkit-transition: height .2s ease;
    -moz-transition: height .2s ease;
    -ms-transition: height .2s ease;
    -o-transition: height .2s ease;
    transition: height .2s ease;
}
#style-menu ul ul li a {
    padding: 14px 20px;
    width: 160px;
    font-size: 14px;
    background: #fff;
    text-decoration: none;
    color: #8a8a8a;
    -webkit-transition: color .2s ease;
    -moz-transition: color .2s ease;
    -ms-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
    font-weight: bold;
    text-transform: uppercase;
}
#style-menu ul ul li.has-sub > a::after {
    position: absolute;
    top: 18px;
    right: 10px;
    width: 4px;
    height: 4px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    content: "";
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: border-color 0.2s ease;
    -moz-transition: border-color 0.2s ease;
    -ms-transition: border-color 0.2s ease;
    -o-transition: border-color 0.2s ease;
    transition: border-color 0.2s ease;
}
#style-menu ul ul ul {
    /*margin-left: 100%;*/
    top: 0;
    padding-top: 0;
}
.sub-menu.submenu-left{
    margin-left: 100%;
}
.sub-menu.submenu-right{
    margin-left: -100%;
}
#style-menu #menu-button {
    display: none;
}
#menu-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: #fca311;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -ms-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
    display: none;
}
#style-menu.align-center > ul {
    font-size: 0;
    text-align: center;
}
#style-menu.align-center > ul > li {
    display: inline-block;
    float: none;
}
#style-menu.align-center ul ul {
    text-align: left;
}
#style-menu.align-right > ul > li {
    float: right;
}
#style-menu.align-right ul ul {
    text-align: right;
}
#style-menu li:hover > ul {
    left: auto;
}
#style-menu.align-right li:hover > ul {
    right: 0;
}
#style-menu.align-right ul ul ul {
    margin-left: 0;
    margin-right: 100%;
}
#style-menu ul li:hover > ul > li {
    height: 40px;
}
#style-menu ul ul li:hover > a,
#style-menu ul ul li a:hover {
    background: #733a23;
}
#style-menu.align-right ul ul li.has-sub > a::after {
    right: auto;
    left: 10px;
    border-bottom: 0;
    border-right: 0;
    border-top: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
}
#style-menu .logo { 
    float: left; 
}
#style-menu ul {
    float: right;
    -webkit-padding-start: 0px;
    margin-bottom: 0;

}
.header-top {
    position: absolute;
    width: 100%;
    z-index: 111;
}

@media (max-width: 1024px){
    #style-menu {
        width: 100%;
        margin-top: 3px;
    }
    .navbar-fixed-bottom,
    .navbar-fixed-top {
        position: relative;
        background: #ffffff;
    }
    #style-menu > ul > li:before{
    position: absolute;
    content: "";
    background: #8a8a8a;
    bottom: 25px;
    height: 5px;
    width: 5px;
    opacity: 0;
    border-radius: 50%;
    left: 50%;
    display: none;
    transform: translateX(-50%);
    transition: opacity .2s ease .0s, bottom .0s ease .2s, height .0s ease .2s, width .0s ease .2s, border-radius .0s ease .2s, left .0s ease .2s;
    }
    #style-menu > ul > li:hover:before{
        height: 1px;
        width: calc(100% - 35px);
        border-radius: 0;
        bottom: 5px;
        display: none;
        opacity: 1;
        transition: opacity .0s ease .0s, bottom .2s ease .0s, height .2s ease .2s, width .2s ease .2s, border-radius .2s ease .2s, left .2s ease .2s;
    }
    .sub-header-fixed #style-menu > ul > li > a {
        padding: 15px 15px 15px 15px;
    }
    #style-menu ul ul li a:hover {
        transition: all 0.6s;
    }
    #style-menu .mobilemenu {
        width: 100%;
        height: auto;
        visibility: visible !important;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        margin-top: 15px;
        margin-bottom: 15px;
    }
    #style-menu ul {
        width: 100%;
        display: none;
        background: #333333;
    }
    #style-menu.align-center > ul,
    #style-menu.align-right ul ul {
        text-align: left;
    }
    #style-menu ul li,
    #style-menu ul ul li,
    #style-menu ul li:hover > ul > li {
        width: 100%;
        height: auto;
        clear: both;
        border-top: 1px solid rgba(120, 120, 120, 0.15);
    }
    #style-menu ul li a,
    #style-menu ul ul li a {
        width: 100%;
        color:#e2e2e2;
        padding: 14px 25px;
        border: 0;
    }
    #style-menu > ul > li.current-menu-item > a, #style-menu > ul > li a:hover{
        border: 0;
    }
    #style-menu > ul > li:hover > a {
        transition: all 0.5s;
    }
    #style-menu > ul > li,
    #style-menu.align-center > ul > li,
    #style-menu.align-right > ul > li {
        float: none;
        display: block;
    }
    #style-menu ul ul li a {
        padding: 14px 40px;
        font-size: 14px;
        color: #e2e2e2;
        background: none;
    }
    #style-menu ul ul li a:hover {
        transition: all 0.5s;
    }
    #style-menu ul ul ul li a {
        padding-left: 40px;
    }
    #style-menu ul ul,
    #style-menu ul ul ul {
        position: relative;
        left: 0;
        right: auto;
        width: 100%;
        margin: 0;
    }
    #style-menu > ul > li.has-sub > a::after,
    #style-menu ul ul li.has-sub > a::after {
        display: none;
    }
    #menu-line {
        display: none;
    }
    #style-menu #menu-button {
        display: block;
        color: #fff;
        cursor: pointer;
        font-size: 12px;
        text-transform: uppercase;
        margin-top: 5px;
        margin-bottom: 10px;
        -webkit-transition: all 0.3s ease-in-out 0s;
        padding: 23px 29px;
        float: right;
    }
    .blackMenu #style-menu #menu-button::after {
        content: '';
        position: absolute;
        top: 20px;
        right: 20px;
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
    }
    .blackMenu #style-menu #menu-button::before {
        content: '';
        position: absolute;
        top: 25px;
        right: 20px;
        display: block;
        width: 22px;
        height: 7px;
        border-top: 2px solid #fff;
        border-bottom: 2px solid #fff;
    }
    
    
    #style-menu #menu-button::after {
        content: '';
        position: absolute;
        top: 20px;
        right: 20px;
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
    -webkit-transition: all 0.3s ease-in-out 0s;
    }
    #style-menu #menu-button::before {
        content: '';
        position: absolute;
        top: 25px;
        right: 20px;
        display: block;
        width: 22px;
        height: 7px;
        border-top: 2px solid #fff;
        border-bottom: 2px solid #fff;
    -webkit-transition: all 0.3s ease-in-out 0s;
    }
    #style-menu .menu-opened::after{
        content: '';
        position: absolute;
        top: 26px !important;
        right: 18px !important;
        display: block;
        width: 22px;
        height: 7px;
        transform: rotate(-45deg);
    -webkit-transition: all 0.3s ease-in-out 0s;
    }
    #style-menu .menu-opened::before {
        content: '';
        position: absolute;
        top: 25px;
        right: 20px;
        display: block;
        width: 22px;
        height: 7px;
        border-bottom: 0 !important;
        transform: rotate(45deg);
    -webkit-transition: all 0.3s ease-in-out 0s;
    }
    .blackMenu {
        background: #fff;
        width: 100%;
    }
    #style-menu .submenu-button {
        position: absolute;
        z-index: 1111;
        right: 0;
        top: -5px;
        display: block;
        height: 52px;
        width: 52px;
        cursor: pointer;
    }
    #style-menu .submenu-button::after {
        content: '';
        position: absolute;
        top: 21px;
        left: 26px;
        display: block;
        width: 1px;
        height: 11px;
        background: #ffffff;
        z-index: 99;
    }
    #style-menu .submenu-button::before {
        content: '';
        position: absolute;
        left: 21px;
        top: 26px;
        display: block;
        width: 11px;
        height: 1px;
        background: #ffffff;
        z-index: 99;
    }
    #style-menu .submenu-button.submenu-opened:after {
        display: none;
    }
    .mob_nav {
        opacity: 0.9;
        padding: 0;
        position: relative;
        right: 0;
        margin-top: -70px;
        width: 100%;
    }
    #style-menu ul ul {
        padding-top: 0;
    }
}
