@import "variables.css";

#phone-navigation {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.95);
    /* box-shadow: 0 2px 2px rgba(0,0,0,0.1); */
}

@media only screen and (max-width: 1024px) {
    #phone-navigation {
        display: block;
    }
}

#phone-left-menu-btn, #phone-right-menu-btn {
    position: absolute;
    top: 0;
    width: 42px;
    height: 48px;
    cursor: pointer;
}

#phone-navigation img {
    position: absolute;
    top: 12px;
    left: 6px;
    width: 24px;
    height: 24px;
    background: transparent;
}

#phone-left-menu-btn {
    left: 0;
}

#phone-right-menu-btn {
    right: 0;
}

#title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

#title a {
    color: black;
}


#phone-darken-overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

#phone-left-menu, #phone-right-menu {
    width: 0;
    height: 100%;
    position: fixed;
    z-index: 2;
    top: 0;
    background-color: white;
    overflow-x: hidden;
    transition: 0.3s;
    white-space: nowrap;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

#phone-left-menu {
    left: 0;
}

#phone-header-logo {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 60px;
    height: 60px;
}

#phone-left-menu-main {
    position: relative;
    top: 92px;
    padding-right: 16px;
    line-height: 2.1em;
}

#phone-left-menu-main .extras {
    margin-top: 16px;
    text-align: right;
}

#phone-left-menu-main .extras a {
    color: var(--gray);
}

#phone-right-menu {
    right: 0;
}

#phone-right-menu-main {
    position: relative;
    padding-left: 16px;
    padding-top: 59px;
}


#phone-right-menu:after {
    content: "";
    display: block;
    height: 80px;
    width: 100%;
}
