.sm {
	box-sizing: border-box;
	position: relative;
	z-index: 999;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.sm,
.sm ul,
.sm li {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: normal;
	direction: ltr;
	text-align: left;
}

.sm>li>h1,
.sm>li>h2,
.sm>li>h3,
.sm>li>h4,
.sm>li>h5,
.sm>li>h6 {
	margin: 0;
	padding: 0;
}

.sm ul {
	display: none;
}

.sm li,
.sm a {
	position: relative;
}

.sm a {
	display: block;
}

.sm a.disabled {
	cursor: default;
}

.sm::after {
	content: "";
	display: block;
	height: 0;
	font: 0px/0 serif;
	clear: both;
	overflow: hidden;
}

.sm *,
.sm *::before,
.sm *::after {
	box-sizing: inherit;
}

.sm-vertical {
    margin-left: -7px;
    width: calc(100% + 14px);
	margin-bottom: 10px;
}

.sm-simple a,
.sm-simple a:hover,
.sm-simple a:active {
	padding: 10px 20px;
	padding-right: 58px;
	font-size: 14px;
	font-weight: normal;
	text-decoration: none;
	font-family: "Open Sans";
}

.sm-simple > li > a,
.sm-simple > li > a:hover,
.sm-simple > li > a:active {
	font-family: "Open Sans Bold";
}

.sm-simple a.current {
	background: #555555;
	color: #fff;
}

.sm-simple a.disabled {
	color: #cccccc;
}

.sm-simple a .sub-arrow {
	position: absolute;
	top: 50%;	
    left: auto;
	right: 20px;    
    width: 0;
    height: 0;    
    overflow: hidden;
    text-align: center;
    text-shadow: none;
    transition: .2s ease-in-out;
    background: transparent;
    border-radius: 0;
	margin-top: -5.02px;
	border-width: 5.02px 0 5.02px 6px;
	border-style: dashed dashed dashed solid;
	border-color: transparent transparent transparent rgba(0, 0, 0, 0.2);	
	transform: rotate(90deg);	
}

.sm-simple a.highlighted .sub-arrow {
	transform: rotate(270deg);
	border-left-color: rgba(0, 0, 0, 0.5);
}

.sm-simple li {
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.sm-simple>li:first-child {
	border-top: 0;
}

.sm-simple ul {
	background: rgba(179, 179, 179, 0.1);
}

.sm-simple ul a,
.sm-simple ul a:hover,
.sm-simple ul a:active {
	font-size: 14px;
	border-left: 8px solid transparent;
}

.sm-simple ul ul a,
.sm-simple ul ul a:hover,
.sm-simple ul ul a:active {
	border-left: 16px solid transparent;
}

.sm-simple ul ul ul a,
.sm-simple ul ul ul a:hover,
.sm-simple ul ul ul a:active {
	border-left: 24px solid transparent;
}

.sm-simple ul ul ul ul a,
.sm-simple ul ul ul ul a:hover,
.sm-simple ul ul ul ul a:active {
	border-left: 32px solid transparent;
}

.sm-simple ul ul ul ul ul a,
.sm-simple ul ul ul ul ul a:hover,
.sm-simple ul ul ul ul ul a:active {
	border-left: 40px solid transparent;
}

@media (min-width: 768px) {
	.sm-vertical {
		margin-bottom: 0;
	}

	.sm-simple ul {
		position: absolute;
		width: 12em;
	}

	.sm-simple li {
		float: left;
	}

	.sm-simple ul li,
	.sm-simple.sm-vertical li {
		float: none;
	}

	.sm-simple a {
		white-space: nowrap;
	}

	.sm-simple ul a,
	.sm-simple.sm-vertical a {
		white-space: normal;
	}

	.sm-simple .sm-nowrap>li>a,
	.sm-simple .sm-nowrap>li> :not(ul) a {
		white-space: nowrap;
	}

	.sm-simple a,
	.sm-simple a:hover,
	.sm-simple a:active,
	.sm-simple a.highlighted {
		padding: 5px 7px;
		font-size: 14px;
		font-family: Arial, Helvetica, Sans-Serif !important;
	}

	.sm-simple a:hover,
	.sm-simple a:active,
	.sm-simple a.highlighted {
		background: rgba(0, 0, 0, 0.02);
	}

	.sm-simple a.current {
		background: #555555;
		color: #fff;
	}

	.sm-simple a.disabled {
		background: #fff;
		color: #cccccc;
	}

	.sm-simple a.has-submenu {
		padding-right: 32px;
	}

	.sm-simple a .sub-arrow {
	    top: 50%;
	    margin-top: -3px;
	    right: 20px;
	    width: 0;
	    height: 0;
	    border-width: 6px 4.02px 0 4.02px;
	    border-style: solid dashed dashed dashed;
	    border-color: #8db863 transparent transparent transparent;
	    background: transparent;
	    border-radius: 0;
	}

	.sm-simple a:hover .sub-arrow, .sm-simple a:active .sub-arrow {
		border-color: #fff transparent transparent transparent;
	}
	.sm-simple a.highlighted .sub-arrow {
		border-color: #8db863 transparent transparent transparent;
	}
	.sm-simple a.disabled .sub-arrow {
		border-color: #8db863 transparent transparent transparent;
	}
	.sm-simple a .sub-arrow::before {
		display: none;
	}

	.sm-simple>li {
		border-top: 0;
		border-left: 1px solid #eeeeee;
	}

	.sm-simple>li:first-child {
		border-left: 0;
	}

	.sm-simple ul {
		border: 1px solid #bbbbbb;
		background: #fff;
		box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
		border-radius: 3px;
	}

	.sm-simple ul a,
	.sm-simple ul a:hover,
	.sm-simple ul a:active,
	.sm-simple ul a.highlighted {		
		border: 0 !important;
		padding: 5px 15px;
	}

	.sm-simple ul a.has-submenu {
		padding-right: 20px;
	}

	.sm-simple ul a .sub-arrow {
		right: 10px;
		margin-top: -4.02px;
		border-width: 4.02px 0 4.02px 6px;
		border-style: dashed dashed dashed solid;
		border-color: transparent transparent transparent rgba(0, 0, 0, 0.2);
	}

	.sm-simple ul a:hover .sub-arrow, .sm-simple ul a:active .sub-arrow, .sm-simple ul a.highlighted .sub-arrow {
		border-color: transparent transparent transparent rgba(0, 0, 0, 0.6);
	}

	.sm-simple ul a.disabled .sub-arrow {
		border-color: transparent transparent transparent rgba(0, 0, 0, 0.2);
	}

	.sm-simple ul>li {
		border-left: 0;
		border-top: 1px solid #eeeeee;
	}

	.sm-simple ul>li:first-child {
		border-top: 0;
	}

	.sm-simple .scroll-up,
	.sm-simple .scroll-down {
		position: absolute;
		display: none;
		visibility: hidden;
		overflow: hidden;
		background: #fff;
		height: 20px;
	}

	.sm-simple .scroll-up-arrow,
	.sm-simple .scroll-down-arrow {
		position: absolute;
		top: -2px;
		left: 50%;
		margin-left: -8px;
		width: 0;
		height: 0;
		overflow: hidden;
		border-width: 8px;
		border-style: dashed dashed solid dashed;
		border-color: transparent transparent #555555 transparent;
	}

	.sm-simple .scroll-down-arrow {
		top: 6px;
		border-style: solid dashed dashed dashed;
		border-color: #555555 transparent transparent transparent;
	}

	.sm-simple.sm-vertical a .sub-arrow {
		right: 10px;
		margin-top: -4.02px;
		border-width: 4.02px 0 4.02px 6px;
		border-style: dashed dashed dashed solid;
		border-color: transparent transparent transparent rgba(0, 0, 0, 0.2);
		transform: rotate(0deg);
	}

	.sm-simple.sm-vertical a:hover .sub-arrow {
		border-color: transparent transparent transparent rgba(0, 0, 0, 0.4);	
		right: 9px;	
	}

	.sm-simple.sm-vertical a:active .sub-arrow, .sm-simple.sm-vertical a.highlighted .sub-arrow {
		border-color: transparent transparent transparent rgba(0, 0, 0, 0.6);
		right: 7px;
	}

	.sm-simple.sm-vertical a.disabled .sub-arrow {
		border-color: transparent transparent transparent rgba(0, 0, 0, 0.2);
	}

	.sm-simple.sm-vertical li {
		border-left: 0;
		border-top: 1px solid rgba(0, 0, 0, 0.05);
	}

	.sm-simple.sm-vertical > li:first-child {
		border-top: 0;
	}
}