/* hide the link until viewport size is reached */
a.meanmenu-reveal {
    display: none;
}

/* when under viewport size, .mean-container is added to body */
#wrapper .mean-container .mean-bar {
    text-align: center;
}

.mean-container .mean-nav {
    float: left;
    width: 100%;
}

#wrapper .mean-container .mean-nav ul {
    border: 1px solid #1b2228;
    list-style-type: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    overflow: auto;
    padding: 0;
    margin: 0;
    opacity: 1;
    left: 0 !important;
    width: 100% !important;
    position: relative;
}

.mean-container .mean-nav ul li {
    position: relative;
    float: left;
    width: 100%;
    padding: 0px;
}

.mean-container .mean-nav ul li .mean-expand {
    border: 0;
}

#wrapper .mean-container .mean-nav ul li ul li {
    height: auto;
}

#wrapper .mean-container .mean-nav .sf-with-ul::after {
    display: none;
}

#wrapper .mean-container .mean-nav ul li ul li a {
    padding: 10px 10% !important;
}

#wrapper .mean-container .mean-nav ul .current-menu-ancestor > a,
#wrapper .mean-container .mean-nav ul .current-menu-item > a,
#wrapper .mean-container .mean-nav ul li a:hover {
    color: #fff;
}

#wrapper .mean-container .mean-nav ul .current-menu-ancestor > a,
#wrapper .mean-container .mean-nav ul .current-menu-item > a,
#wrapper .mean-container .mean-nav ul li {
    background: transparent;
}

#wrapper .mean-container .mean-nav ul li a {
    display: block;
    *float: left;
    *width: 100%;
    padding: 10px 5%;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    *color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}

#wrapper .mean-container .mean-nav ul li .sub-menu {
    border: 0;
    overflow: hidden;
}

#wrapper .mean-container .mean-nav ul li .sub-menu li a {
    padding: 10px 10%;
    opacity: 0.75;
    filter: alpha(opacity=75);
    text-shadow: none;
    visibility: visible;
}

#wrapper .mean-container .mean-nav ul li.mean-last a {
    margin-bottom: 0;
}

#wrapper .mean-container .link-effect ul li li li a,
#wrapper .mean-container .mean-nav ul li li li a {
    padding: 10px 15% !important;
}

#wrapper .mean-container .mean-nav ul li li li li a {
    padding: 10px 20% !important;
}

#wrapper .mean-container .mean-nav ul li li li li li a {
    padding: 10px 25%;
}

#wrapper .mean-container .mean-nav ul li a.mean-expand {
    border: 0 !important;
    width: 10%;
    padding: 10px !important;
    text-align: center;
    position: absolute;
    left: 90%;
    top: 0;
    z-index: 2;
    border: 0;
}

.mean-container .mean-nav ul li li li a {
    padding: 10px 15% !important;
}

.mean-container .mean-nav ul li a.mean-expand:hover {
    background: none;
}

.mean-container .mean-push {
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
    clear: both;
}

.mean-nav .wrapper {
    width: 100%;
    padding: 0;
    margin: 0;
}

.mean-remove {
    display: none !important;
}

#wrapper .header_v2 #search-text-top {
    font-size: 14px;
}

#wrapper .header_v2 #search_label_top {
    float: none;
}

#wrapper .header4 ul.nav-menu .sf-with-ul:after {
    content: "\f067";
    font-size: 7px;
    position: absolute;
    top: 7px;
    right: 0;
}

#wrapper .header4 ul.nav-menu .sf-with-ul:hover:after {
    content: "\f068";
    top: 7px;
    font-size: 7px;
}

#wrapper .header4 ul.nav-menu .sub-menu .sf-with-ul:after {
    right: 10px !important;
    top: 2px !important;
}

#wrapper .header4 ul.nav-menu .sub-menu .sf-with-ul:hover:after {
    content: "\f068";
    top: 2px !important;
    font-size: 7px;
}

.header5 .primary-menu .nav-menu li .sub-menu {
    margin: -7px 0 0;
}

.header5 .primary-menu .nav-menu li .sub-menu .sub-menu {
    margin: 0;
}

.header5 .primary-menu {
    margin: 0 0 -6px;
}

@media only screen and (max-width: 768px) {
    ul.nav-menu li:hover li ul,
    ul.nav-menu li.nav-hover li ul,
    ul.nav-menu li li:hover li ul,
    ul.nav-menu li li.nav-hover li ul,
    ul.nav-menu li li li:hover li ul,
    ul.nav-menu li li li.nav-hover li ul {
      top: 0;
    }
}
