@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 0 -0.4em 0;
    border-bottom: solid 2px #FFF;
    padding-right: 20em;
}

h3 {
    color: #8018a7;
    font-size: 1.1em;
}

hr {
    border: 0;
    border-bottom: solid 1px #FFF;
    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: #8018a7;
}

a:visited {
    color: #8018a7;
}

a:active {
    color: #8018a7;
}

a:hover {
    color: #7d16a4;
}

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: #8018a7;
    padding-right: 0.4em;
    transition: 0.5s;
}

.head i {
    color: #FFF;
}

.mini {
    font-size: 0.9em;
}

.min {
    width: 1%;
}

.scroll {
    overflow-y: scroll;
    height: 20em;
    overflow-x: hidden;
}

.scroll1 {
    height: 30em;
}

.scroll-y {
    overflow-x: scroll;
    height: auto;
}


/* Общее - Конец */


/* Основные блоки страницы */

#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: -3em;
    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, #8018a7;
    background-position: 100%, center;
    width: calc(100% - 4em);
}

.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: #c388da !important;
    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;
    transition: 0.25s;
    overflow: hidden;
    z-index: 4;
}

.menu-hide {
    display: block !important;
    width: 0 !important;
    opacity: 0;
}

.menu-over {
    position: fixed !important;
    z-index: 4;
    top: 1em;
}

#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 {
    position: absolute !important;
    z-index: 1;
    right: 1em;
    bottom: 0.7em;
    transition: 0.5s;
}

.i-butt {
    transition: 0.5s;
    padding-left: unset !important;
    color: #3c86c3 !important;
}

.status-b:hover>i,
.status-b:hover,
.i-butt:hover {
    cursor: pointer;
    color: #c388da;
}

.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: scroll;
}

.popup .wind {
    position: relative;
    width: 90%;
    background: #FFF;
    height: auto;
    min-height: 10em;
    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);
}

.head {
    background: url("../img/bg-head.png") no-repeat, #8018a7 !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;
}

.popup .cont {
    background: #FFF;
    width: calc(100% - 2em);
    border-radius: 5px;
    margin: 0px;
    padding: 1em;
    position: relative;
}

.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: #8018a7;
}

.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 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%;
}

.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;
}

.accordion h3 {
    display: block;
    position: relative;
    text-decoration: none;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    padding-top: 10px;
    padding-bottom: 10px;
    background: #8018a7;
    color: #FFF;
}

.accordion section h3:hover {
    background: #c388da;
    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: #3c86c3;
    padding: 0 0.5em 0 0;
    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%;
}


/* Аккордеон - Конец */


/* Табы */

.tabs {
    overflow: auto;
}

.tabs-zag {
    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: #8018a7;
    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: #8018a7;
}

#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: 0%;
    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: 10%;
    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;
}

.scroll [data-tooltip]:before {
    right: 0;
}

.input-icon {
    display: block !important;
    cursor: pointer;
    position: absolute;
    right: 1em;
    bottom: 0.8em;
}

.input-icon-sel {
    display: block !important;
    cursor: pointer;
    position: absolute;
    right: 2em;
    bottom: 0.8em;
}

.filter {
    width: 1em;
    height: 1.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;
}

.tree-table tr td {
    padding-left: 2em;
    padding-right: 0;
}

.tree-icon {
    display: inline;
    float: right;
    margin-right: 0.5em;
}

.tree-icon span {
    margin-left: 0.2em;
}

.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;
}

.lists {
    margin-bottom: 0.5em;
    padding: 0.5em;
}

tr:nth-child(2n+1),
.lists:nth-child(2n+1) {
    background: #f5f5f5;
}

td:not(:first-child) {
    border-left: dotted 1px #CCC;
}

tr.tasks {
    background: #fffcf0;
}

tr.tasks:nth-child(2n+1) {
    background: #fef4d4;
}

td,
th {
    padding: 0.5em;
    /* text-align: left; */
    vertical-align: top;
}

th {
    background: #8018a7;
    color: #FFF;
}

th {
    border-radius: 5px 5px 0 0;
}

[data-id]>td {
    color: #000;
}

[data-id]:hover>td,
tr.tasks:hover {
    background: #c388da;
    color: #FFF;
    cursor: pointer;
}

[data-id-select]>td {
    color: #000;
}

[data-id-select]:hover>td {
    background: #c388da;
    color: #FFF;
    cursor: pointer;
}

.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: #59ac11;
}

.column-but {
    margin: 0.5em 0 0 0 !important;
}

.top-but {
    float: right;
    top: 0.2em;
    position: relative;
}


/* Таблицы - Конец */


/* Каптча */

.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: #c388da;
    cursor: pointer;
}

.page_counter {
    width: 2em;
    border-radius: 50%;
    text-align: center;
    padding: 0.1em;
}

.paging * {
    display: inline;
}

.paging i {
    padding-left: 0.4em;
    cursor: pointer;
    color: #8018a7 !important;
    float: unset !important;
}

article[id*="_head"] {
    display: none;
}

.dop {
    display: none;
}

.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;
}

button,
.button,
.ui-datepicker .ui-datepicker-buttonpane button {
    min-width: 13em;
    border: 0;
    height: 3.2em;
    cursor: pointer;
    background: #8018a7;
    color: #FFF;
    font-weight: bold;
    transition: 0.5s;
    border-radius: 3px;
    white-space: nowrap;
}

form button {
    margin-top: 1em;
}

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: #c388da;
}

button i {
    color: #FFF !important;
    padding-top: 0 !important;
    float: unset !important;
}

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: #c388da;
}

button:not(:first-child) {
    margin-left: 0.5em;
}

.mainbutt {
    display: block;
    float: right;
    z-index: 1;
    position: relative;
    margin-left: 0.5em;
    margin-top: 0.5em;
}

.mainbutt-wrap {
    margin: -1.8em 0 0.5em 0.5em;
    position: relative;
    height: auto;
    overflow: hidden;
    margin-left: auto;
    width: 34em;
    padding-bottom: 0.5em;
    padding-right: 0.5em;
    min-height: 3.2em
}

label {
    color: #8018a7;
    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;
    height: 1.7em;
}

.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;
}

.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 Конец */

input {
    height: 2em;
}

.label-file {
    margin-top: 1.7em;
}

.label-file>.button {
    height: 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[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;
}

.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;
}


/* Формы - Конец */


/* Размеры */

.w1,
.w2,
.w3,
.w4,
.w2-3,
.w5,
.w7 {
    display: inline-block;
    vertical-align: top;
    position: relative;
}

.w1 {
    width: calc(100% - 3px);
}

.w2 {
    width: calc(50% - 3px);
}

.w3 {
    width: calc(33.27% - 3px);
}

.w4 {
    width: calc(24.93% - 3px);
}

.w2-3 {
    width: calc(66.5% - 3px);
}

.w2>input,
.w3>input,
.w4>input,
.w5>input,
.w7>input,
.w2-3>input {
    border-left: solid 1px #CCC;
}

.w5 {
    width: calc(19.88% - 3px);
}

.w7 {
    width: calc(14.22% - 3px);
}


/* Размеры - Конец */


/* Часы  */

.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: 6;
    -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: #8018a7 !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: #8018a7 !important;
}

.ui-state-active {
    border: 1px solid #8018a7 !important;
    border-radius: 50%;
    background: #8018a7 !important;
    color: #FFF !important;
}

.ui-state-active:hover {
    border: 1px solid #8018a7 !important;
}

.ui-widget-header {
    border: 0 !important;
    background: #8018a7 !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;
}


/* Датапикер - Конец */


/* Проигрывание аудио-записи */

.play-record {
    text-align: center;
}

.play-record i {
    color: #8018a7 !important;
}


/* Проигрывание аудио-записи - Конец */


/* Call-центр */

#callPanel {
    position: absolute;
    background: #F6F6F6;
    width: 21em;
    border-radius: 0 0 5px 5px;
    top: -6em;
    height: 4em;
    left: 0;
    right: 0;
    margin: auto;
    -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);
    text-align: center;
    padding-top: 4em;
    display: none;
    overflow: hidden;
}

#callPanel button {
    min-width: 7em;
}

#callPanel .ic {
    font-size: 2.5em;
    position: absolute;
    top: 0.2em;
    left: 3.8em;
    color: #FFF;
}


/* Call-центр - Конец */


/* 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-редактор - Конец */


/* Поле ввода с HTML-форматированием */

.editable {
    height: 15em;
    overflow-y: auto;
    border-bottom: solid 2px #CCC;
    padding: 0.3em;
    background: #F8F9FB;
}

.editable:hover {
    border-bottom: solid 2px #454545;
}

.editableHTML {
    display: none;
}


/* Оформление файлов */

.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: #49a0e7;
}


/* Оформление файлов - Конец */


/* Оформление */

body {
    background: url("../img-vendor/bg.png") no-repeat left bottom, url("../img/bg.jpg");
}

#main-footer {
    background: #8018a7 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);
}

.red {
    color: red;
}

.pink {
    background-color: pink !important;
}

.darkorange {
    color: darkorange;
}

.orange {
    color: orange;
}

.gold {
    color: gold;
}

.lightseagreen {
    color: lightseagreen;
}

.green {
    color: green;
}

.red-b {
    background: red !important;
}

.orange-b {
    background: orange !important;
}

.skyblue-b {
    background: skyblue !important;
}

.green-b {
    background: #59ac11 !important;
}

.green-b>td {
    color: #FFF !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 {
    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;
}

#marker-status {
    position: absolute;
    left: 21em;
    top: 1em;
}

#link-status {
    width: 0.8em;
    height: 0.8em;
    border-radius: 50%;
}

div>#ui-datepicker-div {
    z-index: 9999 !important;
    top: 100% !important;
    left: 0 !important;
    position: absolute !important;
}

fieldset {
    padding: 0.5em;
    border: dotted 1px #CCC;
    background: #e8f5f2;
    border-radius: 3px;
    position: relative;
}

legend {
    background: #FFF;
    padding: 0.5em;
    border-radius: 1.5em;
    line-height: 0.7em;
    color: #575757;
    border: 1px solid #e8f5f2;
}

.marker-main-menu {
    position: absolute;
    right: 1.2em;
    left: unset !important;
    padding: 0.1em 0.3em 0.2em 0.3em;
    font-size: 85%;
    font-weight: bold;
    color: #FFF;
    top: 0.5em;
  }
.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;
}
.l-menu .point {
    display: block;
    padding: 0.5em 1em;
    border-bottom: dotted 1px #EEE;
    transition: 0.5s;
    position: relative;
}
[data-menu], [data-main-menu] {
    position: relative;
    display: block;
}