.mm-menu, .mm-panels,
.mm-panels > .mm-panel {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    box-sizing: border-box;
    margin: 0;
}

.mm-btn, .mm-menu {
    box-sizing: border-box;
}

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

.mm-hidden {
    display: none !important;
}

.mm-menu, .mm-panels > .mm-panel:not(.mm-hidden) {
    display: block;
}

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

.mm-menu {
    position: absolute;
    padding: 0;
}

.mm-panels,
.mm-panels > .mm-panel {
    position: absolute;
    border-color: inherit;
    background: inherit;
}

.mm-btn,
.mm-panel.mm-highest {
    z-index: 1;
}

.mm-panels {
    overflow: hidden;
}

.mm-panel {
    transition: -webkit-transform .4s ease;
    transition: transform .4s ease;
    transform: translate3d(100%, 0, 0);
}

.mm-panel.mm-opened {
    transform: translate3d(0, 0, 0);
}

.mm-panel.mm-subopened {
    transform: translate3d(-30%, 0, 0);
}

.mm-panels > .mm-panel {
    overflow: scroll;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mm-listview .mm-divider,
.mm-listview > li > a,
.mm-listview > li > span,
.mm-navbar .mm-title {
    overflow: hidden;
}

.mm-panels > .mm-panel.mm-hasnavbar {
    padding-top: 40px;
}

.mm-vertical .mm-panel {
    transform: none !important;
}

.mm-listview .mm-vertical .mm-panel,
.mm-vertical .mm-listview .mm-panel {
    display: none;
    padding: 10px 0 10px 10px;
}

.mm-listview .mm-vertical .mm-panel .mm-listview > li:last-child:after,
.mm-vertical .mm-listview .mm-panel .mm-listview > li:last-child:after {
    border-color: transparent;
}

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

.mm-listview > li.mm-vertical > .mm-next,
.mm-vertical .mm-listview > li > .mm-next {
    bottom: auto;
    height: 40px;
}

.mm-listview > li.mm-vertical > .mm-next:after,
.mm-vertical .mm-listview > li > .mm-next:after {
    top: 16px;
    bottom: auto;
}

.mm-listview > li.mm-vertical.mm-opened > .mm-next:after,
.mm-vertical .mm-listview > li.mm-opened > .mm-next:after {
    right: 19px;
    transform: rotate(45deg);
}

.mm-btn {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
}

.mm-clear:after,
.mm-clear:before,
.mm-close:after,
.mm-close:before {
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    margin: auto;
    width: 5px;
    height: 5px;
    border: 2px solid transparent;
    content: '';
    transform: rotate(-45deg);
}

.mm-clear:before,
.mm-close:before {
    right: 18px;
    border-right: 0;
    border-bottom: 0;
}

.mm-clear:after,
.mm-close:after {
    right: 25px;
    border-top: 0;
    border-left: 0;
}

.mm-arrow:after,
.mm-next:after,
.mm-prev:before {
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    margin: auto;
    width: 8px;
    height: 8px;
    border: 2px solid transparent;
    content: '';
    transform: rotate(-45deg);
}

.mm-prev:before {
    left: 23px;
    border-right: 0;
    border-bottom: 0;
}

.mm-arrow:after,
.mm-next:after {
    right: 23px;
    border-top: 0;
    border-left: 0;
}

.mm-navbar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: 0;
    padding: 0 40px;
    height: 40px;
    border-color: inherit;
    border-bottom: 1px solid;
    text-align: center;
    line-height: 20px;
}

.mm-navbar > * {
    display: block;
    padding: 10px 0;
}

.mm-navbar .mm-btn:first-child {
    left: 0;
    padding-left: 20px;
}

.mm-navbar .mm-btn:last-child {
    right: 0;
    padding-right: 20px;
    text-align: right;
}

.mm-panel .mm-navbar {
    display: none;
}

.mm-panel.mm-hasnavbar .mm-navbar {
    display: block;
    border-color: #dddddd;
}

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

.mm-listview {
    font: inherit;
    font-size: 14px;
    line-height: 20px;
}

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

.mm-listview > li,
.mm-listview > li .mm-next,
.mm-listview > li .mm-next:before,
.mm-listview > li:after {
    border-color: inherit;
}

.mm-listview > li > a,
.mm-listview > li > span {
    display: block;
    margin: 0;
    padding: 15px;
    color: inherit;
}

.mm-listview > li > span {
    padding: 15px 0;
}

.mm-listview > li > a.mm-arrow,
.mm-listview > li > span.mm-arrow {
    padding-right: 50px;
}

.mm-listview > li:not(.mm-divider):after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    content: '';
}

.mm-listview .mm-next {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0;
    width: 50px;
    background: rgba(3, 2, 1, 0);
}

.mm-listview .mm-next:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    border-left-width: 1px;
    border-left-style: solid;
    content: '';
}

.mm-listview .mm-next + a,
.mm-listview .mm-next + span {
    margin-right: 50px;
}

.mm-listview .mm-next.mm-fullsubopen {
    width: 100%;
}

.mm-listview .mm-next.mm-fullsubopen:before {
    border-left: 0;
}

.mm-listview .mm-next.mm-fullsubopen + a,
.mm-listview .mm-next.mm-fullsubopen + span {
    margin-right: 0;
    padding-right: 50px;
}

.mm-panels > .mm-panel > .mm-listview {
    //margin: 20px -20px;
}

.mm-panels > .mm-panel > .mm-listview:first-child,
.mm-panels > .mm-panel > .mm-navbar + .mm-listview {
    //margin-top: -20px;
}

.mm-listview .mm-inset {
    margin: 0;
    padding: 0 10px 15px 40px;
    list-style: disc inside;
}

.mm-listview .mm-inset > li {
    padding: 5px 0;
}

.mm-listview .mm-divider {
    text-indent: 20px;
    text-transform: uppercase;
    font-size: 10px;
    line-height: 25px;
}

.mm-listview .mm-spacer {
    padding-top: 40px;
}

.mm-listview .mm-spacer > .mm-next {
    top: 40px;
}

.mm-listview .mm-spacer.mm-divider {
    padding-top: 25px;
}

.mm-menu {
    border-color: rgba(0, 0, 0, .1);
    background: #f3f3f3;
    color: rgba(0, 0, 0, .7);
}

.mm-menu .mm-navbar a,
.mm-menu .mm-navbar > * {
    color: rgba(0, 0, 0, .3);
}

.mm-menu .mm-btn:after,
.mm-menu .mm-btn:before {
    border-color: rgba(0, 0, 0, .3);
}

.mm-menu .mm-listview {
    border-color: rgba(0, 0, 0, .1);
}

.mm-menu .mm-listview > li .mm-arrow:after,
.mm-menu .mm-listview > li .mm-next:after {
    border-color: rgba(0, 0, 0, .3);
}

.mm-menu .mm-listview > li a:not(.mm-next) {
    -webkit-tap-highlight-color: rgba(255, 255, 255, .5);
    tap-highlight-color: rgba(255, 255, 255, .5);
}

.mm-menu .mm-listview > li.mm-selected > a:not(.mm-next),
.mm-menu .mm-listview > li.mm-selected > span {
    background: rgba(255, 255, 255, .5);
}

.mm-menu .mm-divider, .mm-menu .mm-listview > li.mm-opened.mm-vertical > .mm-panel, .mm-menu .mm-listview > li.mm-opened.mm-vertical > a.mm-next, .mm-menu.mm-vertical .mm-listview > li.mm-opened > .mm-panel, .mm-menu.mm-vertical .mm-listview > li.mm-opened > a.mm-next {
    background: rgba(0, 0, 0, .05);
}

.mm-page {
    position: relative;
    box-sizing: border-box;
}

.mm-slideout {
    z-index: 1;
    transition: -webkit-transform .4s ease;
    transition: transform .4s ease;
}

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

html.mm-blocking, html.mm-blocking body {
    overflow: hidden;
}

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

#mm-blocker {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(3, 2, 1, 0);
}

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

.mm-menu.mm-offcanvas {
    position: fixed;
    z-index: 0;
    display: none;
    min-width: 140px;
    max-width: 440px;
    width: 80%;
}

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

html.mm-opening .mm-slideout {
    transform: translate3d(80%, 0, 0);
}

@media all and (max-width: 175px) {
    html.mm-opening .mm-slideout {
        transform: translate3d(140px, 0, 0);
    }
}

@media all and (min-width: 550px) {
    html.mm-opening .mm-slideout {
        transform: translate3d(440px, 0, 0);
    }
}
