/* .on, .off { */

/* display: none; */

/* } */

.frame {
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    height: 600px;
}

a.command.disabled,
a.bttn.disabled {
    /* pointer-events: none; */
    cursor: not-allowed;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: 0.65;
}

.panel_toolbox {
    min-width: 0 !important;
}

.panel_toolbox > li > a {
    font-size: 11px;
    text-transform: uppercase;
}

.menu_section h3 .command .label {
    display: inline-block;
    height: 12px;
    width: 12px;
    border-radius: 12px;
}

.breakword {
    word-break: break-all;
}

.table.table-fixed {
    table-layout: fixed;
    width: 100%;
}

.table > tbody > tr > td,
.table > tbody > tr > th {
    height: 46px;
    vertical-align: middle;
}

.table td a {
    vertical-align: middle;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    line-height: 30px;
    height: 30px;
}

.table td a .glyphicon,
.table td a .fa,
.table td a .servis-icon {
    margin-right: 5px;
}

.table td a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ct-label {
    font-size: 13px !important;
}

.content_iframe iframe {
    width: 100% !important;
    height: 800px !important;
}

.dropdown-menu > li.brighttheme-warning,
.dropdown-menu > li.brighttheme-notice {
    background-color: #ffffa2 !important;
    border: 0 solid #ff0 !important;
    color: #4f4f00 !important;
}

.dropdown-menu > li.brighttheme-warning a,
.dropdown-menu > li.brighttheme-notice a {
    color: #4f4f00 !important;
    cursor: default;
}

.dropdown-menu > li.brighttheme-error {
    background-color: #ffaba2 !important;
    background-image: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 35px,
        rgba(255, 255, 255, 0.3) 35px,
        rgba(255, 255, 255, 0.3) 70px
    ) !important;
    border: 0 solid #ff1800 !important;
    color: #4f0800 !important;
    cursor: default;
}

.dropdown-menu > li.brighttheme-error a {
    color: #4f0800 !important;
    cursor: default;
}

.dropdown-menu > li.brighttheme-info {
    background-color: #8fcedd !important;
    border: 0 solid #0286a5 !important;
    color: #012831 !important;
}

.dropdown-menu > li.brighttheme-info a {
    color: #012831 !important;
    cursor: default;
    display: block;
}

.dropdown-menu > li.brighttheme-notice > a:focus,
.dropdown-menu > li.brighttheme-notice > a:hover,
.dropdown-menu > li.brighttheme-warning > a:focus,
.dropdown-menu > li.brighttheme-warning > a:hover,
.dropdown-menu > li.brighttheme-error > a:focus,
.dropdown-menu > li.brighttheme-error > a:hover,
.dropdown-menu > li.brighttheme-info > a:focus,
.dropdown-menu > li.brighttheme-info > a:hover {
    background-color: transparent !important;
}

.brighttheme-opacity {
    opacity: 0.5;
}

.brighttheme-icon {
    margin-left: 5px;
    margin-right: 5px !important;
}

.table-striped > tbody > tr.brighttheme-warning,
.table-striped > tbody > tr.brighttheme-notice {
    background-color: #ffffa2 !important;
}

.table-striped > tbody > tr.brighttheme-error {
    background-color: #ffaba2 !important;
    background-image: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 35px,
        rgba(255, 255, 255, 0.3) 35px,
        rgba(255, 255, 255, 0.3) 70px
    ) !important;
}

.table-striped > tbody > tr.brighttheme-info {
    background-color: #8fcedd !important;
}

.brighttheme-notify td > span {
    line-height: 1.3em;
    margin-right: 0;
}

.brighttheme-notify.status-solve td > span {
    text-decoration: line-through;
    opacity: 0.3;
}

.brighttheme-notify button.btn-success {
    display: none;
}

.brighttheme-notify.status-solve button.btn-success {
    display: block;
}

.brighttheme-notify button.btn-default {
    display: block;
}

.brighttheme-notify.status-solve button.btn-default {
    display: none;
}

.brighttheme-notify.status-solve button.btn-ignore {
    display: none;
}

.brighttheme-notify button.btn-info.btn-ignore {
    display: none;
}

.brighttheme-notify.status-ignore button.btn-info.btn-ignore {
    display: block;
}

.brighttheme-notify.status-ignore button.btn-default.btn-ignore {
    display: none;
}

.brighttheme-notify.status-ignore td > span {
    /* text-decoration: line-through; */
    opacity: 0.3;
}

.ui-pnotify-text,
.brighttheme-notify .message {
    word-wrap: break-word;
    max-height: 92px;
    overflow: hidden;
}

.brighttheme-notify a > span {
    float: none;
    margin-right: 0;
}

ul.msg_list li a .time {
    /* right: 10px !important; */
    position: static;
    clear: both;
}

.stats_iframe {
    position: relative;
}

.stats_iframe iframe {
    display: block;
}

.overlap_fullscreen_button {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 36px;
    line-height: 36px;
    width: 200px;
    background: #eaeaea;
    text-align: right;
    padding-right: 15px;
    color: black;
}

.servis .x_content .fa {
    display: block !important;
    font-size: 50px;
    line-height: 80px;
}

.servis-icon {
    line-height: normal;
}

.servis-icon .fa,
.servis-icon .glyphicon {
    font-size: 28px;
    /* color: #444; */
}

.servis-icon .fa,
.servis-icon .glyphicon {
    opacity: 0.2;
}

.info_status {
    line-height: 28px;
    height: 28px;
    display: inline-block;
}

.info_status .label {
    vertical-align: 7px;
    margin-left: 20px;
    margin-right: 20px;
}

.info_status .servis-icon {
    color: #444;
}

.check_status i {
    font-size: 13px !important;
}

.check_status > div {
    width: 270px;
    display: inline-block;
    display: flex;
    align-items: center;
}

.check_status > div > * {
    margin-right: 10px;
}

.check_status .label {
    width: 110px !important;
    margin-right: 20px;
}

/* .servis-icon-detail,
.servis-icon-detail .glyphicon,
.servis-icon-detail .fa {
    color: #242424 !important;
}

.servis .x_content .servis-icon-detail .fa,
.servis .x_content .servis-icon-detail .glyphicon {
    opacity: 1;
    font-size: 24px;
} */

.main_menu .color-green,
.info_status .color-green,
.color-green {
    color: green !important;
}

.main_menu .color-green .fa,
.info_status .color-green .fa,
.main_menu .color-green .glyphicon,
.info_status .color-green .glyphicon,
.color-green .fa,
.color-green .glyphicon {
    opacity: 1;
    color: green !important;
}

.main_menu .color-red,
.info_status .color-red,
.color-red {
    color: red !important;
}

.main_menu .color-red .fa,
.main_menu .color-red .glyphicon,
.info_status .color-red .fa,
.info_status .color-red .glyphicon,
.color-red .fa,
.color-red .glyphicon {
    opacity: 1;
    color: red !important;
}

.main_menu .color-blue,
.info_status .color-blue,
.color-blue {
    color: blue !important;
}

.main_menu .color-blue .fa,
.main_menu .color-blue .glyphicon,
.info_status .color-blue .fa,
.info_status .color-blue .glyphicon,
.color-blue .fa,
.color-blue .glyphicon {
    opacity: 1;
    color: blue !important;
}

.main_menu .color-orange,
.info_status .color-orange,
.color-orange {
    color: orange !important;
}

.main_menu .color-orange .fa,
.main_menu .color-orange .glyphicon,
.info_status .color-orange .fa,
.info_status .color-orange .glyphicon,
.color-orange .fa,
.color-orange .glyphicon {
    opacity: 1;
    color: orange !important;
}

.main_menu .color-222,
.info_status .color-222,
.color-222 {
    color: #222222 !important;
}

.main_menu .color-222 .fa,
.main_menu .color-222 .glyphicon,
.info_status .color-222 .fa,
.info_status .color-222 .glyphicon,
.color-222 .fa,
.color-222 .glyphicon {
    opacity: 1;
    /* color: #222 !important; */
}

.x_title span.label {
    color: white;
}

.x_title .servis-color-online,
.x_title .servis-color-online .fa,
.x_title .servis-color-online .glyphicon {
    color: #5a738e !important;
    opacity: 0.5;
    cursor: pointer;
}

.x_title .servis-color-online.status-active.status-alert,
.x_title .servis-color-online.status-active.status-alert .fa,
.x_title .servis-color-online.status-active.status-alert .glyphicon,
.status-active.status-alert .fa,
.status-active.status-alert .glyphicon {
    color: orange !important;
    opacity: 1;
}

.x_title .servis-color-online.status-active,
.x_title .servis-color-online.status-active .fa,
.x_title .servis-color-online.status-active .glyphicon,
.status-active .fa,
.status-active .glyphicon {
    color: green !important;
    opacity: 1;
}

.icon {
    color: #dddddd;
    font-size: 16px;
}

.icon.text-success {
    color: green;
}

/* .popover_button.pinactive {
    opacity: 0.3;
}

.popover_button.pactive {
    opacity: 1;
} */

.popover_content {
    text-align: center;
    word-wrap: Break-word;
    font-size: 10px;
}

.popover_button .loader {
    display: none;
}

.loader {
    position: absolute;
    left: 5px;
    bottom: 5px;
    border: 3px solid #f3f3f3;
    /* Light grey */
    border-top: 3px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
    margin: auto;
}

#command_modal .modal-body {
    text-align: center;
    padding: 50px;
    padding-bottom: 70px;
}

#command_modal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    color: white;
}

#command_modal .modal-dialog {
    top: 50%;
    margin-top: -100px;
}

#command_modal .loader {
    left: 50%;
    margin-left: -10px;
    bottom: 50px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.modal-header .close {
    margin-top: -20px;
}

.modal-dialog {
    width: 800px;
    max-width: 100%;
}

.main_menu .errors {
    padding: 20px 0 0 0;
    text-align: center;
}

.main_menu .errors span.fa {
    float: none;
    font-size: 30px;
    margin: 0;
    color: inherit;
}

input[type="checkbox"] {
    margin-top: 12px;
}

input[type="checkbox"].switch {
    height: 0;
    width: 0;
    visibility: hidden;
}

label.switch {
    cursor: pointer;
    text-indent: -9999px;
    width: 44px;
    max-width: 44px;
    height: 24px;
    margin: auto;
    background: #444;
    opacity: 0.2;
    /* display: block; */
    border-radius: 24px;
    position: relative;
}

label.switch:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 20px;
    transition: 0.3s;
}

input.switch:checked + label.switch {
    /* background: black; */
    opacity: 1;
}

input.switch:checked + label.switch:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

label.switch:active:after {
    width: calc(65px / 2);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.x_panel {
    width: auto;
    min-width: 100%;
}

.ui-draggable-dragging {
    z-index: 100000;
}

.ui-state-hover .x_panel {
    background: #d9edf7 !important;
}

.bg-silver {
    background: #f9f9f9;
}

.table > tbody > tr.td-no-border > td,
.table > tbody > tr.td-no-border > th,
.table > thead > tr.td-no-border > td,
.table > thead > tr.td-no-border > th,
.table > tfoot > tr.td-no-border > td,
.table > tfoot > tr.td-no-border > th {
    border-top: 0;
}

#uploadfiles {
    display: none;
}

.btn.command .fa-error,
.btn-backup .fa-spin,
.btn-restore .fa-spin,
.btn-backup .fa-error,
.btn-restore .fa-error,
.btn-upload .fa-spin,
.btn-download .fa-spin,
.btn-sync .fa-spin,
.btn-upload .fa-error,
.btn-download .fa-error,
.btn-sync .fa-error {
    display: none;
}

.btn.command .fa-error,
.btn-backup .fa-error,
.btn-restore .fa-error,
.btn-upload .fa-error,
.btn-download .fa-error,
.btn-sync .fa-error {
    color: red;
}

.btn.command.syncing .fa-spin,
.btn-backup.syncing-error .fa-error,
.btn-restore.syncing-error .fa-error,
.btn-upload.syncing-error .fa-error,
.btn-download.syncing-error .fa-error,
.btn-sync.syncing-error .fa-error,
.btn-upload.syncing .fa-spin,
.btn-download.syncing .fa-spin,
.btn-sync.syncing .fa-spin {
    display: inline-block;
}

ul.bar_tabs {
    height: auto;
    padding-left: 0;
    margin: 21px 0 14px;
    background: none;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

ul.bar_tabs:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
    height: 25px;
    background: #f5f7fa;
    /* background: linear-gradient(to bottom, white, #f5f7fa); */
}

ul.bar_tabs > li.active a {
    border-bottom: 1px solid white;
}

ul.bar_tabs > li {
    margin-top: 0;
    margin-bottom: 1px;
}

ul.bar_tabs > li.active {
    margin-top: 0;
    position: relative;
    top: 2px;
}

/* ul.sub-tabs {
    height: auto;
    background: none;
}

ul.sub-tabs li,
ul.sub-tabs li.active {
    margin-top: 5px;
} */

/* ul.sub-tabs li.active a,
ul.sub-tabs li.active a:focus,
ul.sub-tabs li a:hover {
    border-bottom: 2px solid white;
} */

.xml-editor fieldset {
    border: 1px solid #e6e9ed;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}

.xml-editor fieldset fieldset fieldset fieldset {
    border: none;
    padding: 0;
    margin-bottom: 0;
}

.xml-editor fieldset .form-group:last-child {
    margin-bottom: 0;
}

.xml-editor fieldset:last-child {
    margin-bottom: 0;
}

.xml-editor fieldset p > br:first-child {
    display: none;
}

.xml-editor .fieldset_new {
    background: #ecfcff;
    display: none;
}

.xml-editor fieldset .remove {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

#state-log > div {
    /* margin: 10px;
    padding: 10px;
    max-height: 300px;
    border: 1px solid #dddddd;
    overflow: auto;
    background: white;
    box-sizing: border-box;
    width: calc(100% - 20px); */
}

#state-progress {
    margin-top: 10px;
}

#state-progress div.active {
    /* animation: none; */
}

#state-progress div.progress-bar-success {
    /* transition: width 2s linear; */
}

#state-progress div.progress-bar-info,
#state-progress div.progress-bar-warning,
#state-progress div.progress-bar-danger {
    transition: none;
    animation: none;
}

#tabiframe {
    height: 1000px;
    width: 100%;
}

#tabiframe.scale {
    /* overflow: hidden; */
    height: calc(1080px / 2);
    width: calc(1920px / 2);
}

#tabiframe.scale div {
    transform-origin: top left;
    transform: scale(0.5);
    height: 1080px;
    width: 1920px;
    overflow: hidden;
}

#tabiframe iframe {
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 1080px;
}

body.exhibit.version5 #state-log {
    display: none;
}
