/* Не удалось уменьшить размер. Содержимое возвращается без уменьшения.
(1046,27): run-time error CSS1036: Expected expression, found '#'
 */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input, textarea {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
    font: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/************************************************
**** CORE
************************************************/

html {
    background-color: #333;
    font-size: 1em;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    font-weight: normal;
}

body {
    background-color: #fafafa;
    color: #333;
}

a {
    color: #0095ff;
    outline: none;
    text-decoration: none;
    border-bottom: 1px solid #0095ff;
    cursor: pointer;
    line-height: 1.2;
}

    a:link, a:visited,
    a:active, a:hover {
        color: #0095ff;
    }

    a:hover {
        color: #ed3131;
        border-bottom: none;
    }

.ajax-link {
    text-decoration: none;
    border-bottom: 1px dashed;
    cursor: pointer;
}

.ajax-link-clear {
    color: #ed3131;
}

hr {
    height: 1px;
    border: none;
    color: #999;
    background-color: currentColor;
    border-color: currentColor;
}

header, footer, hgroup,
nav, section {
    display: block;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.margin-next {
    margin: 0 10px 0 0;
}

.hidden {
    display: none !important;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

ul.list li {
    padding: 5px 5px 0px 0px;
    margin: 0px 0px 5px 20px;
}

p {
    margin: 6px 0px 6px 0px;
}

h1, h2, h3,
h4, h5, h6 {
    color: #0095ff;
    margin: 5px 0;
    line-height: 1.0;
    font-weight: bold;
}

h1 {
    font-size: 1.6em;
}

h2 {
    font-size: 1.4em;
}

h3 {
    color: #333;
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

.nowrap {
    white-space: nowrap;
}

.bold {
    font-weight: bold;
}

.underline {
    text-decoration: underline;
}


/************************************************
**** LAYOUT
************************************************/

.content-wrapper {
    margin: 0 auto;
    max-width: 1600px;
}

#navigation {
    color: #fafafa;
    padding: 10px;
    background-color: #333;
    font-size: 1.1em;
    /*border-bottom: 0px solid #555;*/
    box-shadow: #555 0px 1px 5px 0px;
}

.nav-block {
    /*background-color: rgba(51, 51, 51, 0.70);*/
}

    .nav-block .nav-item {
        float: left;
    }

.nav-item {
    position: relative;
    margin: 0px 0px 0px 0px;
    list-style: none;
    white-space: nowrap;
    /*background-color: #0095ff;*/
    padding: 0;
    overflow: visible;
}

    .nav-item a {
        min-width: 180px;
        height: 24px;
        line-height: 24px;
        text-align: left;
        margin: 0px;
        box-shadow: #333 0px 1px 3px 0px;
    }

.nav-item-mini a {
    min-width: 15px;
}

.nav-item:hover {
}

.nav-item .nav-block {
    visibility: hidden;
    position: absolute;
    z-index: 999;
}

.nav-item:hover .nav-block {
    visibility: visible;
}

.user {
    /*padding: 5px;*/
    /*border: 1px solid #Fff;*/
    /*background-color: #36a416;
    border-radius: 5px;*/
    height: 25px;
    line-height: 25px;
    margin-bottom: 6px;
}

#connection {
    float: right;
}

    #connection::after {
        clear: both;
    }

#connection-status {
    font-size: 0.80em;
}

.user-icon-auth, .user-icon-noauth {
    display: inline-block;
    background-size: 25px;
    background-repeat: no-repeat;
    background-origin: border-box;
    background-position: left center;
    min-width: 25px;
    margin-right: 5px;
    height: 25px;
    background-image: url('images/user-md-symbol.svg');
}

#subnavigation {
    font-size: 0.85em;
}

.main-content {
    padding: 20px 10px 20px 10px;
}

footer {
    border-top: 2px solid #333;
    clear: both;
    background-color: #333;
    color: #fafafa;
    font-size: .8em;
    padding: 10px;
}



/************************************************
**** BLOCKS AND TABLES
************************************************/

.content-block {
    margin: 5px;
    padding: 20px;
    min-width: 250px;
    /*border-bottom: 1px solid #999;*/
    box-shadow: #999 0px 1px 3px 0px;
    border-radius: 3px;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 7px 0;
    border: 1px solid #0095ff;
}

    .content-table td {
        padding: 5px 5px 8px 5px;
        vertical-align: middle;
    }

    .content-table tr {
        border-bottom: 1px solid #999;
    }

    .content-table thead tr {
        background-color: #0095ff;
        color: #fafafa;
        font-weight: bold;
        border: none;
    }

    .content-table thead td {
        border: none;
    }

    .content-table td:last-child {
        text-align: right;
    }

    .content-table .header-row {
        font-weight: bold;
        background-color: #52b7ff;
    }

    .content-table .sub-row {
        text-indent: 20px;
    }

.compact-table td {
    padding: 2px;
}


.content-table-report {
    border: 1px solid #999;
}

    .content-table-report td {
        border: 1px solid #999;
    }

        .content-table-report td:last-child {
            text-align: left;
        }

.content-table-hover tbody tr:hover {
    background-color: rgba(3, 120, 163, 0.25);
}

.editor-table {
}

    .editor-table td {
        vertical-align: top;
    }

/************************************************
**** AS-TABLE 
************************************************/
.table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    margin: 7px 0;
}

    .table-row, .table tr {
        display: table-row;
    }

    .table-cell, .table td {
        display: table-cell;
        vertical-align: top;
        padding: 2px;
        padding-right: 8px;
    }

        /* Правило для кнопок внутри таблицы - выравнивание по верху */
        .table-cell .button, .table td .button {
            vertical-align: top;
        }

        .table-cell:last-child, .table td:last-child {
            padding-right: 2px;
        }

.table-row-head {
    font-weight: bold;
}

    .table-row-head .button {
        font-weight: normal;
    }

    .table-row-head .table-cell, .table-row-head td {
        border: none;
        padding: 5px 8px 5px 2px;
    }

.table-row-clickable:hover {
    cursor: pointer;
}

.table-cell-number {
    text-align: right;
}

.table-blue {
}

    .table-blue .table-cell, .table-blue td {
        border-bottom: 1px solid #ddd;
    }


    .table-blue .table-row-head .table-cell, .table-blue .table-row-head td {
        border-bottom: 1px solid #0095ff;
    }

    .table-blue .table-row-clickable:hover {
        background-color: rgba(0, 0, 0, 0.15);
    }

    .table-blue .table-cell-id {
        color: #999;
        border-right: 1px solid #ddd;
        /*padding-right: 3px;*/
        background-color: #eee;
    }

    .table-blue .table-row-group1 {
        background-color: rgba(0, 149, 255, 0.25);
    }

a.table-row {
    color: #333;
}

.table-compact {
    width: auto;
}

.table-editor {
}

    .table-editor .table-cell, .table-editor td {
        vertical-align: middle;
    }

/************************************************
**** LIGHTBOX 
************************************************/

#lightbox-back {
    display: flex;
    align-items: center;
    position: fixed;
    overflow: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
}

#lightbox-window {
    background-color: #fafafa;
    border-radius: 25px;
    padding: 25px;
    margin: auto;
    height: auto;
}

#lightbox-content {
}


/************************************************
**** FLEX
************************************************/

.flex-container {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
}

.flex-item-row {
    margin-right: 10px;
}


/************************************************
**** FORM
************************************************/
form {
}

input, select, textarea {
    box-sizing: content-box;
    color: #333;
    padding: 2px;
    line-height: normal;
    border: 1px solid #333;
    background-color: #eee;
}

    input:focus, select:focus, textarea:focus {
        border: 1px solid #0095ff;
        box-shadow: #0095ff 0 0 5px 0px;
    }

select, .custom-combobox-input {
    text-overflow: ellipsis;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-origin: border-box;
    background-image: url('images/angle-arrow-down.svg');
    background-clip: border-box;
    padding-right: 25px;
    height: 20px;
}

    select::-ms-expand {
        display: none;
    }

.custom-combobox-input {
    min-width: 550px;
}

input[type="submit"], input[type="reset"], input[type="button"], .button, .button-small {
    box-sizing: content-box;
    display: inline-block;
    border: none;
    text-decoration: none;
    box-shadow: #555 0px 1px 3px -1px;
    background-color: #0095ff;
    color: #fafafa !important;
    padding: 5px 8px;
    margin: 2px 0 2px 0;
    /*min-width: 70px;*/
    text-align: center;
    line-height: 20px;
    height: 20px;
    cursor: pointer;
    white-space: nowrap;
}

    .button:hover, .button-small:hover {
        color: #fafafa;
        background-color: #d78a00;
    }

    .button:active {
        position: relative;
        top: 1px;
    }

    input[type="submit"]:disabled, .button:disabled {
        background-color: #999 !important;
    }

.button-big {
    font-size: 1.1rem;
    line-height: 28px;
    height: 28px;
    width: 200px;
}

input[type="submit"], input[type="button"] {
    background-color: #36a416;
}

input[type="reset"] {
    background-color: #ad2d2d;
}

input[type="submit"].delete {
    background-color: #ad2d2d;
}

input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
    color: #fafafa;
    background-color: #d78a00;
}

input[type=checkbox] {
  transform: scale(1.5);
  margin: 4px 0 4px 0;
}


.button-small {
    margin: 2px 1px;
    padding: 4px;
}

.input-date {
    width: 90px;
}

.input-checkbox {
    display: none;
}

    .input-checkbox ~ label {
        position: relative;
        display: inline-block;
        cursor: pointer;
        background-size: 18px;
        background-repeat: no-repeat;
        background-position: 0px 50%;
        background-origin: border-box;
        text-indent: 20px;
        min-width: 12px;
        vertical-align: bottom;
        line-height: 18px;
        background-image: url('images/check-box-empty.svg');
    }

    .input-checkbox:checked ~ label {
        background-image: url('images/check-sign-in-a-rounded-black-square.svg');
    }

/*.input-checkbox ~ label:before {
        content: '\2610\0020';
        white-space: nowrap;
    }

    .input-checkbox:checked ~ label:before {
        content: '\2611\0020';
        white-space: nowrap;
    }*/

.label-fixed {
    display: inline-block;
    width: 250px;
}

.text-box {
    width: 100%;
    max-width: 350px;
}

fieldset {
    padding: 10px;
    border: 1px solid #36a416;
}

legend {
    padding: 5px;
    color: #36a416;
    font-size: 1.1em;
}

fieldset.normal {
    border-color: #999;
}

    fieldset.normal > legend {
        color: #555;
    }

fieldset.link {
    border-color: #0095ff;
}

    fieldset.link > legend {
        color: #0095ff;
    }

fieldset.danger {
    border-color: #ad2d2d;
}

    fieldset.danger > legend {
        color: #ad2d2d;
    }

.important {
    border-width: 2px;
}

fieldset.important > legend {
    font-weight: bold;
}

.field-validation-error, .validation-summary-errors {
    color: rgba(255, 49, 49, 1.00);
    display: inline-block;
    padding: 5px;
}

    .validation-summary-errors ul {
        list-style: none;
    }

.field-validation-valid {
    color: #36a416;
}

.display-label {
    color: #555;
    font-size: 0.9rem;
}

.editor-label {
    color: #36a416;
}

    .editor-label ~ .editor-field {
        margin-top: 4px;
    }

.editor-field {
}

    .editor-field ~ .editor-label {
        margin-top: 8px;
    }

.display-field {
    padding: 6px 0 6px 0;
    font-weight: bold;
}

    .display-field ~ .display-label {
        margin-top: 8px;
    }

.display-field-medium {
    padding: 6px 0 6px 0;
    font-weight: 600;
}

.editor-select {
    min-width: 400px;
    max-width: 400px;
}

.editor-select-medium {
    min-width: 50px;
    max-width: 350px;
    width: 100%;
}

.editor-number {
    width: 65px;
    min-width: 65px;
    max-width: 65px;
}

.editor-date {
    white-space: nowrap;
}

.editor-date-day {
    width: 50px;
}

.editor-date-month {
    width: 98px;
}

.editor-date-year {
    width: 65px;
}

.result-success, .result-fail {
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: 6px 50%;
    background-origin: border-box;
    min-width: 12px;
    background-image: url('images/correct-symbol.svg');
    background-color: #36a416;
    padding: 5px 5px 5px 25px;
    border-radius: 5px;
    color: #fafafa;
}

.result-fail {
    background-color: #ad2d2d;
    background-image: url('images/remove-symbol.svg');
}


input::-moz-focus-inner /*Remove button padding in FF*/ {
    border: 0;
    padding: 0;
}

.long-input-container input[type=text], .long-input-container textarea, .long-input-container select {
    min-width: 700px;
    max-width: none;
}
.required {
    padding-left: 6px;
    font-weight: bold;
    color: #ad2d2d;
}

/************************************************
**** TABS
************************************************/
ul.tabs-menu {
    height: 30px;
    clear: both;
    list-style: none;
}

    ul.tabs-menu li {
        height: 30px;
        line-height: 30px;
        float: left;
        margin-right: 10px;
        background-color: #999;
    }

.tabs-menu li.current {
    position: relative;
    background-color: #fff;
    border: 1px solid #0095ff;
    border-bottom: none;
    z-index: 5;
}

.tabs-menu li a {
    padding: 10px;
    color: #fff;
    text-decoration: none;
    border-bottom: none;
}

.tabs-menu .current a {
    color: #0095ff;
}

.tab {
    border: 1px solid #0095ff;
    background-color: #fff;
    margin-bottom: 20px;
    width: 100%;
}

.tab-content {
    margin: 20px;
    display: none;
    width: auto;
}

.tab-content-current {
    display: block;
}

/************************************************
**** FILTER BLOCK
************************************************/
.filter-container {
    position: relative;
}

.filter-link {
    text-decoration: none;
    border-bottom: 1px dashed;
}

.filter-block {
    position: absolute;
    display: none;
    padding: 10px;
    min-width: 250px;
    box-shadow: #999 0px 2px 6px 1px;
    border-radius: 3px;
    border: 1px solid #999;
    background-color: #fafafa;
    overflow: hidden;
}


/************************************************
**** SPOILER
************************************************/

.js-spoiler-header {
}

.js-spoiler-content {
    display: none;
}

.js-spoiler-content-opened {
    display: block;
}

/************************************************
**** BUTTONS
************************************************/

.button-icon-delete, .button-icon-edit, .button-icon-details, .button-icon-noauth,
.button-icon-submit, .button-icon-print, .button-icon-home, .button-icon-user {
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: 6px 50%;
    background-origin: border-box;
    text-indent: 20px;
    min-width: 12px;
}

.button-icon-delete {
    background-image: url('images/remove-symbol.svg');
}

.button-icon-edit {
    background-image: url('images/pencil.svg');
}

.button-icon-details {
    background-image: url('images/list.svg');
}

.button-icon-noauth {
    background-image: url('images/padlock.svg');
}

.button-icon-submit {
    background-image: url('images/correct-symbol.svg');
}

.button-icon-print {
    background-image: url('images/text-file-1.svg');
}

.button-icon-home {
    background-image: url('images/home.svg');
}

.button-icon-user {
    background-image: url('images/user-md-symbol.svg');
}

.button-circle {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 28px;
}

/************************************************
**** jquery ui
************************************************/

.ui-autocomplete {
    z-index: 200 !important;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 256px;
}

/************************************************
**** SCHEDULE
************************************************/

.schedule-position-text {
    line-height: 1.2;
}

.schedule-position-type {
    color: #0095ff;
    font-weight: bold;
}

.schedule-position-spec {
    /*font-weight: bold;*/
}

.schedule-position-cycle {
    padding-left: 20px;
}

.ticket-printed, .ticket-new, .ticket-rejected {
    font-weight: bold;
}

.ticket-new {
    color: #36a416 !important;
}

.ticket-printed {
    color: #0095ff !important;
}

.ticket-rejected {
    color: #ad2d2d !important;
}

/************************************************
**** Aedu Student 
************************************************/

.expelled {
    text-decoration: line-through;
    color: #ad2d2d;
}

/************************************************
**** ANIMATIONS
************************************************/
@keyframes k-modal-success {
    0% {
        background-color: #36a416;
    }

    100% {
        background-color: #fafafa;
    }
}

@keyframes k-modal-failed {
    0% {
        background-color: ##ad2d2d;
    }

    100% {
        background-color: #fafafa;
    }
}

.modal-success-anim {
    -moz-animation: k-modal-success 1.5s ease-out;
    -o-animation: k-modal-success 1.5s ease-out;
    -webkit-animation: k-modal-success 1.5s ease-out;
    animation: k-modal-success 1.5s ease-out;
}

.modal-failed-anim {
    -moz-animation: k-modal-failed 1.0s ease-out;
    -o-animation: k-modal-failed 1.0s ease-out;
    -webkit-animation: k-modal-failed 1.0s ease-out;
    animation: k-modal-failed 1.0s ease-out;
}

/************************************************
**** COLOR MODIFIERS
************************************************/

.back-green {
    background-color: #36a416;
    color: #fafafa;
}

.back-red {
    background-color: #ad2d2d;
    color: #fafafa;
}

.back-purple {
    background-color: #a320b2;
    color: #fafafa;
}

.back-gray {
    background-color: #999;
    color: #fafafa;
}

.text-green {
    color: #36a416;
}

.text-blue {
    color: #0095ff;
}

.custom-combobox {
    display: flex;
}

.custom-combobox input {
    border-radius: 0;
    background: #eeeeee;
    font-size: 15px;
    border-color: black;
    border-right: 0;
    padding-right: 32px;
    height: 27px;
    font-size: 14px;
    box-sizing: border-box;
}

.custom-combobox a {
    border: 1px solid black;
    border-radius: 0;
    border-left: 0;
    background: #eeeeee;
    width: 32px;
    margin: 0;
    margin-left: -32px;
}

.ui-menu {
    background: #eeeeee;
}

.ui-menu .ui-menu-item {
    font-size: 15px;
    height: 21px;
    line-height: 21px;
}

.ui-menu .ui-state-focus{
    background: #0095ff;
    color: white;
    border: 0;
    margin: 0;
}
