/* ==========================================================================
   Header
   ========================================================================== */

button {
    background: none;
    box-shadow: none;
    border: none;
    font-size: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

/*hamburger icon*/

#nav-icon {
    width: 28px;
    height: 20px;
    padding: 0;
    margin: 20px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    display: inline-block;
    float: right;
    z-index: 1001;
}

#nav-icon:focus {
    outline: none !important;
}

#nav-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
    padding: 0;
    margin: 0;
}

#nav-icon span:nth-child(1) {
    top: 0;
}

#nav-icon span:nth-child(2) {
    top: 8px;
}

#nav-icon span:nth-child(3) {
    top: 16px;
}

#nav-icon.open span {
    background-color: white;
}

#nav-icon.open span:nth-child(1) {
    top: 9px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    padding: 0;
    margin: 0;
}

#nav-icon.open span:nth-child(2) {
    opacity: 0;
    visibility: hidden;
}

#nav-icon.open span:nth-child(3) {
    top: 9px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

/*header*/

html.ovh {
    /* For desktop */
    overflow: hidden;
}

body {
    overflow: visible;
    height: 100%;
}


header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
    text-align: center;
}

header .nav {
    background: white;
    height: 100vh;
    width: 100%;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    z-index: 999;
    text-align: center;
    background: rgba(39, 46, 64, 0.99);
    position: absolute;
    /* The main point: */
    overflow-y: auto;
    /* Optional but highly reccomended: enables momentum scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}



header .nav.closed {
    -webkit-transform: translate3d(0, -100vh, 0);
    -moz-transform: translate3d(0, -100vh, 0);
    -ms-transform: translate3d(0, -100vh, 0);
    -o-transform: translate3d(0, -100vh, 0);
    transform: translate3d(0, -100vh, 0);
}

header .nav {
    text-align: center;
}

header .nav .logo-jal-menu {
    width: 30vw;
    max-width: 200px;
    margin: 100px 0 30px 0;
}

header .nav ul {
    list-style-type: none;
    padding: 0;
}

header .nav ul a {
    text-decoration: none;
    color: white;
}

header .nav ul a:hover li {
    background-color: #363e51;
}

header .nav ul a img {
    width: 50px;
    margin-bottom: -15px;
    margin-right: 12px;
}

header .nav > ul li {
    font-size: 26px;
    color: white;
    font-weight: 100;
    padding: 10px 0 10px calc((100vw - 564px) / 2);
    transition: all 0.2s ease-in;
    line-height: 2;
    text-align: left;
}

header .nav ul li span {
    font-weight: 400;
}

#jal-darkblue-mobile{
    display: none;
}