/*
JQuery Simple MobileMenu
https://github.com/Position2/jQuery-Simple-MobileMenu
*/
/*Main style*/
body.mmactive {
  overflow: hidden;
}
.mobile_menu {
  display: none;
  position: relative;
  padding-left: 10px;
}
.sm_menu_outer.active .mobile_menu {
  display: block;
  /*margin-top: 0px;
  padding: 10px 20px 20px;
  position: relative;
  min-height: 40em;*/
}
.sm_menu_outer {
  display: none;
  height: calc(100vh - 60px);
  margin-top: 0px;
  padding: 20px 20px;
  overflow-y: auto;
  overflow-x: hidden;
  position: fixed;
  right: 0;
  top: 100px;
  bottom: -4px;
  /*height: 100%;
  height: auto;*/
  z-index: -9;
  width: 100%;
  opacity: 0;
  background-color: #EEE9DE;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.sm_menu_outer.active {
  opacity: 1;
  z-index: 998;
  display: block;
  /*height: max-content;*/
}
.sm_menu_outer .mobile_menu li.back a {
  padding: 10px 5px 10px 55px;
  background: url("/img/menu-mobile/back.png") no-repeat scroll 15px center / 4% auto;
  background-color: #f2f2f2;
  margin-bottom: 5px;
}
.sm_menu_outer .mobile_menu li.back a small {
  font-size: 90%;
  color: #000;
}
.sm_menu_outer .mobile_menu a {
  color: #000;
  display: block;
  font: 400 16px/140% "Piazzolla", serif;
  letter-spacing: 1.3px;
  padding: 10px 5px;
  text-transform: uppercase;
  text-decoration: none;
}
.sm_menu_outer .mobile_menu a.menu_active {
  color: #000;
  font-family: 'Piazzolla' serif;
  font-weight: 700;
}

/*Sub Menu anim */
.sm_menu_outer .mobile_menu .submenu {
  background-color: #EEE9DE;
  /*height: auto;*/
  position: absolute;
  right: -105%;
  top: 0;
  transition: all 0.5s ease 0s;
  width: 100%;
  z-index: 9999;
  padding: 0 10px;
  /*height: max-content;*/
  height: 100%;
  min-height: 100vh;
}
.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);
  color: #e30513;
}


.sm_menu_outer .mobile_menu li.hasChild>a {
  background: url("/img/menu-mobile/next-red.png") no-repeat scroll 98% center / 4% auto;
}
.sm_menu_outer .mobile_menu .submenu hr {
	border-color: #dae1e6;
}
.sm_menu_outer .mobile_menu .submenu img {
	max-width: 15%;
	display: inline-block;
}
@media (min-width: 576px) {
	.sm_menu_outer .mobile_menu li.hasChild>a {
	  background: url("/img/menu-mobile/next-red.png") no-repeat scroll 98% center / 2% auto;
	}
	.sm_menu_outer .mobile_menu li.back a {
	  background: url("/img/menu-mobile/back.png") no-repeat scroll 15px center / 2% auto;
	  background-color: #e7e7e7;
	}
}
/*Hamburger Animation */
#sm_menu_ham {
	cursor: pointer;
    position: fixed;
	/*height: 70px;
	float: right;
	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;
	-ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
	width: 16.666667%;
	-ms-flex-order: 1;
    order: 1;
	/*top: 60px;*/
	top: 0px;
	right: 8px;
	/*width: 70px;
	left: calc(4.1666665% + 26px);*/
	z-index: 1000;
}
/*@media (min-width: 992px) {
	#sm_menu_ham {
	  left: calc(8.3333335% + 26px);
	}
}*/
#sm_menu_ham span {
  background-color: #000;
  border-radius: 20%;
  display: block;
  height: 2px;
  left: 20px;
  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: 25px;
}
#sm_menu_ham span:nth-child(2),
#sm_menu_ham span:nth-child(3) {
  top: 33px;
}
#sm_menu_ham span:nth-child(4) {
  top: 41px;
}
#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: 1096px) {
  #sm_menu_ham, .sm_menu_outer {
    display: none;
  }
}

header {
	display: none !important;
}
@media screen and (max-width: 1095px) {
	.navbar {
		display: none;
	}
	header {
		display: block !important;
		padding: 14px 30px 7px;
		background-color: #EEE9DE;
		position: fixed;
		/*position: sticky;*/
		z-index: 1000;
		width: 100%;
		min-height: 70px;
		top: 40px;
		border-top: 1px solid #D9D9D9;
	}
	/*.logo-port img {
		max-width: 120px;
	}*/
	.user-icons-mobile {
		padding: 6px 0;
	}
	.user-icons-mobile .menu-icons {
		display: inline-block;
		float: none;
	}
	.user-icons-mobile .menu-icons a {
		color: #292929;
		font-weight: 400;
	}
	#sm_menu_ham{
		right:-15px;
	}
}
@media screen and (max-width: 576px) {
	header {
		padding: 10px 10px 9px;
		min-height: 60px;
	}
	/*.logo-port img {
		max-width: 90px;
	}*/
	.user-icons-mobile {
		padding: 0;
	}
	/*#sm_menu_ham {
		width: 60px;
		height: 60px;
		left: calc(4.1666665% + 12px);
		left: 10px;
	}*/
	#sm_menu_ham{
		right:8px;
	}
	#sm_menu_ham span {
		left: 19px;
	}	
	#sm_menu_ham span:nth-child(1) {
		top: 20px;
	}
	#sm_menu_ham span:nth-child(2), #sm_menu_ham span:nth-child(3) {
		top: 28px;
	}
	#sm_menu_ham span:nth-child(4) {
		top: 36px;
	}
	.sm_menu_outer {
		/*top: 100px;*/
		top: 60px;
	}
}