#menu_button:hover{
    cursor:pointer;
}

#menu_burger{
    position: relative;
    margin-left:0px;
    -webkit-transition: margin-left .2s ease;
      -moz-transition:  margin-left .2s ease;
       -ms-transition:  margin-left .2s ease;
            transition: margin-left .2s ease;
}
#menu_burger .menu-nav{
	position: absolute;
	z-index: 400;
    width: auto;
    padding: 20px;
}
#menu_burger.other-page .menu-box{
    color: #fff;
}
#menu_burger .menu-box{
    text-decoration: none;
    position: relative;
    top: -5px;
    left: -10px;
    text-align: center;
    color: #de2e1f;
    text-transform: uppercase;
}
#menu_burger .fad{
    font-size: 32px;
    display: block;
}

#sidebar-wrapper {
    z-index: 1000;
    left: 320px;
    width: 0;
    height: 100%;
    margin-left: -320px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #1c51ec;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

#sidebar-wrapper::-webkit-scrollbar {
  display: none;
}


/*-------------------------------*/
/*     Sidebar nav styles        */
/*-------------------------------*/


#menu li {
    position: relative; 
    line-height: 20px;
    display: inline-block;
    width: 100%;
    font-size: 0;
}
#menu li:hover:before,
#menu li.open:hover:before {
    width: 100%;
    -webkit-transition: width .2s ease;
      -moz-transition:  width .2s ease;
       -ms-transition:  width .2s ease;
            transition: width .2s ease;

}

#menu li a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px 10px 30px; 
    font-size: 20px;
}
#menu li a.hasChildren{
    padding:10px 0px 10px 10px;
}
#menu li a.menu_expand{
    padding:10px 0px 10px 0px;
}
#menu li a.noChildrenBlock{
    padding:10px 0px 10px 10px;
}
#menu li{
    border-bottom: 3px solid rgba(255,255,255,0);
}
#menu > li:hover{
    -webkit-transition: border-bottom .8s ease;
      -moz-transition:  border-bottom .8s ease;
       -ms-transition:  border-bottom .8s ease;
            transition: border-bottom .8s ease;
    border-bottom: 3px solid #de2e1f;
}

#menu li a:hover,
#menu li a:active,
#menu li a:focus,
#menu li.open a:hover,
#menu li.open a:active,
#menu li.open a:focus{
    color: #fff;
    text-decoration: none;
    background-color: transparent;
}

#sidebar-wrapper.toggled{
    padding-left:340px;
}
#sidebar-wrapper.toggled ul#menu{
    left:10px;
    top:40px;
}
#menu_burger.toggled{
    margin-left:340px;
    -webkit-transition: margin-left .2s ease;
      -moz-transition:  margin-left .2s ease;
       -ms-transition:  margin-left .2s ease;
            transition: margin-left .2s ease;
}
ul#menu ul{
    display:none;
}
a.close-nav{
    top: 10px;
    left:300px;
    position: absolute;
    font-size:26px;
    color:#fff;
    cursor: pointer;
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}  
@keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}
@-webkit-keyframes slideUp {
    from { height: 0; }
      to { height: 100%; }
}  
@keyframes slideUp {
    from { height: 0; }
      to { height: 100%; }
}

@media (min-width: 1024px){
    /*---- This MUST match the height of the Nav ----*/
    .nav-wrap {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
    }
    nav .navbar{
    display: none;
    }
    #burger_menu{
    display: none;
    }
    ul#menu {
    width:100%;
    text-align:center;
    float: none;
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
    font-size: 0;
    }
    ul#menu, ul#menu li, ul#menu ul {
        list-style: none !important;
        list-style-image: none !important;
    }
    ul#menu .topItem {
        display:inline-block;
        float:none !important;
        line-height: 20px;
        text-align:center;
    }
    nav.other-page ul#menu .topItem::before{
        display: none;
    }
    ul#menu .topItem::before {
        content: '';
        display: block;
        width: auto;
        position: absolute;
        top: 17px;
        right: 0px;
        height: 20px;
    }
    ul#menu > li.topItem:nth-child(3n+1)::before{
    border-left: 2px solid #119c5b;
    }
    ul#menu > li.topItem:nth-child(3n+2)::before{
    border-left: 2px solid #de2e1f;
    }
    ul#menu > li.topItem:nth-child(3n+3)::before{
    border-left: 2px solid #fff10b;
    }
    ul#menu .topItem.contact::before {
        border-left: 0px !important;
    }
    ul#menu .topItem::after {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 3px;
        background: #fff;
        content: '';
        opacity: 0;
        -webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
        -moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
        transition: height 0.3s, opacity 0.3s, transform 0.3s;
        -webkit-transform: translateY(-17px);
        -moz-transform: translateY(-17px);
        transform: translateY(-17px);
    }
    ul#menu .topItem:hover::after,
    ul#menu .topItem:focus::after {
        height: 3px;
        opacity: 1;
        -webkit-transform: translateY(-8px);
        -moz-transform: translateY(-8px);
        transform: translateY(-8px);
    }
    ul#menu > li.topItem:nth-child(3n+1)::after{
    background: #119c5b;
    }
    ul#menu > li.topItem:nth-child(3n+2)::after{
    background: #de2e1f;
    }
    ul#menu > li.topItem:nth-child(3n+3)::after{
    background: #fff10b;
    }
    
    ul#menu li{
        /*height: 40px;*/
        line-height: 2px;
        text-align: left;
        position: relative;
        text-decoration: none;
        display:block;
        /*top: 37px;*/
    }
    ul#menu li a {
        font-size: 18px;
        /*height: 30px;*/
        margin: 0px 0px;
        padding: 17px;
        text-decoration: none;
        display: block;
        font-family: 'Be Vietnam Pro', sans-serif;
    }
    ul#menu ul {
        display: none;
        position: absolute;
        margin: 0px;
        z-index: 300;
        white-space: nowrap;
        padding: 0px;
        font-size: 0;
        background-color: rgba(28, 80, 236, 0.7);
    }
    ul#menu ul li{
        display: block;
    }
    ul#menu li:hover > ul{
        display: block;
        -webkit-animation: fadeIn .25s;
        animation: fadeIn .25s;
    }
    ul#menu ul {
        text-align: left;
        z-index: 200 !important;
    }
    ul#menu ul ul{
        margin-left: 100%;
        top: 0px !important;
        position: absolute;
    }
    ul#menu .subItem a {
        display: block;
        padding: 20px 15px;
        border: 0;
        transition: 0.3s;
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -ms-transition: 0.3s;
        -o-transition: 0.3s;
    }
    ul#menu .subItem a:hover{
        background: #de2e1f;
    }
    #menu li{
    width: auto;
    border: 0;
    }
    #menu li:hover{
    border: 0;
    }
    #menu_burger .menu-nav{
    display: none;
    }

}
@media (max-width: 1023px){
    #main-menu.fullscreen {
		display: none;
    }
    #menu {
        position: absolute;
        top: 0;
        width: 320px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
}