#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
#sideNav,
#sideNav ul,
#sideNav ul li,
#sideNav ul li a{
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
/*.menu:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -1;
    left: 0;
    background-color: #5f6673;
}*/
#cssmenu ul li a,#sideNav ul li a {
    border-bottom:1px solid #d7d7d7;
}
#cssmenu ul > li.has-sub a {
    /*border-bottom: 0;*/
}
#cssmenu, #sideNav{
    /*width: 220px;*/
    font-family: Raleway, sans-serif;
    color: #ffffff;
    z-index: 99;
}
#cssmenu ul ul, #sideNav ul ul{
    display: none;
}
#cssmenu > ul > li.active > ul {
    display: block;
}
#cssmenu > ul > li.active a.active,#sideNav > ul > li.active a.active {
    color:#27437f;
    font-weight: bold;
    background: #fff;
}
#cssmenu > ul > li.active.has-sub a.active, #sideNav > ul > li.active.has-sub a.active {
    color: #fff;
    font-weight: bold;
    background: #27437f;
}
.align-right {
    float: right;
}

#cssmenu > ul > li > a,#sideNav > ul > li > a {
    padding: 15px 20px;
    cursor: pointer;
    z-index: 2;
    font-size: 12px;
    text-decoration: none;
    color: #585858;
    /* background: #3ab4a6; */
    -webkit-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
    text-transform: uppercase;
    font-weight: bold;
}
#cssmenu ul li a img,#cssmenu ul li a i,#sideNav ul li a img,#sideNav ul li a i {
    width: 22px;
    vertical-align: middle;
    margin-right:8px;
}
#cssmenu > ul > li > a:hover,#sideNav > ul > li > a:hover{
    color: #27437f;
}
#cssmenu ul > li.has-sub > a:after, #sideNav ul > li.has-sub > a:after {
    position: absolute;
    right: 14px;
    top: 19px;
    z-index: 5;
    display: block;
    height: 10px;
    width: 2px;
    background: #585858;
    content: "";
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -ms-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}
#cssmenu ul > li.has-sub > a:before, #sideNav ul > li.has-sub > a:before {
    position: absolute;
    right: 10px;
    top: 23px;
    display: block;
    width: 10px;
    height: 2px;
    background: #585858;
    content: "";
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -ms-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}
#cssmenu ul > li.has-sub.open > a:after,
#cssmenu ul > li.has-sub.open > a:before,
#sideNav ul > li.has-sub.open > a:after,
#sideNav ul > li.has-sub.open > a:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
#cssmenu ul ul li a, #sideNav ul ul li a {
    padding: 14px 40px;
    cursor: pointer;
    z-index: 2;
    font-size: 13px;
    text-decoration: none;
    text-transform: none;
    font-weight:bold;
    color: #585858;
   /* background: #49505a;*/
    -webkit-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
}
#cssmenu ul ul ul li a,
#sideNav ul ul ul li a{
    padding-left: 32px;
}
#cssmenu ul ul li a:hover {
    color: #27437f;
}
#cssmenu ul ul > li.has-sub > a:after,#sideNav ul ul > li.has-sub > a:after {
    top: 16px;
    right: 26px;
    background: #dddddd;
}
#cssmenu ul ul > li.has-sub > a:before,#sideNav ul ul > li.has-sub > a:before {
    top: 20px;
    background: #dddddd;
}
/**** MOBILE FIXES ****/
#cssmenu.nav-collapse-0.opened {

}
/*** TESTING SLIDE MENU ***/
a.logo {
    /*   position:relative;
   left:50px;*/
    display: block;
    margin:0 auto;
    text-align: center;
    max-width: 250px;
}
#openmenu {
    padding: 0;
    color: #27437f;
    border-radius: 100px;
    height: 24px;
    width: 48px;
    vertical-align: middle;
    display: block;
    text-align: center;
    font-size: 88%;
    z-index: 98;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    position: absolute;
    top: 20px;
    text-decoration: none;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -ms-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}
#openmenu:hover {
    opacity: 0.8;
}
/*a#openmenu:after {
    content: "Menu";
    text-align: center;
    width: 48px;
    font-size:12px;
    clear: both;
    display: block;
}*/
#openmenu *:before,
#openmenu *:after {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 10; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #f8f8f8;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    box-shadow:1px 1px 20px #999;
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}
.sidenav ul li a{
    position: relative;

}

    /* When you mouse over the navigation links, change their color */
.sidenav a:hover {
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: -10px;
    right: 0;
    font-size: 36px;
    margin-left: 50px;
    z-index: 2;
}

.slideout-panel {
    position: relative;
    z-index: 1;
    will-change: transform;
    background-color: #FFF; /* A background-color is required */
    min-height: 100vh;
}

.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
    overflow: hidden;
}

.slideout-open .slideout-menu {
    display: block;
}
/*div#openmenu {
    position: fixed;
    left: 30px;
    top: 20px;
}*/
#cssmenu > ul > li.addDevice > a{
    background: #3b548b;
    color:#fff;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -ms-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}
#cssmenu > ul > li.addDevice > a:hover,#cssmenu > ul > li.addDevice > a:focus {
 opacity:0.8;
}
li#newSosDevice .small,li#newVmDevice .small {
    font-size: 75%;
}