body{
    font-family: "MyFont";
    font-size: 13px;
    text-align: right;
    direction: rtl;
}
#wrapper {
    padding-right: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-right: 250px;
}
h1{
    font-size: 28px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
}
#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    right: 250px;
    width: 0;
    height: 100%;
    margin-right: -250px;
    overflow-y: auto;
    background: #555555;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 15px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-left: -250px;
}
.sidebar-nav {
    font-family: "MyFont";
    position: absolute;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
    top:0;
    direction: rtl;
    text-align: right;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
    font-size: 13px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #eeeeee;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.activemenu{
    border-right: 5px solid #693B83;
}

.sidebar-brand {
    height: 65px;
    font-size: 21px;
    line-height: 60px;
    font-family: "MyFont";
    text-align: center;
}

.sidebar-brand a {
    color: #eeeeee;
}

.sidebar-brand a:hover {
    color: #fff;
    background: none;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav a, .nav label {
    display: block;
    padding: .85rem;
    color: #fff;
    background-color: #555555;
    box-shadow: inset 0 -1px #888888;
    -webkit-transition: all .25s ease-in;
    transition: all .25s ease-in;
    font-family: "MyFont";
    font-size: 13px;
    font-weight: normal;
    direction: rtl;
    text-align: right;
    margin: 0;
}
.nav a:focus, .nav a:hover, .nav label:focus, .nav label:hover {
    color: rgba(255, 255, 255, 0.5);
    background:#898989;
}
.nav label { cursor: pointer; }
.group-list a, .group-list label {
    padding-left: 2rem;
    background: #444444;
    box-shadow: inset 0 -1px #373737;
}
.group-list a:focus, .group-list a:hover, .group-list label:focus, .group-list label:hover { background: #666666; }
.sub-group-list a, .sub-group-list label {
    padding-left: 4rem;
    background: #353535;
    box-shadow: inset 0 -1px #474747;
}

.sub-group-list a:focus, .sub-group-list a:hover, .sub-group-list label:focus, .sub-group-list label:hover { background: #232323; }
.sub-sub-group-list a, .sub-sub-group-list label {
    padding-left: 6rem;
    background: #454545;
    box-shadow: inset 0 -1px #575757;
}
.sub-sub-group-list a:focus, .sub-sub-group-list a:hover, .sub-sub-group-list label:focus, .sub-sub-group-list label:hover { background: #333333; }
.group-list, .sub-group-list, .sub-sub-group-list {
    height: 100%;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height .5s ease-in-out;
    transition: max-height .5s ease-in-out;
}
.nav__list input[type=checkbox]:checked + label + ul { /* reset the height when checkbox is checked */
    max-height: 1000px; }
label > span {
    float: left;
    -webkit-transition: -webkit-transform .65s ease;
    transition: transform .65s ease;
}

.nav__list input[type=checkbox]:checked + label > span {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}
@media(min-width:768px) {
    #wrapper {
        padding-right: 250px;
    }

    #wrapper.toggled {
        padding-right: 0;
    }

    #sidebar-wrapper {
        width: 250px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 20px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-left: 0;
    }
}
