/* zstudent css */
html, body {
    overflow-x: hidden; /* Prevent scroll on narrow devices */
}

html {
    position: relative;
    min-height: 100%;
}

body {
    padding-top: 70px;
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.body-bare {
    padding: 1em 0 0 0;
    margin: 0;
}

.navbar-default {
    /*background-color: #FFFFFF;*/
    /*background-color: #FFECD6;*/
}
.panel {
    /*background: none repeat scroll 0 0 #FDF6E3;*/
}

.active-page {
    /*background: url('/static/lms/gfx/zboard.png') no-repeat right;*/
}

table .collapse.in {
    display: table-row !important;
}

.td-indent {
    text-indent: 1em;
}
.tr-small-padding td {
    padding: 4px !important;
}

.footer .container .text-muted {
    margin: 20px 0;
}

/* Header links */
.headerlink {
    opacity: 0;
    font-size: 0.7em;
}
h3:hover > .headerlink {
    opacity: 1;
    text-decoration: none;
}
h4:hover > .headerlink {
    opacity: 1;
    text-decoration: none;
}

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}

.form-signin p {
    padding: 0;
    margin-bottom: 20px;
}

.form-signin .form-signin-heading {
    margin-bottom: 20px;
}

.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.errorlist {
    float: right;
}

.has-error {
    font-size: 95%;
}

/* captch field */
.captcha_field {
    float: left;
    margin-right: 1em;
    width: auto;
}

.btn-lang {
    background: none;
    box-shadow: none;
}

.btn-lang:hover {
    box-shadow: none;
}

.add-row p {
    padding-left: 10px;
}

.dl-wrapped dt{
    overflow: visible;
    width: 220px !important;
    margin-right: 8px;
    white-space: normal;
}
.big-form {
    /**/
}

/* Colors */
.bluish {
    color: #7CA0C7;
}

.green {
    color: green;
}

.greenish {
    color: #2C8D3A;
}

.red {
    color: #D9534F;
}
.redish {
    color: #97310e;
}

.yellow {
    color: #dddd00;
}

.greyish {
    color: #808080;
}
.bg-light-grayish {
    background-color: #F5F5F5;
}
.bg-dark-grayish {
    background-color: #7d7d7d;
    color: #F5F5F5;
}
.bg-dark-grayish:hover {
    background-color: #F5F5F5;
    color: #7d7d7d;
}

.max-progress-value {
    width: 100%;
}

/* table inline */
.table-inline .form-group {
  margin-left: 0;
  margin-right: 0;
}

/* multiple tables in panel */
.table-panel caption {
    margin-left: 15px;
    text-align: left;
}

.table-qsets thead {
    background: #d6e6ee;
}
.table-quizzes thead {
    background: #d6eed8;
}

/* Polls */
.table-poll th {
    background-color: #afd9ee;
}
.table-poll .poll-help {
    background-color: #e5e5e5;
}
.table-poll .poll-subtitle {
    background-color: #d6e6ee;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.debug-bg {
    background-color: #E3E9E3;
}
.debug {
    background: #f3f3f3;
    border: 1px dashed #cccccc;
    margin: 1em 0;
}


/* jQuery UI autocomplete */
.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;
    _width: 160px;
    padding: 4px 0;
    margin: 2px 0 0 0;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;

    .ui-menu-item > a.ui-corner-all {
        display: block;
        padding: 3px 15px;
        clear: both;
        font-weight: normal;
        line-height: 18px;
        color: #555555;
        white-space: nowrap;

        &.ui-state-hover, &.ui-state-active {
            color: #ffffff;
            text-decoration: none;
            background-color: #0088cc;
            border-radius: 0px;
            -webkit-border-radius: 0px;
            -moz-border-radius: 0px;
            background-image: none;
        }
    }
}
