html,
body {
    height: 100%;
}

#container {
    position: relative;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.news-list li {
    margin-bottom: 20px;
}

.pointer {
    cursor: pointer;
}

.button-level-text {
    margin-bottom: 0;
    line-height: 34px;
    height: 34px;
}

.button-level-text-left {
    margin-left: 5px;
}

.wrap > .container-fluid {
    padding: 50px 0 0 0;
}

h1, .h1 {
    font-size: 30px;
}

h2, .h2 {
    font-size: 26px;
}

h3, .h3 {
    font-size: 22px;
}

.tabs-krajee h2 {
    margin-top: 0;
}

.author-link {
    color: #333;
}

.author-link:hover {
    text-decoration: none;
    cursor: text;
    color: #333;
}

.cabinet-index .course-item {
    border-bottom: 1px solid #eee;
}

.cabinet-index .course-item:last-child {
    border-bottom: none;
}

.cabinet-index .course-item + .course-item {
    margin-top: 10px;
}

.course-item-header {
    margin-top: 0;
}

.alert-container {
    width: 100%;
    position: absolute;
    text-align: center;
    pointer-events: none;
}

.alert-container .alert {
    display: inline-block;
    top: -4px;
    position: relative;
    margin: 0;
    padding: 10px 15px 10px 15px;
}

.alert-container .alert button.close {
    margin-left: 10px;
    pointer-events: all;
}


.timetable-table {
    margin-top: 20px;
    margin-bottom: 0;
}

.timetable-table td.first,
.timetable-table th.first {
    width: 20px;
    vertical-align: middle;
}

.timetable-table td.first {
    border-right: 3px double #aaaaaa;
    background-color: #ffffff;
}

.timetable-table td.group {
    min-width: 300px;
}

.timetable-table th {
    text-align: center;
}

.timetable-table > tbody > tr > td {
    padding-bottom: 0;
}

.timetable-table > tbody > tr.day {
    border-bottom: 3px double #aaaaaa;
    background-color: #F5F5F5;
}

.timetable-table > tbody > tr.day:first-child {
    border-top: 3px double #aaaaaa;
}

.timetable-table > tbody > tr.day-delimiter:first-child {
    border-top: 3px double #aaaaaa;
}

.timetable-table > tbody > tr.day-delimiter > td {
    padding-top: 0;
}

.timetable-table > tbody > tr.day-delimiter > td p {
    margin-bottom: 0;
}

.timetable-table thead {
    border-top: none;
    border-bottom: none;
    background-color: #FFF;
}

.timetable-table thead > tr > th {
    border-bottom-width: 1px;
}

.timetable-item {
    min-height: 40px;
    position: relative;
    border-top: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    margin-bottom: 10px;
    background-color: #ffffff;
}

.timetable-item .start-time {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 12px;
    color: #777777;
}

.timetable-item .end-time {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 12px;
    line-height: 12px;
    color: #777777;
}

.timetable-item .details {
    min-height: 40px;
    margin-left: 34px;
    border-left: 1px solid #cccccc;
    padding-left: 4px;
    padding-right: 4px;
}

.timetable-item.empty-item {
    opacity: 0.6;
}

.timetable-item.empty-item:hover {
    opacity: 1;
}

.timetable-item.empty-item .details {
    text-align: center;
}

.timetable-item.empty-item .details i.glyphicon-plus {
    font-size: 21px;
    line-height: 36px;
    opacity: 0.3;
}

.timetable-item .details p {
    margin: 0;
}

.timetable-item .details .details-item + .details-item {
    border-top: 1px solid #cccccc;
}

.timetable-item .details p.group-name {
    border-bottom: 1px dotted gray;
}


.timetable-item .details p.room-name {
    font-weight: bold;
}

.timetable-item .details + .details {
    border-top: 1px solid #cccccc;
    padding-top: 2px;
}

.main-page-teaser {
    background: #4e381a url("../images/design/teaser_lq2.jpg") no-repeat center center scroll;
    color: #fff;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    padding: 150px 0;
}

.main-page-teaser h1,
.main-page-teaser p {
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 1);
}

.main-page-wrap > .container {
    padding-top: 25px;
}

.scrollable-pills {
    margin-bottom: 20px;
}

.scrollable-pills ul.nav-pills {
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    overflow-y: hidden;
}

.scrollable-pills ul.nav-pills li {
    float: none;
    display: inline-block;
}

.text-small {
    color: #9a9a9a;
}

.min-width {
    width: 1%;
}


@media screen and (max-width: 767px) {
    table.table-collapsable {
        border: 0;
        border-top: 1px solid #ddd;
    }

    table.table-collapsable thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table.table-collapsable tr {
        border-bottom: 1px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    table.table-collapsable td {
        border: 0 !important;
        display: block;
        padding-bottom: 0 !important;
    }

    table.table-collapsable td:last-child {
        padding-bottom: 8px !important;
    }

    table.table-collapsable td:before {
        content: attr(data-label);
        display: block;
        font-weight: bold;
    }

    table.table-collapsable td:last-child {
        border-bottom: 0;
    }
}

@media screen and (max-width: 767px) {
    .grid-label-postfix {
        text-align: left;
        color: #9a9a9a;
    }

    .grid-label-postfix:after {
        content: ' ' attr(data-label-postfix);
        text-transform: lowercase;
        color: #9a9a9a;
    }
}

@media screen and (max-width: 767px) {
    .grid-label-prefix {
        text-align: left;
        color: #9a9a9a;
    }

    .grid-label-prefix:before {
        content: attr(data-label-prefix) !important;
        display: inline !important;
        font-weight: inherit !important;
        color: #9a9a9a;
    }
}

@media screen and (max-width: 767px) {
    .bold-if-mobile {
        font-weight: bold;
    }

    .small-if-mobile {
        font-size: 85%;
        color: #9a9a9a;
    }

    .text-left-if-mobile {
        text-align: left !important;
    }

    .no-float-if-mobile {
        float: none !important;
    }
}

@media screen and (max-width: 767px) {
    .modal-footer {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 767px) {
    .questionnaire-form .radio-inline {
        display: block;
        padding: 8px 20px;
    }

    .questionnaire-form .radio-inline + .radio-inline {
        margin-left: 0;
    }

    .questionnaire-form .checkbox-inline {
        display: block;
        padding: 8px 20px;
    }

    .questionnaire-form .checkbox-inline + .checkbox-inline {
        margin-left: 0;
    }
}

.questionnaire-form .form-group {
    margin-bottom: 30px;
}

.label-ai {
    background-color: #a86cd0;
}

.img-caption {
    border-bottom: 1px solid #b9b9b9;
    border-left: 1px solid #b9b9b9;
    border-right: 1px solid #b9b9b9;
    padding: 8px;
}

.redactor-link-tooltip,
.redactor-dropdown {
    z-index: 9999 !important;
}

#redactor-modal-box {
    z-index: 99999 !important;
}

.panel-announcement.panel-danger {
    background-color: #ffeded;
}