.menu-collapser {
    position: relative;
    color: #FFF;
    text-shadow: 0 1px 0 rgba(0,0,0,0.5);
    width: 100%;
    height: 48px;
    line-height: 48px;
    font-size: 16px;
    padding: 0 8px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box
}
.collapse-button {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 40px;
    background-color: #0E0E0E;
    background-image: linear-gradient(to bottom, #151515, #040404);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-radius: 4px 4px 4px 4px;
    border-style: solid;
    border-width: 1px;
    color: #FFFFFF;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.075);
    padding: 7px 10px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    cursor: pointer;
    font-size: 14px;
    text-align: center;

    transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box
}
.collapse-button:hover, .collapse-button:focus {
    background-image: none;
    background-color: #040404;
    color: #FFF;
}
.collapse-button .icon-bar {
    background-color: #F5F5F5;
    border-radius: 1px 1px 1px 1px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    display: block;
    height: 2px;
    width: 18px;
    margin: 2px 0;
}

ul.menu-primary.collapsed {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 99%;
}
ul.menu-primary.collapsed li {
    position: relative;
    display: inline-block;
}
ul.menu-primary.collapsed > li { margin-right:0; border-left:none; }
ul.menu-primary.collapsed > li:first-child { border-left: 0 }
ul.menu-primary.collapsed > li:last-child { margin-right: 0 }
ul.menu-primary.collapsed li a {
    display: block; text-align:left;
    border-left:none;
    padding: 12px 16px 12px 16px;
    font-size: 16px;
    font-weight: 400;
    transition: background-color 0.5s ease-out;
    -o-transition: background-color 0.5s ease-out;
    -moz-transition: background-color 0.5s ease-out;
    -webkit-transition: background-color 0.5s ease-out;
}
ul.menu-primary.collapsed li li{ background:none !important;}
ul.menu-primary.collapsed li li a{ border-radius:0px !important;}
ul.menu-primary.collapsed li a:hover {
    background: rgba(0, 0, 0, 0.075);
    text-decoration: none;
}
ul.menu-primary.collapsed li .sub-collapser {
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 100%;
    text-align: center;
    z-index: 999;
    cursor: pointer;
}
ul.menu-primary.collapsed li .sub-collapser{ display:none;}
ul.menu-primary.collapsed li .sub-collapser:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
}
ul.menu-primary.collapsed li .sub-collapser > i {
    color: #333;
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
}
ul.menu-primary.collapsed li ul {
    margin: 0;
    list-style-type: none;
}
ul.menu-primary.collapsed li ul li { background-color: #BBB }
ul.menu-primary.collapsed li > ul {
    display: none;
    position: absolute;
    left: 0; float:none !important;
    top: 0;
    z-index: 999;
    width: 100%;
}
ul.menu-primary.collapsed li > ul > li ul {
    display: none;
    position: static;
    left: 100%;
    top: 0;
    z-index: 999;
    width: 100%;
}


ul.menu-primary.collapsed li > ul > li ul li a{ background:#19b86f !important;}
ul.menu-primary.collapsed li > ul > li ul li.current_page_item a, ul.menu-primary.collapsed li > ul > li ul li a:hover{ background: #404040 !important;}

ul.menu-primary.collapsed.collapsed li {
    display: block;
    width: 100%;
	float:left;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box
}
ul.menu-primary.collapsed.collapsed li a {
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.075);

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box
}
ul.menu-primary.collapsed.collapsed li .sub-collapser {
    height: 40px;
}
ul.menu-primary.collapsed.collapsed li > ul {
    display: none;
    position: static;
}

@media (max-width: 770px)  {
ul.menu-primary.collapsed li .sub-collapser{ display:block;}
ul.menu-primary.collapsed{ padding:0 !important;}
}