/* General styles for all menus */
.cbp-spmenu {
    background: #25b5f1;
    position: fixed;
}

.cbp-primary {
    background: #25b5f1;
}

.cbp-primary ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cbp-primary > div {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.cbp-primary a {
	font-family: 'Montserrat', Helvetica, arial, sans-serif;
    display: block;
    color: #fff;
    font-size: 1.5em;
	letter-spacing: -0.035em;
    font-weight: 700;
	text-align: right;
	-webkit-transition: ease-in-out 0.2s;
	transition: ease-in-out 0.2s;
}

.cbp-primary a:hover {
    background: rgba(0,0,0,0.1);
	-webkit-transition: ease-in-out 0.2s;
	transition: ease-in-out 0.2s;
}

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

.nav-menu-vertical {
	width: 240px !important;
}

.cbp-primary a {
    padding: 0.35em 1em;
}

.cbp-spmenu-horizontal {
    width: 100%;
    height: 150px;
    left: 0;
    z-index: 1000;
    overflow: hidden;
}

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

.cbp-spmenu-horizontal a {
    float: left;
    width: 20%;
    padding: 0.8em;
    border-left: 1px solid #258ecd;
}

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

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

.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: -150px;
}

.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: -600px;
}

.bio-overlay {
	background: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -9;
    -webkit-transition: all 0.5s ease;
       -moz-transition: all 0.5s ease;
            transition: all 0.5s ease;
}

.push-body-toleft .bio-overlay {
	z-index: 1;
	background: rgba(0,0,0,0.75);
    -webkit-transition: all 0.5s ease;
       -moz-transition: all 0.5s ease;
            transition: all 0.5s ease;
}

.push-body-toright button.menu-toggle {
	background: #07a2e2;
	border-color: #07a2e2;
	-webkit-transition: ease-in-out 0.2s;
	transition: ease-in-out 0.2s;
	
}

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

/* Example media queries */
@media screen and (max-width: 55.1875em) {
    .cbp-spmenu-horizontal {
        font-size: 75%;
        height: 110px;
    }

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

    .cbp-spmenu-bottom {
        bottom: -110px;
    }
}

@media screen and (max-height: 26.375em) {
    .cbp-spmenu-vertical {
        font-size: 90%;
    }
}

@media handheld, only screen and (max-width: 767px) {
	
	.cbp-spmenu-right {
		right: -300px;
	}
	.cbp-spmenu-vertical {
		width: 300px;
	}
	
	.cbp-primary > div {
		top: 0;
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
	
	.cbp-primary a {
		font-size: 1em;	
	}
	
	
	
} 
