/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}


/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
    border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
}

@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #d5d5d5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

    .nav-sidebar > li > a {
        padding-right: 20px;
        padding-left: 20px;
    }

    .nav-sidebar > .active > a,
    .nav-sidebar > .active > a:hover,
    .nav-sidebar > .active > a:focus {
        color: #d5d5d5;
        background-color: #428bca;
    }


/*
 * Main content
 */

.main {
    padding: 20px;
}

@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}

.main .page-header {
    margin-top: 0;
}


/*
 * Placeholder dashboard ideas
 */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}

    .placeholders h4 {
        margin-bottom: 0;
    }

.placeholder {
    margin-bottom: 20px;
}

    .placeholder img {
        display: inline-block;
        border-radius: 50%;
    }

/*
    Custom
*/
.navbar-brand, .navbar-inverse .navbar-brand:focus, .navbar-inverse .navbar-brand:hover {
    float: left;
    height: 50px;
    padding: 0px 0px;
    font-size: 18px;
    line-height: 20px;
    color: white;
    background-color: #FF6E40;
    text-decoration: none;
}

#triangle-bottomleft {
    color: white;
    background-color: #2d2d2d;
    text-decoration: none;
    width: 250px;
    height: 0;
    border-bottom: 50px solid #FF6E40;
    border-right: 50px solid transparent;
    content: "";
}

.navbar-inverse {
    background-color: #2d2d2d; /*#37474F;*/
    border-color: #080808;
}

#panelbar {
    max-width: 400px;
    margin: 0 auto;
}

.k-image {
    width: 16px;
    height: 16px;
}

#vertical,
#horizontal {
    height: 100%;
}


#vertical {
    border-width: 0;
}

#panel1 {
    height: 100%;
    background-image: -webkit-linear-gradient(top, #262626 0%, #2d2d2d 100%); /*de:#37474F a:#2d3940*/
    background-image: -o-linear-gradient(top, #262626 0%, #2d2d2d 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#262626), to(#2d2d2d));
    background-image: linear-gradient(to bottom, #262626 0%, #2d2d2d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#262626', endColorstr='#2d2d2d', GradientType=0);
    background-repeat: repeat-x;
}


.panel-default > .panel-heading {
    background-image: -webkit-linear-gradient(top, #2f2f2f 0%, #202020 100%); /*de:#4B5960 a:#2d3940*/
    background-image: -o-linear-gradient(top, #2f2f2f 0%, #202020 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#2f2f2f), to(#202020));
    background-image: linear-gradient(to bottom, #2f2f2f 0%, #202020 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2f2f2f', endColorstr='#202020', GradientType=0);
    background-repeat: repeat-x;
    border-radius: 0px;
}
.mainPanel-default > .mainPanel-heading {
    background-image: -webkit-linear-gradient(top, #4B5960 0%, #2d3940 100%);
    background-image: -o-linear-gradient(top, #4B5960 0%, #2d3940 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#4B5960), to(#2d3940));
    background-image: linear-gradient(to bottom, #4B5960 0%, #2d3940 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4B5960', endColorstr='#ff2d3940', GradientType=0);
    background-repeat: repeat-x;
    border-radius: 0px;
}

.searchPanel-default > .searchPanel-heading {
    color: #d5d5d5;
}

.panel-primary > .panel-heading {
    background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #2e6da4 100%);
    background-image: -o-linear-gradient(top, #FFFFFF 0%, #2e6da4 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#2e6da4));
    background-image: linear-gradient(to bottom, #FFFFFF 0%, #2e6da4 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
    background-repeat: repeat-x;
}

.panel-success > .panel-heading {
    background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
    background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
    background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
    background-repeat: repeat-x;
}

.panel-info > .panel-heading {
    background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
    background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
    background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
    background-repeat: repeat-x;
}

.panel-warning > .panel-heading {
    background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
    background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
    background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
    background-repeat: repeat-x;
}

.panel-danger > .panel-heading {
    background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
    background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
    background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
    background-repeat: repeat-x;
}

.well {
    background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
    background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
    background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
    background-repeat: repeat-x;
    border-color: #dcdcdc;
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
}

.text-right {
    display: block;
    text-align: right;
}

