html,body {
    background-color: #eee;
}

body {
    padding-top: 40px;
}

.title-dropdown {
    text-decoration: underline dashed #999 1px;
    cursor: pointer;
}

.dropdown.open .title-dropdown {
    user-select: none;
    background: none;
    color: black;
}

.title-dropdown:hover {
    text-decoration: underline dashed #000 1px;
}

.common-loading-modal {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    background: black;
    opacity: 0.7;
    z-index: 1000;
    cursor: progress;
}

.navbar-fixed-top .brand {
    padding-right: 30px;
    padding-left: 0;
    font-weight: bold;
    color: #e3e3e3;
    text-shadow: 0 1px 0 rgba(255,255,255,.1), 0 0 30px rgba(255,255,255,.125);
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    transition: all .2s linear;
    padding-bottom: 0;
    padding-top: 11px;
}

.navbar .nav .help-link > a {
    color: #e3e3e3;
}

.username-container {
    margin: 7px 0 7px 20px;
    font-size: 1.1em;
    color: white;
}

.username-container a.btn {
    margin-top: 2px;
    margin-left: 10px;
}

.username-label {
    color: #08C;
}

.content {
    background-color: #fff;
    padding: 20px;
    margin: 0 -20px;
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}

.page-header {
    background-color: #f5f5f5;
    padding: 20px 20px 10px;
    margin: -20px -20px 10px;
}

a.module-back-btn {
    float: left;
    margin-right: 10px;
}

#content {
    min-height: 500px;
    height: auto;
}

.faq-holder {
    font-size: 1.1em;
}

.manual-holder p, .contacts-holder p {
    font-size: 14px;
    font-weight: 200;
    line-height: 27px;
    color: inherit;
    margin: 10px;
}

.manual-holder dl.dl-horizontal dt {
    width: 200px
}

.manual-holder dl.dl-horizontal dd {
    margin-left: 210px;
}

.manual-holder img {
    max-width: 100%;
    margin: 20px auto;
    display: block;
}

.release-holder li {
    font-size: 14px;
    margin: 7px;
}

.release-holder p {
    margin: 10px;
}

.release-holder dd p {
    min-height: 128px;
}

.block-regards {
    text-align: right;
}

.faq-holder h3, .manual-holder h2 {
    margin: 15px 0;
}

.faq-all .manual-sections-heads {
    margin-bottom: 30px;
}

.faq-all li, .manual-sections-heads li {
    margin: 10px;
}

a.group-name {
    font-size: 1.3em;
    vertical-align: bottom;
}

a.group-attestations-error {
    color: #C43C35;
}

#grid {
    margin: 10px 0;
}

hr {
    border-bottom-color: #08C;
}

div.new-activity-modal h3.edit-activity-heading {
    display: none;
}

div.edit-activity-modal h3.new-activity-heading {
    display: none;
}

div.edit-activity-modal .same-thread-groups-block {
    display: none;
}

div.new-activity-modal.absense .same-thread-groups-block {
    display: none;
}

div.absense .max_score {
    display: none;
}

#reportDeliveryDateForm .control-group {
    float: left;
    margin-right: 10px;
    margin-bottom: 0;
}

#examListModal.fade.in {
    top: 40%;
}
#examListModal .modal-body {
    max-height: 550px;
}

#examListModal form .simple-label {
    margin-bottom: 0;
    padding-top: 5px;
}

/* Slick styles */

.slick-cell {
    color: #4F4F4F;
}

.absense-cell.slick-cell {
    text-align: center;
}

.checkpoint-cell.slick-cell {
    background-color: #DDEEF6;
}

.special-activity-cell.slick-cell {
    background-color: #FFFF99;
}

.max-score-row div {
    color: #4183C4;
    font-style: italic;
    font-size: 12px;
}

.score-allowed div {
    background-color: #D1EED1;
}

.score-attention div {
    background-color: #ffd1d1;
}

.score-minball div {
    background-color: #ffe7c4;
}

.score-completed div {
    background-color: #AED5AE;
}

.cell-ex-list {
    text-align: center;
}

.max-score-row div.student-cell {
    text-align: right;
}

div.slick-cell.cell-value-error {
    color: red;
}

.slick-viewport-right {
    margin-right: 260px; /* dirty hack*/
}

input.editor-text, .slick-custom-select-editor {
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0;
    background: transparent;
    outline: 0;
    padding: 0;
}

a.selected {
    background-color: #71B974;
}

.journal-buttons {
    display: inline-block;
    vertical-align: top;
    width: 148px;
}
.journal-buttons div {
    display: block;
}
.journal-buttons .a {
    width: 178px;
}
.journal-buttons.add {
}
.journal-buttons .btn {
    margin-top: 5px;
    padding-left: 0;
    padding-right: 0;
    width: 145px;
    text-align: left;
    box-sizing: content-box;
}

.journal-buttons .icon-white {
    left: 5px;
    padding-right: 10px;
    position: relative;
}

#commonActivityForm p.small {
    font-size: 10px;
    color: #777;
}

#reportDeliveryDateForm .controls > input {
    width: 180px;
}
#reportDeliveryDateForm label {
    width: auto;
}
#reportDeliveryDateForm .controls {
    margin-left: 80px;
}

#scores.table td {
    text-align: center;
    vertical-align: middle;
}

#scores.table .text-left {
    text-align: left;
}

#scores.table .text-second {
    color: #9e9e9e;
}

.attention-in-tooltip {
    color: red;
}

.main-info {
    display: flex;
}

.main-info .legend-info {
    padding-top: 9px;
    width: 360px;
}

.main-info .legend-info .label-warning,
.main-info .legend-info .label-info,
.main-info .legend-info .label-success {
    padding-right: 7px;
}

.main-info .legend-info .label-important {
    padding-right: 6px;
}

.main-info ul {
    margin-bottom: 0;
}

#withUnions {
    text-align: center;
    border-left: 1px solid #eee;
    margin-left: 30px;
}

#withUnions .switchery {
    margin: 0 8px;
}

.custom-buttons {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 5px 10px 3px;
}

.custom-buttons.hide {
    display: none;
}

.custom-buttons i {
    margin-right: 4px;
}
/*------------------------------ Ведомость ППА -----------------------------------------------------------------------*/
.label-left {
    padding-top: 5px;
    margin-right: 10px;
    text-align: left !important;
}
.period-text {
    margin-left: 5px;
    padding: 5px;
}
.decorated-button {
    margin-left: 10px;
}
.decorated-container {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 4px;
}

.image-container {
    width: 70px;
    height: 70px;
    margin-right: 5px;
    opacity: 1;
}
.tooltip-modified {
    display: flex;
    justify-content: center;
    text-align: left;
}

.confirmation-dialogue {
    position: fixed;
    z-index: 9999999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    border-radius: 4px;
    padding: 7px 7px;
    background-color: #DDEEF6;
    font-size: 14px;
    font-weight: bold;
}

.confirmation-dialogue-inner {
    margin-top: 7px;
}

.confirmation-dialogue-modal {
    position: fixed;
    height: 100vh;
    width: 100vw;
    background: black;
    opacity: 0.7;
    z-index: 1000;
}

.common-modal {
    margin-top: -350px !important;
}