/* Off-canvas slide menu component (cbp-spmenu contract used by the markup).
   Reconstructed: the original file was never archived. Class names match the
   markup exactly -- .cbp-spmenu / .cbp-spmenu-vertical / .cbp-spmenu-left and
   the .cbp-spmenu-open state that js/app.js toggles via classie. */

.cbp-spmenu {
    background: #17293b;
    position: fixed;
    z-index: 1200;
    transition: all 0.3s ease;
}

.cbp-spmenu-vertical {
    width: 280px;
    height: 100%;
    top: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.cbp-spmenu-left {
    left: -280px;
}

.cbp-spmenu-left.cbp-spmenu-open {
    left: 0;
}

.cbp-spmenu-right {
    right: -280px;
}

.cbp-spmenu-right.cbp-spmenu-open {
    right: 0;
}

/* The page itself never shifts in this build -- the menu overlays it. */
.cbp-spmenu-push {
    overflow-x: hidden;
    position: relative;
    left: 0;
}

/* Scrim behind the open menu, injected by app.js. */
.menu_scrim {
    position: fixed;
    inset: 0;
    background: rgba(11, 20, 30, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1100;
}

.menu_scrim.is_open {
    opacity: 1;
    visibility: visible;
}

/* Hamburger -> cross, four spans as in the markup. */
.menu_bar a {
    display: block;
    position: relative;
    width: 34px;
    height: 26px;
    cursor: pointer;
}

.menu_bar span {
    display: block;
    position: absolute;
    left: 0;
    height: 3px;
    width: 100%;
    background: #17293b;
    border-radius: 3px;
    opacity: 1;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.menu_bar span.one { top: 0; }
.menu_bar span.two,
.menu_bar span.three { top: 11px; }
.menu_bar span.four { top: 22px; }

.menu_bar.is_open span.one,
.menu_bar.is_open span.four {
    top: 11px;
    width: 0%;
    left: 50%;
}

.menu_bar.is_open span.two { transform: rotate(45deg); }
.menu_bar.is_open span.three { transform: rotate(-45deg); }
