/*
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 - 57px);
  overflow-y: scroll;
  overflow-x: hidden;
  position: fixed;
  right: 0;
  top: 80px;
  z-index: -9;
  width: 100%;
  opacity: 0;
  background-color: #5b693b;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.sm_menu_outer li:hover {
  background-color: #999966;	
}
.sm_menu_outer.active {
  opacity: 1;
  z-index: 9999;
}
.sm_menu_outer .mobile_menu li a {
	/*background-color:#6F3;*/
	height:40px;
	margin-top:-10px;
	padding-top: 5px;	
}
.sm_menu_outer .mobile_menu li a:first-child {
	
}
.sm_menu_outer .mobile_menu li.back a {
  padding: 12px 5px 0 55px;
  background: url("../images/back.png") no-repeat scroll 15px 6px / 30px 30px;
  /*background-color:#6F3;*/
  height:60px;
  font-weight:bold;
}
.sm_menu_outer .mobile_menu a {
  color: #ffffff;
  display: block;
  /*font: 300 18px/140% "Lato", sans-serif;*/
  /*letter-spacing: 1px;*/
  padding: 0px 15px 0px 15px;
  /*text-transform: uppercase;*/
  text-decoration: none;
  font-size:0.9em;
  line-height:1.2em;
}

/*Sub Menu anim */
.sm_menu_outer .mobile_menu .submenu {
  background-color: #5b693b;
  height: 100%;
  position: absolute;
  right: -100%;
  top: 0;
  transition: all 0.5s ease 0s;
  width: 100%;
  z-index: 999;
   /* text-transform:none;*/

}
.sm_menu_outer .mobile_menu li.active>.submenu {
  right: 0;
}
.sm_menu_outer .mobile_menu li {
  list-style-type: none;
  border-bottom: 1px solid #fff;
  border-image: linear-gradient(to right, white, #fff 20%, #fff 50%, #fff 80%, rgba(0, 0, 0, 0) 100%) 0 0 1 0;
  color: #ffffff;
  height:40px;
  margin-bottom:0;
  padding: 17px 10px 0 10px;
  background-color: #5b693b;
}
.sm_menu_outer .mobile_menu li.hasChild>a {
  background: url("../images/next.png") no-repeat scroll 95% 47% / 22px auto;
  /*background: url("../images/next.png") no-repeat scroll 95% 5px / 5px auto;*/
}
/*Hamburger Animation */
#sm_menu_ham {
  cursor: pointer;
  text-align: left;
  width:60px;
  background-color: #f0f0f0;
  /*float: right;*/
  height: 40px;
  position: absolute;
  /*top: 11px;
  left: 11px;*/
  -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: 26px;
  
  right: 15px;
  padding:0px;
  z-index: 9999;
  background-color:#5b693b;
}
#sm_menu_ham #sm_menu_ham_inner {
	width: 30px; 
	height: 30px; 
	/*margin: 15px 10px 11px 16px;*/
	margin: 0 0 0 15px; 
	text-align: left;
	background-color:#5b693b;
	
}
#sm_menu_ham #sm_menu_ham_inner span {
  background-color: #fff;
  border-radius: 5px;
  display: block;
  height: 2px;
  left: 0px;
  opacity: 1;
  position: relative;
  -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:hover #sm_menu_ham_inner span {
	background-color: #999966; 
}

#sm_menu_ham #sm_menu_ham_inner span:nth-child(1) {
  top: 1px;
  height:2px;
}
#sm_menu_ham #sm_menu_ham_inner span:nth-child(2) {
  top: 10px;
}
#sm_menu_ham #sm_menu_ham_inner span:nth-child(3) {
  top: 8px;
}

#sm_menu_ham #sm_menu_ham_inner span:nth-child(4) {
  top: 17px;
}
#sm_menu_ham.open #sm_menu_ham_inner span:nth-child(1) {
  left: 50%;
  top: 18px;
  width: 0;
}
#sm_menu_ham.open #sm_menu_ham_inner span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}
#sm_menu_ham.open #sm_menu_ham_inner span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#sm_menu_ham.open #sm_menu_ham_inner span:nth-child(4) {
  left: 50%;
  top: 18px;
  width: 0;
}

@media (min-width: 1140px) {
  #sm_menu_ham,
  .sm_menu_outer {
    display: none;
  }
  /*.search-container {
    display: none;
  }*/
}

/* ====================
    iPad
   ==================== */

/* iPad [landscape + portrait] */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  { 

}