/* General styles for all menus */

.cbp-spmenu {
    //background: #fff;
    position: fixed;
    //background: #ffffff;
    //background: -moz-linear-gradient(left, #ffffff 0%, #dbdbdb 74%, #ffffff 100%);
    //background: -webkit-linear-gradient(left, #ffffff 0%,#dbdbdb 74%,#ffffff 100%);
    //background: linear-gradient(to right, #ffffff 0%,#dbdbdb 74%,#ffffff 100%);
    //filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=1 );
    background-color: rgba(67,72,76,0.8);
}

.cbp-spmenu h3 {
    color: #afdefa;
    font-size: 3rem;
    padding: 20px;
    margin: 0;
    font-weight: 300;
    //background: #fff;
    //background: rgb(193,2,44);
}

.cbp-spmenu a {
    display: block;
    color: #1b1d1d;
    font-size: 2.3rem;
    font-weight: 400;
}

.cbp-spmenu a:hover {
    //text-shadow: 0px 0px 0px rgba(25,25,25,1);
    //color: #525353;
}

/*
.cbp-spmenu a:active {
    background: #afdefa;
    color: #47a3da;
}*/

/* Orientation-dependent styles for the content of the menu */

.cbp-spmenu-vertical {
    width: 240px;
    height: 140%;
    top: 0;
    z-index: 1000;
}

.cbp-spmenu-left a {
    color: #fff;
    padding: 1em;
    border-bottom: 1px dotted #fff;
    font-weight: 300;
}
/*
.cbp-spmenu-vertical a {
    border-bottom: 3px solid transparent;
    -moz-border-image: -moz-linear-gradient(left, #1b1d1d 64%, #ffffff 100%);
    -webkit-border-image: -webkit-linear-gradient(left, #1b1d1d 64%,#ffffff 100%);
    border-image: linear-gradient(to right, #1b1d1d 64%,#ffffff 100%);
    border-image-slice: 1;
    padding: 0.8em;
    text-shadow: none;
}
*/

.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 #1b1d1d;
}

/* Vertical menu that slides from the left or right */

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

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

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

.cbp-spmenu-right.cbp-spmenu-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.cbp-spmenu-open {
    top: 0px;
}

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

/* Push classes applied to the body */

.cbp-spmenu-push {
    overflow-x: hidden;
    position: relative;
    left: 0;
}

.cbp-spmenu-push-toright {
    left: 240px;
}

.cbp-spmenu-push-toleft {
    left: -240px;
}

/* Transitions */

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

/* Example media queries */

@media screen and (max-width: 960px){

    .cbp-spmenu-horizontal {
        font-size: 75%;
        height: 110px;
    }

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

    .cbp-spmenu-bottom {
        bottom: -110px;
    }
    #togglenav {
        overflow-y: scroll;
        height: 101%;
    }
}

@media screen and (max-height: 26.375em){

    .cbp-spmenu-vertical {
        font-size: 90%;
        width: 190px;
    }

    .cbp-spmenu-left,
    .cbp-spmenu-push-toleft {
        left: -190px;
    }

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

    .cbp-spmenu-push-toright {
        left: 190px;
    }
}