/* General styles for all menus */
.cbp-spmenu {
    background: #333333;
    position: fixed;
    z-index: 99999 !important;
}

#menu-container {
    width: 900px;
    margin-left: calc(50vw - 450px);
    clear: both;
    padding: 50px 0;
}

.menu-section.lhs {
    width: 49%;
    margin-right: 2%;
    float: left;
}

.menu-spacer {
    width: 100%;
    height: 20px;
    clear: both;
}

.menu-section.rhs {
    width: 49%;
    float: left;
}

#about-sim,
.cbp-spmenu h3 {
    color: #ffffff;
    font-size: 1em;
    margin: 0;
    font-weight: 300;
}

.cbp-spmenu a {
    display: block;
    color: #fff;
    font-size: 0.5em;
    font-weight: 300;
}

.cbp-spmenu a:hover {
    background: #ffffff;
    color: #333333;
}

#about-sim:hover {
    background-color: #333333;
}

.cbp-spmenu a:active {
    background: #cf4a5c;
    color: #ffffff;
}

/* Orientation-dependent styles for the content of the menu */
.cbp-spmenu-vertical {
    width: 240px;
    height: 100%;
    top: 0;
    z-index: 1000;
    overflow-y: scroll;
}

.cbp-spmenu-vertical a {
    padding: 1em;
}

.cbp-spmenu-horizontal {
    width: 100%;
    height: 100vh;
    left: 0;
    z-index: 1000;
    overflow: scroll;
}

.cbp-spmenu-horizontal h3 {
    height: 100%;
    width: 100%;
    float: left;
    padding-left: 10px; 
}

.cbp-spmenu-horizontal a {
    float: right;
    width: 100%;
    padding: 0.8em 0;
    padding-left: 10px; 
}

#about-sim {
    padding: 0;
    padding-left: 10px; 
}

#max-logo {
    height: 1.3em;
    float: right;
}

#max-logo-div,
#max-logo:hover {
    background-color: #333333;
    margin-bottom: 50px;
}

/* Vertical menu that slides from the left or right */
.cbp-spmenu-left {
    left: -240px;
}

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

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

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

/* Horizontal menu that slides from the top or bottom */

.cbp-spmenu-top {
    top: -150px;
}

.cbp-spmenu-bottom {
    bottom: -100vh;
}

.cbp-spmenu-top.menu-open {
    top: 0px;
}

.cbp-spmenu-bottom.menu-open {
    bottom: 0px;
}

/* Push classes applied to the body */
.push-body {
    overflow-x: hidden;
    position: relative;
    left: 0;
}

.push-body-toright {
    left: 240px;
}

.push-body-toleft {
    left: -240px;
}

/* Transitions */
.cbp-spmenu,
.push-body {
    -webkit-transition: all 0.3s ease;
       -moz-transition: all 0.3s ease;
            transition: all 0.3s ease;
}
