@font-face {
    font-family: "Open Sans";
    font-weight: normal;
    font-style: normal;
    src: url("../fonts/OpenSans-Regular.eot");
    src: url("../fonts/OpenSans-Regular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/OpenSans-Regular.woff") format("woff"),
    url("../fonts/OpenSans-Regular.ttf") format("truetype"),
    url("../fonts/OpenSans-Regular.svg") format("svg");
}

@font-face {
    font-family: "Open Sans";
    font-weight: 700;
    font-style: normal;
    src: url("../fonts/OpenSans-Semibold.eot");
    src: url("../fonts/OpenSans-Semibold.eot?#iefix") format("embedded-opentype"),
    url("../fonts/OpenSans-Semibold.woff") format("woff"),
    url("../fonts/OpenSans-Semibold.ttf") format("truetype"),
    url("../fonts/OpenSans-Semibold.svg#Semibold") format("svg");
}

html {
    height: 100%;
}

body {
    overflow-y: auto;
    margin: 0px;
    padding: 0px;
    background: #f6f6f6;
    color: #222;
    letter-spacing: 0;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 18px;
    height: 100%;
    min-height: 100%;
    touch-action: manipulation;
}

body.wait,
body.wait * {
    cursor: wait !important;
}

input, textarea {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
}

a {
    color: #333;
    text-decoration: none;
}

.bold {
    font-weight: bold;
}

.taright {
    text-align: right;
}

@media all and (min-width: 600px) {
    .imjs-notifier {
        left: 50%;
        transform: translateX(-50%);
        width: auto;
    }
}

.flatpickr-day.dayHasData {
    background: #b4ffbb;
    box-shadow: none;
    color: blue;
    border-color: blue;
}

.fixed-table-toolbar {
    margin-bottom: 5px;
}

#deviceDeadlinesContent .fixed-table-toolbar, #deviceTasksContent .fixed-table-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 5px;
    margin-top: 0px;
    flex-wrap: wrap;
}

#deviceDeadlinesContent .fixed-table-toolbar .columns, #deviceDeadlinesContent .fixed-table-toolbar .search {
    margin-bottom: 0px;
}

#deviceTasksContent .fixed-table-toolbar .columns, #deviceTasksContent .fixed-table-toolbar .search {
    margin-bottom: 0px;
}

.bootstrap-table.fullscreen .fixed-table-toolbar > div:not(.columns-right), .bootstrap-table.fullscreen .fixed-table-toolbar > select {
    display: none !important;
}

.card-view-title {
    min-width: initial !important;
    -ms-flex: 1; /* IE 10 */
    flex: 1;
}

.card-view-value {
    -ms-flex: 2; /* IE 10 */
    flex: 2;
}

.easilyInvisible {
    opacity: 0.2;
}

.easilyInvisible:hover {
    opacity: 1;
}

.inlineBlock {
    display: inline-block;
}

.vamiddle {
    vertical-align: middle;
}

.relative {
    position: relative;
}

.tableDateFrom, .tableDateTo, .tableDateFilter, .flatpickr-weekdaycontainer {
    -webkit-touch-callout: none;
    -webkit-user-select: none; /* Safari 3.1+ */
    -khtml-user-select: none;
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none;
}

.noSelect {
    -webkit-touch-callout: none;
    -webkit-user-select: none; /* Safari 3.1+ */
    -khtml-user-select: none;
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none;
}

.main-wrapper {
    display: flex;
    flex-direction: column;
    flex: 0px;
    min-height: 100%;
}

/* Header */
.main-header {
    padding: 0px 0px 0px 0px;
    width: 100%;
    z-index: 10;
}

.main-header > .inner { /*display: flex; flex-flow: row nowrap;*/
    z-index: 5;
    width: 100%;
    min-height: 47px;
    background: #fff;
}

.main-header > .inner .side {
    flex: 0 0 auto;
    width: 260px;
    height: 100%;
    border-bottom: 1px solid #d5d5d5;
    border-right: 1px solid #d5d5d5;
}

.main-header > .inner .side.small {
    width: 135px;
}

.main-header > .inner .side > .logo {
    display: block;
    height: 40px;
    background: url('../images/main-logo.svg') center center no-repeat;
    background-size: contain;
    position: relative;
    top: 3px;
}

.main-header > .inner .middle {
    display: flex;
    flex-flow: row nowrap;
    flex: 1 1 auto;
    align-items: center;
    height: 100%;
    border-bottom: 1px solid #d5d5d5;
}

.main-header > .inner .middle > .menu {
    display: flex;
    flex: 2 1 auto;
    align-items: start;
    justify-content: start;
}

.main-header > .inner .middle > .menu > .item {
    text-align: center;
    display: block;
    flex: 0 0 auto;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -o-user-select: none !important;
    user-select: none !important;
}

.main-header > .inner .middle > .menu > .item.parentItem {
    position: relative;
    cursor: pointer;
}

.main-header > .inner .middle > .menu .item.parentItem .childItems {
    display: flex;
    position: absolute;
    flex-direction: column;
    left: 100%;
    width: max-content;
    background: #fff;
    border: 1px solid #d5d5d5;
}

.main-header > .inner .middle > .menu > .item.parentItem > .childItems {
    top: 46px;
    left: -16px;
}

.main-header > .inner .middle > .menu > .item.parentItem:first-child > .childItems {
    left: -1px;
}

.main-header > .inner .middle > .menu .item.parentItem.subParentItem > .positionerDiv {
    display: none;
    position: relative;
    top: -23px;
    left: 25px;
}

.main-header > .inner .middle > .menu .item.parentItem.subParentItem:hover > .positionerDiv {
    display: unset;
}

.main-header > .inner .middle > .menu .item.parentItem.subParentItem > .positionerDiv > .childItems {
    border: none;
    outline: 1px solid #d5d5d5;
}

.main-header > .inner .middle > .menu .item.parentItem.subParentItem > .positionerDiv .childMenuCategory {
    display: none;
}

.main-header > .inner .middle > .menu .item.parentItem .childItems > .item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-column-gap: 4px;
    align-items: center;
    width: 100%;
    padding: 14px 24px;
    text-align: left;
}

.main-header > .inner .middle > .menu > .item.parentItem:first-child > .childItems > .item {
    padding: 14px 24px 14px 10px;
}

.main-header > .inner .middle > .menu .item.parentItem.subParentItem {
    grid-template-columns: 1fr 0 0 !important;
}

.main-header > .inner .middle > .menu .item.parentItem > .parentItemName > .childMenuIndicator.mobile,
.main-header > .inner .middle > .menu .item.parentItem.subParentItem > .childMenuIndicator {
    position: relative;
    left: 7px;
    color: #aaa;
}

.main-header > .inner .middle > .menu .item.parentItem > .parentItemName > .childMenuIndicator.mobile {
    display: none;
}

.main-header > .inner .middle > .menu > .item > a > i {
    font-size: 13px;
    line-height: 46px;
    color: #333;
}

.main-header > .inner .middle > .menu > .item > a > i.fa-warehouse {
    position: relative;
    top: -1px;
}

.main-header > .inner .middle > .menu > .item > a,
.main-header > .inner .middle > .menu > .item.parentItem > .parentItemName {
    display: block;
    flex: 0 0 auto;
    position: relative;
    height: 46px;
    padding-left: 10px;
    padding-right: 10px
}

.main-header > .inner .middle > .menu > .item.parentItem > .parentItemName {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-header > .inner .middle > .menu .item.active {
    background-color: #f5f5f5;
}

.main-header > .inner .middle > .menu .item:hover {
    background-color: #ededed;
}

.main-header > .inner .middle > .controls {
    display: flex;
    flex: 2 1 auto;
    align-items: center;
    justify-content: flex-end;
}

.main-header > .inner .middle > .controls > .profile {
    display: block;
    flex: 0 0 auto;
    padding: 0px 13px;
}

.main-header > .inner .middle > .controls > .profile .name {
    display: block;
    height: 46px;
    line-height: 46px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

.main-header > .inner .middle > .controls > .profile:hover {
    background-color: #f5f5f5;
}

.main-header > .inner .middle > .controls > .changeUser {
    display: block;
    flex: 0 0 auto;
}

.main-header > .inner .middle > .controls > .changeUser > span {
    display: block;
    flex: 0 0 auto;
    position: relative;
    width: 46px;
    height: 46px;
    cursor: pointer;
}

.main-header > .inner .middle > .controls > .changeUser > span > i {
    display: block;
    position: absolute;
    left: 15px;
    top: 15px;
    width: 16px;
    height: 16px;
    background-size: cover;
    font-size: 16px;
}

.main-header > .inner .middle > .controls > .changeUser > span:hover {
    background-color: #f5f5f5;
}

.main-header > .inner .middle > .controls > .logout {
    display: block;
    flex: 0 0 auto;
}

.main-header > .inner .middle > .controls > .logout > a {
    display: block;
    flex: 0 0 auto;
    position: relative;
    width: 46px;
    height: 46px;
}

.main-header > .inner .middle > .controls > .logout > a > i {
    display: block;
    position: absolute;
    left: 15px;
    top: 15px;
    width: 16px;
    height: 16px;
    background: url('../images/icons/exit-x32-gray.png') center center no-repeat;
    background-size: cover;
}

.main-header > .inner .middle > .controls > .logout > a:hover {
    background-color: #f5f5f5;
}

.main-header > .inner .middle > .controls > .goToDataAlmic {
    display: block;
    flex: 0 0 auto;
}

.main-header > .inner .middle > .controls > .goToDataAlmic > a {
    display: block;
    flex: 0 0 auto;
    position: relative;
    width: 46px;
    height: 46px;
}

.main-header > .inner .middle > .controls > .goToDataAlmic > a > i {
    display: block;
    position: absolute;
    left: 12px;
    top: 15px;
    width: 24px;
    height: 17px;
    background: url('../images/data.almic.png?v1') center center no-repeat;
    background-size: cover;
}

.main-header > .inner .middle > .controls > .goToDataAlmic > a:hover {
    background-color: #f5f5f5;
}

.main-header > .inner .middle > .controls > .portalNavigationMenu {
    height: 100%;
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    --portal-menu-height: 46px;
}

.main-header > .inner .middle > .controls > .portalNavigationMenu:hover {
    background-color: #f5f5f5;
}

.main-header > .inner .middle > .controls > .portalNavigationMenu > li {
    display: flex;
    align-items: center;
    position: relative;
    height: var(--portal-menu-height);
}

.main-header > .inner .middle > .controls > .portalNavigationMenu > li > span {
    padding-inline: 12px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    cursor: default;
}

.main-header > .inner .middle > .controls > .portalNavigationMenu > li > span > i.portal-navigation-icon {
    display: block;
    width: 24px;
    height: 17px;
    background: url(../images/data.almic.png) center center no-repeat;
    background-size: cover;
}

.main-header > .inner .middle > .controls > .portalNavigationMenu > li ul.submenu {
    display: block;
    position: absolute;
    top: var(--portal-menu-height);
    width: max-content;
    --easing: 0.3s;
    padding: 0;
    font-size: 12px;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-top: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.main-header > .inner .middle > .controls > .portalNavigationMenu > li > ul.submenu {
    padding-block: 10px;
    right: -1px;
}

.main-header > .inner .middle > .controls > .portalNavigationMenu > li > ul.submenu > li {
    padding-inline: 20px;
}

.main-header > .inner .middle > .controls > .portalNavigationMenu > li > ul.submenu {
    max-width: 400px;
}

.main-header > .inner .middle > .controls > .portalNavigationMenu > li > ul.submenu {
    opacity: 0;
    transition: opacity var(--easing) ease-out, top 0s var(--easing) ease-out;
}

.main-header > .inner .middle > .controls > .portalNavigationMenu > li:not(:hover) > ul.submenu {
    top: -1000px;
}

.main-header > .inner .middle > .controls > .portalNavigationMenu > li:hover > ul.submenu {
    opacity: 1;
    transition: opacity var(--easing) ease-out;
}

.main-header > .inner .middle > .controls > .portalNavigationMenu > li > ul.submenu > li {
    display: block;
}

.main-header > .inner .middle > .controls > .portalNavigationMenu > li > ul.submenu > li > .link {
    display: block;
    line-height: 18px;
    font-size: 12px;
    color: #333333;
    padding: 4px 20px 4px 5px;
    position: relative;
}

.main-header > .inner .middle > .controls > .portalNavigationMenu > li > ul.submenu > li > .link:hover {
    background: #f5f5f5;
    border-radius: 3px;
}

.main-header > .inner .middle > .controls > .downloadApp {
    display: block;
    flex: 0 0 auto;
}

.main-header > .inner .middle > .controls > .downloadApp > a {
    display: block;
    flex: 0 0 auto;
    position: relative;
    width: 46px;
    height: 46px;
    text-align: center;
}

.main-header > .inner .middle > .controls > .downloadApp > a > i {
    display: block;
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 17px;
}

.main-header > .inner .middle > .controls > .downloadApp > a:hover {
    background-color: #f5f5f5;
}

.main-header > .inner .middle > .controls > .mobileMenu {
    display: block;
    flex: 0 0 auto;
}

.main-header > .inner .middle > .controls > .mobileMenu > span {
    cursor: pointer;
    text-align: center;
    display: block;
    flex: 0 0 auto;
    position: relative;
    width: 46px;
    height: 46px;
}

.main-header > .inner .middle > .controls > .mobileMenu > span > i {
    font-size: 18px;
    line-height: 46px;
    color: #333;
}

.main-header > .inner .middle > .controls > .mobileMenu > span:hover {
    background-color: #f5f5f5;
}

/* Area */
.main-area {
    flex: 1 1 auto;
    display: flex;
    position: relative;
    min-height: 100%;
}

.main-area > .main-sidebar {
    flex: 0 0 auto;
    width: 260px;
    z-index: 5;
    max-width: 55%;
}

.main-area > .main-content {
    flex: 1 1 auto;
    /*padding:0px 0px 45px 0px;*/
    padding: 0px;
    overflow-x: auto;
    /*min-height: 100%;*/
    /*height: 100vh;*/
    /*-ms-overflow-x: auto;
    height: 100%;
    position: relative;
    white-space: nowrap;*/
}

/* Sidebar */
.main-sidebar {
    background: white;
    position: relative;
}

.main-sidebar > .main-sidebar-inner {
    border-right: 1px solid #d5d5d5;
    height: 100%;
}

.main-sidebar > .main-sidebar-inner > .section {
    margin: 0px;
}

.main-sidebar > .main-sidebar-inner > .section:last-child {
    margin-bottom: 0px;
}

.main-sidebar > .main-sidebar-inner > .section > .name {
    display: block;
    padding: 10px 0px 10px 0px;
    font-size: 10px;
    font-weight: bold;
    line-height: 15px;
    color: #888;
    text-transform: uppercase;
    cursor: default;
}

.main-sidebar > .ui-resizable-handle {
    width: 5px;
    z-index: 0 !important;
    cursor: col-resize;
}

/* Module */
.module-container > .nav {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    align-items: center;
    border-bottom: 1px solid #d5d5d5;
    background: #f2f2f2;
    font-size: 0px;
}

.module-container > .nav > li {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    overflow: hidden;
    border-right: 1px solid #ccc;
}

.module-container > .nav > li > a {
    display: block;
    height: 36px;
    line-height: 36px;
    padding: 0px 20px;
    font-size: 13px;
    font-weight: bold;
    color: #777;
}

.module-container > .nav > li > a > i {
    float: left;
    width: 16px;
    height: 16px;
    margin-right: 12px;
    font-size: 16px;
    line-height: 36px;
    text-align: center;
}

.module-container > .nav > li > a > i.fa-industry {
    margin-right: 7px;
}

.module-container > .nav > li > span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
    display: block;
    height: 36px;
    line-height: 36px;
    padding: 0px 15px;
    font-size: 13px;
    font-weight: bold;
    color: #777;
}

.module-container > .nav > li > span > i {
    float: left;
    width: 16px;
    height: 16px;
    margin-right: 12px;
    font-size: 16px;
    line-height: 36px;
    text-align: center;
}

.module-container > .nav > li:hover a, .module-container > .nav > li:hover span {
    color: #555;
    background: #e7e7e7;
}

.module-container > .nav > li.active {
    background: #e7e7e7;
}

.module-container > .nav > li.active > a {
    color: #000;
}

.module-container .head {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    padding: 10px 20px;
    justify-content: space-between;
}

.module-container .head > .title {
    display: block;
    flex: 1 1 auto;
    font-size: 26px;
    color: #333;
    cursor: default;
}

.module-container .head .middle {
    display: block;
    flex: 1 1 auto;
}

.module-container .head .side {
    display: flex;
    flex: 0 1 auto; /*padding:0px 2px;*/
    align-items: center;
    justify-content: flex-end;
}

.module-container .head .side > .cell {
    display: block;
    flex: 0 0 auto;
    padding: 0px 2px;
}

.module-container .head .side > .cell:last-child {
    padding-right: 0px;
}

.module-container .head .side > .cell > .im-button {
    margin: 0px 0px;
}

.module-container > .content {
    padding: 0px 20px;
}

.module-container > .deviceContent > .content {
    padding: 0px 20px;
}

/* Footer */
.main-footer {
    text-align: center;
    height: 35px;
    line-height: 35px;
    min-width: 750px;
}

.main-footer.sidebar-space {
    text-indent: 260px;
    position: relative;
}

.main-footer.sidebar-space::before {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 260px;
    height: 100%;
    content: "";
    background: #263238;
    border-right: 1px solid #000;

}

.main-footer > .text {
    display: block;
    padding: 10px 0px;
    font-size: 12px;
    line-height: 15px;
    color: #444;
    font-weight: bold;
    text-align: center;
}

.imjs-popup.imjs-default > .imjs-inner > .imjs-content {
    padding: 1px;
}

/* Auto view */
.main-wrapper > .auto > .copyright {
    font-size: 13px;
    line-height: 16px;
    color: #999;
    text-align: center;
}

.main-wrapper > .auto > .copyright > a {
    color: #999;
}

.main-wrapper > .auto > .copyright > a:hover {
    color: #111;
}

/* Devices */
#devices-section {
    background: white;
}

#search-section {
    padding: 0px 10px 2px 10px;
    background: white;
}

.device i.deviceStatusIcon {
    font-size: 9px;
    vertical-align: top;
}

.devices-row {
    padding: 0px 10px 0px 10px;
}

.devices-row .action-icon {
    position: relative;
}

.devices-row .action-icon:not(#close-tree):before {
    /*content: '';
    border: 0.4px solid rgba(136, 136, 136, 0.5686274509803921);
    position: absolute;
    left: 0px;
    bottom: 13px;
    height: 9px;*/
}

#devices-name, #search-name {
    display: inline-block;
    padding: 10px 0px 10px 0px;
    font-size: 10px;
    font-weight: bold;
    line-height: 15px;
    color: #888;
    text-transform: uppercase;
    cursor: default;
}

#refresh-tree, #close-tree, #open-tree, #close-devices {
    display: inline-block;
    float: right;
    padding: 10px 5px 10px 5px;
    font-size: 8px;
    font-weight: bold;
    line-height: 15px;
    color: rgba(136, 136, 136, 0.5686274509803921);
    cursor: pointer;
}

#refresh-tree:hover, #close-tree:hover, #open-tree:hover, #close-devices:hover {
    color: #888;
}

#close-devices {
    padding: 10px 10px 10px 15px;
    position: absolute;
    right: 0;
}

#search-devices {
    width: 100%;
    height: 30px;
    border: 0px;
    /*text-indent: 10px;*/
    display: block;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.12);
    font-size: 14px;
}

.taskPausesPopup {
    overflow-y: scroll;
    overflow-x: auto;
    max-height: 50vh;
    max-width: 98vw;
}

.removeTaskPause:hover {
    color: red;
}

.taskDevicesPopup, .moveDevicesPopup {
    overflow-y: scroll;
    overflow-x: auto;
    max-height: 80vh;
    height: 80vh;
    max-width: 98vw;
}

.taskDevices {
    max-height: 80vh;
    max-width: 98vw;
    overflow-y: scroll;
    overflow-x: auto;
}

.taskDevicesPopup .actions, .moveDevicesPopup .actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

#task-devices-area .name {
    /*display: inline-block;
    width: 85%;
    vertical-align: middle;*/
    position: relative;
}

#task-devices-area .im-checkbox {
    position: absolute;
    right: 0;
    top: 25%;
}

#task-devices-area .taskAddDeviceCheckBox {
    right: 23px;
}

#task-devices-area .taskAddDeviceIndex {
    position: absolute;
    right: 60px;
    width: 40px;
    top: 0;
    height: 30px;
    padding: 0px 0px 0px 3px;
}


#devices-area, #task-devices-area {
    color: #333;
    display: table;
    width: 100%;
    margin-bottom: 50px;
}

#devices-area li, #task-devices-area li {
    cursor: default;
    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none;
}

#devices-area .name:not(.searchFound):hover, #task-devices-area .name:not(.searchFound):hover {
    background-color: #f5f5f5;
}

#devices-area .searchFound:hover, #task-devices-area .searchFound:hover {
    background-color: rgba(139, 195, 74, 0.7803921568627451);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 20px;
    height: 20px;
    background-color: #edeef0;
}

::-webkit-scrollbar {
    width: 14px;
    height: 14px;
    background-color: #edeef0;
}

::-webkit-scrollbar-thumb {
    background-color: #d3d3d3;
}

#devices-wrp {
    overflow: auto;
    background: white;
    position: absolute;
    top: 100px;
    left: 0;
    bottom: 0;
    right: 0;
    border-right: 1px solid #d5d5d5;
}

.factory {
    /*padding: 0px 10px 0px 10px;*/
    width: 100%;
}

.factory.open {
    background-color: #f5f5f5;
}

.factory .name {
    cursor: default;
    padding: 6px 5px 6px 10px;
    border: 1px solid transparent;
}

.factory .name.selected:not(.searchFound) {
    border: 1px dashed #e1e1df;
    background-color: #f5f5f5;
}

.factory .searchFound.selected {
    border: 1px dashed #31c331;
    background-color: rgba(139, 195, 74, 0.7803921568627451);
}

.name.opened .openItem {
    display: none !important;
}

.name.closed .closeItem {
    display: none !important;
}

.factory .nested {
    padding-left: 15px;
}

.factory .nested:not(.opened) {
    display: none;
}

.openItem {
    cursor: pointer;
}

.closeItem {
    cursor: pointer;
}

#devices-area, #devices-area ul, #devices-area li {
    position: relative;
    white-space: nowrap;
}

#devices-area li {
    /*display: table-cell;
    width: 100vw;*/
}

#devices-area li:not(.factory)::before, #devices-area li:not(.factory)::after {
    content: "";
    position: absolute;
    left: -4px;
}

#devices-area li:not(.factory)::before {
    border-top: 1px solid #e1e1df;
    top: 15px;
    width: 4px;
    height: 0;
}

#devices-area li:not(.factory)::after {
    border-left: 1px solid #e1e1df;
    height: calc(100% + 15px);
    width: 0px;
    top: 0px;
}

#devices-area ul > li:not(.factory):last-child::after {
    height: 15px;
}

.context-menu-list {
    border: none;
    box-shadow: 0 1px 0 0 #d7d8db, 0 0 0 1px #e3e4e8;
    border-radius: 0;
    font-size: 13px;
}

.searchFound {
    background-color: rgba(193, 231, 149, 0.7803921568627451);
}

.open-devices-strip {
    position: relative;
    width: 20px;
    background: #fff;
    cursor: pointer;
    border-right: 1px solid #d5d5d5;
}

.open-devices-strip .open-devices {
    position: absolute;
    top: 10px;
    left: 6px;
    font-size: 8px;
    font-weight: bold;
    color: rgba(136, 136, 136, 0.5686274509803921);
}

.open-devices-strip:hover .open-devices, .open-devices-strip:hover .open-devices-strip-name {
    color: #888;
}

.open-devices-strip-name {
    color: rgba(136, 136, 136, 0.5686274509803921);
    font-size: 10px;
    position: relative;
    top: 37px;
    transform: rotate(90deg);
    /* Safari */
    -webkit-transform: rotate(90deg);

    /* Firefox */
    -moz-transform: rotate(90deg);

    /* IE */
    -ms-transform: rotate(90deg);

    /* Opera */
    -o-transform: rotate(90deg);
}

.fa {
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
}

.module-container-backup {
    display: none;
}

.colFile {
    min-width: 110px;
    max-width: 110px !important;
    height: 100px;
    margin: 8px 0px 8px 12px;
    padding: 0;
    -webkit-animation: fileFadeIn .6s ease;
    animation: fileFadeIn .6s ease;
}

.colFile.colTableFile {
    min-width: 50px;
    max-width: 50px !important;
    height: 50px;
    margin: 0 4px 10px;
}

.colFile .file-item-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.02);
    overflow: hidden;
    z-index: 1;
}

.colFile .type-holder {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 0px 5px;
    background: rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    color: #fff;
    font-size: 9px;
    border-radius: 4px;
    z-index: 2;
}

.colFile .actions-holder {
    position: absolute;
    top: 1px;
    right: 3px;
    z-index: 2;
    height: 20px;
}

.colFile .content-holder {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 6px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 0;
}

.colFile .content-holder h5 {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: normal;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.colFile .content-holder span {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.colFile .thumbnail-holder {
    width: 100%;
    height: 100%;
}

.colFile .file-item-image {
    border-radius: 6px;
    background: #8e8e8e;
    position: relative;
    text-align: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.colFile .file-item-icon {
    border-radius: 6px;
    background: #8e8e8e;
    position: relative;
    text-align: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.colFile.colTableFile .file-item-image,
.colFile.colTableFile .file-item-icon {
    bottom: 17px;
}

.colFile .file-item-image img {
    left: 50%;
    top: 50%;
    position: absolute;
    max-width: none;
    transform: translateX(-50%) translateY(-50%);
    max-height: 100%;
    cursor: pointer;
}

.colFile .file-item-icon i {
    left: 50%;
    top: 50%;
    position: absolute;
    max-width: none;
    transform: translateX(-50%) translateY(-50%);
    max-height: 100%;
    font-size: 53px;
    color: white;
    opacity: 0.5;
}

.colFile.colTableFile .file-item-icon i {
    font-size: 30px;
}

.colFile .file-action {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    cursor: pointer;
    vertical-align: top;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.colFile.colTableFile .file-action {
    top: -6px;
}

.colFile .file-action.file-action-remove i {
    color: #fff;
    font-size: 12px;
    text-shadow: none;
}

.colFile .file-action.file-action-remove i:hover {
    background: #fe7676;
    box-shadow: -1px 1px 6px rgba(254, 118, 118, .8);
    font-size: 10px;
}


.colFile .file-action i {
    display: inline-block;
    width: 100%;
    height: 100%;
    font-size: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 15%;
}

.colFile.colTableFile .file-action i {
    font-size: 14px;
}

@-webkit-keyframes fileFadeIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes fileFadeIn {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

.noFiles {
    padding: 5px 0px 5px 5px;
}

/* Magnify less style */
.magnify-modal {
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.3);
}

.magnify-header .magnify-toolbar {
    background-color: rgba(0, 0, 0, .5);
}

.magnify-stage {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-width: 0;
}

.magnify-footer .magnify-toolbar {
    background-color: rgba(0, 0, 0, .5);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.magnify-header,
.magnify-footer {
    pointer-events: none;
}

.magnify-button {
    pointer-events: auto;
}

.magnify-image {
    max-width: none;
}

.showDeviceFile, .showWarehouseFile, .showDeadlineFile {
    cursor: pointer;
}

.fa-microchip {
    color: #50b3ea;
}

.fa-industry {
    color: #437b4d;
}

#devices-file-uploader {
    display: none;
}

.deviceFileIcon {
    color: #f79df3;
}

.warehouseFilesCount, .warehouseSparesCount, .reservedSparesCount, .sparesCount, .filesCount, .devicesCount {
    font-size: 7px;
    position: absolute;
    top: -8px;
    right: 2px;
}

.taskDoneFilesCount, .taskDoneSparesCount, .deadlineFilesCount, .deadlineDevicesCount, .taskFilesCount {
    font-size: 8px;
    position: absolute;
    top: -8px;
    right: 4px;
}

span[data-action="openWarehouseItemFiles"], span.openWarehouseItemFiles {
    position: relative;
}

span[data-action="showTaskFiles"], span.showTaskFiles, span[data-action="showTaskSpares"], span.showTaskSpares, span[data-action="editTaskSpares"], span.editTaskSpares, span[data-action="editDeviceTaskSpares"], span.editDeviceTaskSpares {
    position: relative;
}

.colWarehouseFile, .colDeadlineFile, .colTaskFile {
    margin: 8px 6px 8px 6px;
}

.noWarehouseFiles {
    height: 19px;
}

#automation-program-uploader {
    width: 100%;
}

.warehouseItemPopup .content {
    max-height: 75vh;
    overflow: auto;
}

.im-panel.popupCustomHeight {
    max-height: 85vh;
    max-width: 98vw;
    overflow-y: scroll;
    overflow-x: auto;
}

.im-panel.taskDatetimePopup {
    max-height: 80vh;
    max-width: 98vw;
    overflow-y: scroll;
    overflow-x: auto;
    width: 350px;
}

.formulaField {
    background: #9d9f56;
    color: white !important;
}

.formulaField:hover {
    background: #898a8c !important;
}

.formSelectItems, .formSelectedItems {
    width: 100%;
    max-width: 100%;
    overflow: auto;
    max-height: 80px;
    height: 80px;
    border: 1px solid #ccc;
}

.formSelectItems li, .formSelectedItems li, #shiftsNightList li, #shiftsDayList li, #taskFormDatetime li, #taskFormWeekdayList li {
    padding: 3.7px;
    border-bottom: 1px solid #ccc;
    color: #333;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.formSelectItems li:last-child, .formSelectedItems li:last-child, #shiftsNightList li:last-child, #shiftsDayList li:last-child, #taskFormDatetime li:last-child, #taskFormWeekdayList li:last-child {
    border-bottom: none;
}

.formSelectItems li:hover, .formSelectedItems li:hover, #shiftsNightList li:hover, #shiftsDayList li:hover, #taskFormDatetime li:hover, #taskFormWeekdayList li:hover {
    background: #f4f4f4;
}

.formSelectItemsColumn, .formSelectedItemsColumn {
    width: 50%;
    display: inline-block;
    margin: 1px;
}

#taskFormDatetime, #taskFormWeekdayTime, #taskFormShiftsDay, #taskFormShiftsNight {
    width: 50%;
    overflow: auto;
    max-height: 80px;
    height: 80px;
    border: 1px solid #ccc;
    margin: 1px;
}

.serialChangedError td {
    background: rgba(255, 0, 0, 0.80) !important;
    color: white !important;
}

.serialChangedError:hover td {
    background: rgba(255, 0, 0, 0.99) !important;
}


table.icon-bg-white td .im-button, .icon-bg-white {
    background-color: white !important;
}

.urgentExpiredTask td {
    background: rgba(255, 0, 0, 0.99) !important;
    color: white !important;
}

.urgentExpiredTask:hover .card-view-value {
    color: white !important;
}

.expiredTask td {
    background: rgba(255, 0, 0, 0.65) !important;
    color: white !important;
}

.expiredTask:hover td {
    background: rgba(255, 0, 0, 0.95) !important;
}

.expiredTask:hover .card-view-value {
    color: white !important;
}

.groupBy.doneTask td {
    background: rgba(50, 250, 50, 0.25) !important;
}

.groupBy.doneTask:hover td {
    background: rgba(50, 250, 50, 0.5) !important;
}

.color.all-tasks-completed {
    background: rgba(50, 250, 50, 0.25);
}

.color.all-tasks-completed:hover {
    background: rgba(50, 250, 50, 0.5);
}

.color.task-expired:hover {
    background: rgba(255, 0, 0, 0.95) !important;
}

.color:hover {
    filter: brightness(95%);
}

.row-bright-hover:not(.all-tasks-completed):not(.task-expired):hover {
    filter: brightness(95%);
}

.openCategoriesBlock, .openTasksBlock, .openFieldsBlock, .openUsersBlock, .openGroupsBlock, .openDeadlinesBlock, .openShiftsDayNightBlock {
    cursor: pointer;
    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none;
}

.openCategoriesBlock.noData, .openTasksBlock.noData, .openFieldsBlock.noData, .openUsersBlock.noData, .openGroupsBlock.noData, .openDeadlinesBlock.noData, .openShiftsDayNightBlock.noData {
    opacity: 0.3;
}

.openCategoriesBlock:hover, .openTasksBlock:hover, .openFieldsBlock:hover, .openUsersBlock:hover, .openGroupsBlock:hover, .openDeadlinesBlock:hover, .openShiftsDayNightBlock:hover {
    color: #1f79bc !important;
    opacity: 1;
}

.categoriesBlock.closed, .tasksBlock.closed, .fieldsBlock.closed, .usersBlock.closed, .groupsBlock.closed, .shiftsBlock.closed, .deadlinesBlock.closed, .shiftsDayNightBlock.closed {
    display: none;
}

.openCategoriesBlock i, .openTasksBlock i, .openFieldsBlock i, .openUsersBlock i, .openGroupsBlock i, .openDeadlinesBlock i, .openShiftsDayNightBlock i {
    font-size: 11px;
}

/* Multi select */
.multi-select {
    position: relative;
}

.multi-select > .selected-values::-webkit-scrollbar,
.multi-select > .options::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.multi-select > .selected-values {
    display: block;
    padding: 5px 11px 5px 5px;
    border: 1px solid #d5d5d5;
    font-size: 14px;
    color: #888;
    cursor: pointer;
    white-space: nowrap;
    overflow: auto;
}

.multi-select:hover > .selected-values,
.multi-select > .selected-values.options-selected {
    color: unset;
    border-color: #888;
}

.multi-select > .options {
    position: absolute;
    z-index: 9;
    display: grid;
    min-width: 100%;
    max-height: 201px;
    overflow-x: auto;
    background: #fff;
    border: 1px solid #d5d5d5;
}

.multi-select > .options > label[data-action="selectAllMultiSelectOptions"] {
    font-weight: bold;
}

.multi-select > .options > .filter-multi-select-options {
    padding: 0 5px;
    width: auto;
    border-width: 0 0 1px;
}

.multi-select > .options > .im-checkbox {
    border: 5px solid transparent;
    cursor: pointer;
    min-width: max-content;
}

.multi-select > .options > .im-checkbox:nth-child(odd) {
    background: #eee;
}

.multi-select > .options > .im-checkbox:hover {
    background: #ddd;
}

.multi-select + .dropdown-indicator {
    position: absolute;
    bottom: 7px;
    right: 3px;
    z-index: 1;
    pointer-events: none;
}

.qrScanner {
    background: black;
    height: 100%;
    width: 100vw;
    overflow: hidden;
}

.qrScanner #canvas {
    width: 100vw;
    height: 87%;
}

.closeQrScanner {
    width: 100vw;
    height: 13%;
    background: white;
    text-align: center;
    font-size: 6vh;
    cursor: pointer;
}

.closeQrScanner i {
    top: 20%;
    position: relative;
}

.closeQrScanner:hover i {
    color: red;
}

.width35 {
    width: 35px;
}

.width50 {
    width: 50px;
}

.periodName {
    max-width: 142px;
}

.popupDiagnosticsCustom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 90vw;
    width: 1300px;
    max-height: 84vh;
    overflow: auto;
}

.popupCustomWidth {
    width: 800px;
    max-width: 100%;
}

.filesPopupCustomWidth {
    width: 520px;
    max-width: 100%;
}

.imjs-notifier {
    z-index: 999999;
}

.blockSelectedAnimation {
    animation: border-dance 4s infinite linear;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 50%, transparent 50%), linear-gradient(90deg, rgba(0, 0, 0, 0.35) 50%, transparent 50%), linear-gradient(0deg, rgba(0, 0, 0, 0.35) 50%, transparent 50%), linear-gradient(0deg, rgba(0, 0, 0, 0.35) 50%, transparent 50%);
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 15px 2px, 15px 2px, 2px 15px, 2px 15px;
}

.center {
    text-align: center;
}

#taskWeekdayResultTable tr, #taskDatetimeResultTable tr {
    display: table;
    width: 100%;
}

@keyframes border-dance {
    0% {
        background-position: 0 0, 100% 100%, 0 100%, 100% 0;
    }
    100% {
        background-position: 100% 0, 0 100%, 0 0, 100% 100%;
    }
}

.futureDeadline {
    opacity: 0.5;
}

.futureDeadline:hover {
    opacity: 1;
}

#automationProgramsFactorySelect, #worksFactorySelect, #tasksFactorySelect, #reportsFactorySelect, #warehouseFactorySelect, #warehouseCategorySelect, #shiftFactorySelect, #shiftGroupSelect, #nfcFactorySelect {
    max-width: 190px;
    width: auto;
    vertical-align: middle;
}

.tableDateFilter {
    text-align: right;
}

.tableDateFilter .tableDateFrom, .tableDateFilter .tableDateTo {
    width: 100px;
    text-align: center;
}

.numInput, .flatpickr-monthDropdown-months {
    box-shadow: none;
}

#addNewWork, #deviceAddNewWork {
    margin-right: 10px;
}

tr.groupBy td {
    font-weight: bold;
    cursor: pointer !important;
}

.grpByWsCnt {
    font-size: 10px;
    font-weight: 100;
    position: relative;
    top: -6px;
}

.bs-checkbox span {
    padding-left: 18px;
}

.selectedRows {
    display: inline-block;
    width: auto;
    box-shadow: inset 0px 0px 3px 0px #90EE90;
    margin-left: 10px;
    border-right: none;
    vertical-align: middle;
}

.diagnosticsSelectedRows {
    border-right: 1px solid #ccc !important;
    margin-top: -2px;
}

.selectedRows:hover {
    box-shadow: inset 0px 0px 5px 0px #90EE90;
}

.actionsWithSelectedRows:not(.hidden) {
    vertical-align: middle;
    width: auto !important;
    display: inline-block !important;
}

.floatRight {
    float: right;
}

.small {
    font-size: 9px;
    vertical-align: middle;
}

.bootstrap-table .fixed-table-pagination > .pagination, .bootstrap-table .fixed-table-pagination > .pagination-detail {
    margin-top: 5px;
    margin-bottom: 0px;
}

.im-panel > .panelHead > .title {
    padding: 10px 6px;
}

.icomoon-android {
    color: #05924f;
}

#showPinCompleted {
    display: inline-block;
    font-weight: 600;
}

input[name="pin"] {
    text-security: disc;
    -webkit-text-security: disc;
    -moz-text-security: disc;
}

#addIp {
    display: block;
    max-width: 320px;
    margin: 0 0 5px 0;
    padding: 7px 0;
    border: 1px dashed #ddd;
    background: #fafafa;
    text-align: center;
    color: #999;
    cursor: pointer;
}

#addIp:hover {
    background-color: #f4f4f4;
    color: #555;
    border-color: #aaa;
    text-shadow: 1px 1px #fff;
}

.bootstrap-table .table > tbody > tr.groupBy {
    -webkit-touch-callout: none;
    -webkit-user-select: none; /* Safari 3.1+ */
    -khtml-user-select: none;
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none;
}

.rowField:first-child {
    padding: 0px 0px 2px 0px;
}

.rowField {
    padding: 5px 0 2px 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
}

.rowFieldName {
    font-weight: 600;
    text-align: left;
    flex: 2;
}

.rowFieldValue {
    font-weight: 400;
    text-align: right;
    flex: 1;
    padding-right: 2px;
}

.numberInputMinus {
    padding: 10px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 1px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-right: 2px;
    opacity: 0.5;
    background: #e86460;
    color: white;
}

.numberInputPlus {
    padding: 10px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 1px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-left: 2px;
    opacity: 0.5;
    background: #6fb84e;
    color: white;
}

.numberInputMinus:hover, .numberInputPlus:hover {
    /*background: rgba(0,0,0,0.05);*/
    opacity: 1;
}

.requiredFieldInput {
    color: #ff0000;
    vertical-align: top;
    font-size: 11px;
    padding-left: 2px;
}

.arrayFieldWrapper {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.arrayFieldRemove {
    width: 25%;
    text-align: center;
    min-height: 35px;
    vertical-align: middle;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 1px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    opacity: 0.5;
    background: #e86460;
    color: white;
}

.arrayFieldName {
    width: 50%;
    text-align: center;
    min-height: 35px;
    vertical-align: middle;
}

.arrayFieldAdd {
    width: 25%;
    text-align: center;
    min-height: 35px;
    vertical-align: middle;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 1px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
    opacity: 0.5;
    background: #6fb84e;
    color: white;
}

.arrayFieldNameFull {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-wrap: wrap;
}

.im-panel > .panelHead {
    cursor: pointer;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -o-user-select: none !important;
    user-select: none !important;
}

.fieldsLeft {
    margin-left: 5px;
}

.arrayFieldAdd:hover, .arrayFieldRemove:hover {
    opacity: 1;
}

.worksToExcel {
    font-size: 16px;
}

.worksDeadlineTitle {
    padding-right: 15px;
}

#work-file-uploader-from-camera .icomoon-camera, #work-temp-file-uploader-from-camera .icomoon-camera, #task-file-uploader-from-camera .icomoon-camera, #task-temp-file-uploader-from-camera .icomoon-camera {
    margin-right: 0;
}

.fixed-table-toolbar .im-button {
    min-width: max-content;
}

.fa-angle-left {
    vertical-align: middle !important;
}

.container-max-width-1100 {
    max-width: 1100px;
    margin: auto;
}

.permissionTitle {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    width: 100%;
    padding-right: 14px !important;
}

.permissionTitle .cell.title {
    flex: 1 1 auto;
}

.permissionTitle .access-no, .access-yes {
    flex: 0 0 auto;
    width: 100px;
    text-align: center;
}

.permissionRow, .permissionSelectAllRow {
    display: flex;
    flex-flow: row nowrap;
    padding: 2px 7px !important;
    align-items: center;
    min-height: 40px !important;
    border-bottom: 1px solid #ddd;
}

.permissionSelectAllRow {
    font-weight: bold;
    border-bottom: 4px solid #ddd;
}

.permissionRow:hover, .permissionSelectAllRow:hover {
    background-color: #f2f2f2;
}

.content .permissionRow:last-child {
    border-bottom: none;
}

.permissionRow .cell, .permissionSelectAllRow .cell {
    flex: 1 1 auto;
    font-size: 13px;
    line-height: 16px;
}

.permissionRow .cell.access, .permissionSelectAllRow .cell.access {
    flex: 0 0 auto;
    width: 100px;
    text-align: center;
}

.content.up ~ .permissionTitle {
    display: none;
}

.pl-25 {
    padding-left: 25px !important;
}

.tdBigDiv {
    overflow-y: auto;
    max-height: 150px;
    height: auto;
    line-height: normal;
}

.permissionRow[data-module="permissions"] {
    background: red;
    color: white;
}

.im-form textarea {
    resize: vertical;
    max-height: 100vh;
    min-height: 30px;
}

.filterDatesByCss {
    position: absolute !important;
    top: 30px;
}

.mainCategories {
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}

#mainCategoriesList {
    display: flex;
    flex: 1;
}

#worksInfoIcon {
    display: flex;
    align-items: center;
    margin-right: 4px;
    cursor: pointer;
}

.mainCategory, .dashboardItem {
    font-size: 14px;
    padding: 6px 10px;
    border: 1px solid #eaeaea;
    margin: 0px 0px 0px 10px;
    cursor: pointer;
}

.diagnosticsRow {
    padding-left: 150px !important;
}

.groupCommenTextarea {
    width: 100%;
    resize: vertical;
    min-height: 90px;
    max-height: 600px;
}

.groupCommenTextarea.loading {
    line-height: 81px;
    color: #ccc;
    overflow-y: hidden;
}

@media all and (min-width: 993px) {
    .deviceContent .mainCategory:first-child, .deviceContent .dashboardItem:first-child {
        margin: 0 0 0 0px;
    }
}

.mainCategory:hover, .dashboardItem:hover, #kpiRightBlock .kpiTimeType:hover {
    border: 1px solid #ccc;
}

.mainCategory.active, .dashboardItem.active, #kpiRightBlock .kpiTimeType.active {
    background: #f5f5f5;
    border: 1px solid #ccc;
}

.showOnlyIncorrectValues {
    font-size: 14px;
    padding: 6px 10px;
    border: 1px solid #eaeaea;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.showOnlyIncorrectValues:hover {
    border: 1px solid #ccc;
}

.showOnlyIncorrectValues.active {
    background: #f5f5f5;
    border: 1px solid #ccc;
}

@media all and (max-width: 1200px) {
    .mainCategories {
        justify-content: space-around;
    }

    #mainCategoriesList {
        min-width: 100%;
    }

    .mainCategory, .dashboardItem {
        margin: 3px;
    }
}

@media all and (max-width: 992px) {
    .mainCategories {
        justify-content: center;
    }
}


@media all and (max-width: 1270px) {
    .main-header > .inner .middle > .menu .item.parentItem .childItems {
        position: unset;
        top: 0;
        left: 0;
        width: 100%;
        outline: none;
    }

    .main-header > .inner .middle > .menu > .item.parentItem > .childItems {
        outline: none;
        border: solid #d5d5d5;
        border-width: 2px 0;
    }

    .main-header > .inner .middle > .menu .item.parentItem .childItems > .item {
        display: flex;
        justify-content: center;
    }

    .main-header > .inner .middle > .menu > .item.parentItem:first-child > .childItems > .item {
        padding: 14px 0;
    }

    .main-header > .inner .middle > .menu .item.parentItem.subParentItem > .positionerDiv > .childItems {
        width: 100%;
        outline: none;
    }

    .main-header > .inner .middle > .menu > .item.parentItem > .parentItemName {
        justify-content: center;
    }

    .main-header > .inner .middle > .menu .item.parentItem.subParentItem {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-items: center;
        padding: 0 !important;
    }

    .main-header > .inner .middle > .menu .item.parentItem.subParentItem > .parentItemName,
    .main-header > .inner .middle > .menu .item.parentItem.subParentItem > .childMenuIndicator {
        display: none;
    }

    .main-header > .inner .middle > .menu .item.parentItem > .parentItemName > .childMenuIndicator.mobile {
        display: unset;
    }

    .main-header > .inner .middle > .menu .item.parentItem > .parentItemName > .childMenuIndicator.mobile.opened {
        transform: rotate(90deg);
    }

    .main-header > .inner .middle > .menu .item.parentItem.subParentItem > .positionerDiv {
        position: unset;
        display: block;
        width: 100%;
    }

    .main-header > .inner .middle > .menu .item.parentItem.subParentItem > .positionerDiv .childMenuCategory {
        display: block;
    }

    .main-header > .inner .middle > .menu .item.parentItem.subParentItem > .positionerDiv .childMenuCategory::after {
        content: "/";
        font-weight: bold;
    }
}

.icon.corrective {
    background-image: url("../images/icons/corrective.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px;
}

/* TOGGLE START */

.toggle-container {
    display: flex;
}

.toggle button {
    min-width: 100px;
    cursor: pointer;
}

.toggle [aria-pressed] {
    display: block;
    box-sizing: border-box;
    border: none;
    color: inherit;
    background: none;
    font: inherit;
    line-height: inherit;
    text-align: left;
    padding: 0.5rem 0 0 3.5rem;
    position: relative;
}

.toggle [aria-pressed]::before,
.toggle [aria-pressed]::after {
    content: "";
    position: absolute;
    height: 1.5rem;
    transition: all 0.25s ease;
}

.toggle [aria-pressed]::before {
    left: 0;
    top: 0.2rem;
    width: 3rem;
    border: 0.2rem solid #ccc;
    background: #ccc;
    /*border-radius: 1.1rem;*/
    border-radius: 1px;
}

.toggle [aria-pressed]::after {
    left: 0;
    top: 0.2rem;
    background-color: #fff;
    background-position: center center;
    /*border-radius: 50%;*/
    border-radius: 1px;
    width: 1.5rem;
    border: 0.15rem solid #ccc;
}

.toggle [aria-pressed=true]::after {
    left: 1.5rem;
    border-color: #23a55a;
    color: #23a55a;
    /*border-radius: 1rem;*/
    border-radius: 1px;
}

.toggle [aria-pressed=true]::before {
    background-color: #23a55a;
    border-color: #23a55a;
}

.toggle [aria-pressed]:active::after {
    width: 2rem;
    /*border-radius: 1rem;*/
    border-radius: 1px;
}

.toggle [aria-pressed=true]:active::after {
    left: 1rem;
}

.toggle [aria-pressed] svg {
    position: absolute;
    height: 1.5rem;
    top: 0.25rem;
    z-index: 1;
    transition: all 0.25s ease;
}

.toggle [aria-pressed=false] svg {
    left: 0.01rem;
}

.toggle [aria-pressed=false]:active svg {
    left: 0.3rem;
}

.toggle [aria-pressed=true] svg {
    left: 1.5rem;
}

.toggle [aria-pressed=true]:active svg {
    left: 1.35rem;
}

.toggle [aria-pressed] svg path {
    fill: #ccc;
    transition: all 0.25s ease;
}

.toggle [aria-pressed]:active svg path {
    fill: #8ebfa2;
}

.toggle [aria-pressed=true] svg path {
    fill: #23a55a;
}

.toggle [aria-pressed] label {
    text-transform: capitalize;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    cursor: pointer;
}

.toggle [aria-pressed="false"] label {
    color: #ccc;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -o-user-select: none !important;
    user-select: none !important;
}

.toggle [aria-pressed="false"]:hover label {
    color: initial;
}

.toggle [aria-pressed] label:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    background-color: rgba(35, 165, 90, 0.8);
    z-index: -1;
    bottom: -1px;
    width: 0px;
    transition: 0.25s all 0.1s ease;
}

.toggle [aria-pressed=true] label:before {
    width: 100%;
    z-index: 1;
}

/* TOGGLE END */

.hideWorks, .showWorks {
    font-size: 12px;
    padding: 4px 7px;
    border: 1px solid #eaeaea;
    cursor: pointer;
    background: #ccc;
    border-radius: 4px;
    position: relative;
    top: 2px;
    width: 100%;
}

.hideWorks {
    opacity: 0.4;
}

.hideWorks:hover {
    opacity: 1;
}

span[data-action="moveTaskUp"], span[data-action="moveTaskDown"] {
    margin: 0;
}

.taskWorkMenu {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    bottom: -2px;
    position: relative;
    overflow: hidden;
    padding-top: 5px;
}

.taskWorkSuggestions {
    display: flex;
    flex-flow: column;
    height: auto;
    max-height: 200px;
    width: 100%;
    background: white;
    position: absolute;
    border: 1px solid #ccc;
    z-index: 999;
    overflow-y: auto;
}

.taskWorkSuggestions > .taskWorkSuggestion {
    cursor: pointer;
    padding: 5px;
    border-bottom: 1px solid #ccc;
}

.taskWorkSuggestions > .taskWorkSuggestion:last-child {
    border-bottom: none;
}

.taskWorkSuggestions > .taskWorkSuggestion:hover {
    background: #eaeaea;
}

.pickDevices, .pickDevicesButton {
    position: relative;
}

.works-additional-info {
    .im-panel > .content {
        padding: 15px 40px;
    }

    .im-form > .row {
        column-gap: 15px;
        align-items: flex-start;
        margin-bottom: 5px;
    }

    .color {
        min-width: 60px;
        height: 24px;
        border-radius: 5px;
    }

    .color.task-waiting {
        border: 1px solid #dee2e6;
    }

    .color.task-completed {
        background: rgba(50, 250, 50, 0.15);
    }

    .color.task-expired {
        background: rgba(255, 0, 0, 0.60);
    }

    .explanations {
        text-align: left;
        max-width: 280px;
    }

    .explanations .main-explanation {
        display: flex;
        align-items: center;
        font-weight: bold;
        min-height: 24px;
    }

    .explanations .sub-explanation {
        color: #999;
        font-size: 13px;
        text-align: left;
        text-wrap: pretty;
        white-space: pre-line;
    }

    .row.title {
        font-size: 17px;
        font-weight: 700;
        text-transform: uppercase;
        border-bottom: 2px solid #dee2e6;
        align-items: center;
        margin-bottom: 10px;
    }

    .row.title:not(:first-child) {
        padding-top: 20px;
    }
}

/* Dialog style start */

.imjs-dialog-inner.imjs-default {
    padding: 0;
}

.imjs-dialog-inner.imjs-default > .imjs-head {
    margin: 0;
    padding: 20px 50px;
    background: #f6f6f6;
}

.imjs-dialog-inner.imjs-default > .imjs-content {
    margin: 0;
}

.imjs-dialog-inner > .imjs-buttons > .imjs-button {
    padding: 15px 7px !important;
}

.imjs-popup > .imjs-inner > .imjs-close {
    display: block;
    top: 10px;
    right: 10px;
    width: 15px;
    height: 15px;
    z-index: 999;
}

.imjs-popup > .imjs-inner > .imjs-close:before, .imjs-popup > .imjs-inner > .imjs-close:after {
    position: absolute;
    left: 50%;
    content: ' ';
    height: 15px;
    width: 1.5px;
    background-color: black;
}

.imjs-popup > .imjs-inner > .imjs-close:before {
    transform: rotate(45deg);
}

.imjs-popup > .imjs-inner > .imjs-close:after {
    transform: rotate(-45deg);
}

/* Dialog style end */

.calendar-footer-btns {
    display: flex;
    padding: 2px 0px;
}

.calendar-footer-btns > button {
    border: none;
    text-align: center;
    padding: 6px;
    background: none;
}

.calendar-footer-btns > button:hover {
    cursor: pointer;
    background: #eee;
}

.calendar-footer-btns > #dateClearBtn {
    flex: 0.3;
}

.calendar-footer-btns > #dateOkBtn {
    flex: 0.7;
}