.mm-page,
.mm-fixed-top,
.mm-fixed-bottom,
.mm-menu.mm-horizontal > .mm-panel {
  -webkit-transition: none 0.4s ease;
  -moz-transition: none 0.4s ease;
  -ms-transition: none 0.4s ease;
  -o-transition: none 0.4s ease;
  transition: none 0.4s ease;
  -webkit-transition-property: top, right, bottom, left, border;
  -moz-transition-property: top, right, bottom, left, border;
  -ms-transition-property: top, right, bottom, left, border;
  -o-transition-property: top, right, bottom, left, border;
  transition-property: top, right, bottom, left, border; 
}

html.mm-opened .mm-page,
html.mm-opened #mm-blocker {
  left: 0;
  top: 0;
  margin: 0;
  border: 0;
    z-index:10000000;   
}

html.mm-opening .mm-page,
html.mm-opening #mm-blocker {
	border: 0; 
}

.mm-menu .mm-hidden {
	display: none; 
}

.mm-fixed-top,
.mm-fixed-bottom {
	position: fixed;
	left: 0; 
}

.mm-fixed-top {
	top: 0; 
}

.mm-fixed-bottom {
	bottom: 0; 
}

html.mm-opened .mm-page,
.mm-menu > .mm-panel {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box; 
}

html.mm-opened {
	overflow-x: hidden;
	position: relative;
}

html.mm-opened .mm-page {
	position: relative; 
}

html.mm-background .mm-page {
	background: inherit; 
}

#mm-blocker {
	background: url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==) transparent;
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 999999;
}

html.mm-opened #mm-blocker,
html.mm-blocking #mm-blocker {
	display: block; 
}

.mm-menu.mm-current {
	display: block;
}

.mm-menu {
	background: inherit;
	display: none;
	overflow: hidden;
	height: 100%;
	padding: 0;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 0;
}

.mm-menu > .mm-panel {
    background: inherit;
    -webkit-overflow-scrolling: touch;
    overflow: scroll;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100%;
    padding: 20px;
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 0;
}

.mm-menu > .mm-panel.mm-opened {
	left: 0%; 
}

.mm-menu > .mm-panel.mm-subopened {
	left: -40%; 
}

.mm-menu > .mm-panel.mm-highest {
	z-index: 1;
}

.mm-menu > .mm-panel.mm-hidden {
	display: block;
	visibility: hidden;
}

.mm-menu .mm-list {
	padding: 20px 0; 
}

.mm-menu > .mm-list {
	padding: 20px 0 40px 0;
}

.mm-panel > .mm-list {
	margin-left: -20px;
	margin-right: -20px; 
}

.mm-panel > .mm-list:first-child {
	padding-top: 0; 
}

.mm-list,
.mm-list > li {
	list-style: none;
	display: block;
	padding: 0;
	margin: 0; 
}

.mm-list {
	font: inherit;
	font-size: 14px; 
}

.mm-list a,
.mm-list a:hover {
	text-decoration: none;
}

.mm-list > li {
	position: relative; 
}

.mm-list > li > a,
.mm-list > li > span {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	color: #FFF;
	line-height: 20px;
	display: block;
	padding: 14px 10px 14px 20px;  /* ALSO ADJUST PADDING ON .mm-list a.mm-subclose */
	margin: 0;
}

.mm-list > li:not(.mm-subtitle):not(.mm-label):not(.mm-noresults):after {
	content: '';
	border-bottom-width: 1px;
	border-bottom-style: solid;
	display: block;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	
}

.mm-list > li:not(.mm-subtitle):not(.mm-label):not(.mm-noresults):after {
	width: auto;
	margin-left: 0px;
	position: relative;
	left: auto;
}

.mm-list a.mm-subopen {
	width: 40px;
	height: 100%;
	padding: 0;
	position: absolute;
	right: 30px;
	top: 0;
	z-index: 2;
}

.mm-list a.mm-subopen:before {
	content: '';
	border-left-width: 1px;
	border-left-style: solid;
	display: block;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.mm-list a.mm-subopen.mm-fullsubopen {
	width: 100%;
}
      
.mm-list a.mm-subopen.mm-fullsubopen:before {
	border-left: none;
}

.mm-list a.mm-subopen + a,
.mm-list a.mm-subopen + span {
	padding-right: 5px;
	margin-right: 20px;
}

.mm-list > li.mm-selected > a.mm-subopen {
	background: transparent; 
}

.mm-list > li.mm-selected > a.mm-fullsubopen + a,
.mm-list > li.mm-selected > a.mm-fullsubopen + span {
	padding: 0 0 45px 0;
	margin-right: 0;
}

.mm-list a.mm-subclose {
	text-indent: 20px;
	padding: 14px 0 14px 20px;
	border-bottom: 1px SOLID #777;
}

.mm-list > li.mm-label {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	font-size: 16px;
	text-transform: uppercase;
	text-indent: 20px;
	line-height: 25px;
	padding-right: 5px;
}

.mm-list > li.mm-spacer {
	padding-top: 40px;
}
.mm-list > li.mm-spacer.mm-label {
	padding-top: 25px;
}

.mm-list a.mm-subopen:after,
.mm-list a.mm-subclose:before {
	content: '';
	border: 2px solid #FFF;
	display: block;
	width: 7px;
	height: 7px;
	margin-bottom: -5px;
	position: absolute;
	bottom: 50%;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.mm-list a.mm-subopen:after {
	border-top: none;
	border-left: none;
	right: 18px;
}

.mm-list a.mm-subclose:before {
	border-right: none;
	border-bottom: none;
	margin-bottom: -15px;
	left: 22px;
	bottom: 72%;
}

.mm-menu.mm-vertical .mm-list .mm-panel {
	display: none;
	padding: 10px 0 10px 10px;
}

.mm-menu.mm-vertical .mm-list .mm-panel li:last-child:after {
	border-color: transparent;
}

.mm-menu.mm-vertical .mm-list li.mm-opened > .mm-panel {
	display: block;
}

.mm-menu.mm-vertical .mm-list > li.mm-opened > a.mm-subopen {
	height: 40px;
}

.mm-menu.mm-vertical .mm-list > li.mm-opened > a.mm-subopen:after {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 16px;
	right: 16px;
}

html.mm-opened .mm-page {
  box-shadow: 0 0 20px #000; 
}

.mm-ismenu {
	background: #222;
  	color: #FFF;
	margin: 40px 0 0 0;
}

.mm-menu .mm-list > li:after {
	border-color: #777; 
}

.mm-menu .mm-list > li > a.mm-subclose {
	background: #222;
	color: #FFF;
 }

.mm-menu .mm-list > li > a.mm-subopen:after, .mm-menu .mm-list > li > a.mm-subclose:before {
	border-color: #999; 
}
.mm-menu .mm-list > li > a.mm-subopen:before {
	border: 0;
}

.mm-menu .mm-list > li.mm-selected > a:not(.mm-subopen),
.mm-menu .mm-list > li.mm-selected > span {
	background: #444;
}

.mm-menu .mm-list > li.mm-label {
	background: #222;
}

.mm-menu.mm-vertical .mm-list li.mm-opened > a.mm-subopen,
.mm-menu.mm-vertical .mm-list li.mm-opened > ul {
	background: #444;
}

html.mm-opening .mm-page,
html.mm-opening #mm-blocker,
html.mm-opening .mm-fixed-top,
html.mm-opening .mm-fixed-bottom {
	left: 280px; 
}

.mm-menu {
	width: 280px;
}

@media all and (max-width: 175px) {
	.mm-menu {
    	width: 140px; 
	}
  html.mm-opening .mm-page,
  html.mm-opening #mm-blocker,
  html.mm-opening .mm-fixed-top,
  html.mm-opening .mm-fixed-bottom {
    left: 140px;  } 
}

@media all and (min-width: 550px) {
	.mm-menu {
    	width: 280px;
	}
  html.mm-opening .mm-page,
  html.mm-opening #mm-blocker,
  html.mm-opening .mm-fixed-top,
  html.mm-opening .mm-fixed-bottom {
	left: 280px; 
	} 
}
