@charset "UTF-8";
:root {
    --repo-table-border-color: #8797a7;
}

/*.layout-slim-plus .layout-submenu-toggler {*/
/*.layout-slim-plus .layout-menu > li > a > .layout-submenu-toggler {*/
.linergo-layout-slim-plus-submenu-toggler {
    font-size: 14px !important;
    display: inline-block !important;
    transform: rotate(
            -45deg
    ) !important;
    position: absolute !important;
    bottom: -0.37em !important;
    left: 5.7em !important;
}


/*.layout-slim  layout-submenu-toggler {*/
/*.layout-slim .layout-menu > li > a > .layout-submenu-toggler {*/
.linergo-layout-slim-submenu-toggler {
    font-size: 10px !important;
    display: inline-block !important;
    transform: rotate(
            -45deg
    ) !important;
    position: absolute !important;
    bottom: -0.37em !important;
    left: 4.45em !important;
}

body .ui-dialog .ui-resizable-handle {
    display: block !important;
}

.ui-resizable-se{
    height: 0px !important;
}

.mnemonic-popup{
    height: 100% !important;
    width: 100% !important;
}

.hide-class{
    display: none !important;
}

.off-data-type{
    opacity:0.5;
}



@media screen and (max-width: 768px) {
    .custom-right, .c-r {
        float: right;
        text-align: right;
    }
}

@media screen and (min-width: 992px) {
    .custom-right, .c-r {
        float: none;
        text-align: left;
    }
}


.linergo-main-table-filter .ui-column-title,
.linergo-main-table-filter .ui-sortable-column-icon{
    margin-top: 15px !important;
}

.linergo-word-break, .w-b {
    word-break: break-word;
}

.layout-rightpanel-button{
    position: initial !important;
}

.layout-topbar .layout-topbar-wrapper .layout-topbar-right .layout-topbar-actions > .topbar-item.search-item{
    right: 0px!important;
}

/* Логи по устройтсвам*/

.linergo-tree-button {
    display: block;
    position: fixed;
    width: 52px;
    height: 52px;
    line-height: 52px;
    background-color: var(--primary-color)!important;
    text-align: center;
    top: 230px;
    left: 0px;
    z-index: 505;
    cursor: pointer!important;
    color: #ffffff;
    -moz-transition: background-color 0.2s;
    -o-transition: background-color 0.2s;
    -webkit-transition: background-color 0.2s;
    transition: background-color 0.2s;
}
.linergo-tree-button:hover{
    color: #ffffff !important;
}

.linergo-tree-button  i {
    font-size: 32px;
    line-height: inherit;
    cursor: pointer !important;
    -webkit-transform: rotate(
            0deg
    );
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(
            0deg
    );
    -moz-transition: transform 1s;
    -o-transition: transform 1s;
    -webkit-transition: transform 1s;
    transition: transform 1s;
}

.d-t{
    padding: 0!important;
}

/*до 992 - sidebar*/
/*У sidebar - два состояния mobile 575*/
/*  medium 992*/

@media screen and (max-width: 575px) {

    .t-d{
        width: 210px;
        white-space: normal;
    }

    .t-md{
        width: 197px;
        white-space: normal;
    }

    .d-t .ui-tree-container .ui-treenode .ui-treenode-content .ui-tree-toggler {
        width:16px !important;
        font-size: 8px!important;
    }

    .d-t .ui-tree-container .ui-treenode .ui-treenode-content .ui-treenode-leaf-icon{
        width:16px!important;
        height: 0px!important;
        font-size: 7px!important;
    }

}



@media screen and (min-width: 576px) and (max-width: 991px){

    .ui-sidebar-tree{
        width: 400px!important;
    }

    .t-d{
        width: 340px;
        white-space: normal;
    }

    .t-md{
        width: 320px;
        white-space: normal;
    }

    .d-t {
        width: 370px !important;
    }

    .d-t .ui-tree-container .ui-treenode .ui-treenode-content .ui-tree-toggler {
        width:14px !important;
        font-size: 10px!important;
    }

    .d-t .ui-tree-container .ui-treenode .ui-treenode-content .ui-treenode-leaf-icon{
        width:0px!important;
        height: 0px!important;
        font-size: 7px!important;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {

    .d-t {
        width: 320px !important;
    }

    .t-d{
        width: 170px;
        white-space: normal;
    }

    .t-md{
        width: 250px;
        white-space: normal;
    }

    .d-t .ui-tree-container .ui-treenode .ui-treenode-content .ui-treenode-leaf-icon{
        height: 0px!important;
    }

    .t-bg{
        height: auto!important;
        min-height: 1.5rem;
        max-width: 80px!important;
        white-space: normal !important;
        line-height: normal!important;
    }

}



@media screen and (min-width: 1200px) {
    .d-t {
        width: 420px !important;
    }

    .t-d{
        width: 270px;
        white-space: normal;
    }

    .t-md{
        width: 350px;
        white-space: normal;
    }

    .d-t .ui-tree-container .ui-treenode .ui-treenode-content .ui-treenode-leaf-icon{
        height: 0px!important;
    }

    .t-bg{
        height: auto!important;
        min-height: 1.5rem;
        max-width: 80px!important;
        white-space: normal !important;
        line-height: normal!important;
    }
}

.layout-rightpanel-button{
    z-index: 5005;
}


.linergo-org-search-panel .ui-selectonemenu-list-item{
    white-space: normal !important;
}

.linergo-org-search-panel{
    width: 80%;!important;
    height: 265px!important;
    position:fixed !important;
    white-space: normal !important;
}

.layout-topbar-dim .layout-topbar .layout-topbar-wrapper .layout-topbar-right .layout-topbar-actions > .topbar-item > .linergo-org{
    top: initial!important;
    left: initial!important;
    width: initial!important;

}

@media screen and (min-width: 992px) {
    .linergo-org-search-panel{
        width: 270px!important;
    }
    .linergo-org ul{
        width: 300px!important;
    }
}

.log-table{
    font-size: 12px!important;
}

td.log-column-direction{
    font-size: 14px!important;
    padding-right: 0!important;
}

.log-dt-data{
    color:#777!important;
}

.log-dt-not-transparent-data{
    margin-left: 30px;
}

td.log-column-data{
    padding-left: 0!important;
}

.log-column-length{
    padding-right: 0!important;
    padding-left: 0!important;
}

.stack-trace-column{
    width: 33px;
    padding-right: 0!important;
    padding-left: 0!important;
}

@media screen and (max-width: 640px){
    .log-column-direction{
        width:70px!important;
    }
    .log-dt-not-transparent-data{
        margin-left: 30px;
    }
    td.log-column-data{
        padding-left: 1rem!important;
    }
    .log-column-length{
        padding-right: 1rem!important;
        padding-left: 1rem!important;
    }
    .stack-trace-column{
        width: 33px;
        padding-right: 1rem!important;
        padding-left: 1rem!important;
    }
}

@media screen and (max-width: 1449px) and (min-width: 641px){
    .log-column-datetime{
        width:81px!important;
    }
    .log-column-direction{
        width:51px!important;
    }
    .log-column-length{
        width:31px!important;
    }
    .log-column-layer{
        width:61px!important;
    }
}


@media screen and (min-width: 1450px) {
    .log-column-datetime{
        width:141px!important;
    }
    .log-column-direction{
        width:51px!important;
    }
    .log-column-length{
        width:31px!important;
    }
    .log-column-layer{
        width: 90px!important;
    }
}

.dialog-scroll-panel{
    max-height: 570px;
}

.linergo-selectOneMenu {
    min-width: auto!important;
}

.linergo-selectOneMenu-panel{
    min-width: auto!important;
    width: auto!important;
}

.linergo-selectOneMenu-panel .ui-selectonemenu-list-item{
    white-space: normal!important;
}

/*** Objects Tree *************************/


@media screen and (min-width: 576px) {
    .ui-sidebar-objects-tree{
        width: 400px!important;
    }
}

.linergo-objects-tree{
    overflow: auto!important;
    touch-action: auto!important;
}

.linergo-objects-tree .dropdown-menu{
    position:absolute;
}


.ui-page-tree-main-container .linergo-objects-tree{
    overflow-y: hidden!important;
}



/*************************/
.filter-rules .ui-datalist-content
{
    padding: 0!important;
}

.data-table-without-title .ui-column-title{
    display:none !important;
}

.question-btn{
    height: 1.5rem!important;
    min-width: 1.5rem!important;
}

.question-btn .ui-icon {
    margin-left:-0.35rem!important;
}
.md-address-container ul.fancytree-container {
    padding-bottom: 430px!important;
}

@media screen and (max-width: 575px){
    .mobile-small-coll{
        width: 180px;
    }
}

@media screen and (max-width: 359px){
    .mobile-small-coll{
        width: 120px;
    }
}

/******************/

span.fancytree-checkbox{
    width: 17px!important;
    height: 17px!important;
    display: inline-block;
    line-height: 17px;
    font-size: 15px;
}

span.fancytree-checkbox{
    margin-right: 0.5em;
}

.semantic-tree .fancytree-icon{
    display: none!important;
}

.semantic-tree .fancytree-checkbox{
    cursor: pointer;
}

/*****************************/

.tree-values-emergency{
    color: red!important;
    cursor: pointer;
}

.emergency-event-circle{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    float:left;
}

md-tooltip.tooltip-multiline {
    height: auto!important;
}

/**********************************/

.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}
.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}
.dropdown-submenu:hover > a:after {
    border-left-color: #ffffff;
}
.dropdown-submenu.pull-left {
    float: none;
}
.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/*################*/

.plugins-marketplace-table.ui-datatable .ui-datatable-scrollable-body{
    overflow-y: scroll !important;
    overflow-x: hidden !important;
}

.linergo-marketplace-plugins-table-filter.ui-filter-column{
    width: 100% !important;
}
.plugins-marketplace-table.ui-datatable .ui-datatable-scrollable-body .ui-datatable-scrollable-theadclone{
    display: none !important;
}

.linergo-marketplace-plugins-table-filter .ui-column-title,
.linergo-marketplace-plugins-table-filter .ui-sortable-column-icon{
    margin-top: 15px !important;
}

@media screen and (max-width: 768px){
    .marketplace-plugin-detail-panel{
        display:none!important;
    }
}

.marketplace-plugin-markdown-content{
    text-align: left!important;
}

.plugin-description-preview-btn{
    width: auto!important;
}

.ui-blockui-content.ui-shadow{
    -moz-box-shadow: none!important;
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
}

.plugins-marketplace-table.ui-datatable .ui-state-highlight {
    background-image: none;

    /*background: var(--text-color-secondary)!important;*/
    background: #F5F5DC!important;

}

.plugins-marketplace-table.ui-datatable .ui-state-highlight .marketplace-plugin-table-text{
    color:black!important;
}

.navy{
    color:#000080!important;
}

.background-white{
    background-color: white!important;
}

@font-face {
    font-family: "Futura Medium";
    src: url('/javax.faces.resource/fonts/Futura-Medium.ttf.xhtml');
}

.brand-header{
    color:var(--text-color-secondary)!important;
}

.x-style{
    color:var(--primary-color)!important;
    font-family: 'Futura Medium', sans-serif;
    font-size: 2rem;
}

.layout-topbar-logo .brand-header{
    padding-top: 15px;
}

/*---------------------------*/

    /* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

@media screen and (max-width: 575px) {
    .report-presentation-preview{
        width: 300px!important;
        -webkit-overflow-scrolling: touch;
    }

}

@media screen and (min-width: 576px) and (max-width: 991px){

    .report-presentation-preview{
        width: 500px!important;
        -webkit-overflow-scrolling: touch;
    }

}

@media screen and (min-width: 991px) {
    .report-presentation-preview{
        width: 900px!important;
        -webkit-overflow-scrolling: touch;
    }
}


@media screen and (max-width: 575px) {
    .mobile-thrifty .ui-tabs .ui-tabs-panels .ui-tabs-panel {
        padding: 0rem!important;
    }


    .mobile-thrifty .ui-dataview-header .ui-widget-header .ui-helper-clearfix .ui-corner-top,
    .mobile-thrifty .ui-paginator{
        padding: 0rem!important;
    }


    .mobile-thrifty .ui-paginator .ui-paginator-current, .mobile-thrifty .ui-paginator .ui-paginator-rpp-options,
    .mobile-thrifty .ui-paginator .ui-paginator-first, .mobile-thrifty .ui-paginator .ui-paginator-prev, .mobile-thrifty .ui-paginator .ui-paginator-next, .mobile-thrifty .ui-paginator .ui-paginator-last{
        width: auto!important;
        height: auto!important;
    }

    .mobile-thrifty .search-input{
        width: 100px!important;
    }

}

.bootstrap-tagsinput .label{
    color:var(--primary-color-text)!important;
    background-color: var(--primary-color)!important;
}

.linergo-device-search-panel .ui-selectonemenu-list-item{
    white-space: normal !important;
}

.linergo-device-search-panel{
    width: 80%;!important;
    height: 265px!important;
    white-space: normal !important;
}

@media screen and (min-width: 992px) {
    .linergo-device-search-panel{
        width: 450px!important;
    }
}

@media screen and (max-width: 1024px) {
   .report-table-preview::-webkit-scrollbar {
        height: 32px;
        width: 32px;
        background: var(--surface-d)!important;
    }

    .report-table-preview::-webkit-scrollbar-thumb:horizontal {
        background: var(--primary-color)!important;;
        border-radius: 16px;
        width: 51px;
    }
}


/*----------------------------------------*/

.attached-meters .ui-dataview-header{
    display: none!important;
}

.attached-meters .ui-paginator-bottom{
    display: none!important;
}

.attached-meters-for-reportSetting .ui-paginator-bottom{
    display: none!important;
}

.attached-meters-for-reportSetting .ui-dataview-layout-options{
    display: none!important;
}

body .ui-fluid .ui-splitbutton .ui-button {
    width: calc(100% - 32px);
}
/***************/
.inline-edit-table td > .ui-column-title:not(:first-child) {
    display: none!important;
}

@media screen and (max-width: 1024px) {
    .formula-placeholders {
        height: 500px!important;
        width: 400px!important;
    }
}

@media screen and (max-width: 390px) {

    .formula-placeholders-wrapper{
        max-height: 480px!important;
        width: 280px!important;
    }

    .formula-placeholders {
        max-height: 450px!important;
        width: 250px!important;
    }

    .formula-placeholders .ui-button-text-only .ui-button-text{
        padding: 0.1em 0.3em;
    }

    .formula-placeholders .ui-button.ui-button-text-only .ui-button-text{
        padding: 0.1rem 0.2rem;
    }
}

@media screen and (min-width: 1025px) {
    .formula-placeholders {
        max-height: 500px!important;
        width: 800px!important;
    }
}
.inline-edit-table input{
    height: 40px;
    width: 100%;
}

.resource-type-select-many-button .ui-button{
    width: auto!important;
}
.resource-type-select-many-button .ui-buttonset{
    width: auto!important;
}

.resource-type-select-many-button > div.ui-button:not(:last-child) {
    border-bottom-width: 1px !important;
    border-right-width: 1px !important;
    margin-bottom: 0.2em!important;
    margin-right: 0.2em!important;
}


/*----------------------------------------*/
.layout-menu-container li.layout-root-menuitem ul  span.layout-menuitem-text:first-child {
    margin-left: 29px!important;
}

.layout-menu-container li.layout-root-menuitem ul .pi + span.layout-menuitem-text {
    margin-left: 15px!important;
}
/*----------------------------------------*/
.md-icon-small-block img {
    width: 20px;
    height: 20px;
}

@media screen and (max-width: 768px) {
    .semantic-items-table .ui-datatable-tablewrapper .ui-datatable-data > tr > td{
        padding: 4px 10px!important;
    }

    .semantic-items-table-mobile-sort-headers, .semantic-items-table-mobile-sort-headers-title{
        display: block;
    }


}

@media screen and (max-width: 640px){
    .custom-right-editor, .c-r-e{
        width:6rem;text-align: right;float:right;
    }
}
@media screen and (min-width: 641px){
    .custom-right-editor, .c-r-e{
        float: none;
        text-align: left;
    }
}

@media screen and (min-width: 992px) {
    .semantic-items-table-mobile-sort-headers, .semantic-items-table-mobile-sort-headers-title{
        display: none;
    }


}

.semantic-items-table-row-hide{
    display: none;
}

.universal-searcher{
    overflow-y: scroll!important;
    height: 300px!important;
}

/*************************/

.report-setting-list-header{
    width: 75%;
    display:flex;
    float:left;
}

.report-setting-list-header .search-group{
    float:left!important;
    width: 75%;
}

.report-setting-list-header .search-input{
    width: 98%;
    padding-left: 2px;
    padding-right: 2px;
}

.main-addresses-data-list .ui-icon-circle-triangle-e{
    cursor:pointer !important;
}

.main-addresses-data-list .ui-icon-circle-triangle-s{
    cursor:pointer !important;
}

.width-auto table{
    width: auto!important;
}

.linergo-main-table-filter .ui-row-toggler{
    align-self: center;
}




.type-secondary{
    font-size: 2rem;
    color:var(--primary-color)!important;
}

.type-primary{
    margin-left:1rem !important;
    margin-top:.5rem !important;
    font-size: 1.5rem;
}

.attached-meter-icon .type-secondary{
    font-size: 1.5rem !important;
}

.attached-meter-icon .type-primary{
    font-size: 1rem !important;
    margin-left:0.7rem !important;
    margin-top:0.20rem !important;
}

.hvs-icon{
    color:#2c84d8;
}

.gvs-icon{
    color: #ED575B;
}

.electro-icon{
    color:#DB8519;
}

.gas-icon{
    color: #85D5EF;
}

.heat-icon{
    color: #F26B36 !important;
}

.fire-icon{
    color:#ED575B;
}

.micro-block .ui-blockui-content{
    margin-left: -0.25em;
    margin-top: -0.25em;
    padding-left: 0em!important;
    padding-top: 0em!important;
    padding-right: 0px!important;
    padding-bottom: 0px!important;
}






.simple-table {
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #dddddd;
    border-collapse: collapse;
}
.simple-table th {
    font-weight: bold;
    padding: 5px;
    background:var(--surface-d);
    border: 1px solid;
    border-color:var(--surface-c);
    /*word-break: break-word;*/
}
.simple-table td {
    border: 1px solid;
    padding: 5px;
    border-color:var(--surface-c);
}

.simple-table{
    border: 1px solid;
    border-color:var(--surface-b);
    /*table-layout: fixed;*/
    width: 100%;
    margin-bottom: 20px;
}
.simple-table th {
    font-weight: bold;
    padding: 5px;
    background:var(--surface-c);
    border: 1px solid;
    border-color:var(--surface-d);
}
.simple-table td{
    /*padding: 5px 10px;*/
    border: 1px solid;
    text-align: left;
    word-break: break-word;
    border-color:var(--surface-c);
}
.simple-table tbody tr:nth-child(odd){

    background: var(--surface-a);
}
.simple-table tbody tr:nth-child(even){
    background: var(--surface-b);
}
/*------------*/

.ng-pf-custom .ui-state-hover, .ng-pf-custom  .ui-state-active {
    text-decoration: none;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-image: none;
}

.ng-pf-custom .ui-menu-item-wrapper{
    font-size:1rem;
    color:var(--text-color);
    background-color: var(--surface-b);
    padding-left: 1em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-right: 0.5em;
}

.ng-pf-custom .dropdown-menu{
    background-color: var(--surface-b)!important;
    padding-right: 0.5em;
    padding-left: 1em;
}

.ng-pf-custom .dropdown-menu .dropdown-item{
    color: var(--text-color)!important;
    font-size:1rem;
    padding-left: 1em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-right: 0.5em;
}

.ng-pf-custom .dropdown-menu .dropdown-item:hover{
    background-color: var(--surface-c)!important;
}

.ng-pf-custom .ui-state-active:hover{
    background-color: var(--surface-c)!important;
}

/*------------------*/

.linergo-main-table-filter .ui-column-title{
    order:3;
    margin-top: 7px !important;
}

.layout-topbar-left{
    width:280px!important;
}

@media (max-width: 991px) {
    .layout-topbar-light .layout-topbar .layout-topbar-wrapper .layout-topbar-right .layout-topbar-actions{
        justify-content: right !important;
    }

    .layout-topbar-light .layout-topbar .layout-topbar-wrapper .layout-topbar-right{
        width: auto!important;
    }
}

.fail-chip{
    background-color: #FF6347!important;
}

.success-chip{
    background-color: #69BE85!important;
}

.custom-chip{
    cursor: pointer!important;
}

.changed-control-wrapper .control-input input, .changed-control-wrapper .control-cancel-btns button .ui-icon,
.changed-control-wrapper .control-input .ui-selectonemenu,
.changed-control-wrapper .ui-selectonemenu-label{
    color: #008000 !important;
}
.changed-control-wrapper .control-input input, .changed-control-wrapper .control-input .ui-selectonemenu,
.changed-control-wrapper .ui-selectonemenu-label
{
    font-weight: bold!important;
}

.success-control-wrapper .control-input input, .success-control-wrapper .control-input .ui-selectonemenu,
.success-control-wrapper .ui-selectonemenu-label
{
    /*color: black!important;*/
    font-weight: bold!important;
}

.invalid-control-wrapper .control-input input, .invalid-control-wrapper .control-cancel-btns button .ui-icon,
.invalid-control-wrapper .ui-selectonemenu-label{
    color: #E83E22 !important;
    font-weight: bold!important;
}

.waiting-execution-control-wrapper .control-input input, .waiting-execution-control-wrapper .control-input .ui-selectonemenu,
.waiting-execution-control-wrapper .ui-selectonemenu-label.ui-inputfield{
    /*color: black!important;*/
    color: #408040 !important;
}

.control-wrapper .control-input input, .control-wrapper .control-input .ui-selectonemenu{
    width: 200px!important;
}

.command-chip{
    float:right;
}

@media (min-width: 769px) {
    .control-cancel-btns {
        float:right;
    }

    .control-wrapper .control-input{
        float:left;
    }

    .control-column-title{
        display: none;
    }
    .control-command-status {
        min-width: 130px!important;
        width: 130px!important;
        float: right!important;
    }

}

@media (max-width: 768px) {
    .control-cancel-btns {
        float:left;
    }

    .control-wrapper .control-input{
        float:right;
    }

    .control-column-title{
        display: inline-flex;
    }
    .control-command-status {
        min-width: 230px!important;
        width: 230px!important;
        float: right!important;
    }

    .control-table-header-wrapper{
        display: none!important;
    }

}
@media (min-width: 769px) and (max-width: 991px) {
    .control-name{
        width: 110px!important;
        min-width: 110px!important;
    }
}

.control-column-title{
    padding-bottom: 5px!important;
    padding-top: 10px!important;
    float: left!important;
}

.regulator-control{
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}


.control-command-btns{
    width: 200px!important;
    min-width: 200px!important;
    float: right!important;
}

.control-value{
    width: 240px !important;
    min-width: 240px!important;
    float:right!important;
}

.control-name{
    min-width: 300px; width: 300px;
}

.control-table-header{
    background: var(--surface-c)!important;
}

.pnlList{
    overflow-x: scroll;
}

@media (min-width: 769px) {
    .seracherInput  .ui-autocomplete-input{
        width: 300px;
    }
    .map-nav{
        width: 460px;
    }
    .map-auto-update{
        /*margin-top: -0.8rem!important;*/
    }
}

.map-nav{
    margin-bottom: 10px;
}
.map-auto-update{
    padding-right: 7px;
}

@media (max-width: 768px) {
    .map-auto-update-setting{
        display: none!important;
    }
    .map-update-indicator{
        margin-top: 10px;
    }
    .map-card{
        height: 94px;
    }
}

.layout-main:has(.map-card) .layout-breadcrumb {
    display: none;
}

.layout-main:has(.map-card) .layout-content{
    padding: 0!important;
}


@media (min-width: 421px) and (max-width: 768px)  {
    .seracherInput  .ui-autocomplete-input{
        width: 200px;
    }
    .map-nav{
        width: 400px;
    }
}


@media (min-width: 360px) and (max-width: 420px) {
    .seracherInput  .ui-autocomplete-input{
        width: 140px;
    }
    .map-nav{
        width: 340px;
    }
}
@media (max-width: 359px)  {
    .seracherInput  .ui-autocomplete-input{
        width: 100px;
    }
    .map-nav{
        width: 300px;
    }

}

.map-card {
    margin-bottom: 0.5rem!important;
}

/*------------*/

.reference-item-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

.reference-item-menu li {
    float: left;
}

.reference-item-menu li a, .reference-item-menu .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.reference-item-menu li a:hover, .reference-item-menu .dropdown:hover .dropbtn {
    background-color: red;
}

.reference-item-menu li.dropdown {
    display: inline-block;
}

.reference-item-menu .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.reference-item-menu .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.reference-item-menu .dropdown-content a:hover {background-color: #f1f1f1;}

.reference-item-menu .dropdown:hover .dropdown-content {
    display: block;
}

.reference-item-menu .md-menu-toolbar{
    min-height: auto!important;
}

.reference-item-menu .md-menu-content.md-menu-bar-menu.md-dense{
    padding-bottom: 0!important;
    padding-top: 0!important;
    margin-top: 0!important;
    margin-bottom: 0!important;
}

/**/

.ui-button-icon-only.ui-button-big-icon {
    border-radius: 5px !important;
    max-width: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
}

.ui-button-icon-only.ui-button-big-icon .ui-icon.fa {
    font-size: 12px !important;
    margin-top: -5px !important;
    font-size: 35px;
}
.ui-button-icon-only .ui-icon.fs23 {
    font-size: 24px !important;
    margin-top: -12px!important;
    margin-left: -12px!important;
}

.ui-button.ui-button-icon-only.ui-button-big-icon .ui-button-text{
    padding: 5px 0px !important;
}

@media (max-width: 768px)  {
    .map-layout-btn{
        display: none!important;
    }
    .map-main-header{
        display: none!important;
    }
}

.details-wrapper .details-title{
    font-size: 1.25rem;
    padding-top: 32px;
    height: 87px;
    border-bottom: 1px solid var(--surface-d);
    padding-left: 15px;
}
.details-wrapper .reference-item-events{
    padding-left: 15px;
    padding-right: 15px;
}

.dialog-details-wrapper .reference-item-events table,
.details-wrapper .reference-item-events table{
    border-collapse: collapse;
    border: 2px solid var(--surface-a);
    width: 100%;
}
.dialog-details-wrapper .reference-item-events td,
.dialog-details-wrapper .reference-item-events th,
.details-wrapper .reference-item-events td,
.details-wrapper .reference-item-events th
{
    border: 1px solid var(--surface-d);
}

.dialog-details-wrapper .events-block,
.details-wrapper .events-block{
    margin-bottom: 10px;
}

.mnemonic-open-link{
    float: right;
    padding-right: 15px;
    font-size: xx-small !important;
}

.details-wrapper .reference-item-menu{
    padding-left: 11px;
}

body.md-default-theme, body, html.md-default-theme, html{
    background-color: var(--surface-a)!important;
}


.regulator-control-textarea{
    width: 100%!important;
    height: 250px;
}

.regulator-control-text-output{
    width: 100%!important;
    height: 250px;
    border: 3px inset var(--primary-color)!important;
    overflow-y: scroll!important;
}

@media screen and (max-width: 991px) {
    .repo_table thead, .semantic-items-table thead {
        position:sticky!important;
        top:120px!important;
        background: var(--surface-d)!important;
    }
    :is(.report-top-zero-class, .report-table-preview) > .repo_table thead  {
        top:0 !important;
    }
}

@media screen and (min-width: 992px) {
    .repo_table thead, .semantic-items-table thead  {
        position:sticky!important;
        top:60px!important;
        background: var(--surface-d)!important;
    }
    :is(.report-top-zero-class, .report-table-preview) > .repo_table thead  {
        top:0 !important;
    }
}

.report-edit-preview {
    width: 100%;
    overflow-x: auto;
}

.report-edit-preview .repo_table thead {
    position: relative !important;
    top: auto !important;
    background: var(--surface-d) !important;
}

.repo_table {
    border-spacing: 0px;
    border-collapse: separate;
    font-size: 10pt;
    border-top: solid 1px  var(--repo-table-border-color);
    border-left: solid 1px var(--repo-table-border-color);;
    border-right: none;
    border-bottom: none;

}

.repo_table td, .repo_table th {
    padding: 4px;
    text-align: center;
    border-left: none;
    border-top: none;
    border-right: solid 1px var(--repo-table-border-color);;
    border-bottom: solid 1px var(--repo-table-border-color);;
}

.repo_table tbody tr:nth-child(odd) {
    background: var(--surface-a)!important;
}

.repo_table tbody tr:nth-child(even) {
    background: var(--surface-b)!important;
}


#loadSpinner {
    border: unset;
    box-shadow: unset;
}

#loadSpinner > div {
    background: unset;
}

.point-uchet-action-link {
    font-size: 12px !important;
    margin: 0 4px 4px 0;
}

.custom-scrolltop.ui-scrolltop {
    width: 2rem;
    height: 2rem;
    border-radius: 4px;
    outline: 0 none;
    background-color: var(--primary-color);
}
.custom-scrolltop.ui-scrolltop:hover {
    background-color: var(--primary-color);
}

.custom-scrolltop.ui-scrolltop .ui-scrolltop-icon {
    font-size: 1rem;
    color: var(--primary-color-text);
}

table.panelGridNoBorders tr, table.panelGridNoBorders td {
    border: none !important;
}

.urgent-user-notification-row {
    background-color: #ffebeb !important;
}

.text-muted {
    color: #6c757d !important;
}

.user-notifications img {
    border-radius: 3px;
    border: 1px solid #aaa !important;
}

.urgent-notification-content {
    padding: 10px;
}

.urgent-notification-carousel .ui-carousel-header {
    padding: 3px !important;
}

.urgent-notification-carousel-item {
    border: 0 !important;
}

.urgent-notification-carousel-item .center {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mark-as-read-button {
    font-size: large;
}

.mt-1 {
    margin-top: 1rem;
}

.user-notification-icon-container {
    border-radius: 3px;
    border: 1px solid black;
    aspect-ratio: 1 / 1;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
}

.centered-badge {
    vertical-align: middle;
    margin-bottom: 3px;
    margin-right: 7px;
}

.dot {
    height: 7px;
    width: 7px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 3px;
    margin-right: 3px;
}

.topbar-icon {
    font-size: 1.5rem !important;
}

.user-notification-text {
    display: block;
    /*max-height: 50vh;
    overflow-y: auto;*/
}

@media screen and (max-width: 575px) {
    .user-notification-dialog .ui-dialog-content {
        padding: 0 0.5rem 0.5rem 0.5rem !important;
    }

    .user-notification-dialog .ui-dialog-titlebar {
        padding: 0.5rem !important;
    }
}


/*** MAR контролы времени ********/

.cTime  {
    width: 70px!important;
}

.control-wrapper .control-input .cTime input
{
    width: 70px!important;
}

td.cSpinCol {
    width: 41px;
}

td.cSpinCol > label {
    margin-bottom: 0;
}

table.cTimeGrid tr, table.cTimeGrid td {
    border: none !important;
    padding: 0 !important;
}

table.cTimeGrid td:nth-child(2) {
    border: none !important;
    padding: 0 1rem !important;
}

.layout-footer .footer-links li {
    cursor: auto;
}

.ui-state-disabled {
    pointer-events: all !important;
}

.ws-n{
    white-space: normal!important;
}

.ws-bs
{
    white-space: break-spaces!important;
}

.ww-bw{
    word-wrap: break-word!important;
}

.semantic-items-table, .semantic-items-table .ui-datatable-tablewrapper{
    overflow: unset !important;
    overflow-y: unset !important;
}

.semantic-items-table .btn-si-del,
.semantic-items-table .btn-si-del .ui-icon.pi-trash,
.semantic-items-table .btn-si-del.ui-state-disabled .ui-icon.pi-trash{
    position:unset!important;
}

.semantic-items-table .btn-si-del .ui-button-text {
    display: none;
}

.semantic-items-table .btn-si-del.ui-state-disabled {
    opacity:unset!important;
    color:var(--surface-d)!important;
}

.semantic-items-table .ui-column-title{
    cursor:pointer;
}

.sort-order{
    color:var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    padding: 2px;
}

.container-centered {
    display: table;
}

.container-centered > .centered {
    display: table-cell;
    vertical-align: middle;
    margin-left: 5px;
}

.resource-type-icon {
    width: 50px;
    margin-right: 10px;
}

.smart-logo
{
    background: url("/javax.faces.resource/img/logo_light.svg.xhtml");
    background-repeat: no-repeat !important;
    background-position: center !important;
    height: 47px;
    margin-left: -9px;
    width: 204px;
}

.layout-topbar-dim .smart-logo, .layout-topbar-dark .smart-logo{
    background: url("/javax.faces.resource/img/logo_black.svg.xhtml")!important;
}

.layout-topbar-light  .smart-logo{
    background: url("/javax.faces.resource/img/logo_light.svg.xhtml")!important;
}

@media screen and (max-width: 991px) {
    .smart-logo{
        margin-top:-6px;
    }
}

@media screen and (min-width: 992px) {
    .smart-logo{
        margin-top:0px;
    }
}
.happy-new-year-logo-decoration{
    margin-left: 200px;
    margin-top: 15px;
}
.happy-new-year-logo-decoration-i{
    font-size: 1.5rem;
    margin-left: -128px;
    top:3px;
    position:relative;
    --fa-secondary-color: orangered;
    --fa-secondary-opacity: 1.0;
}

.no-border * {
    border: none !important;
}

@media screen and (max-width: 640px) {
    .desktop-childs-toggler{
        display: none!important;
    }
}

@media screen and (min-width: 641px) {
    .mobile-childs-toggler {
        display: none!important;
    }
}