.ynclean-navbar .navbar-collapse{
    -webkit-overflow-scrolling: initial;
}
#header_menu {
	background: transparent;
    position: static;
}

#header_menu ul {
    padding: 0;
}

#header_menu ul li a, 
#header_menu ul li a:hover,
#header_menu ul li ul li a:hover {
    font-size: 12px !important;
    text-decoration: none;
    color: #555;
	border: 0;
    margin: 0;
	padding: 3px 5px;
	background: transparent;
}

/* REST SOME STYLES */
#ynAdvMenuSystem {
    background-color: #fff;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;    
    z-index: 98;
}

#ynAdvMenuSystem.ynmenu-fixTop {
    -webkit-box-shadow: 0 0px 5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 0px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.3);
}

.ynmenu-custom-style {
    display: none;
}

#ynAdvMenuSystem.fixMenu {
    position: fixed;
    top: 0;   
    z-index: 99;
}

.ynmenu-container {
	position: relative;
}

#ynAdvMenuSystem .ynmenu-listing:after {
    content: " ";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-icon, 
#ynAdvMenuSystem .ynmenu-listing .ynmenu-icon-hover {    
    width: 16px;
    height: 16px;
    text-align: center;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-icon img, 
#ynAdvMenuSystem .ynmenu-listing .ynmenu-icon-hover img {
    width: 16px;
    max-height: 16px;
    margin-top: 8px;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-icon-hover {
    display: none;
}

#ynAdvMenuSystem .ynmenu-listing li.over>a .ynmenu-icon {
    display: none;
}

#ynAdvMenuSystem .ynmenu-listing li.over>a .ynmenu-icon-hover {
    display: inline-block;
}

#ynAdvMenuSystem .ynmenu-listing ul li a.over,
#ynAdvMenuSystem .ynmenu-listing ul li a {
    float: none;
    color: #555;
    font-size: 12px;
    text-transform: capitalize;
    font-weight: normal;

    background-color: transparent;
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-decoration: none;

    width: auto;
}

#ynAdvMenuSystem .ynmenu-listing ul li a:hover {
    float: none;
    text-decoration: none;
    background-color: transparent;
    color: #555;
    width: auto;
}

#ynAdvMenuSystem .ynmenu-listing ul li a span {
    display: inline-block;
    vertical-align: middle;
}

#ynAdvMenuSystem .ynmenu-listing li.ynmenu-standard ul a span.ynmenu-text {
    max-width: 95%;
    display: inline-block;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#ynAdvMenuSystem .ynmenu-listing li.ynmenu-standard ul a span.ynmenu-text.have-child {
    max-width: 80%;
    display: inline-block;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#ynAdvMenuSystem .ynmenu-listing li>span.toggle {
    display: none;
    width: 16px;
    height: 16px;
    line-height: 16px;
    float: right;
}

#ynAdvMenuSystem .ynmenu-listing>li {
    float: left;
    position: static;
}

#ynAdvMenuSystem .ynmenu-listing>li li {
    position: relative;
}

#ynAdvMenuSystem .ynmenu-listing>li ul {
    display: none;
    background-color: #fff;
}

#ynAdvMenuSystem .ynmenu-listing .item-content a,
#ynAdvMenuSystem .ynmenu-listing .item-content a:hover {
    display: block;
    padding: 0;
    width: auto;
}

#ynAdvMenuSystem .ynmenu-listing .item-content a .ynmenu-content-photo {
    background-color: #f2f5f6;
    display: block;
    height: 120px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#ynAdvMenuSystem .ynmenu-listing .item-content a span:not(.ynmenu-content-photo) {
    text-align: left;
    white-space: normal;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    word-break: break-word;
    word-wrap: break-word;
    padding: 5px 5px 0px 5px;
    height: 41px;
    line-height: 18px;
}

#ynAdvMenuSystem .ynmenu-listing .item-content a:hover span:not(.ynmenu-content-photo) {
    background-color: #324f67;
    color: #fff;
}

/* standard menu */
#ynAdvMenuSystem .ynmenu-listing .ynmenu-standard ul {
    background-color: #fff;
    display: none;
    width: 200px;
    left: inherit;
    right: inherit;
    position: absolute;
    z-index: 2;
    padding: 8px 0;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-standard ul ul {
    margin-left: 100%;
    top: -9px;
    left: 0;
    z-index: 3;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-standard.over > ul, #ynAdvMenuSystem .ynmenu-listing .ynmenu-standard .over > ul {
    display: block;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-standard li {
    position: relative;
    padding: 0 8px;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-standard li .toggle {
    position: absolute;
    right: 8px;
    top: 8px;
    display: block;
    color: #555;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-standard li > a {
    padding: 0 10px;
    text-align: left;
    line-height: 30px;
    color: #555;
    width: auto;
    background-color: transparent;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-standard li.over > a, #ynAdvMenuSystem .ynmenu-listing .ynmenu-standard li.menu_is_selected > a {
    background-color: #324f67;
    color: #fff;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-standard li.over span.toggle{
    color: #FFF;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-standard.ynmenu-level1-idmenu-more ul {
    max-height: 390px;
    overflow-y: auto;
}

/* multi listing */
#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi .ynmenu-icon img, 
#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi .ynmenu-icon-hover img {
    width: 14px;
    max-height: 14px;
    margin-top: 0;
    vertical-align: -3px;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi > ul {
	width: auto;
    position: absolute;
    right: 0;
    left: 0;
    background: #fff;
    padding: 5px;
    z-index: 10;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi > ul > li {
    float: left;
    width: 25%;
    padding: 5px 10px;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi > ul > li > a {
    text-transform: uppercase;
    border-bottom: 1px solid #dae0e2;
    margin: 10px auto 5px;
}

#ynAdvMenuSystem ul li ul,
#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi ul a {
    width: auto;
    display: block;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi > ul > li:nth-child(4n+1) {
    clear: left;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi li {
    display: block;
    line-height: 22px;
    width: 100%;
} 

#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi li .toggle {
    display: none;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi li .ynmenu-icon {
    display: inline-block;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi li .ynmenu-icon img {
    width: 16px;
    max-height: 16px;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi li > a > .ynmenu-text {
    padding: 3px 0;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi li.over > a:hover > .ynmenu-text {
    background-color: #5483ab;
    color: #fff;
    padding: 3px 5px;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi.over ul {
    display: block;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-multi.over ul ul {
    position: static;
    background-color: transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

/* menu content */
#ynAdvMenuSystem .ynmenu-listing .ynmenu-content > ul {
    padding: 10px;
	width: auto;
    position: absolute;
    max-height: 390px;
    overflow-y: auto;
    right: 0;
    left: 0;
    background: #fff;
    /* fix overlap with item active */
    z-index: 10;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-content > ul li {
    width: 20%;
    float: left;
    padding: 10px;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-content > ul li a {
    width: 100%;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-content.over ul {
    display: block;
}

/* menu mixed */
#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed .ynmenu-mixed-main {
    position: absolute;
    width: auto;
    right: 0;
    left: 0;
    height: 380px;
    display: none;
    z-index: 2;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed.over .ynmenu-mixed-main {
    display: block;
    overflow: hidden;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed.over .ynmenu-mixed-main .listing-main-content {
    height: 380px;
    overflow: hidden;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed.over .ynmenu-mixed-main .listing-main-content:after {
    content: " ";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed .listing {
    position: static;
    display: block;
    background: #f2f5f6;
    width: 212px;
    overflow-y: auto;
    height: 380px;
    padding: 8px 0;
    float: left;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed .listing li {
    line-height: 32px;
	min-height: 32px;
    border-bottom: 1px solid #e0e5e7;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed .listing li a {
    line-height: 20px;
    padding: 5px 12px;
    text-align: left;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed .listing li a .ynmenu-text {
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 95%;
}


#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed .listing li .toggle {
    float: right;
    display: block;
    height: 28px;
    line-height: 28px;
    color: #555;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed .listing li.over {
    background-color: #fff;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed .listing-content {
    height: 370px;
    padding: 10px;
    overflow: hidden;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed .listing-content ul {
    display: none;
    position: static;
    width: 100%;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed .listing-content ul.content-waiting {
    background-repeat: no-repeat;
    background-position: center 50px;
    background-size: 80px;
    width: 100%;
    height: 100%
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed .listing-content ul li {
    width: 25%;
    float: left;
    padding: 10px;
}

#ynAdvMenuSystem .ynmenu-listing .ynmenu-mixed .listing-content ul.over {
    display: block;
}

.ynams-content-loading{
    display: none;
}
  