/* General styles for all menus */

/* Icon 1 */

#nav-icon3 {
    width: 26px;
    height: 23px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    float: right;
    margin-right: 0px;
    margin-top: 49px;
    display: block;
    margin-top: 38px !important;
}

#nav-icon3 span {
    display: block;
    position: absolute;
    height: 5px;
    width: 100%;
    background: #2e2e2e;
    border-radius: 5px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
    transform: background none;
}

#nav-icon3:hover span {
    background: #a2a2a2;
}

#nav-icon3 span:nth-child(1) {
    top: 0px;
}

#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
    top: 9px;
}

#nav-icon3 span:nth-child(4) {
    top: 18px;
}

#nav-icon3.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

#nav-icon3.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

/*  Start Side Menu */

/* General styles for all menus */
.ace-spmenu {
	background: #fff;
    border-left: 1px solid #2e2e2e;
	position: fixed;
    margin: 0;
    padding: 0;
}

.ace-spmenu-header {
    height: 100px;
    border-bottom: 1px solid #2e2e2e;
    text-align: center;
    overflow: hidden;
}

.side-logo {
    height: 60px;;
    margin: auto;
    text-align: center;
    margin-top: 20px;
}

.side-logo img {
    max-width: 50%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.side_close {
    display: none;
}

.side_menu {
    height: 100%;
    overflow: scroll;
    -ms-overflow-style: none !important;
}

.ace-spmenu ul {
    padding: 0px;
    margin: 0px;
}

.ace-spmenu ul li {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}

.ace-spmenu ul li ul li {
}

.ace-spmenu ul li ul li a {
    padding-left: 30px;
    position: relative;
}

.ace-spmenu ul li ul li a:before {
    content: '-';
    position: absolute;
    left: 15px;
}

.ace-spmenu h3 {
	color: #afdefa;
	font-size: 1.9em;
	padding: 20px;
	margin: 0;
	font-weight: 300;
	background: #0d77b6;
}

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

.ace-spmenu a:active {
	background: #eee;
	color: #2e2e2e;
}

.ace-spmenu a:hover {
	background: #eee;
}

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

.ace-spmenu-vertical {
	width: 360px;
	height: 100%;
	top: 0;
	z-index: 1000;
}

.ace-spmenu-vertical a {
    border-bottom: 1px solid #707070;
	padding: 1em;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #2e2e2e;
}

.ace-spmenu-vertical a:hover {
    text-decoration: none;
}

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

.ace-spmenu-left {
	left: -360px;
}

.ace-spmenu-right {
	right: -360px;
}

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

.ace-spmenu-right.ace-spmenu-open {
	right: 0px;
}

/* Push classes applied to the body */

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

.ace-spmenu-push-toright {
	left: 360px;
}

.ace-spmenu-push-toleft {
	left: -360px;
}

/* Transitions */

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

@media screen and (max-width: 600px) {
    
    .ace-spmenu {
        border: none;
    }
    
    .ace-spmenu-vertical {
        width: 100%;
    }
    
    .side_close {
        display: block;
        position: absolute;
        top: 38px;
        right: 15px;
        border: none;
    }
    
    .side_close svg {
        font-size: 25px;
    }
    
    .ace-spmenu-right {
        right: -100%;
    }
    
    .ace-spmenu-push-toleft {
        left: -100%;
    }

}