﻿#wrapper {
    overflow-x: hidden;
    height: 100%;
}

    #wrapper.with-sidebar {
        padding-left: 25px;
        -webkit-transition: all 0.3s linear;
        -moz-transition: all 0.3s linear;
        -o-transition: all 0.3s linear;
        transition: all 0.3s linear;
    }

        #wrapper.with-sidebar.show-sidebar {
            padding-left: 225px;
        }

    #wrapper.with-search {
        margin-top: 123px;
    }

@media(min-width:768px) {
    #wrapper.with-sidebar {
        padding-left: 225px;
    }

    #wrapper.with-search {
        margin-top: 51px;
    }
}

#page-wrapper {
    width: 100%;
    background-color: #fff;
    padding: 0px 0px 50px 0px;
    border-bottom: 1px solid #e7eaec !important;
    min-height: 700px;
}

.huge {
    font-size: 50px;
    line-height: normal;
}

@media(min-width:768px) {

    #page-wrapper {
    }
}

/* Header + top navigation */

.navbar-header {
    float: left;
}

.navbar-brand > img {
    height: 45px;
    margin: -20px 10px -15px 10px;
}

/* Overwrite Bootstrap default */
.navbar-right {
    float: right !important;
}

    .navbar-right .dropdown-menu {
        right: 0;
        left: auto;
    }

.navbar-search-form {
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
}

@media(min-width:768px) {
    .navbar-search-form {
        width: 270px;
    }
}

.top-nav {
    padding: 0 15px;
}

    .top-nav > li {
        display: inline-block;
        float: left;
    }

        .top-nav > li > a {
            padding-top: 15px;
            padding-bottom: 15px;
            line-height: 20px;
            color: #999;
        }

        /* App menu */
        .top-nav > li.app-menu > a {
            padding-bottom: 10px;
        }

            .top-nav > li.app-menu > a > .glyphicon {
                font-size: 1.5em;
            }

        .top-nav > li.app-menu > .dropdown-menu {
            width: 230px;
        }

        .top-nav > li > a:hover,
        .top-nav > li > a:focus,
        .top-nav > .open > a,
        .top-nav > .open > a:hover,
        .top-nav > .open > a:focus {
            color: #fff;
            background-color: #000;
        }

    .top-nav > .open > .dropdown-menu {
        float: left;
        position: absolute;
        margin-top: 0;
        border: 1px solid rgba(0,0,0,.15);
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        background-color: #fff;
        -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
        box-shadow: 0 6px 12px rgba(0,0,0,.175);
    }

        .top-nav > .open > .dropdown-menu > li > a {
            white-space: normal;
        }


/* Side Navigation */
#wrapper #sidebar-wrapper {
    display: none;
}

#sidebar-toggler .btn {
    border-bottom: 1px solid #e7e7e7;
    padding: 10px 0px;
}

@media(min-width:768px) {
    #wrapper.with-sidebar #sidebar-toggler {
        display: none;
    }
}

#wrapper.show.sidebar #sidebar-toggler .btn {
    padding: 10px 16px;
    display: block;
}

#sidebar-wrapper .sidebar-content {
    overflow: hidden;
    width: 0;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

@media(min-width:768px) {
    #sidebar-wrapper .sidebar-content {
        width: 225px;
    }
}

#wrapper.show-sidebar #sidebar-wrapper .sidebar-content {
    width: 225px;
}

#wrapper.with-sidebar #sidebar-wrapper {
    display: block;
    top: 51px;
    z-index: 1000;
    position: fixed;
    left: 25px;
    width: 25px;
    bottom: 0;
    margin-left: -25px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #FBFBFB;
    border-right: 1px solid #D1D1D1;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

#wrapper.with-search #sidebar-wrapper {
    top: 123px;
}

@media(min-width:768px) {
    #wrapper.with-sidebar #sidebar-wrapper {
        width: 225px;
        top: 51px;
    }
}

#wrapper.show-sidebar #sidebar-wrapper {
    width: 225px;
}

#sidebar-wrapper .sidebar-nav {
    list-style-type: none;
}

    #sidebar-wrapper .sidebar-nav > li > a {
        width: 225px;
        /*color: #DCDCDC;*/
    }


    #sidebar-wrapper .sidebar-nav li a:hover,
    #sidebar-wrapper .sidebar-nav li a:focus {
        outline: none;
    }

    #sidebar-wrapper .sidebar-nav > li > ul {
        padding: 0;
    }

        #sidebar-wrapper .sidebar-nav > li > ul > li > a {
            display: block;
            padding: 10px 15px 10px 38px;
            text-decoration: none;
            color: #999;
        }

            #sidebar-wrapper .sidebar-nav > li > ul > li > a:hover {
                color: #fff;
            }


    #sidebar-wrapper .sidebar-nav > li,
    #sidebar-wrapper .sidebar-nav > li,
    #sidebar-wrapper .sidebar-nav > li {
        border-bottom: 1px solid #e7e7e7;
    }

        #sidebar-wrapper .sidebar-nav > li.active {
            background-color: #eee;
            color: #23527c;
        }

#sidebar-wrapper .action-buttons {
    padding: 30px 10px 10px 10px;
}

    #sidebar-wrapper .action-buttons .btn {
        width: 100%;
        margin-bottom: 0.7em;
        text-align: left;
        padding: 0.5em 1em 0.5em;
    }

/* Top actions bar, should be placed just below header and be fixed */
#top-bar-wrapper {
    padding: 10px 15px;
    width: 100%;
    position: fixed;
    z-index: 1000;
    background-color: #FBFBFB;
    border-bottom: 1px solid #D1D1D1;
}

.has-top-bar {
    padding-top: 70px;
}

/* Bottom actions bar, should be placed fixed on the bottom */
#bottom-bar-wrapper {
    padding: 10px 15px;
    width: 100%;
    position: fixed;
    z-index: 1000;
    background-color: #FBFBFB;
    border-bottom: 1px solid #D1D1D1;
    bottom: 0px;
}
