﻿#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    overflow: hidden;
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    right: 0;
}

    #wrapper.toggled {
        padding-left: 200px;
        overflow: scroll;
    }

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    left: 200px;
    width: 0;
    /*height: 100%;*/
    top: 50px;
    bottom: 0px;
    margin-left: -200px;
    overflow-y: auto;
    background: #000;
    -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: 200px;
}

#page-content-wrapper {
    position: absolute;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 15px;
    padding-bottom: 15px;
    overflow: auto;
    bottom: 0px;
    top: 0px;
    left: 0;
    right: 0;
}

.xyz {
    min-width: 300px;
}

#wrapper.toggled #page-content-wrapper {
    position: relative;
    margin-right: 0px;
}

.fixed-brand {
    width: auto;
}
/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 0px;
    width: 200px;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-top: 2px;
}

    .sidebar-nav li {
        text-indent: 15px;
        line-height: 40px;
    }

        .sidebar-nav li li {
            text-indent: 5px;
            line-height: 30px;
        }

        .sidebar-nav li ul {
            background: #333
        }

        .sidebar-nav li a {
            display: block;
            text-decoration: none;
            color: #c2c2c2;
        }

            .sidebar-nav li a:hover {
                text-decoration: none;
                color: #fff;
                background: rgba(255,255,255,0.2);
                border-left: red 2px solid;
                border-radius: 0px;
            }

            .sidebar-nav li a:active,
            .sidebar-nav li a:focus {
                text-decoration: none;
            }

        .sidebar-nav li.active > a {
            background: rgba(255,255,255,0.2) !important;
            border-radius: 0px;
            border-left: red 2px solid;
        }

    .sidebar-nav > .sidebar-brand {
        height: 65px;
        font-size: 18px;
        line-height: 50px;
    }

        .sidebar-nav > .sidebar-brand a {
            color: #999999;
        }

            .sidebar-nav > .sidebar-brand a:hover {
                color: #fff;
                background: none;
            }

.no-margin {
    margin: 0;
}

#menu-toggle-2 {
    display: none;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 200px;
    }

    .fixed-brand {
        width: 200px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 200px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 200px;
    }

    #wrapper.toggled-2 #sidebar-wrapper {
        width: 50px;
    }

        #wrapper.toggled-2 #sidebar-wrapper:hover {
            width: 200px;
        }

    #menu-toggle-2 {
        display: block;
    }

    #page-content-wrapper {
        padding: 15px;
        margin-left: 200px;
        /*position: relative;*/
        -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 #page-content-wrapper {
        /*position: relative;*/
        margin-right: 0;
        padding-left: 200px;
    }

    #wrapper.toggled-2 #page-content-wrapper {
        /*position: relative;*/
        margin-right: 0;
        margin-left: 50px;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        width: auto;
    }
}
