/*
JQuery Simple MobileMenu
https://github.com/Position2/jQuery-Simple-MobileMenu
*/
/*Main style*/
body.mmactive {
  overflow: hidden;
}
.mobile_menu {
  display: none;
  position: relative;
}
.sm_menu_outer.active .mobile_menu {
  display: block;
}
.sm_menu_outer {
  height: calc(100vh - 60px);
  overflow-y: scroll;
  overflow-x: hidden;
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: -9;
  width: 100%;
  opacity: 0;
  background-color: #000000;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.sm_menu_outer.active {
  opacity: 1;
  z-index: 999;
}
.sm_menu_outer .mobile_menu li.back a {
  padding: 20px 5px 20px 55px;
  background: url("../images/back.png") no-repeat scroll 15px center / 5% auto;
}
.sm_menu_outer .mobile_menu a {
  color: #ffffff;
  display: block;
  font: 300 18px/140% "Lato", sans-serif;
  letter-spacing: 1px;
  padding: 20px 15px;
  text-transform: uppercase;
  text-decoration: none;
}
/*Sub Menu anim */
.sm_menu_outer .mobile_menu .submenu {
  background-color: #000000;
  height: 100%;
  position: absolute;
  right: -100%;
  top: 0;
  transition: all 0.5s ease 0s;
  width: 100%;
  z-index: 999;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
.sm_menu_outer .mobile_menu li.active>.submenu {
  right: 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 .mobile_menu li.hasChild>a {
  background: url("../images/next.png") no-repeat scroll 95% center / 5% auto;
}
/*Hamburger Animation */
#sm_menu_ham {
  cursor: pointer;
  /* float: right; */
  height: 25px;
  position: fixed;
  right: 5px;
  -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: 30px;
  top: 15px;
  right: 15px;
  z-index: 9999;
}
#sm_menu_ham span {
  background-color: #FFFFFF;
  border-radius: 5px;
  display: block;
  height: 2px;
  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: 30px;
}
#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: 0px) and (max-width: 767px) {}
@media (min-width: 768px) and (max-width: 991px) {}
@media (min-width: 992px) and (max-width: 1024px) {}*/
@media (min-width: 980px) {
  #sm_menu_ham,
  .sm_menu_outer {
    display: none;
  }
}



/*CS*/

.sm_menu_outer {
  height: 100vh;
  background: #2d3e67;
  overflow-x: hidden;
}

.mobile_menu {
  margin: 60px 0 0;
  padding: 0 15px;
  position: fixed;
  top: 0;
  bottom: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  left: 0;
  right: 0;
}

.sm_menu_outer .mobile_menu li.hasChild a,
.sm_menu_outer .mobile_menu li.back a,
.sm_menu_outer .mobile_menu > li > div > a {
  text-transform: none;
  letter-spacing: 0;
  font-size: 20px;
  padding: 10px 0;
  font-family: 'Helvetica', Arial, sans-serif;
}

.mobile_menu > li + li {
  border-top: 1px solid rgba(255, 255, 255, .3);
}

.sm_menu_outer .mobile_menu .submenu {
  padding: 0 15px;
  background: #2d3e67;
}

.sm_menu_outer .mobile_menu li.back {
  margin-bottom: 10px;
}

.sm_menu_outer .mobile_menu li.back a,
.sm_menu_outer .mobile_menu li.hasChild .submenu li.back a {
  background: none;
  padding-left: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  font-size: 20px;
  position: relative;
}

.sm_menu_outer .mobile_menu li.hasChild .submenu li a {
  font-size: 16px;
}

.sm_menu_outer .mobile_menu li.hasChild .submenu li:not(.back) a {
  padding-left: 40px;
  margin-right: 40px;
}

.back {
  margin-top: 0;
}


.sm_menu_outer .mobile_menu li.hasChild>.mm-sub-item {
  position: relative;
}

.sm_menu_outer .mobile_menu li.hasChild>.mm-sub-item>a {
  background: none;
  position: relative;
  margin-right: 40px;
}

.sm_menu_outer .mobile_menu li.hasChild>.mm-sub-item>.mm-sub-btn {
  height: 32px;
  width: 40px;
  display: block;
  position: absolute;
  right: 0;
  height: 100%;
  top: 0;
}

.sm_menu_outer .mobile_menu li.hasChild>.mm-sub-item>.mm-sub-btn:after {
  content: '';
  width: 7px;
  height: 7px;
  border-width: 0 1px 1px 0;
  border-color: rgba(255, 255, 255, .5);
  border-style: solid;
  display: block;
  position: absolute;
  transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  right: 50%;
  top: 50%;
  margin-top: -4px;
  margin-right: -6px;
}

.sm_menu_outer .mobile_menu li.hasChild>.mm-sub-item>.mm-sub-btn:before {
  height: 26px;
  width: 26px;
  border: 1px solid rgba(255, 255, 255, .3);
  position: absolute;
  content: '';
  right: 0;
  margin-right: 2px;
  top: 50%;
  margin-top: -14px;
  border-radius: 50%;
}

.sm_menu_outer .mobile_menu li.back a:after {
  content: '';
  width: 7px;
  height: 7px;
  border-width: 0 1px 1px 0;
  border-color: rgba(255, 255, 255, .5);
  border-style: solid;
  display: block;
  position: absolute;
  transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  left: 12px;
  top: 50%;
  margin-top: -4px;
}

.sm_menu_outer .mobile_menu li.back a:before {
  height: 26px;
  width: 26px;
  border: 1px solid rgba(255, 255, 255, .3);
  position: absolute;
  content: '';
  left: 0;
  top: 50%;
  margin-top: -14px;
  border-radius: 50%;
}

#sm_menu_ham {
  height: 32px;
  top: 16px;

}

#sm_menu_ham span {
  background: #2d3e67;
}

#sm_menu_ham span:nth-child(1) {
  top: 50%;
  margin-top: -9px;
}
#sm_menu_ham span:nth-child(2),
#sm_menu_ham span:nth-child(3) {
  top: 50%;
  margin-top: -1px
}
#sm_menu_ham span:nth-child(4) {
  top: 50%;
  margin-top: 7px;
  width: 60%;
  right: 0;
  left: auto;
}

#sm_menu_ham.open span {
  /*background: #fff;*/
}
#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;
}

li.hasChild > ul {
  display: none;
}

li.hasChild.active > ul {
  display: block;
}

.sm_menu_outer .mobile_menu li.hasChild .hasChild>.mm-sub-item>.mm-sub-btn:before {
  height: 24px;
  width: 24px;
  margin-top: -13px;
}

.sm_menu_outer .mobile_menu li.hasChild .hasChild>.mm-sub-item>.mm-sub-btn:after {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  margin-right: -7px;
}


.sm_menu_outer .mobile_menu .sidebar__submenu-item--active a,
li.active > .mm-sub-item > a {
color :#f99404;
}

.sm_menu_outer .mobile_menu .submenu {
  position: fixed;
  top: 60px;
  overflow-y: scroll;
  bottom: 0;
  height: auto;
}

.mm-sub-item a {
  position: relative;
}

.mm-sub-item__pic {
  position: absolute;
  left: 8px;
  top: 11px;
  display: block;
  text-align: right;
  width: 23px;
}

.mm-sub-item {
  position: relative;
}

.mm-sub-item__inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: none;
  visibility: hidden;
}

.sm_menu_outer .mobile_menu li.hasChild>.mm-sub-item>.mm-sub-item__inner {
  display: none;
  visibility: visible;
}


.sm_menu_outer .submenu .mm-sub-item + ul {
  margin-top: -4px;
  padding-bottom: 4px;
}

.sm_menu_outer .submenu .mm-sub-item + ul li a {
  position: relative;
  font-size: 12px;
}

.sm_menu_outer .mobile_menu li.hasChild .submenu li li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 1)
}

.sm_menu_outer .mobile_menu li.hasChild .submenu li:not(.back) li a {
  padding-left: 20px;
}

.sm_menu_outer .submenu .mm-sub-item + ul li a:before {
  height: 4px;
  width: 4px;
  background: rgba(255, 255, 255, .8);
  content: '';
  display: block;
  position: absolute;
  left: 8px;
  top: 50%;
  margin-top: -3px;
  border-radius: 50%;
}