#main {
    transition: 0.5s;
    position: relative;
    transform: translateX(0);
}

#main.nav-open {
    transform: translate3d(300px, 0, 0);
}

.mobile-menu nav {
    width: 300px;
    color: #2d2d2d;
    right: 0;
    height: 100vh;
    position: fixed;
    transition: 0.5s;
    transform: translateX(300px);
}

.mobile-menu nav h3 {
    padding: 0 60px 0 30px;
    margin: 20px 0 30px;
    text-align: right;
    font-size: 2rem;
    font-weight: 300;
}

.mobile-menu nav.open {
    transform: translateX(0);
}

.mobile-menu .nav-level {
    padding-top: 130px;
    position: absolute;
    height: 100%;
    width: 100%;
    background: #328ea5;
    top: 0;
    left: 0;
    z-index: 1;
}

.mobile-menu .nav-overlay:before {
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 1;
}

.mobile-menu .nav-overlay:after {
    background: rgba(0, 0, 0, 0.3);
    -webkit-transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
    -moz-transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
    transition: opacity 0.3s, width 0.1s 0.3s, height 0.1s 0.3s;
}

.mobile-menu .nav-overlay:before,
.mobile-menu .nav-overlay:after {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    content: '';
    opacity: 0;
}

.mobile-menu nav.open .nav-overlay ul li {
    box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
}

.mobile-menu nav.open .nav-overlay:after {
    width: 100%;
    height: 100%;
    opacity: 1;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.mobile-menu ul {
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    list-style: none;
    text-align: left;
    background: #328ea5;
    display: block !important;
    transition: 0.5s !important;
    float: left;
    width: 100%;
    padding: 15px;
    border-bottom: 1px solid #359fb9;
}

.mobile-menu ul li a {
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    padding: 0 0 0 30px;
    text-align: left;
    float: left;
    width: 100%;
    letter-spacing: 1px;
}

.mobile-menu ul li a:hover {
    color: #000000;
}

.mobile-menu ul li.sub-arrow a {
    position: relative;
}

.mobile-menu ul li.sub-arrow a:before,
.mobile-menu ul li.sub-arrow a:after {
    content: '';
    position: absolute;
    background: #ffffff;
}

.mobile-menu ul li.sub-arrow a:before {
    width: 8px;
    height: 1px;
    transform: rotate(45deg);
    top: 7px;
    right: 0;
}

.mobile-menu ul li.sub-arrow a:after {
    width: 1px;
    height: 8px;
    transform: rotate(45deg);
    right: 3px;
    top: 9px;
}

.submenu.nav-level.open ul li a:before,
.submenu.nav-level.open ul li a:after {
    display: none;
}

.mobile-menu .back {
    text-align: left;
    padding: 10px 0 10px 40px;
    background: #236373;
    cursor: pointer;
    transition: 0.3s;
    color: #ffffff;
    height: auto;
    font-size: 15px;
    float: left;
    width: 100%;
}

.mobile-menu .back:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.mobile-menu .back.back-icon {
    position: relative;
}

.mobile-menu .back.back-icon:before,
.mobile-menu .back.back-icon:after {
    content: '';
    position: absolute;
    background: #ffffff;
}

.mobile-menu .back.back-icon:before {
    width: 8px;
    height: 1px;
    transform: rotate(45deg);
    top: 17px;
    right: 58px;
}

.mobile-menu .back.back-icon:after {
    width: 1px;
    height: 8px;
    transform: rotate(45deg);
    right: 62px;
    top: 19px;
}

.mobile-menu .submenu {
    position: absolute;
    width: 300px;
    height: 100vh;
    background: #328ea5;
    left: 0;
    transition: 0.3s;
    transform: translate3d(100%, 0, 0);
    top: 0;
    border: 1px solid #fff;
    border-top: none;
    opacity: 0;
    pointer-events: none;
}

.mobile-menu .submenu.open {
    transform: translate3d(40px, 0, 0);
    opacity: 1;
    pointer-events: visible;
}

.mobile-menu .hamburger {
    float: right;
    padding: 0;
    cursor: pointer;
    transition-property: opacity, filter, translate3d;
    transition-duration: 0.5s;
    transition-delay: 0.5s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    position: absolute;
    right: 15px;
    z-index: 5;
    overflow: visible;
    top: 70px;
}

.mobile-menu .hamburger:hover {
    opacity: 0.7;
}

.mobile-menu .hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.mobile-menu .hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.mobile-menu .hamburger-inner,
.mobile-menu .hamburger-inner::before,
.mobile-menu .hamburger-inner::after {
    width: 40px;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.mobile-menu .hamburger-inner::before,
.mobile-menu .hamburger-inner::after {
    content: "";
    display: block;
}

.mobile-menu .hamburger-inner::before {
    top: -10px;
}

.mobile-menu .hamburger-inner::after {
    bottom: -10px;
}


/*
* Squeeze
*/

.hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze .hamburger-inner::before {
    transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}

.hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--squeeze.is-active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

.hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}

.hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

nav.open+.hamburger .hamburger-inner {
    background: #ffffff;
}

nav.open+.hamburger .hamburger-inner:before,
nav.open+.hamburger .hamburger-inner:after {
    background: #ffffff;
}