/*
JQuery Simple MobileMenu Slide
https://github.com/Position2/jQuery-Simple-MobileMenu
*/
/*Main style
body.mmactive {
  overflow: hidden;
}*/
#navbar-toggler{
	position: relative;
	width: 40px;
	height: 40px;
}
.mobile_menu {
  display: none;
  position: relative;
}
.sm_menu_outer.active .mobile_menu {
  display: block;
  padding: 1rem;
}
.sm_menu_outer {
  height: 450px;
  overflow-y: hidden;
  overflow-x: hidden;
  position: absolute;
  right: 0;
  top: 83px;	
  z-index: -9;
  width: 350px;
  opacity: 0;
  background-color: #fff;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
  border: 1px solid #ccc;
}
.sm_menu_outer.active {
  opacity: 1;
  z-index: 999;
}
.sm_menu_outer .mobile_menu li.back a {
  padding: 0.4rem 0 0.4rem 2.2rem;
 /* background: url("../images/back.png") no-repeat scroll 15px center / 5% auto;*/
}
.sm_menu_outer .mobile_menu a {
  color: #515b5e;
  display: block;
  font-family: "Prelo Slab W01 Medium" !important;
font-size: 1rem;
font-style: normal;
-webkit-text-stroke-width: 0.2px;
  padding: 0.3em 2em .3em 0.5em;
  text-transform: uppercase;
  text-decoration: none;
}

@media(min-width: 1350px){
  .sm_menu_outer .mobile_menu a { 
    font-size: 1.1rem;
  }
  .sm_menu_outer {
	height: 450px;
	top: 66px;
  }
  .sm_menu_outer .mobile_menu a {
	  padding: 0.45em 2em .45em 0.5em;
	  font-size: 1.1rem;
		line-height: 1.2;
	}
	 
}

@media (min-width: 768px) and (max-width: 1350px){  
  #navbar-toggler {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 53px;
    right: 20px;
}
.sm_menu_outer{
	top: 70px;
	right: -5px;
}
.sm_menu_outer .mobile_menu a{
		padding:0.45em 2em .45em 0.5em;
	}
	.sm_menu_outer .mobile_menu .submenu a {
		padding: 0.6rem 1.8rem 0.6rem 3.5rem;
		line-height: 1.2;
	}
}
@media(min-width: 1024px) and (max-width: 1349px){
	.sm_menu_outer .mobile_menu a{
		padding:0.45em 2em .45em 0.5em;
	}
	.sm_menu_outer .mobile_menu .submenu a {
		padding: 0.6rem 1.8rem 0.6rem 3.5rem !important;
		line-height: 1.2 !important;
	}
}
@media(min-width: 1600px){
  .sm_menu_outer .mobile_menu a { 
    font-size: 1.25rem;
	line-height: 1.2;
  }
  .sm_menu_outer {
  height: 500px;
  top: 70px;
  }
  .sm_menu_outer .mobile_menu a {
	  padding: 0.5em 2em .5em 0.5em;
	}
}
@media(max-width: 767px){
  
  .sm_menu_outer {
  height: 420px;
  top: 48px;
  }
 
}

/*Sub Menu anim */
.sm_menu_outer.slide .mobile_menu .submenu {
  background-color: #fff;
  height: 730px;
  position: absolute;
  right: -100%;
  top: 0;
  transition: all 0.5s ease 0s;
  width: 100%;
  z-index: 999;
}
.sm_menu_outer.slide .mobile_menu li.active > .submenu {
  right: 0;
  padding: 0;
}
.sm_menu_outer .mobile_menu li {
  list-style-type: none;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0);
  /*border-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #2a2a2a 20%, #2a2a2a 50%, #2a2a2a 80%, rgba(0, 0, 0, 0) 100%) 0 0 1 0;*/
  color: #ffffff;
}
.sm_menu_outer.slide .mobile_menu li.hasChild > a {
 /* background: url("../images/next.png") no-repeat scroll 95% center / 5% auto;*/
 position: relative;
}
/*Hamburger Animation */
#sm_menu_ham {
  cursor: pointer;
  float: right;
  height: 25px;
  position: absolute;

  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: all 0.5s ease-in-out 0s;
  -moz-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
  width: 32px;
  top: 7px;
  right: 0px;
  z-index: 9999;
}
#sm_menu_ham span {
  background-color: #515b5e;
  border-radius: 5px;
  display: block;
  height: 3px;
  left: 0;
  opacity: 1;
  position: absolute;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: all 0.25s ease-in-out 0s;
  -moz-transition: all 0.25s ease-in-out 0s;
  -o-transition: all 0.25s ease-in-out 0s;
  transition: all 0.25s ease-in-out 0s;
  width: 28px;
}
#sm_menu_ham span:nth-child(1) {
  top: 0;
}
#sm_menu_ham span:nth-child(2),
#sm_menu_ham span:nth-child(3) {
  top: 10px;
}
#sm_menu_ham span:nth-child(4) {
  top: 20px;
}
#sm_menu_ham.open span:nth-child(1) {
  left: 50%;
  top: 18px;
  width: 0;
}
#sm_menu_ham.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}
#sm_menu_ham.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#sm_menu_ham.open span:nth-child(4) {
  left: 50%;
  top: 18px;
  width: 0;
}
/*@media (min-width: 1024px) {
  #sm_menu_ham,
  .sm_menu_outer {
    display: none;
  }
}*/




.mobile_menu .cd-subnav-trigger::before, .mobile_menu .cd-subnav-trigger::after, .mobile_menu .go-back a::before, .mobile_menu .go-back a::after {
  /* arrow icon in CSS */
  content: '';
  position: absolute;
  top: 50%;
  margin-top: -1px;
  display: inline-block;
  height: 3px;
  width: 10px;
  background: #ff671d;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.mobile_menu .cd-subnav-trigger::before, .mobile_menu .go-back a::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.mobile_menu .cd-subnav-trigger::after, .mobile_menu .go-back a::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.mobile_menu .cd-subnav-trigger::before, .mobile_menu .cd-subnav-trigger::after {
  /* arrow goes on the right side - children navigation */
  right: 20px;
  -webkit-transform-origin: 9px 50%;
  -moz-transform-origin: 9px 50%;
  -ms-transform-origin: 9px 50%;
  -o-transform-origin: 9px 50%;
  transform-origin: 9px 50%;
}
.mobile_menu .go-back a{
	position: relative;
}
.mobile_menu .go-back a::before, .mobile_menu .go-back a::after {
    left: 12px;
    -webkit-transform-origin: 1px 50%;
    -moz-transform-origin: 1px 50%;
    -ms-transform-origin: 1px 50%;
    -o-transform-origin: 1px 50%;
    transform-origin: 1px 50%;
}
.mobile_menu .sub-nav-title {
    padding: 0.6rem 0 0.6rem 2.4rem;
    background-color: #ff671d;
    color: #fff;
    font-size: 1.25rem;
    text-transform: uppercase;
    -webkit-text-stroke-width: 0;
	line-height: 1.2;
}
.sm_menu_outer .mobile_menu .submenu a{
	padding: 0.5rem 1.8rem 0.5rem 3.5rem;
	-webkit-text-stroke-width: 0;
	text-transform: none;
}

.mobile_menu .submenu{
	 display: flex;
  flex-direction: column;
  text-transform: capitalize;
  padding-top: 10px !important;
}
.mobile_menu .submenu li:first-child {
  order: 2;
  font-size: 1.1rem;
}
.mobile_menu .submenu li:nth-child(2) {
  order: 1;
}
.mobile_menu .submenu li {
  order: 3;
}
