.sm, .sm ul.sub-menu, .sm li.menu-item, .sm-sidebar ul, .sm-sidebar li {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}
.sm {
	background-color: #7b963c;
}
.sm-sidebar {
	background-color: transparent;
}
.sm ul.sub-menu, .sm-sidebar ul {
	display: none;
}
.sm-sidebar li.menu-active > ul {
    display: block;
}
.sm li.menu-item, .sm li.menu-item > a, .sm-sidebar li, .sm-sidebar li > a {
	position: relative;
}
.sm:after {
	content: '';
	display: block;
	height: 0;
	font: 0px/0 serif;
	clear: both;
	overflow: hidden;
}
.sm *, .sm *:before, .sm *:after {
	box-sizing: inherit;
}
.sm a, .sm a:hover, .sm a:focus, .sm a:active {
	color: #fff;
}
.sm li.menu-item > a, .sm-sidebar li > a {
	display: block;
	width: 100%;
	vertical-align: middle;
	padding: .75rem 1rem;
	text-transform: none;
	font-size: 1rem;
	line-height: 1.3;
	text-decoration: none;
	transition: 0.1s all ease;
}
.sm-sidebar li > a {
	padding: .25rem 0;
	color: #7b963c;
}
.sm-sidebar a:before {
	content: '\f111';
	display: inline-block;
	margin: 0 .5rem 0 0;
	vertical-align: middle;
	font-family: "Font Awesome 5 Free";
	font-weight: 700;
	font-size: 5px;
	color: #b69379;
}
.sm li.menu-item > a:hover, .sm li.menu-item > a:focus, .sm li.menu-item > a:active {
	background-color: rgba(255,255,255,.15);
	color: #fff;
}
.sm-sidebar li > a:hover, .sm-sidebar li > a:focus, .sm-sidebar li > a:active, .sm.sm-sidebar li.menu-active.last-menu-active > a {
	color: inherit;
}
.sm li.menu-item > a:hover, .sm li.menu-item > a:focus, .sm li.menu-item > a:active, .sm li.menu-active > a {
	background-color: rgba(255,255,255,.15);
}
.sm li.menu-active.last-menu-active > a {
	color: #7b963c;
	background-color: #fff;
}
.sm ul a  {
	border-left: 16px solid transparent;
}
.sm ul ul a  {
	border-left: 24px solid transparent;
}
.sm ul ul ul a {
	border-left: 32px solid transparent;
}
.sm ul ul ul ul a {
	border-left: 40px solid transparent;
}
.sm ul ul ul ul ul a {
	border-left: 48px solid transparent;
}
.sm a.has-submenu {
	padding-right: 40px;
}
.sm a .sub-arrow {
	position: absolute;
	top: 50%;
	left: auto;
	right: 4px;
	width: 34px;
	height: 34px;
	margin-top: -17px;
	overflow: hidden;
	font: bold 14px/34px monospace !important;
	text-align: center;
	text-shadow: none;
	/*background: rgba(0, 0, 0, 0.08);*/
}
.sm a .sub-arrow:before {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: '\f078';
}
.sm a.highlighted .sub-arrow:before {
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: '\f077';
}
.sm li.menu-item {
	border-top: 1px solid rgba(0, 0, 0, 0.25);
}
.sm > li.menu-item:first-child, .sm-sidebar > li:first-child {
	border-top: 0;
}
.sm ul li.menu-item > a, .sm-sidebar ul li > a {
	font-size: 1rem;
	font-weight: 400;
}

.sm ul.mega-menu {
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
	margin-left: 0 !important;
	padding: 0;
	list-style: none;
	color: #fff;
}
.sm .mega-menu-title {
	margin: 0;
	padding: 1rem 0 .5rem 0;
	line-height: 1.2;
	text-transform: uppercase;
	font-size: 1.5rem;
	font-weight: 300;
	font-family: 'Montserrat', sans-serif;
}
.sm .mega-menu-col {
	margin-bottom: 1.5rem;
}
.sm .mega-menu-col :last-child {
	margin-bottom: 0;
}
.sm .col-title {
	margin: 0;
	padding: .5rem 0;
	line-height: 1.2;
	text-transform: uppercase;
	font-size: 1.25rem;
	font-weight: 700;
}
.sm .mega-menu li.menu-item a {
		border: 0 !important;
	}
.sm .mega-menu li.menu-item ul {
	position: static;
	display: block;
	width: auto;
	margin: 0 -15px;
	background: transparent;
    box-shadow: none;
}
.sm > .has-mega-menu .scroll-up, .sm > .has-mega-menu .scroll-down {
    margin-left: 0 !important;
}
.sm > .has-mega-menu {
    position: static !important;
}
.main-menu-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 45px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	text-align:left;
	text-transform: uppercase;
	cursor: pointer;
}
.main-menu-btn strong {
	font-weight: 400;
	font-size: 1.25rem;
}
/* hamburger icon */
.main-menu-btn-icon-wrap {
	position: relative;
	width: 45px;
	height: 100%;
}
.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
	position: absolute;
	top: 50%;
	left: 11px;
	height: 2px;
	width: 21px;
	background: #fff;
	-webkit-transition: all 0.25s;
	transition: all 0.25s;
}
.main-menu-btn-icon:before {
	content: '';
	top: -7px;
	left: 0;
}
.main-menu-btn-icon:after {
	content: '';
	top: 7px;
	left: 0;
}
/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
	height: 0;
	background: transparent;
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
	top: 0;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
	top: 0;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
#main-menu-state:checked ~ .main-menu-btn, .main-menu-btn:hover {
	
}
#main-menu-state {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	border: 0;
	padding: 0;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
}
/* hide the menu in mobile view */
#main-menu-state:not(:checked) ~ .navbar-nav {
	display: none;
}
#main-menu-state:checked ~ .navbar-nav {
	display: block;
	transition: all .5s ease-in-out;
}

@media (min-width: 992px) {
	.sm-navbar {
		display: flex;
		justify-content: center;
		background-color: transparent;
	}
	.sm-navbar ul {
		position: absolute;
		z-index: 9999;
		width: 12em;
		background-color: #7b963c;
	}
	.sm-navbar ul li.menu-item a {
		border: 0 !important;
	}
	.sm-navbar a {
		white-space: nowrap;
		height: auto;
	}
	.sm-navbar ul li.menu-item > a {
		white-space: normal;
	}
	.sm-navbar > li.menu-item > a {
		text-transform: uppercase;
		color: inherit;
	}
	.sm-navbar > li.menu-item > a:hover, .sm-navbar > li.menu-item > a:focus, .sm-navbar > li.menu-item > a:active, .sm-navbar > li.menu-item > a.highlighted {
		
	}
	.sm-navbar > li.menu-item.menu-active > a {
		color: rgba(255,255,255,.5);
		background-color: transparent;
	}
	.sm-navbar .sm-nowrap > li.menu-item > a, .sm-navbar .sm-nowrap > li.menu-item > :not(ul) a {
		white-space: nowrap;
	}
	.sm-navbar li.menu-item > a.has-submenu {
		padding-right: 32px;
	}
	.sm-navbar > li.menu-item > a.has-submenu.highlighted {
		color: #fff;
		background-color: #7b963c;
	}
	.sm-navbar li.menu-item > a .sub-arrow {
		top: 50%;
		margin-top: -6px;
		right: 10px;
		width: 14px;
		height: 16px;
		font: 12px/14px monospace !important;
		background: transparent;
		opacity: 0.4;
	}
	.sm-navbar li.menu-item {
		border-top: 0;
	}
	.sm-navbar > li.menu-item ul {
		box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.2);
	}
	.sm ul.mega-menu {
		padding-top: 2rem;
		padding-bottom: 3rem;
	}
	.sm .mega-menu-wrap {
		padding: 1.5rem 1.5rem 0 1.5rem;
		background-color: rgba(255,255,255,.2);
	}
	.sm-navbar .mega-menu ul.sub-menu li a {
		margin-left: -.75rem;
		margin-right: -.75rem;
		padding: .35rem .75rem;
	}
	.sm-navbar .mega-menu-title {
		padding-top: 0;
		padding-bottom: 1.5rem;
		font-size: 1.75rem;
	}
	.sm-navbar .col-title {
		padding-top: 0;
		padding-bottom: .25rem;
	}
	.sm-navbar .mega-menu li.menu-item ul {
		margin: 0;
	}
	.sm-navbar .scroll-up,
	.sm-navbar .scroll-down {
		position: absolute;
		display: none;
		visibility: hidden;
		overflow: hidden;
		background: #2c2116;
		height: 20px;
	}
	.sm-navbar .scroll-up-arrow,
	.sm-navbar .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 #fff transparent;
	}
	.sm-navbar .scroll-down-arrow {
		top: 6px;
		border-style: solid dashed dashed dashed;
		border-color: #fff transparent transparent transparent;
	}
	.main-menu-btn {
		position: absolute;
		top: -99999px;
	  }
	#main-menu-state:not(:checked) ~ .navbar-nav {
		display: block;
	}
	.sm .menu-sticky {
		display: block;
	}
}