﻿/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    font-size: medium;
}


/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
}

.sub-header h2 {
    display: inline-block;
}

/*
 * 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: #f5f5f5;*/
        border-right: 1px solid #eee;
    }
}

@media (min-width: 1200px) {
    .sidebar {
        width: 300px;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
    padding-top: 50px;
}

    .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: #fff;
        background-color: #428bca;
    }

@media (min-width: 1200px) {
    .nav-sidebar > li > a {
        font-size: x-large;
    }
}

/*
 * 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%;
    }


.expandable {
    height: 100px;
}

.expanded {
    height: 100%;
}

.expand-button {
    font-weight: bold;
    display: block;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    margin-top: -10px;
    border-top: 0;
    text-align: center;
    padding: 0;
    padding: 0;
    border-radius: 0 4px 0 4px;
    color: #DDDDDD;
    text-shadow: 1px 1px #7B7B7B;
}

.expandableOuter a:link {
    text-decoration: none;
}

.expandableOuter a:hover, a:focus {
    color: #000000;
}

pre {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    border-bottom: 0;
}

.anchor {
    display: block;
    height: 63px; /* this is the height of your header */
    margin-top: -63px; /* this is again negative value of the height of your header */
    visibility: hidden;
}

footer {
    float: right;

}