.top-menu-wrapper { float:right; display: block; height:100%; top:50%; position: absolute; right:0; margin-right: 40px; margin-top: -20px; }

.top-menu { 
	float:right;
	width: 150%;
	max-width: 300px;	
	text-align: right; 
	position: relative;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	perspective: 1000px;
	-webkit-perspective-origin: 50% 200%;
	-moz-perspective-origin: 50% 200%;
	perspective-origin: 50% 200%;
	z-index: 999999;
}

.top-menu:first-child { margin-left: 100px; }

.top-menu a.dl-trigger {
	background: #f1f1f1;
	border: none;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center; 
	overflow: hidden;
	position: relative;
	cursor: pointer;
	outline: none;
	float:right; 
	border-radius:3px;	
	text-decoration: none;
}

.top-menu a.dl-trigger:hover,.top-menu a.dl-trigger.dl-active { background: #eee; }

.top-menu a.dl-trigger:after { font-family: FontAwesome !important; content:'\f0ca'; font-size:18px; font-weight: normal; color:#606060; }

.top-menu ul { 
	background: #fff;	
	padding: 0;
	list-style: none;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	text-align: left;
	border: 1px solid rgba(0, 0, 0, .1); 
	border-bottom:0;
	border-radius: 3px;
	overflow: hidden; 
}

.top-menu ul li { padding-bottom: 0; line-height: 19px;  }

.top-menu ul ul { border:0; }

.top-menu ul.sf-menu>li:hover,.top-menu li { position: relative; background: #fff;  box-shadow: none; }

.top-menu ul li a {
	display: block;
	position: relative;
	padding: 10px 15px;
	
	font-size: 13px;	
	font-weight: normal;
	color: #333;
	outline: none;
	text-decoration: none;
	border-bottom:1px solid rgba(0, 0, 0, .1); 
}

.top-menu>ul.sf-menu>li>a { font-size: 13px; }

.top-menu li a small { display: none; }

.top-menu>ul.sf-menu>li.current_page_item>a,.top-menu>ul.sf-menu>li.current-menu-item>a, .top-menu>ul.sf-menu>li.current-menu-parent>a, .top-menu>ul.sf-menu>li.current-category-ancestor>a,.top-menu>ul.sf-menu>li.current-post-ancestor>a,.top-menu>ul.sf-menu>li.current-page-ancestor>a,.top-menu>ul.sf-menu>li.current-menu-ancestor>a,.top-menu>ul.sf-menu>li.current-menu-ancestor > a:not(:only-child):after { color:#fff; font-weight: normal; }


.top-menu ul.sf-menu ul li.current-menu-item a { color:#000; font-weight: bold; }
.top-menu ul.sf-menu ul li.current-menu-item { background:#f2f2f2;  }

.no-touch .top-menu li a:hover { background: rgba(255,248,213,0.1); }

.top-menu li.dl-back > a:before { font-family: FontAwesome !important; content:'\f053'; font-size:14px; margin-right: 5px; line-height: 20px; }

.top-menu li > a:not(:only-child):after { content: "+"; color: #333; right:0; position: absolute; margin-right: 15px; font-family: tahoma,arial,verdana; font-size: 13px; }

.top-menu li.dl-back:after {
	left: 10px;
	color: rgba(212,204,198,0.3);
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	transform: rotate(180deg);
}

.top-menu li > a:after { right: 10px; color: rgba(0,0,0,0.15); }

.top-menu .sf-menu {
	margin: 45px 0 0 0;
	position: absolute;
	width: 100%;
	opacity: 0;
	pointer-events: none;
	-webkit-transform: translateY(10px);
	-moz-transform: translateY(10px);
	transform: translateY(10px);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
}

.top-menu .sf-menu.dl-menu-toggle {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.top-menu .sf-menu.dl-menuopen {
	opacity: 1;
	pointer-events: auto;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	transform: translateY(0px);
}

/* Hide the inner submenus */
.top-menu li .dl-submenu { display: none; }

/* 
When a submenu is openend, we will hide all li siblings. For that we give a class to the parent menu called "dl-subview". We also hide the submenu link.  The opened submenu will get the class "dl-subviewopen". All this is done for any sub-level being entered. */
.sf-menu.dl-subview li,.sf-menu.dl-subview li.dl-subviewopen > a,.sf-menu.dl-subview li.dl-subview > a { display: none; }

.sf-menu.dl-subview li.dl-subview,.sf-menu.dl-subview li.dl-subview .dl-submenu,.sf-menu.dl-subview li.dl-subviewopen,.sf-menu.dl-subview li.dl-subviewopen > .dl-submenu,
.sf-menu.dl-subview li.dl-subviewopen > .dl-submenu > li { display: block; }

/* Dynamically added submenu outside of the menu context */
.top-menu > .dl-submenu {
	position: absolute;
	width: 100%;
	top: 45px;
	left: 0;
	margin: 0;
}

/* Animation classes for moving out and in */

.sf-menu.dl-animate-out-5 { -webkit-animation: MenuAnimOut5 0.4s ease; -moz-animation: MenuAnimOut5 0.4s ease; animation: MenuAnimOut5 0.4s ease; }

@-webkit-keyframes MenuAnimOut5 {
	100% { -webkit-transform: translateY(40%); opacity: 0; }
}

@-moz-keyframes MenuAnimOut5 {
	100% { -moz-transform: translateY(40%);	opacity: 0;	}
}

@keyframes MenuAnimOut5 {
	100% { transform: translateY(40%); opacity: 0; }
}

.sf-menu.dl-animate-in-5 { -webkit-animation: MenuAnimIn5 0.4s ease; -moz-animation: MenuAnimIn5 0.4s ease; animation: MenuAnimIn5 0.4s ease; }

@-webkit-keyframes MenuAnimIn5 {
	0% { -webkit-transform: translateY(40%); opacity: 0; }
	100% { -webkit-transform: translateY(0); opacity: 1; }
}

@-moz-keyframes MenuAnimIn5 {
	0% { -moz-transform: translateY(40%); opacity: 0; }
	100% { -moz-transform: translateY(0); opacity: 1; }
}

@keyframes MenuAnimIn5 {
	0% { transform: translateY(40%); opacity: 0; }
	100% { transform: translateY(0); opacity: 1; }
}

.top-menu > .dl-submenu.dl-animate-in-5 { -webkit-animation: SubMenuAnimIn5 0.4s ease; -moz-animation: SubMenuAnimIn5 0.4s ease; animation: SubMenuAnimIn5 0.4s ease; }

@-webkit-keyframes SubMenuAnimIn5 {
	0% { -webkit-transform: translateZ(-200px); opacity: 0; }
	100% { -webkit-transform: translateZ(0); opacity: 1; }
}

@-moz-keyframes SubMenuAnimIn5 {
	0% { -moz-transform: translateZ(-200px); opacity: 0; }
	100% { -moz-transform: translateZ(0); opacity: 1; }
}

@keyframes SubMenuAnimIn5 {
	0% { transform: translateZ(-200px); opacity: 0; }
	100% { transform: translateZ(0); opacity: 1; }
}

.top-menu > .dl-submenu.dl-animate-out-5 { -webkit-animation: SubMenuAnimOut5 0.4s ease; -moz-animation: SubMenuAnimOut5 0.4s ease; animation: SubMenuAnimOut5 0.4s ease; }

@-webkit-keyframes SubMenuAnimOut5 { 
	0% { -webkit-transform: translateZ(0); opacity: 1; }
	100% { -webkit-transform: translateZ(-200px); opacity: 0; }
}

@-moz-keyframes SubMenuAnimOut5 {
	0% { -moz-transform: translateZ(0); opacity: 1; }
	100% { -moz-transform: translateZ(-200px); opacity: 0; }
}

@keyframes SubMenuAnimOut5 {
	0% { transform: translateZ(0); opacity: 1; }
	100% { transform: translateZ(-200px); opacity: 0; }
}

/* No JS Fallback */
/*.no-js .top-menu .sf-menu { position: relative; opacity: 1; -webkit-transform: none; -moz-transform: none; transform: none; }
.no-js .top-menu li .dl-submenu { display: block; }
.no-js .top-menu li.dl-back { display: none; }
.no-js .top-menu li > a:not(:only-child) { background: rgba(0,0,0,0.1); }
.no-js .top-menu li > a:not(:only-child):after { content: ''; }*/