﻿html {
    height: 100%;
}
body {
    min-height: 100%;
}
h3 {
    margin: 14px 0 5px;
}
h4 {
    margin: 5px 0 10px;
}
table, th, td {
    border: 1px solid #ddd;
    border-collapse: collapse;
    padding: 5px;
}

.x-window-header-default-top {
    background-color: darkcyan;
    border-radius: 0;
}
.x-window-header-default {
    background-color: darkcyan;
    border-color: darkcyan;
    border-width: 2px !important;
}
.x-window-default {
    border-color: darkcyan;
    border-radius: 0;
    border-width: 2px;
    box-shadow: 2px 2px 8px 2px rgba(34, 60, 80, 0.5);
}
.x-window-header-default .x-tool-img {
    background-color: darkcyan;
}
.x-window-body-default {
    border-width: 0;
}

.x-panel-header-default {
    background-image: none;
    background-color: darkcyan;
}
.x-btn-default-small {
    background-color: darkcyan;
    border-color: darkcyan;
    background-image: none;
}
.x-btn-inner-default-small {
    font: bold 12px/12px helvetica, arial, verdana, sans-serif;
}

.btn-gray-big {
    border-color: #bbbbbb;
    background: #bbbbbb;
}

.btn-gray {
    border-color: #bbbbbb;
    background: #bbbbbb;
    padding: 0;
    border-radius: 10px;
}
.x-btn-over.x-btn-default-small {
    background-color: darkcyan;
    border-color: darkcyan;
    background-image: none;
}
.x-btn-over.btn-gray{
    border-color: #bbbbbb;
    background: #bbbbbb;
}
.btn-gray span {
    font: bold 11px/16px helvetica, arial, verdana, sans-serif !important;
    min-height: 16px;
}

.x-panel-header-default .x-tool-tool-el {
    background-color: darkcyan;
}
.x-panel-header-title-default {
    font-size: 12px;
    line-height: 20px;
}
.x-panel-default {

}
.x-panel-header-default {
    /*border: 1px solid white;*/
}
.x-panel-body-default {
    border-width: 0;
    border-style: none;
}

.x-toolbar-default {
    border-width: 0;
    background-color: #e0ebf3;
}

.x-form-trigger-default {
    background: 0 center #fff url(/resources/trigger.png) no-repeat;
}

.charts-selector {background:#fff; z-index:999;}
.charts-selector .x-form-cb-default {margin-top:2px;}
.charts-selector .x-form-cb-label-default {
    margin-top: 6px;
    font: normal 12px/16px helvetica, arial, verdana, sans-serif;
}
.charts-selector .x-form-cb-wrap-default {height: 28px;}
.charts-selector .x-tool-collapse-left {background-position: 0 -240px;}
.charts-selector .x-tool-expand-right {background-position: 0 -220px;}
.charts-selector .x-panel-header-default {background-color: #ccc;}
.charts-selector .x-panel-header-default {border: 1px solid #ccc;}
.charts-selector .x-panel-header-default .x-tool-tool-el {background-color: #ccc;}
.empty-chart {
    color: #ccc;
    font-weight: bold;
    text-align: center;
    width: 100%;
    height: 50px;
    padding: 10px 10px;
}
.chart-ready {
    /*border-right: 1px solid darkcyan !important;*/
}
.chart-ready .x-panel-header-title-default {
    color: darkcyan;
}
.x-charts .x-panel-header-title-default {}

.x-legend-inner { padding: 0; }
.x-legend-vertical .x-legend-item:first-child { border: none; }
.x-legend-vertical .x-legend-item { border: none; }

.x-panel-header-default-charts {
    background-color: #ccc;
    padding: 10px 3px 10px 3px;
}.x-panel-header-default-charts {
    font-size: 15px;
    border: 1px solid #ccc;
}

.combo-small input {
    /*padding: 3px 6px 2px;*/
    /*font: normal 15px/25px helvetica, arial, verdana, sans-serif;*/
    min-height: 20px;
}

.x-tool {
    font-size: 20px;
    line-height: 1;
}
.x-tool-img {
    background-image: url(/resources/tool-sprites.png);
}
.x-tool-tool-el {
    width: 20px;
    height: 20px;
}
.x-tool-expand-bottom {
    background-position: 0 -260px;
}
.x-tool-collapse-top {
    background-position: 0 -280px;
}
.x-toolbar-footer {
    padding: 0;
}

.x-grid-with-row-lines .x-grid-item {
    border-top-color: #ccc;
}
.x-grid-cell-inner {
    padding: 3px;
}
.x-grid-item-focused .x-grid-cell-inner:before {
    display: none;
}
.short-row {
    border-radius: 10px;
}
.large-row {
    border-radius: 10px;
}

.grid-small {
}
.grid-small .x-panel-body-default {
}
.grid-small .x-grid-item {
    font: normal 10px/10px helvetica, arial, verdana, sans-serif;
}
.grid-small .x-column-header {
    font: bold 10px/10px helvetica, arial, verdana, sans-serif;
}
.grid-small-body {

}

.grid-small .x-column-header-sort-DESC .x-column-header-text-inner {
    background-image: none;
}

.x-btn-default-toolbar-small {
    background-image: none;
}
.x-btn-button-default-toolbar-small {
    min-height: 14px;
}
.x-btn-inner-default-toolbar-small {
    font: bold 12px/18px helvetica, arial, verdana, sans-serif;
}
.x-btn-icon-el-default-toolbar-small {
    font-size: 14px;
    height: 14px;
    color: #666;
    line-height: 14px;
}
.x-btn-icon-left > .x-btn-icon-el-default-toolbar-small, .x-btn-icon-right > .x-btn-icon-el-default-toolbar-small {
    width: 14px;
}
.x-btn.x-btn-disabled.x-btn-default-small {
    background-color: #ccc;
    background-image: none;
}
.x-keyboard-mode.x-btn-focus.x-btn-default-small {
    background-color: #ccc;
    background-image: none;
}

.x-accordion-hd .x-tool-img {
    background-image: url('/lib/ext/theme-neptune-touch/images/tools/tool-sprites-dark.png');
}
.x-panel-header-default .x-tool-tool-el {
    background-color: transparent;
}
.x-accordion-hd .x-tool-collapse-top, .x-accordion-hd .x-tool-collapse-bottom {
    background-position: 0 -592px;
}
.x-accordion-hd .x-tool-expand-top, .x-accordion-hd .x-tool-expand-bottom {
    background-position: 0 -608px;
}
.x-keyboard-mode .x-accordion-hd .x-panel-header-title.x-title-focus {
    outline: transparent;
}
.x-panel-default {
     border-color: transparent;
}
.x-accordion-item .x-accordion-hd {
    background: #e0ebf3;
    border-color: transparent;
    padding: 6px 15px;
}
.accordion-controls .x-tool-tool-el {
    width: 16px;
    height: 16px;
}

.x-tip-default {
    background-color: #000000;
    border-color: darkcyan;
}
.x-tip-body-default {
    color: #fff;
}

.x-autocontainer-form-item, .x-anchor-form-item, .x-vbox-form-item, .x-table-form-item {
    margin-bottom: 1px;
}
.x-form-item-label-default {
    min-height: 20px;
    padding-top: 5px;
}
.x-form-item-body-default {
    min-height: 20px;
}
.x-form-display-field-default {
    min-height: 20px;
    margin-top: 5px;
}
.toolbar-briz .x-form-text-default {
    font: normal 12px/20px helvetica, arial, verdana, sans-serif;
    min-height: 20px;
}

/* tab panel */
.x-tab-default {
    border-color: #00a39c;
}
.x-tab-bar-default {
    background-color: darkcyan;
}
.x-tab-default-top {
    padding: 7px 7px 6px 7px;
    background-color: #00a39c;
}
.x-tab-inner-default {
    font: bold 13px/24px helvetica, arial, verdana, sans-serif;
}
.x-box-scroller-plain.x-box-scroller-tab-bar-default.x-box-scroller-left {
    display: none;
}
.x-box-scroller-plain.x-box-scroller-tab-bar-default.x-box-scroller-right {
    display: none;
}
.x-tab-bar-default-top .x-box-scroller-tab-bar-default {
    display: none;
}
.x-box-scroller-tab-bar-default.x-box-scroller-right {
    display: none;
}
.x-box-scroller-tab-bar-default.x-box-scroller-left {
    display: none;
}
.x-box-scroller-tab-bar-default.x-box-scroller-left, .x-box-scroller-tab-bar-default.x-box-scroller-right {
    display: none;
}
.x-tab-bar-default-scroller .x-box-scroller-body-horizontal {
    margin: 0;
}

.tabs-states {
    height: 24px !important;
    width: 100% !important;
}
.tabs-states .x-tab-bar-horizontal > .x-tab-bar-body-default {
    min-height: 24px;
}
.tabs-states .x-tab-button-default {
    height: 20px;
}
.tabs-states .x-tab-default-top {
    padding: 2px;
}
.tabs-states .x-tab-bar-top > .x-tab-bar-body-default {
    padding-bottom: 2px;
}
.tabs-states .x-tab-inner-default {
    font: bold 12px/12px helvetica, arial, verdana, sans-serif;
}
.tabs-states .x-tab-bar-default {
    background-color: #fff;
}
.tabs-states .x-tab.x-tab-active.x-tab-default {
    border-color: #fff;
    background-color: #fff;
    border-width: 0;
}
.tabs-states .x-tab-default-top {
    background-color: #999;
}
.tabs-states .x-tab-default {
    border-color: #999;
}

/* combobox */
.x-boundlist-item {
    padding: 3px 6px;
    font: normal 12px helvetica, arial, verdana, sans-serif;
    line-height: 1;
}

.group-select .x-form-text-default {
    font: normal 12px/12px helvetica, arial, verdana, sans-serif;
}

.statuscombo .x-form-trigger-wrap {
    width: 30px;
    border-left: none;
    border-color: #c2c2c2;
}
.statuscombo .x-form-text-wrap {
    display: none;
}
.statuscombo .x-form-trigger-default {
    height: 20px;
}
.statuscombolabel {
    background-color: rgb(255, 255, 255);
    padding: 2px;
    height: 22px;
    border-left: 1px solid #c2c2c2;
    border-top: 1px solid #c2c2c2;
    border-bottom: 1px solid #c2c2c2;
}

.datefield-small {}
.datefield-small .x-form-text-default {
    padding: 2px;
    background-color: #fff;
    font: normal 11px/11px helvetica, arial, verdana, sans-serif;
    min-height: 22px;
}
.datefield-trigger-small {
    width: 20px;
    background-image: url('/lib/ext/theme-neptune-touch/images/form/date-trigger.png');
    background-position: center;
    background-size: 100px 20px;
    background-repeat: no-repeat;
}
.datefield-small .x-form-field-date .x-form-date-trigger {
    background-position: left top;
    background-size: 20px;
    background-repeat: no-repeat;
}
.datefield-small .x-form-trigger-default.x-form-trigger-over {background-position: -20px center;}
.datefield-small .x-form-trigger-default.x-form-trigger-focus {background-position: -60px center;}

.timefield-small {}
.timefield-small .x-form-text-default {
    padding: 2px;
    background-color: #fff;
    font: normal 11px/11px helvetica, arial, verdana, sans-serif;
    min-height: 22px;
}
.timefield-trigger-small {
    width: 20px;
    background-image: url('/lib/ext/theme-neptune-touch/images/form/date-trigger.png');
    background-position: center;
    background-size: 100px 20px;
    background-repeat: no-repeat;
}
.timefield-small .x-form-field-date .x-form-date-trigger {
    background-position: left top;
    background-size: 20px;
    background-repeat: no-repeat;
}
.timefield-small .x-form-trigger-default.x-form-trigger-over {}
.timefield-small .x-form-trigger-default.x-form-trigger-focus {}



/* date picker */
.consumption-descr { margin: 0; background: #eee;}

.x-datepicker-header {
    padding: 5px;
}
.x-datepicker-month .x-btn-inner {
    font-size: 12px;
}
.x-datepicker-column-header {
    width: 30px;
    font: bold 12px helvetica, arial, verdana, sans-serif;
}
.x-datepicker-column-header-inner {
    line-height: 22px;
}
.x-datepicker-date {
    padding: 0 9px 0 0;
    font: normal 12px helvetica, arial, verdana, sans-serif;
    line-height: 20px;
}
.x-datepicker-next {
    background-size: 20px;
}
.x-datepicker-prev {
    background-size: 20px;
}

/* pprogress bar */
.x-progress-default {
    background-color: #f5f5f5;
    height: 12px;
    border-color: #157fcc;
    border-style: solid;
    border-radius: 6px;
}
.x-progress-default .x-progress-text-back {
    line-height: 12px;
}
.x-progress-default .x-progress-text {
    color: #666;
    font-size: 10px;
    font-family: helvetica, arial, verdana, sans-serif;
    line-height: 12px;
}

/* tree */
.x-tree-node-text {
    display: inline-block;
}
/*.x-tree-elbow-img {*/
/*    width: 0;*/
/*    margin-right: 0;*/
/*}*/

.x-tree-elbow-img.x-tree-elbow-line {
    width: 0;
}
.x-tree-elbow-img.x-tree-elbow {
    width: 0;
}
.x-tree-elbow-img.x-tree-elbow-end {
    width: 0;
}
.x-tree-elbow-img.x-tree-elbow-empty {
    width: 0;
}

.x-tree-icon-leaf {
    background-image: none;
    width: 5px;
}
.tree-group {
    background: rgb(221,221,221);
    background: linear-gradient(180deg, rgba(221,221,221,1) 0%, rgba(221,221,221,1) 80%, rgba(170,170,170,1) 100%);
}
.tree-obj {
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 90%, rgba(101,184,255,100) 100%);
}
.x-grid-item-selected .tree-obj { background: none;}

.x-tool-collapse-right {
    background-position: 0 -159px;
}
.mainEast {z-index: 999;}

.x-fieldset-default {
    border: 1px solid #b0b0b0;
    padding: 0 5px 5px;
    margin: 0 0 5px;
}
.x-fieldset-header-default > .x-fieldset-header-text {
    font: normal 11px/11px helvetica, arial, verdana, sans-serif;
    color: #999;
    padding: 5px 0 2px;
}

/* BrizTM css */
.electricMeterPanel {
    padding: 2px;
}
.electricMeterPanel .x-form-item-label-default {
    font: normal 11px/16px helvetica, arial, verdana, sans-serif;
    min-height: 20px;
    padding-top: 5px;
    padding-right: 5px;
}
.electricMeterPanel .x-form-display-field-default {
    min-height: 20px;
    font: normal 11px/16px helvetica, arial, verdana, sans-serif;
    /*margin-top: 3px;*/
}
.electricMeterPanel .x-panel-body-default { font-size: 12px;}
.electricMeterPanel label { padding-top: 4px; font-weight: bold;}

.meter { border: 1px solid #ccc; padding: 0 2px;}
.meter .x-form-item-label-default {font-weight: bold;}
.meter .x-form-display-field-default {
    font-weight: bold;color: #0f0;
    background-color: #000;
    text-align: center;
    padding-top: 2px;
    margin-top: 2px;
}
.meterW { border: 1px solid #ccc; padding: 0 2px;}
.meterW .x-form-item-label-default {font-weight: bold;}
.meterW .x-form-display-field-default {
    border: 1px solid #000;
    font-weight: bold;color: #000;
    background-color: #fff;
    text-align: center;
    padding-top: 2px;
    margin-top: 2px;
}

.info-win {
    top: 5px !important;
    right: 5px;
    left: auto !important;
    background-color: #fff98e;
    border: none;
    padding: 5px;
}
.info-win-body {
    text-align: center;
    font-size: 11px;
    background-color: #fff98e;
}

.multi-win {
    top: 160px !important;
    right: 5px;
    left: auto !important;
    background-color: rgba(255, 255, 255, .5);
    border: none;
    padding: 0;
}
.multi-win-body {
    font-size: 11px;
    background-color: rgba(255, 255, 255, .5);
}

.help-tab {
    font-family: 'Font Awesome 5 Free';
}

.load-window {
    background: #157fcc;
    text-align: center;
}
.fa {
    font-family: 'Font Awesome 5 Free';
}
.x-tool-expand-left {
    background-position: 0 -139px;
}

.objects-panel {
    background-color: #eee;
    border-right: 1px solid #c2c2c2;
}

.top-label {
    background-image: url('/resources/briz_icon-1.png');
    background-size: contain;
    border-color: none;
    background-color: none;
    width: 40px;
    height: 40px;
}
.label-block {
    display: block;
}

.login {
    top: 40px !important;
}
.login-body {
    background-image: url('/resources/login-background.png');
    background-size: cover;
    background-position: 0 -20px;
    background-repeat: no-repeat;
    padding: 60px 40px 50px 40px;
}

.filter-field {
    color: #c2c2c2;
}
.filter-field .x-form-empty-field {
    color: #c2c2c2;
}

.header-small .x-panel-header-default-horizontal {
    padding: 0 15px;
}

.btn-small .x-btn-inner-default-small {
    font-size: 12px;
}
.btn-small .x-btn-button-default-small {
    min-height: 10px;
}

.separator {
    border: 1px solid #bbb;
    height: 1px;
}

.btn-status {
    padding: 1px 5px;
    border-radius: 17px;
    border: solid 1px #ccc;
    font-size: 10px;
    color: #fff;
}

.draw-bgr {
    background-color: #e0ebf3;
}

.margin-all {
    margin: 10px;
}
.margin-top {
    margin-top: 20px;
}
.margin-top-middle {
    margin-top: 10px;
}
.margin-top-small {
    margin-top: 5px;
}
.margin-bottom {
    margin-bottom: 20px;
}
.margin-bottom-middle {
    margin-bottom: 10px;
}
.margin-bottom-small {
    margin-bottom: 5px;
}
.margin-bottom-ssmall {
    margin-bottom: 2px;
}

.margin-right {
    margin-right: 5px;
}
.margin-right-middle {
    margin-right: 10px;
}
.margin-right-small {
    margin-right: 2px;
}


.padding-top {
    padding-top: 20px;
}
.padding-bottom {
    padding-bottom: 20px;
}
.cos-label {
    display: inline-block;
    min-height: 20px;
    padding-top: 4px !important;
    padding-right: 0 !important;
}

.margin-fld {
    margin: 5px;
}

.border-right {
    border-right: 1px solid #c2c2c2;
}
.border-top {
    border-top: 1px solid #c2c2c2;
}
.border-bottom {
    border-bottom: 1px solid #c2c2c2;
}

.user {
    color: #000;
    background-image: url('/resources/user avatar.svg');
    background-color: darkcyan;
    background-position: left center;
    background-repeat: no-repeat;
    display: inline-block;
    /*margin-left: 4px;*/
    padding: 7px 10px 7px 21px;
    /*max-width: 130px;*/
    overflow: hidden;
}
.user.x-btn-over.x-btn-default-small {
    border-color: darkcyan;
    background-color: darkcyan;
    background-image: url('/resources/user avatar.svg');
    border-radius: 0;
}
.user .x-btn-inner-default-small {
    color: #000 !important;
}

.slider-container {
    background-position: 10px top;
    background-image: url(/lib/ext/theme-neptune-touch/images/slider/ticks.gif);
    background-size: 180px;
    background-repeat: no-repeat;
}

.hide-icons .x-menu-icon-separator-default {
    display: none;
}
.hide-menu-icon .x-menu-item-text-default {
    margin-left: 0;
    padding-left: 6px;
}

.hide-menu-icon .x-menu-item-icon-default {
    display: none;
}
.gray-bg .x-menu-body-default {
    background: #ccc;
}

.directions table, th, td {
    border: none;
    border-collapse: collapse;
    padding: 1px;
}
.directions .x-autocontainer-innerCt {
    display: table-cell;
    height: 100%;
    vertical-align: top;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
}

.direction-top .x-form-display-field-default {
    min-height: 10px;
    text-align: center;
    margin: 0 3px;
    font: normal 15px/15px helvetica, arial, verdana, sans-serif;
    /*color: #ccc;*/
}
.direction .x-form-display-field-default {
    min-height: 10px;
    margin: 0 2px 0 0;
    font: normal 15px/15px helvetica, arial, verdana, sans-serif;
    color: #ccc;
}
.direction .x-autocontainer-innerCt {
    font-family: 'Font Awesome 5 Free';
    color: #ccc;
    line-height: 15px;
    font-size: 15px;
}
.txt-green .x-autocontainer-innerCt {
    color: green;
}
.txt-red .x-autocontainer-innerCt {
    color: red;
}


.circle {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display: inline-block;
}
.square {
    height: 10px;
    width: 10px;
    display: inline-block;
}

.center { text-align: center;}

.bg-color-gray {background-color: #bbb;}
.bg-color-green {background-color: #26b000;}
.bg-color-red {background-color: red;}
.bg-color-brown {background-color: #894500;}
.bg-color-blue {background-color: #00e1ff;}
.bg-color-darkblue {background-color: #0413a0;}
.bg-color-ginger {background-color: #ff9100;}
.bg-color-yellow {background-color: #ffdf00;}
.bg-color-black {background-color: #000;}

.txt-gray {color: #bbb;}
.txt-red {color: red;}
.txt-green {color: green;}
.txt-darkblue {color: blue;}
.txt-lightgreen {color: #27d600;}
.txt-blue {color: #00e1ff;}
.txt-ginger {color: #ff9100;}
.txt-yellow {color: #ffdf00;}

.txt-bold {font-weight: bold;}

.fnt-middle {font-size: 11px;}

.obj-indicator {
    margin: 10px;
    display: inline;
}

.group-states {
    border: 1px solid #999;
    border-radius: 5px;
    padding: 1px 2px 2px 2px;
}
.contactors {
    border: 1px solid #999;
    border-radius: 5px;
    padding: 1px 2px 2px 2px;
}
.contactor {
    padding: 1px 3px;
    font-size: 8px;
    line-height: 8px;
    text-align: center;
    vertical-align: middle;
}
.spanAsSpan {display: inline;}
.spanAsDiv {display: block; width: fit-content; margin: 5px 0 0;}

/* map popup */
.ol-popup {
    position: absolute;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 15px 10px 10px 10px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 200px;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}
.ol-popup-closer:after {
    content: "✖";
}

.map-tip-name {
    font-weight: bold;
    line-height: 1;
    margin-bottom: 10px;
}
.map-tip-description {}