@charset "utf-8";
/* Общее */
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 {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

@font-face {
    font-family: 'pt';
    src: url('/fonts/ptsans/pt_sans-web-regular-webfont.eot');
    src: url('/fonts/ptsans/pt_sans-web-regular-webfont.eot') format('embedded-opentype'), url('/fonts/ptsans/pt_sans-web-regular-webfont.woff2') format('woff2'), url('/fonts/ptsans/pt_sans-web-regular-webfont.woff') format('woff'), url('/fonts/ptsans/pt_sans-web-regular-webfont.ttf') format('truetype'), url('/fonts/ptsans/pt_sans-web-regular-webfont.svg#pt_sans-web-regular-webfont') format('svg');
}

body {
    font-family: "pt", Arial, Helvetica, sans-serif;
    font-size: 1em;
    line-height: normal;
    color: #333;
}

html,
body {
    min-width: 1200px;
}

em {
    font-style: italic;
}

h1, h2, h3 {
    font-family: Verdana, Geneva, sans-serif;
}

h1, h2 {
    font-size: 1.2em;
    color: #454545;
    /*border-bottom: solid 1px #FFF;*/
    margin: 0 0 1em 0;
    padding-bottom: 0.5em;
}

h2 {
    margin: 0.7em 0 -1em 0;
    /*border-bottom: solid 2px #FFF;*/
    padding: 0;
}

hr {
    border: 0;
    /*border-bottom: solid 1px #FFF; */
    border-bottom: dotted 1px #EEE;
    /*margin: 1em -1.3em 1em 0;*/
}

hr.hold {
    border: 0;
    height: 1em;
}

strong {
    font-weight: bold;
}

audio {
    width: 100%;
}

a {
    text-decoration: none;
    transition: 0.5;
}

a:link {
    color: #000;
}

a:visited {
    color: #000;
}

a:active {
    color: #000;
}

a:hover {
    color: #000;
}

ul {
    margin: 0.5em 0;
    font-weight: bold;
}

li {
    text-indent: -.7em;
    color: #004957;
    list-style: none;
    margin-left: .7em;
    font-weight: normal;
}

li::before {
    content: "▪ ";
    color: orange;
}

p {
    margin: 0.25em 0;
}

i {
    color: #b0001a;
    padding-right: 0.4em;
    transition: 0.5s;
}

.i-pad {
    min-width: 1.4em;
}

.head i {
    color: #FFF;
}

.mini {
    font-size: 0.9em;
}

.min {
    width: 1%;
    white-space: nowrap;
}

.hide {
    display: none;
}

.view {
    display: block;
}

.mini {
    overflow: hidden !important;
}

.maxi {
    overflow: visible !important;
    height: auto !important;
    min-height: 10em;
}

/* Общее - Конец */
/* Основные блоки страницы */
#main-layer {
    position: relative;
    width: 100%;
    height: 100%;
    /* overflow-x: hidden;
    overflow-y: hidden; */
}

#main-footer {
    background: #CCC;
    padding: 1em 2em;
}

#main-content {
    width: 100%;
}

#main-page {
    width: calc(100% - 2em);
    margin: 6em 1em 0 1em;
}

#main-page .c {
    padding: 0.5em;
}

/*
#main-page .c:last-child {
	padding-left: 1.8em;
}
*/
#top {
    top: -2.2em;
    left: 0em;
    background: url("../img/bg.jpg");
    height: 2.2em;
    width: 100%;
}

#top, #top-line {
    position: absolute;
}

#top-line {
    height: 3em;
    top: 2.2em;
    vertical-align: middle;
    display: inline;
    padding: 0.1em 2em;
    -webkit-box-shadow: inset 0px 0px 3px 0 rgba(0, 0, 0, 0.5);
    box-shadow: inset 0px 0px 3px 0 rgba(0, 0, 0, 0.5);
    background: url("../img/bg-head1.png") no-repeat, #b0001a;
    background-position: 100%, center;
    width: calc(100% - 4em);
}

#top-line::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 26px 8px 26px 0;
    border-color: transparent orange transparent transparent;
    top: 0;
    right: 0;
}

.logo {
    position: absolute;
    width: 250px;
    height: auto;
    margin-left: -1em;
}

.user {
    position: absolute;
    top: -1.8em;
    right: 2em;
}

.wrap-user {
    display: none;
}

.wrap-user-menu {
    position: absolute;
    top: 0.1em;
    right: 0;
    cursor: pointer;
}

.h-menu {
    margin-left: 0.5em;
}

.l-menu {
    background: #FFF;
    border-radius: 5px;
    margin: 0.5em 0.5em 0.5em 0;
    -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.5);
}

.l-menu .point {
    display: block;
    padding: 0.5em 1em;
    border-bottom: dotted 1px #EEE;
    transition: 0.5s;
    position: relative;
}

#manager-stat {
    position: fixed;
    z-index: 5;
    right: 0;
    top: 0;
    display: none;
}

.stick {
    position: sticky;
    top: 0.5em;
    overflow: hidden;
}

.point_marg {
    padding-left: 2em !important;
    background: #F6F6F6;
}

.l-menu .caret {
    float: right;
    padding-top: 0.25em;
}

.l-menu .point:hover {
    background: #b0001a;
    color: #FFF;
}

.l-menu .point:hover i {
    color: #FFF;
}

.l-menu .selected::after, .l-menu .point:hover::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 19px 0 19px 6px;
    border-color: transparent transparent transparent orange;
    top: 0;
    right: -6px;
}

.l-menu [data-sub-menu] {
    display: none;
    overflow: hidden;
    height: 0;
}

.rub {
    display: inline-block;
    line-height: 6px;
    border-bottom: 2px solid;
    width: 0.45em;
    font-weight: bold;
    margin-left: 0.25em;
    margin-right: 0.25em;
}

#menu-cell {
    width: 18em;
    min-width: 18em;
    /*transition: 0.25s;*/
    /*overflow: hidden !important;*/
    z-index: 4;
}

.menu-hide {
    display: none !important;
    width: 0 !important;
    opacity: 0;
}

.menu-over {
    width: 19em !important;
    position: fixed !important;
    z-index: 4;
    top: 1.2em;
    max-height: 100% !important;
    height: calc(100% - 2.5em) !important;
}

#slide {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0.65+0,0+100;Neutral+Density */
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000', GradientType=1); /* IE6-9 */
    position: fixed;
    z-index: 3;
    left: -14.5em;
    top: 0;
    width: 15em;
    height: 100%;
    transition: 0.25s;
    display: none;
}

#slideIn {
    font-size: 1.4em;
    margin-top: 1.2em;
    cursor: pointer;
    position: absolute;
    z-index: 11;
    transition: 0.25s;
}

.fa-times {
    cursor: pointer;
    font-size: 120%;
    padding: 0;
    color: orange;
}

.status, .status-b, .status-b1 {
    position: absolute !important;
    z-index: 1;
    right: 1em;
    bottom: 0.7em;
    transition: 0.5s;
}

.status-b1 {
    right: 0.5em;
    padding: 0;
}

.i-butt {
    transition: 0.5s;
}

.status-b:hover > i, .status-b:hover, .i-butt:hover {
    cursor: pointer;
    color: #b0001a;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

/* Основные блоки страницы - Конец */
/* Popup */
.popup, .preloader {
    width: 100%;
    height: 100% !important;
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    top: 0px;
    left: 0px;
    overflow-y: auto;
}

.preloader-obj {
    position: absolute;
}

.popup.preloader-obj {
    position: absolute;
}

.popup .wind {
    position: relative;
    width: 90%;
    background: #FFF;
    height: auto;
    min-height: 10em;
    /*overflow: hidden;*/
    border-radius: 5px;
    left: 0px;
    right: 0px;
    margin: 1em auto;
    -webkit-box-shadow: 3px 3px 50px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 3px 3px 50px 0 rgba(0, 0, 0, 0.5);
}

.popup .cont {
    width: 100%;
    margin: 0px;
    padding: 1em;
    position: relative;
    border-radius: 0 0 5px 5px;
}

.head {
    background: url("../img/bg-head.png") no-repeat, #b0001a !important;
    background-position: 100%, center !important;
    /*text-transform: uppercase;*/
    padding: 0.3em 0.8em;
    height: 1.3em;
    color: #FFF;
    font-size: 1.3em;
    border-radius: 5px 5px 0 0;
}

.popup .cont {
    background: #FFF;
    width: calc(100% - 2em);
}

.popup .close, .head-icon {
    float: right;
    cursor: pointer;
    transition: 0.5s;
}

.head-icon {
    margin-top: 0.25em;
}

.popup .close:hover {
    -moz-transform: rotate(180deg); /* Для Firefox */
    -ms-transform: rotate(180deg); /* Для IE */
    -webkit-transform: rotate(180deg); /* Для Safari, Chrome, iOS */
    -o-transform: rotate(180deg); /* Для Opera */
    transform: rotate(180deg);
}

.popup .butt {

}

.popup .good {
    background: green;
}

.popup .bad {
    background: red;
}

.popup .atten {
    background: orange;
}

.popup .form {
    background: #b0001a;
}

.popup .head i {
    margin-right: 0.5em;
}

.preloader div {
    position: fixed;
    width: 10em;
    height: 10em;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
    color: #FFF;
}

.preloader-obj div {
    position: absolute;
}

.preloader div img {
    animation-name: spin;
    animation-duration: 600ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Popup - Конец */
/* Аккордион */
.accordion {
    padding: 10px;
}

.accordion section {
    border-bottom: 1px solid #ccc;
    /*margin: 3px;*/
    background-color: #fff;
    border-radius: 5px;
    display: inline-block;
    width: 100%;
    position: relative;
}

.accordion h3, .accordion span {
    margin: 0;
}

.accordion .spanContent {
    padding: 10px;
    display: block;
}

.accordion section i {
    float: left;
    padding: 0.5em;
    position: relative;
    color: #FFF;
    z-index: 1;
    padding-bottom: 0em;
    padding-top: 0.6em;
    width: 1em;
    text-align: center;
}

.accordion h3 {
    display: block;
    position: relative;
    text-decoration: none;
    border-radius: 5px;
    width: calc(100% - 3em);
    cursor: pointer;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 3em;
    background-color: #c05100;
    color: #FFF;
}

.accordion section h3:hover {
    background-color: #b0001a;
    transition: 0.5s;
}

.accordion h3 + div {
    height: 0px;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid #EEE;
    background: #EEE;
    -moz-transition: height 0.3s ease-in-out;
    -webkit-transition: height 0.3s ease-in-out;
    -o-transition: height 0.3s ease-in-out;
    transition: height 0.3s ease-in-out;
    border-top: 1px solid #EEE;
}

.accordion h3:after {
    content: '';
    position: absolute;
    right: 1em;
    top: 45%;
    border-top: 5px solid #FFF;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.accordion h3.next:after {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.acrdCont i {
    color: #b0001a !important;
    padding: 0 0.5em 0 0 !important;
    margin-top: 0.2em;
}

.accordion .control {
    position: relative;
    margin-right: 1.5em;
    float: right;
}

.min-butt {
    cursor: pointer;
    padding-left: 0 !important;
    font-size: 120%;
}

.accordion-hide {
    display: none !important;;
}

.half-size {
    width: 50%;
    display: block;
    vertical-align: top;
    float: left;
}

.full-size {
    width: 100%;
}

/* Аккордеон - Конец */
/* Категории */
.category-zag {
    background: #b0001a;
    color: #FFF;
    font-weight: bold;
    padding: 0.5em;
    border-radius: 5px 5px 0 0;
}

.category-zag > a {
    float: right;
    margin-left: 0.25em;
    cursor: pointer;
}

.category {
    border: 1px dotted #CCC;
    margin-bottom: 1em;
    padding: 0.5em;
    min-height: 1em;
}

.category-hide {
    overflow: hidden;
    height: 0;
}

#allFiles i {
    color: #c05100 !important;
    font-size: 110%;
}

.file-drags {
    min-height: 1em;
}

.files {
    background: #fff;
    padding: 0.5em;
    border-radius: 5px;
    margin-bottom: 0.5em;
    position: relative;
}

.files:nth-child(2n) {
    background: #e7e7e7;
}

.files > a {
    color: #000;
}

.files-date {
    float: right;
    font-size: 90%;
    color: #b0001a;
}

.files-status {
    float: right;
}

.files-zag {
    border-bottom: 1px solid #CCC;
    margin-bottom: 0.5em !important;
    display: block;
}

/* Категории - Конец */
/* Реквизиты */
.requisites {
    overflow: hidden;
    white-space: nowrap;
    height: 1.2em;
    position: relative;
    cursor: pointer;
}

.icon {
    position: absolute;
    right: 0;
    top: 0;
    display: inline;
    text-align: right;
    cursor: pointer;
    padding: 0.5em;
}

.icon i {
    float: right !important;
}

/* Реквизиты - Конец */
/* Табы */
.tabs {
}

.tabs-zag, .tabs-zag1 {
    margin-left: 0.5em;
    height: 1.8em;
    display: inline-block;
    cursor: pointer;
}

/* Табы - Конец */
/* Табы c шагами */
.step-tabs {
    padding: 10px;
}

.step-tabs section {
    border-bottom: 1px solid #ccc;
    margin: 3px;
    background-color: #fff;
    /* border-radius: 5px; */
    display: inline-block;
    width: 100%;
}

/* Табы c шагами - Конец */
/* Дерево */
/* Дерево - подбор номенклатуры */
table[data-form=new_request] tr:hover {
    background: #b0001a;
    color: #FFF;
    cursor: pointer;
}

/* Дерево - подбор номенклатуры - Конец */
#tree ul {
    display: block;
    position: relative;
    margin-left: 1.25em;
}

#tree li {
    text-indent: -3em;
}

#tree ul, #tree ul li {
    transition: 0.250s;
    cursor: pointer;
}

#tree ul li:first-child {
    font-weight: bold;
}

#tree ul ul {
    display: none;
}

#tree ul li:not(:first-child) {
    padding-left: 1.25em;
    display: none;
}

#tree ul li:hover {
    color: #b0001a;
}

#tree ul li:first-child::before {
    padding-right: 0.25em;
    color: #004957;
}

#tree ul li.plus:first-child::before {
    font-family: FontAwesome;
    content: "\f0fe";
}

#tree ul li.minus:first-child::before {
    font-family: FontAwesome;
    content: "\f146";
}

#tree ul li.hold:first-child::before {
    font-family: FontAwesome;
    content: "\f096";
}

#tree ul li::before {
    content: " ";
    padding-left: 1.1em;
}

/* Дерево - Конец */
/* Подсказки */
[data-tooltip] {
    display: inline-block;
    position: relative;
    cursor: pointer;
    z-index: 1;
}

[data-tooltip]:before,
[data-tooltip]:after {
    visibility: hidden;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    pointer-events: none;
}

[data-tooltip]:before {
    position: absolute;
    bottom: 100%;
    right: -10px;
    margin-bottom: 5px;
    padding: 7px 15px;
    border-radius: 4px;
    background: #044759;
    color: #f4f4f4;
    content: attr(data-tooltip);
    white-space: nowrap;
    font-size: 90%;
    line-height: 1.2;
    text-shadow: 0 1px 1px hsla(0, 0%, 0%, 1);
}

[data-tooltip]:after {
    position: absolute;
    bottom: 100%;
    right: 1px;
    width: 0;
    border-top: 5px solid #044759;
    border-top: 5px solid #044759;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: " ";
    font-size: 0;
    line-height: 0;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    visibility: visible;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
    transition: all 0.1s ease-in-out;
}

.input-icon {
    display: block;
    cursor: pointer;
    position: absolute;
    right: 0;
    bottom: 0.8em;
}

/* Подсказки - Конец */
/* Таблицы div */
.t {
    display: table;
}

.r {
    display: table-row;
}

.c {
    display: table-cell;
    vertical-align: top;
    position: relative;
    padding: 0.5em;
}

/* Таблицы div - Конец */
/* Таблицы */
.l-menu table {
    margin: 0em;
}

table {
    background: #FFF;
    width: 100%;
    margin: 0.5em 0.5em 0.5em 0;
    border-radius: 5px;
}

.zag tr {
    border-bottom: solid 1px #CCC;
}

tbody.zag {
    border-bottom: solid 2px #CCC;
}

tbody.zag td {
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
    color: #454545;
}

tr:nth-child(2n+1) {
    background: #f5f5f5;
}

td:not(:first-child) {
    border-left: dotted 1px #CCC;
}

td {
    padding: 0.5em;
    text-align: left;
    vertical-align: top;
    position: relative;
}

th {
    border-left: solid 1px #CCC;
    padding: 0.5em;
    text-align: left;
    vertical-align: top;
    position: inherit;
}

th {
    background: #b0001a;
    color: #FFF;
}

th {
    border-radius: 5px 5px 0 0;
}

[data-id]:hover, [data-id]:hover .headcol, .stat-list tr:first-child:hover {
    background: #f3ad5e;
    color: #FFF;
    cursor: pointer;
}

.stat-list {
    border: 1px solid #66999a;
    border-top: 2px solid #66999a;
}

.stat-list tr:first-child {
    background: #e7e5f5;
}

.right {
    text-align: right;
}

.centre {
    text-align: center;
}

.b {
    font-weight: bold;
}

.sh {
    -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.5);
}

.small-but {
    height: 2em;
}

.red-but {
    background: red;
}

.orange-but {
    background: #c05100;
}

.column-but {
    margin: 0.5em 0 0 0 !important;
}

.top-but {
    float: right;
    position: relative;
    background: none;
    min-width: 0;
    border-bottom: dotted 2px #EEE;
}

.reg-but {
    display: block;
    float: right;
    z-index: 1;
    position: relative;
    margin-left: 0.5em;
    margin-top: 0.5em;
    border-bottom: dotted 2px #b0001a;
    background: none;
    min-width: unset;
    color: #b0001a;
    padding: 0 1em;
}

.reg-but i {
    color: #b0001a;
}

.reg-but[data-trash] {
    background: none;
}

.reg-but:hover, .reg-but:hover > i {
    color: #FFF !important;
}

#to_back {
    position: absolute;
    left: 27em;
}

/* Таблицы - Конец */
/* Фикс. колонка в таблице */
#headcol-fix, #headcol-fix tr {
    overflow-x: auto;
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.headcol-fix-shadow {
    width: 5px;
    position: absolute;
    z-index: 2;
    right: 9px;
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
    border-radius: 2px;
}

.headcol, .headcol1 {
    position: absolute;
    width: 17em;
    -webkit-box-shadow: 1px 0 3px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 1px 0 3px 0 rgba(0, 0, 0, 0.5);
    text-align: right;
    z-index: 1;
}

td.headcol, td.headcol1 {
    background: #FFF;
    border-top: dotted 1px #CCC;
    border-left: none;
    display: block;
    overflow: hidden;
}

.headcol-hold {
    width: 17em;
}

td.headcol:hover, td.headcol1:hover {
    color: black;
}

/* Фикс. колонка в таблице - Конец */
/* Каптча */
.captcha-img {
    background-repeat: no-repeat;
    background-position: right top;
    background-size: auto 48px;
}

/* Каптча - Конец */
/* Формы */
.search-result {
    position: absolute;
    background: #F5F5F5;
    min-height: 1em;
    width: 100%;
    display: none;
    border: solid 1px #CCC;
    z-index: 2;
    -webkit-box-shadow: 3px 3px 3px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 3px 3px 3px 0 rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.search-result span {
    display: block;
    padding: 0.5em;
    border-bottom: dotted 1px #CCC;
    transition: 0.5s;
}

.search-result span:hover {
    background: #b0001a;
    cursor: pointer;
}

.page_counter {
    width: 2em;
    border-radius: 50%;
    text-align: center;
    padding: 0.1em;
}

.paging {
    position: relative;
    min-height: 1em;
}

.paging > * {
    display: inline;
}

.paging > i {
    padding-left: 0.4em;
    cursor: pointer;
}

article[id*="_head"] {
    display: none;
}

.dop {
    display: none;
}

.dop-position {
    display: none;
}

.zag-position {
    cursor: pointer;
}

.zag-position:hover {
    background: #b0001a;
    color: #FFF;
}

.input-imitation {
    position: relative;
    height: 2.1em;
    padding: 0.3em;
    background: #f8f9fb;
    width: calc(100% - 0.5em);
    display: block;
    line-height: 2em;
}

form {
    position: relative;
}

fieldset {
    padding: 0.5em;
    border: dotted 1px #CCC;
    background: #e8f5f2;
    border-radius: 3px;
}

legend {
    background: #FFF;
    padding: 5px;
    border-radius: 5px;
    line-height: 0.7em;
    color: #575757;
}

button, .button, .ui-datepicker .ui-datepicker-buttonpane button {
    min-width: 13em;
    border: 0;
    height: 3.2em;
    cursor: pointer;
    background: #b0001a;
    color: #FFF;
    font-weight: bold;
    transition: 0.5s;
    border-radius: 3px;
}

form button {
    margin-top: 1em;
}

button:hover, .quad-button:hover {
    -webkit-box-shadow: 3px 3px 3px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 3px 3px 3px 0 rgba(0, 0, 0, 0.5);
    background: #b0001a;
}

button i {
    color: #FFF;
}

button[data-trash] {
    background: #d22323;
}

button[data-trash]:hover {
    background: red;
}

.button {
    height: 1.3em;
    min-width: 11em;
    display: inline-block;
    text-align: center;
    padding: 0.7em;
    margin-top: -1.5em;
    background: #b0001a;
}

button:not(:first-child) {
    margin-left: 0.5em;
}

.quad-button {
    background: #b0001a;
    width: 1em;
    height: 1em;
    border-radius: 5px;
    padding: 0.2em;
    transition: 0.5s;
    cursor: pointer;
}

.quad-button > span > i {
    color: #FFF !important;
    margin: 0;
}

.mainbutt {
    display: block;
    float: right;
    z-index: 1;
    position: relative;
    margin-left: 0.5em;
    margin-top: 0.5em;
}

.mainbutt-wrap {
    margin-top: -2.5em;
    margin-left: auto;
    position: relative;
    height: auto;
    overflow: hidden;
    max-width: 36em;
    padding-right: 0.5em;
    min-height: 3.2em;
}

label {
    color: #717171;
    font-size: 0.9em;
    margin-top: 0.5em;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

label div {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[type="checkbox"] + div {
    margin-left: 2em;
    padding-top: 0.4em;
    min-height: 2em;
}

[type="radio"] + div {
    margin-left: 0;
    min-height: 2em;
    display: inline-block;
    top: -0.7em;
    position: relative;
}

.label-file {
    color: #777 !important;
    font-size: 0.9em !important;
    padding-top: 1em !important;
    position: relative;
}

.label-file div {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    margin-left: 13.5em;
    width: calc(100% - 17em);
    top: 1em;
    bottom: 0;
}

input, select, textarea, .label-file {
    display: block;
    width: calc(100% - 0.5em);
    padding: 0.3em;
    font-size: 1em;
    font-weight: 100;
    font-family: "pt", Arial, Helvetica, sans-serif;
    border: 0;
    border-bottom: solid 2px #CCC;
    background: #F8F9FB;
    color: #333;
    outline: none;
}

/* Стили для SELECT2 */
.select2, .select2 .select2-container .select2-container--default .select2-container--focus {
    display: block;
    width: calc(100% - 0.5em);
    padding: 0.2em 0.3em 0 0.3em;
    font-size: 1em;
    font-weight: 100;
    font-family: "pt", Arial, Helvetica, sans-serif;
    border: 0;
    border-bottom: solid 2px #CCC;
    background: #F8F9FB;
    color: #333;
    outline: none;
}

.select2 input, .select2.label-file {
    height: 1.98em;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-top: 0.2em;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0.5em;
}

/* treeview */
.select2-treeview {
    cursor: pointer;
}

.select2-treeview .select2-treeview-triangle {
    border-style: solid;
    width: 0px;
    height: 0px;
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;
    position: relative;
}

.select2-treeview .select2-treeview-down {
    border-width: 5px 5px 0 5px;
    border-color: #CCC transparent transparent transparent;
}

.select2-treeview .select2-treeview-right {
    border-color: transparent transparent transparent #CCC;
    border-width: 5px 0px 5px 5px;
    margin-right: 8px;
}

.select2-treeview-item {
    margin-left: 15px;
}

/* Стили для SELECT2 Конец */
input, .label-file {
    height: 2em;
}

.label-file {
    margin-top: 1em;
}

select {
    height: 2.73em;
    width: calc(100% + 0.15em);
}

option {
    background: #F8F9FB;
}

input:focus, textarea:focus, input:hover, textarea:hover, .label-file:hover {
    border-bottom: solid 2px #454545;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #CCC;
    text-overflow: ellipsis;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #CCC;
    opacity: 1;
    text-overflow: ellipsis;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #CCC;
    opacity: 1;
    text-overflow: ellipsis;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #CCC;
    text-overflow: ellipsis;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #CCC;
    text-overflow: ellipsis;
}

input[disabled="disabled"], select[disabled="disabled"] {
    background: antiquewhite;
}

input[disabled="disabled"]:hover {
    border-bottom: solid 2px #CCC;
}

input[type=checkbox] {
    -ms-transform: scale(1.2); /* IE */
    -moz-transform: scale(1.2); /* FF */
    -webkit-transform: scale(1.2); /* Safari and Chrome */
    -o-transform: scale(1.2); /* Opera */
    padding: 10px;
    width: 1em;
    height: 1em;
    margin: 0.7em 0.5em 1em 0;
    display: inline-block;
    position: absolute;
}

input[type=radio] {
    -ms-transform: scale(1.2); /* IE */
    -moz-transform: scale(1.2); /* FF */
    -webkit-transform: scale(1.2); /* Safari and Chrome */
    -o-transform: scale(1.2); /* Opera */
    padding: 10px;
    width: 1em;
    height: 2em;
    margin: 0.2em 0.5em;
    display: inline-block;
}

input[type=file] {
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
}

.check-l {
    float: left;
    margin-left: 1em;
}

.check-back, .check-back-line {
    background: #f8f9fb;
    position: relative;
    overflow: hidden;
    min-height: 2.8em;
}

.check-back {
    padding-left: 0.9em;
}

/* SELECT2 */
.select22 {
    width: 1px;
    height: 2.8em !important;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.select2-container li {
    text-indent: 0;
    margin-left: 0;
}

.select2-container li::before {
    content: "";
}

.select2-container--open {
    width: auto !important;
    z-index: 10000;
}

/* SELECT2 - Конец */
/* Формы - Конец */
/* Размеры */
.w1, .w2, .w3, .w4, .w5, .w6, .w7, .w2-3 {
    display: inline-block;
    vertical-align: top;
    position: relative;
}

.w1 {
    width: 100%;
    position: relative;
}

.w2 {
    width: calc(50% - 3px);
    position: relative;
}

.w3 {
    width: calc(33.27% - 3px);
    position: relative;
}

.w4 {
    width: calc(24.93% - 3px);
    position: relative;
}

.w5 {
    width: calc(19.93% - 3px);
    position: relative;
}

.w6 {
    width: calc(16.6% - 3px);
    position: relative;
}
.w7 {
    width: calc(14.2% - 3px);
    position: relative;
}

.w2-3 {
    width: calc(66.5% - 3px);
    position: relative;
}

.w1 > input, .w2 > input, .w3 > input, .w4 > input, .w5 > input, .w6 > input, .w7 > input, .w2-3 > input {
    border-left: solid 1px #CCC;
}

.w2-4, .w3-4, .w2-5, .w3-5, .w4-5, .w2-6, .w3-6, .w4-6, .w5-6 {
    display: inline-block;
    vertical-align: top;
    position: relative;
}
.w2-4 > input, .w3-4 > input, .w2-5 > input, .w3-5 > input, .w4-5 > input, .w2-6 > input, .w3-6 > input, .w4-6 > input, .w5-6 > input {
    border-left: solid 1px #CCC;
}

.w2-4 {
    width: calc(24.93*2% - 3px);
    position: relative;
}

.w3-4 {
    width: calc(24.93*3% - 3px);
    position: relative;
}

.w2-5 {
    width: calc(19.93*2% - 3px);
    position: relative;
}

.w3-5 {
    width: calc(19.93*3% - 3px);
    position: relative;
}

.w4-5 {
    width: calc(19.93*4% - 3px);
    position: relative;
}

.w2-6 {
    width: calc(16.6*2% - 3px);
    position: relative;
}

.w3-6 {
    width: calc(16.6*3% - 3px);
    position: relative;
}

.w4-6 {
    width: calc(16.6*4% - 3px);
    position: relative;
}

.w5-6 {
    width: calc(16.6*5% - 3px);
    position: relative;
}

/* Размеры - Конец */
/* Изменение внешнего вида scrollbars */
.lb-v-dummy {
    width: 100%;
    display: block;
    height: 1px;
}

.lb-h-dummy {
    height: 100%;
    display: block;
    width: 1px;
}

.lb-clear {
    clear: both;
}

.lb-wrap {
    z-index: 0;
    overflow: auto;
    position: relative;
}

.lb-scrollbar-wrap {
    position: absolute;
    left: 0;
    top: 0;
}

.lb-v-scrollbar {
    z-index: 1;
    position: absolute;
    right: 2px;
    top: 2px;
    width: 7px;
    height: 100%;
    background: #cfcfcf;
    opacity: 0.3;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
}

.lb-h-scrollbar {
    z-index: 1;
    position: absolute;
    bottom: 2px;
    left: 2px;
    width: 100%;
    height: 7px;
    background: #cfcfcf;
    opacity: 0.3;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
}

.lb-v-scrollbar-slider {
    position: absolute;
    width: 7px;
    height: 50px;
    left: 0;
    top: 0;
    background: #000;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
}

.lb-h-scrollbar-slider {
    position: absolute;
    height: 7px;
    width: 50px;
    left: 0;
    top: 0;
    background: #000;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
}

/* Изменение внешнего вида scrollbars - Конец */
/* Часы  */
.clock {
    position: absolute;
    top: 0.5em;
    left: 2em;
    z-index: 1;
}

.time span {
    display: inline-block;
    width: 20px;
    margin-right: 4px;
}

.time span.colon {
    width: 4px;
}

.time .colon b,
.time span b {
    float: left;
    width: 3px;
    height: 3px;
    overflow: hidden;
    visibility: hidden;
    background: #808182;
}

.time .colon b {
    display: none;
    margin: 0 0 4px;
    width: 3px;
    height: 3px;
}

.time span.colon .c11,
.time span.colon .c12 {
    display: block;
    visibility: visible;
}

.d0 .c11, .d0 .c12, .d0 .c13, .d0 .c14, .d0 .c15, .d0 .c21, .d0 .c25, .d0 .c31, .d0 .c35, .d0 .c41, .d0 .c45, .d0 .c51, .d0 .c52, .d0 .c53, .d0 .c54, .d0 .c55 {
    visibility: visible;
}

.d1 .c13, .d1 .c21, .d1 .c22, .d1 .c23, .d1 .c33, .d1 .c43, .d1 .c51, .d1 .c52, .d1 .c53, .d1 .c54, .d1 .c55 {
    visibility: visible;
}

.d2 .c11, .d2 .c12, .d2 .c13, .d2 .c14, .d2 .c15, .d2 .c25, .d2 .c31, .d2 .c32, .d2 .c33, .d2 .c34, .d2 .c35, .d2 .c41, .d2 .c51, .d2 .c52, .d2 .c53, .d2 .c54, .d2 .c55 {
    visibility: visible;
}

.d3 .c11, .d3 .c12, .d3 .c13, .d3 .c14, .d3 .c15, .d3 .c25, .d3 .c32, .d3 .c33, .d3 .c34, .d3 .c35, .d3 .c45, .d3 .c51, .d3 .c52, .d3 .c53, .d3 .c54, .d3 .c55 {
    visibility: visible;
}

.d4 .c11, .d4 .c15, .d4 .c21, .d4 .c25, .d4 .c31, .d4 .c32, .d4 .c33, .d4 .c34, .d4 .c35, .d4 .c45, .d4 .c55 {
    visibility: visible;
}

.d5 .c11, .d5 .c12, .d5 .c13, .d5 .c14, .d5 .c15, .d5 .c21, .d5 .c31, .d5 .c32, .d5 .c33, .d5 .c34, .d5 .c35, .d5 .c45, .d5 .c51, .d5 .c52, .d5 .c53, .d5 .c54, .d5 .c55 {
    visibility: visible;
}

.d6 .c11, .d6 .c12, .d6 .c13, .d6 .c14, .d6 .c15, .d6 .c21, .d6 .c31, .d6 .c32, .d6 .c33, .d6 .c34, .d6 .c35, .d6 .c41, .d6 .c45, .d6 .c51, .d6 .c52, .d6 .c53, .d6 .c54, .d6 .c55 {
    visibility: visible;
}

.d7 .c11, .d7 .c12, .d7 .c13, .d7 .c14, .d7 .c15, .d7 .c25, .d7 .c35, .d7 .c45, .d7 .c55 {
    visibility: visible;
}

.d8 .c11, .d8 .c12, .d8 .c13, .d8 .c14, .d8 .c15, .d8 .c21, .d8 .c25, .d8 .c31, .d8 .c32, .d8 .c33, .d8 .c34, .d8 .c35, .d8 .c41, .d8 .c45, .d8 .c51, .d8 .c52, .d8 .c53, .d8 .c54, .d8 .c55 {
    visibility: visible;
}

.d9 .c11, .d9 .c12, .d9 .c13, .d9 .c14, .d9 .c15, .d9 .c21, .d9 .c25, .d9 .c31, .d9 .c32, .d9 .c33, .d9 .c34, .d9 .c35, .d9 .c45, .d9 .c51, .d9 .c52, .d9 .c53, .d9 .c54, .d9 .c55 {
    visibility: visible;
}

/* Часы - Конец */
/* Таймпикер */
.jq-ci,
.jq-ci * {
    -webkit-transition: .4s ease;
    transition: .4s ease;
}

/*
.jq-ci-p {
    display: none;
}
*/
.jq-ci-hide {
    opacity: 0.5;
    -webkit-pointer-events: none;
    pointer-events: none;
}

/* parent */
.jq-ci {
    width: 180px;
    height: 180px;
    display: inline-block;
    position: relative;
    font: 0 sans-serif;
    text-align: center;
    overflow: hidden;
    user-select: none;
    cursor: default;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #F5F5F5;
    position: absolute;
    z-index: 1;
    -webkit-box-shadow: 3px 3px 3px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 3px 3px 3px 0 rgba(0, 0, 0, 0.3);
}

/* time display */
.jq-ci-t {
    position: absolute;
    z-index: 2;
    height: 24px;
    width: 100px;
    text-align: center;
    top: 50%;
    left: 50%;
    margin-top: -12px;
    margin-left: -50px;
    font-size: 18px;
}

.jq-ci-t_h,
.jq-ci-t_m,
.jq-ci-t_ap {
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.jq-ci-t_h,
.jq-ci-t_m {
    line-height: 24px;
}

.jq-ci-t_ap {
    font-size: 10px;
    position: relative;
    overflow: hidden;
    height: 24px;
    width: 24px;
    margin-right: -16px;
}

.jq-ci-t_ap > span {
    display: block;
    line-height: 24px;
    -webkit-transition: .2s ease;
    transition: .2s ease;
}

.jq-ci-t_ap--s > span {
    -webkit-transform: translateY(-24px);
    transform: translateY(-24px);
}

/* hour/minute faces */
.jq-ci-h,
.jq-ci-m {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    -webkit-transform: scale(0.7);
    transform: scale(0.7);
    border-radius: 50%;
}

.jq-ci--h > .jq-ci-h,
.jq-ci--m > .jq-ci-m {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.jq-ci--m > .jq-ci-h {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}

/*.jq-ci-m { background-color: #fafafa; }*/

/* hour/minute orbs */
.jq-ci-h_h,
.jq-ci-m_m {
    font-size: 14px;
    display: inline-block;
    width: 28px;
    line-height: 28px;
    top: 50%;
    left: 50%;
    margin: -15px 0 0 -15px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    font-weight: bold;
}

.jq-ci-h_h:hover,
.jq-ci-m_m:hover {
    background-color: #eee;
}

.jq-ci-h_h--s,
.jq-ci-m_m--s {
    color: #fff !important;
    background-color: #b0001a !important;
}

/* hour/minute positioning */
.jq-ci-h_h--1,
.jq-ci-m_m--5 {
    -webkit-transform: rotate(-60deg) translate(70px) rotate(60deg);
    transform: rotate(-60deg) translate(70px) rotate(60deg);
}

.jq-ci-h_h--2,
.jq-ci-m_m--10 {
    -webkit-transform: rotate(-30deg) translate(70px) rotate(30deg);
    transform: rotate(-30deg) translate(70px) rotate(30deg);
}

.jq-ci-h_h--3,
.jq-ci-m_m--15 {
    -webkit-transform: rotate(0deg) translate(70px) rotate(0deg);
    transform: rotate(0deg) translate(70px) rotate(0deg);
}

.jq-ci-h_h--4,
.jq-ci-m_m--20 {
    -webkit-transform: rotate(30deg) translate(70px) rotate(-30deg);
    transform: rotate(30deg) translate(70px) rotate(-30deg);
}

.jq-ci-h_h--5,
.jq-ci-m_m--25 {
    -webkit-transform: rotate(60deg) translate(70px) rotate(-60deg);
    transform: rotate(60deg) translate(70px) rotate(-60deg);
}

.jq-ci-h_h--6,
.jq-ci-m_m--30 {
    -webkit-transform: rotate(90deg) translate(70px) rotate(-90deg);
    transform: rotate(90deg) translate(70px) rotate(-90deg);
}

.jq-ci-h_h--7,
.jq-ci-m_m--35 {
    -webkit-transform: rotate(120deg) translate(70px) rotate(-120deg);
    transform: rotate(120deg) translate(70px) rotate(-120deg);
}

.jq-ci-h_h--8,
.jq-ci-m_m--40 {
    -webkit-transform: rotate(150deg) translate(70px) rotate(-150deg);
    transform: rotate(150deg) translate(70px) rotate(-150deg);
}

.jq-ci-h_h--9,
.jq-ci-m_m--45 {
    -webkit-transform: rotate(180deg) translate(70px) rotate(-180deg);
    transform: rotate(180deg) translate(70px) rotate(-180deg);
}

.jq-ci-h_h--10,
.jq-ci-m_m--50 {
    -webkit-transform: rotate(210deg) translate(70px) rotate(-210deg);
    transform: rotate(210deg) translate(70px) rotate(-210deg);
}

.jq-ci-h_h--11,
.jq-ci-m_m--55 {
    -webkit-transform: rotate(240deg) translate(70px) rotate(-240deg);
    transform: rotate(240deg) translate(70px) rotate(-240deg);
}

.jq-ci-h_h--0,
.jq-ci-m_m--0 {
    -webkit-transform: rotate(270deg) translate(70px) rotate(-270deg);
    transform: rotate(270deg) translate(70px) rotate(-270deg);
}

/* Таймпикер - Конец */
/* Датапикер */
.ui-datepicker-calendar {
    background: #F5F5F5;
}

.ui-datepicker-calendar tr {
    background: #F5F5F5;
}

#ui-datepicker-div {
    background: #F5F5F5;
    -webkit-box-shadow: 3px 3px 3px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 3px 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    text-align: center;
    height: 2em;
    line-height: 1.9em;
}

.ui-state-default {
    border: 1px solid #F5F5F5 !important;
    background: unset !important;
    color: #000 !important;
}

.ui-state-default:hover {
    border: 1px solid #CCC !important;
    border-radius: 50%;
    color: #b0001a !important;
}

.ui-state-active {
    border: 1px solid #b0001a !important;
    border-radius: 50%;
    background: #b0001a !important;
    color: #FFF !important;
}

.ui-state-active:hover {
    border: 1px solid #b0001a !important;
}

.ui-widget-header {
    border: 0 !important;
    background: #b0001a !important;
}

.ui-datepicker-next, .ui-datepicker-prev {
    border-radius: 50% !important;
    border: 0;
    margin-top: 1.5px;
}

.ui-datepicker-next:hover, .ui-datepicker-prev:hover {
    background: #FFF !important;
    cursor: pointer;
    border: 0 !important;
}

.ui-state-highlight {
    border-radius: 50% !important;
    background: #59ac11 !important;
}

/* Датапикер - Конец */
/* Холдинги */
.tree-li > i {
    padding: 0 !important;
    margin: 0 !important;
    color: #b0001a !important;
    margin-top: 0.2em !important;
    padding-right: 1em !important;
}

.tree-li > li {
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 20em;
    overflow: hidden;
}

.tree-li > li:last-child {
    background: url("../img/bg-arrow1.png") no-repeat right center, url("../img/bg-arrow.png");
}

.tree-li a {
    background: #FFF;
    padding: 0 0.5em;
}

.tree-li strong {
    background: #FFF;
}

.tree-li > li::before {
    content: '';
}

/* Холдинги - Конец */
/* Графики */
.container {
    width: calc(100% - 2em);
    background: white;
    height: auto;
    padding: 0.5em 0;
    border-radius: 5px;
    text-align: center;
    position: relative;
}
/* Графики - Конец */
/* Wysiwyg-редактор */
.jodit_btn {
    margin-left: 0 !important;
}

.jodit_container ul {
    margin: 0;
    font-weight: normal;
}

.jodit_container li {
    text-indent: 0;
    margin-left: 0;
}

.jodit_container li::before {
    content: unset;
}

/* Wysiwyg-редактор - Конец */
/* Оформление таблицы событий */
#table-events td {
    height: 7em;
    max-height: 7em;
    min-height: 7em;
    padding-bottom: 1.3em;
}

#table-events .events {
    position: absolute;
    bottom: 0.5em;
    font-size: 90%;
    color: #454545;
    width: calc(100% - 1em);
    border-top: dotted 1px #EEE;
    padding-top: 0.2em;
}

.comments {
    background: #fff;
    padding: 0.5em;
    border-radius: 5px;
    margin-bottom: 0.5em;
    position: relative;
}

.comments:nth-child(2n) {
    background: #e7e7e7;
}

.comments-zag {
    border-bottom: 1px solid #CCC;
    margin-bottom: 0.5em;
}

.comments-date {
    float: right;
    font-size: 90%;
    color: #b0001a;
}

.comments-status {
    float: right;
}

.comments-alert {
    position: absolute !important;
    right: 0;
    bottom: 0.5em;
}

/* Оформление таблицы событий - Конец */
/* Оформление файлов */
.file-wrap {
    border: dotted 1px #CCC;
    min-height: 7.25em;
}

.file-block {
    margin: 0.5em;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding-right: 1em;
}

.file-block img {
    margin-right: 0.5em;
    border-radius: 3px;
    float: left;
}

.file-no-m {
    margin-left: 0;
    margin-right: 0;
}

.file-li {
    padding: 0.25em 0.5em;
    background: #FFF;
    display: inline-block;
    margin-top: 0.5em;
    margin-left: 0;
    margin-right: 0.5em;
    border-radius: 3px;
}

.del-file {
    position: absolute;
    right: 0;
    top: 0;
    color: #b0001a;
}

/* Оформление файлов - Конец */
/* Оформление */
body {
    background: url("../img-vendor/bg.png") no-repeat left bottom, url("../img/bg.jpg");
}

#main-footer {
    background: #b5000f url("../img/just-foot.jpg") no-repeat right center;
    background-size: auto 100%;
    color: #EEE;
    webkit-box-shadow: inset 0px 0px 3px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 3px 0 rgba(0, 0, 0, 0.5);
}

.scroll {
    overflow-y: scroll;
    height: 20em;
    overflow-x: hidden;
}

.red {
    color: red;
}

.darkorange {
    color: darkorange;
}

.orange {
    color: orange;
}

.gold {
    color: gold;
}

.lightseagreen {
    color: lightseagreen;
}

.green {
    color: green;
}

.grey {
    color: #CCC;
}

.cyan {
    color: #23bfe1;
}

.blue {
    color: #0008a8;
}

.red-b {
    background: red !important;
}

.skyblue-b {
    background: skyblue !important;
}

.orange-b {
    background: orange !important;
}

.green-b {
    background: #59ac11 !important;
}

.light-green-b {
    background: #d3f2b8 !important;
}

.light-cyan-b {
    background: #c7e2ff !important;
}

.light-sepia-b {
    background: #f6ca7e !important;
}

.light-red-b {
    background: #f98f7e !important;
}

.white-b {
    background: #ffffff !important;
}

.ib {
    margin: 0;
    padding: 0;
}

.unavailable > span {
    background: #FFF;
    color: #CCC;
}

.unavailable > span:hover {
    cursor: default;
    background: #FFF !important;
    color: #CCC !important;
}

.unavailable > span > i {
    color: #CCC;
}

.unavailable > span:hover > i {
    color: #CCC !important;
}

.list {
    display: block;
    padding: 0.2em;
}

.list2 {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}

#marker-status {
    position: absolute;
    left: 21em;
    top: 1em;
}

#link-status {
    width: 0.8em;
    height: 0.8em;
    border-radius: 50%;
}

.marker {
    margin-left: 0.5em;
    padding: 0.1em 0.3em 0.3em 0.3em;
    text-align: center;
    border-radius: 0.8em;
    min-width: 1em;
    display: inline-block;
}

.triangle-left {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 0 50px 10px;
    border-color: transparent transparent transparent orange;
}

.date-cashe {
    position: absolute;
    right: 0;
    top: 0.5em;
}

.segments-li {
    position: absolute;
    bottom: 0;
    margin: 1em;
}

.segments-li > li {
    margin: 0;
}

#ui-datepicker-div {
    z-index: 9999 !important;
    top: 100% !important;
    left: 0 !important;
    position: absolute !important;
}

.manager-kpi {
    position: absolute;
    width: 60%;
    top: -1.8em;
    left: 0;
    right: 0;
    margin: auto;
    color: #b0001a;
    text-align: center;
}

.manager-kpi > div {
    display: inline;
    margin: 0 0.5em;
}

.manager-kpi span {
    margin-left: 0.25em;
}

.avatar-contact {
    border-radius: 50%;
    background: #FFF;
}

.sub-icon {
    position: absolute;
    bottom: 0.9em;
    right: 0.5em;
}
/* Для иконки после селекта*/
.sub-icon {
    position: absolute;
    bottom: 0.9em;
    right: 0.5em;
}

/* Требуется  для списка контактов для рассылки, чтобы иметь возможность переносить в пустой список*/
.mailing-list-contacts {
    min-height: 20px;
    border: 1px solid #1e88e5;
    padding: 20px;
    margin: 0px;
}

/* Карты Google */
.gm-control-active {
	min-width: unset;	
}
/* Карты Google - Конец */

/* Монитор доставки */
.line-delivery {
	position: relative;
	height: 5px;
	margin: 3em 0 3em 0;
	float: left;
}
.line-delivery-line {
	height: 2em;
	background: red;
	width: 2px;
	margin-top: -0.8em;
	position: absolute;
	right: 0;
}
.line-delivery-line > span {
	position: absolute;
	top: -0.5em;
	left: 0.5em;
	font-size: 90%;
}
.line-wrap > .marker {
	position: absolute;
	color: #FFF;
	font-weight: bold;
	top: 2.8em;
	z-index: 1;
	transition: 2s;
}
.line-wrap .sig, .line-delivery .sig {
	position: absolute;
	left: 0;
	top: -150%;
	color: black;
	font-weight: normal;
	text-align: center;
	font-size: 80%;
	width: 1.5em;
}
.line-wrap .sig-b {
	top: 110%;
	font-weight: bold;
}
.line-wrap.red-b {
	z-index: 1;
}
/* Монитор доставки - Конец */

/* Строка выбранных элементов по кол-ву и площади */
#select-orders {
	font-weight: bold;
	float: right;	
}

/* Карта покупок */
[data-type-cart] i {
	font-size: 150%;
}
[data-type-cart] span::before {
	right: unset;
}
/*TODO: fit to li elem*/
.mailing-list-contacts  img {
    height: 20px;
    width: 20px;
}

.mini-img {
    max-width: 500px;
    width: 400px;
    overflow: hidden;
}
.read-only, .read-only1 {
	position: absolute;
	background: rgba(204, 204, 204, 0.44);
	width: calc(100% + 3px);
	height: 100%;
}
td input[id^=id_assign] {
	margin: 0.25em 0 0 0;
}
.color-nomen span {
	display: inline-block;
	width: 1em;
	height: 1em;
	border-radius: 50%;
	border: solid 1px #CCC;
	margin-bottom: -0.25em;
	margin-right: 0.5em;
}


