/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
}


/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}


/*
 * 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;
    }
}

/* 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 {
    color: #fff;
    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%;
}

.bs-callout {
    margin: 20px 0;
    padding: 20px;
    border-left: 3px solid #eee;
}
.bs-callout-danger {
    background-color: #fdf7f7;
    border-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-info {
    background-color: #f4f8fa;
    border-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}

.panel-heading h3.panel-title {
    line-height: 24px;
    font-weight: bold;
    font-size: 18px;
}

.questions {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.questions li {
    display: inline;
}
.questions.legend {
    margin: 0;
}
.questions li a:hover {
    background-color: #ddd;
}
.questions li.active a, .questions li.active.viewed a, .questions li.active.viewed a, .questions li.active.noted a {
    color: #fff;
    background-color: #0066cc;
}
.questions li.viewed a {
    font-weight: bold;
}
.questions li.answered a {
    color: #000;
    background-color: #dff0d8;
}
.questions li.noted a {
    color: #000;
    background-color: #f2dede;
}
.questions li a {
    position: relative;
    text-align: center;
    float: left;
    display: block;
    width: 33px;
    line-height: 1.52857143;
    text-decoration: none;
    color: #428bca;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px;
}

/*.questions li.viewed a:hover, .questions li.viewed a:hover*/

.ticker {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

.ticker span {
    display: block;
    font-size:12px;
}

#ngProgress {
    margin: 0;
    padding: 0;
    z-index: 99998;
    background-color: #0066cc;
    color: #0066cc;
    box-shadow: 0 0 10px 0; /* Inherits the font color */
    height: 2px;
    opacity: 0;

    /* Add CSS3 styles for transition smoothing */
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

/* Styling for the ngProgress-container */
#ngProgress-container {
    position: fixed;
    margin: 0;
    padding: 0;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 99999;
}

.question-buttons, .do-later {
    margin-top: 1em;
}

ul.choices {
    margin-left: 2em;
}

.question_title {
    white-space: pre-line;
}

label.correct {
    color: #1d8d1d;
    font-weight: bold;
}

.to-right {
    float: right;
}


.bg-correct-answer {
    background-color: #f0ad4e;
}