[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.fa-user-secret {
    color: rgb(255, 255, 255);
}
:root {
    --menu-bg-color: #212529;
    --menu-bg-light-color: #343a40;
    --theme-base-color:#006A91;
    --theme-hover-color:#00a7e8;
    --remove-color: #ff3300;
    --add-color: #33cc00;
    --warn-color: #ff9900;
  }
body{
    padding: 0;
}
 h1{
     margin-top:.5em;
 }
a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

/* .navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
} */

i {
    display: inline-block;
}

select {
    border-radius: 4px;;
}
/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: var(--menu-bg-color);
    color: #fff;
    transition: all 0.3s;
    overflow-y: auto;
    height: 100vh;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

#sidebar.collapsed {
    min-width: 50px;
    max-width: 50px;
    text-align: center;
}

#sidebar.collapsed .app-name,
#sidebar.collapsed .menu-title{
    display: none;
}

#sidebar.collapsed .sidebar-header strong {
    display: block;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar.collapsed ul li a {
    padding: 13 px 10px;
    text-align: center;
}

#sidebar .sidebar-header {
    padding: 9px;
    background: #212529;
    vertical-align: middle;
}
#sidebar .sidebar-header i{
    color: #00a7e8;
    font-size: 1.5em;
    vertical-align: -.17em;
    margin-right: 5px;
}

#sidebar ul.components {
    padding: 0px ;
}

#sidebar ul li a {
    padding: 10px 13px;
    font-size:16px;
    display: block;
    border-top:1px solid #272C31;
}

#sidebar ul li a:hover {
    color: #ffffff;
    background: #272C31;
}

#sidebar ul li a i {
    margin-right: 10px;
}
#sidebar.collapsed ul li a i{
    margin-right: 0;
}


#sidebarCollapse {
    transform: rotate(-180deg);
    transition: all 0.4s;
    padding: 0.5em;
    color:#ffffff;
    font-size: 1.5em;
    line-height: 0.7
}
#sidebarCollapse:hover {
    color: var(--theme-hover-color)
}
#sidebarCollapse.closed {
    transform: rotate(0deg);
    transition: all 0.4s;
    line-height: 1.1
}

.app-name {
    font-weight: bold;
    font-size: 18px;
}
a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}
/* ---------------------------------------------------
    TOPMENU STYLE
----------------------------------------------------- */
.top-menu {color: #ffffff;}
.top-menu-items {
    display: flex;
    align-items: center;
    margin: 0;
}
.top-menu-items li{
    list-style-type: none;
    padding: 0.5em;
    vertical-align: middle;
}
.top-menu-items i {
    padding: 0 0.3em;
    vertical-align: -0.15em;
}
/* @media (max-width: 768px) {
    .top-menu-items span {display: none}
    .top-menu-items i {
        font-size: 1.4em;
        vertical-align: initial;
    }

} */
/* ---------------------------------------------------
    Navbar STYLE
----------------------------------------------------- */
.navbar {padding: 4px 0}
.navbar-dark .navbar-toggler {
    color: #ffffff;
    z-index: 20;
}
.navbar-collapse {
    z-index: 10;
}
.navbar-toggler {
    border:none;
}
.navbar-nav {
    background: var(--menu-bg-light-color);
}
.navbar-nav li {
    color: #ffffff;
    padding: 0.6em;
    text-align: center;
}
.navbar a:hover {
    color: var(--theme-hover-color);
}
.navbar-nav li i{
    margin-right: 0.4em;
    vertical-align: -0.15em;
    font-size: 1.2em;
}
.navbar-expand-lg .navbar-nav {
    width: 100%;
    justify-content: flex-end;
}
@media (max-width: 992px) {
    .navbar-nav li {
        border-bottom: 1px solid #475056;
    }


}
/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
/* Buttons */
.default-btn {
    border-radius: 4px;
    padding: .4em 0.5em;
    margin-bottom: 1em;
    background: #f3f3f3;
    color:  var(--theme-base-color);
    border: 1px solid #dddddd;
}
.default-btn:hover {
    color: #ffffff;
    background-color: var(--theme-hover-color);
    border-color:  var(--theme-hover-color);
}
.default-btn i {
    vertical-align: -0.1em;
    margin-right: 0.3em;
}
.table-btn {
    color: var(--theme-base-color);
    padding: .5em;
    line-height: 1;
    align-self: right;
}

.table-btn i {
    font-size: 1.2em;

    vertical-align: -0.2em;
}

.table-btn:hover{
    color: var(--theme-hover-color);
}
.table-btn-text {
    margin-left: 0.5em;
}

.back-btn {
    border: none;
    background: none;
    color: var(--theme-base-color);
}
.back-btn:before {
    content: "\100c";
    font-family: "openflow-font" !important;
    vertical-align: -0.2em;
    margin-right: 0.2em;
}
.back-btn:hover {
    color: var(--theme-hover-color);
}
.remove-btn {
color: var(--theme-base-color);
display: inline-block;
}

.remove-btn:hover,
.remove-btn:active {
    color: var(--remove-color);
}
.text-btn {
    background-color: var(--theme-base-color);
    border: 1px solid var(--theme-base-color);
    color: #ffffff;
    padding:  0.4em 0.5em;
    border-radius: 4px;
}
.text-btn:hover,
.text-btn:active {
    background-color: var(--theme-hover-color);
    border-color: var(--theme-hover-color);
}
.text-btn span {
    margin-left: 0.3em;
}
/* menu */
#content {
    width: 100%;
    height: 100vh;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}
main {
    overflow-y: auto;
    max-height: calc(100vh - 54px);
    -ms-overflow-style: -ms-autohiding-scrollbar;
    -webkit-overflow-scrolling: touch;
}

.alternating {
    background-color: #efefef;
    padding: 0.5em 0;
    margin: 0.1em;
}

.alternating:nth-of-type(2n) {
    background-color: #ffffff;
}
.rota-entity:last-of-type {
    margin-bottom: 10px;
}
.col-flex {
    display: flex;
    align-items: flex-start;
}

.col-flex .text-btn {
    margin-left: 5px;
    align-self: center;
}
.col-flex .form-control{
    width: auto;
}
.input-group + .input-group {margin-top: 5px}
input.switch[type=checkbox]{
    height: 0;
    width: 0;
    visibility: hidden;
}

label.switch {
    cursor: pointer;
    text-indent: -9999px;
    width: 3.3em;
    height: 1.6em;
    background: #cccccc;
    display: block;
    border-radius: 2em;
    position: relative;
}

label.switch:after {
    content: '';
    position: absolute;
    top: 0.1em;
    left: 0.1em;
    width: 1.4em;
    height: 1.4em;
    background: #fff;
    border-radius: 1.4em;
    transition: 0.3s;
}

input.switch:checked + label.switch {
    background: var(--add-color);
}

input.switch:checked + label.switch:after {
    left: calc(100% - 0.1em);
    transform: translateX(-100%);
}

label.switch:active:after {
    width: 1.8em;
}
.filter-container{
    display: flex;
    justify-content: flex-end;
}
.new-btn i {
    vertical-align: middle;
}
.filter-btn, .new-btn {
    padding: 7px 10px 5px 10px;
    color: var(--theme-base-color);
    display: inline-block;
    margin-bottom: 5px;
}

.filter-btn:hover, .new-btn:hover {
    color: var(--theme-hover-color);
}

.filter-btn.active {
    background-color: var(--theme-base-color);
    color: #ffffff;
}

.filter-btn.active:hover {
    background-color: var(--theme-hover-color);
}

.filter-btn i {
    font-size: 20px
}

#filter{
    display: none;
    padding:0.5em;
    z-index: 10;
    box-sizing: border-box;
    background: #FFFFFF;
    box-shadow: 0 0 5px rgba(55,55,55,0.5);
    position: absolute;
    right: 55px;
}
    #filter.display {display: inline-block;}

#filter .title{font-weight: bold}

.filter-row {
    display: flex;
    align-items: center;
    height: 2.5em;
    justify-content: space-between;
}

.filter-row span {
    margin-right: 1em;
}
/*Locations page*/
.locations-container {
    /* height: 300px;
    background: #f0f;
    align-items: stretch; */
    display: flex;
    height: calc(100vh - 70px);

}
.location-list {
    max-width: 50%;
    padding: 0 15px 0 0;
    overflow: scroll;
    width: 50%;
    box-sizing: border-box;
    border-bottom: 1px solid #dddddd;
}
.location-detail {
    /*
    flex-basis: 50%;
    flex-grow: 0;
    flex-shrink: 0; */
    width: 50%;
    box-sizing: border-box;
    max-width: 50%;
    padding: 0 15px 0 0;
   position: sticky;
   top:0;
}
/* editor */
.editor {
    border:1px solid #dddddd;
    border-radius: 4px;
    padding-top:10px;
    padding-bottom: 10px;
}
/* form status */
.form-control.alarm {
    border-left: 5px solid var(--remove-color);
}
.form-control.ok {
    border-left: 5px solid var(--add-color);
}
.form-control.warning{
    border-left: 5px solid var(--warn-color);
}
span.form-control {
    background: #f8f8f8;
}
/* mobile table */

table.mobile-table {
    border-collapse: collapse;
    margin: 0 0 15px 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
  }

table.mobile-table tr {
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    padding: .35em; }

table.mobile-table tbody tr:hover {
    color: #212529;
    background-color: rgba(0,0,0,.075);
}

table.mobile-table th,
table.mobile-table td {
    padding: .625em;
    word-wrap: break-word;
}

table.mobile-table th {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}
.th-button,
.th-date {width: 120px}
.th-icon {width:50px}

.status-table tr{
    border-left: 7px solid #dddddd;
}
.status-table thead tr {
    border-left-color: #343a40;
    border-bottom-color: #343a40;
}
tr.alarm {
    border-left-color: var(--remove-color);
}
tr.ok {
    border-left-color: var(--add-color);
}
tr.warning{
    border-left-color: var(--warn-color);
}
.icon-alarm {
    color: var(--remove-color);
    }
.icon-warning {
    color: var(--warn-color);
    }
.icon-ok {display: none}

th.normal {
    width: 7px;
    padding: 0 !important;
}
td.normal {
    width: 7px;
    padding: 0 !important;
    background-color: #ddd;
}
td.ok {
    background-color: var(--add-color);
}
td.alarm {
    background-color: var(--remove-color);
}
td.warning {
    background-color: var(--warn-color);
}

@media screen and (max-width: 600px) {
    table.mobile-table {
        border: 0;
    }

    table.mobile-table caption {
        font-size: 1.3em;
    }

    table.mobile-table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table.mobile-table tr {
        display: block;
        margin-bottom: .625em;
    }

    table.mobile-table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        min-height: 30px;
    }

    table.mobile-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
        margin-right: 1em;
    }
    table.mobile-table td:last-child {
        border-bottom: 0;
    }
    table.mobile-table td.btn-cell {
        text-align: center;
        padding: 0;
        }
        table.mobile-table td.btn-cell a.table-btn,
        table.mobile-table td.btn-cell .table-btn {
            display: block;
            background-color: var(--theme-base-color);
            color: #ffffff;
        }
        table.mobile-table td.btn-cell .table-btn:hover,
        table.mobile-table td.btn-cell .table-btn:active {
            background-color: var(--theme-hover-color);
        }

}
/* Treeview  */
.details-card {
    background: #f9f9f9;
    padding: 15px 15px 1px 15px;
}
tr.angular-ui-tree-empty {
    height: 100px
}
 div.angular-ui-tree-handle {font-weight: 300; display: flex; align-items: center;}
 div.angular-ui-tree-handle a + div {font-weight: 700}

tr.angular-ui-tree-empty {
    height: 100px
  }
.hidden {
    display: none !important;
    visibility: collapse !important;
  }
.tree-node {
    background: #f9f9f9;
    margin: 0.2em;
}

.tree-node:hover,
.tree-node.selected  {
    background: #E5F2F7;

}
div.angular-ui-tree-handle .fas {
    padding: 0.3em;
}
.fas {
    color: var(--theme-base-color);
}
.fas:hover {
    color: var(--theme-hover-color);
}
div.angular-ui-tree-handle .title {
    flex-grow: 2;
    padding: 0.3em;
}
div.angular-ui-tree-handle .add-btn {
    align-self: flex-end;
    padding: 0.4em 0.4em 0.3em 0.4em;
    color: var(--theme-base-color);
    line-height: 1;
}
div.angular-ui-tree-handle .fas:hover,
div.angular-ui-tree-handle .add-btn:hover {
    background-color: var(--theme-hover-color);
    color: #ffffff;
}
ol.angular-ui-tree-nodes .angular-ui-tree-nodes {
    padding-left: 27px;
}




/* ---------------------------------------------------
    BOOTSTRAP
----------------------------------------------------- */
nav {
    height: 54px;

}
.header-col {
    margin-top:30px;
}

.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

.auto-height {
    height: auto;
    overflow-wrap: break-word;
}

.container {
    min-height: 350px;
}

.correct-padding {
    padding-top: 0.375em !important;
}

.md-whiteframe-z1 {
    box-shadow: none;
}

.without-padding {
    padding: 0;
}

.without-margin {
    margin: 0;
}

fieldset.standard {
    display: block;
    margin-inline-end: 2px;
    padding-inline-start: 0.75em;
    padding-inline-end: 0.75em;
    min-inline-size: min-content;
    border-width: 1px;
    border-style: groove;
    border-color: threedface;
    border-image: initial;
    margin-bottom: 1rem;
    margin-left: 1px;
}

md-checkbox {
    margin-right: 8px;
    margin-bottom: 8px;
}

legend {
    color: #3F51B5;
    font-size: 1rem;
    display: block;
    margin-inline-start: 2px;
    padding-inline-start: 2px;
    width: auto;
    margin-bottom: 0;
}

md-select .md-select-value.md-select-placeholder, md-select .md-select-value {
    border-bottom: none !important;
}

.small-text {
    font-size: 0.7rem;
    line-height: normal;
}

.with-date {
    line-height: normal;
}

.select-container .md-select-value span {
    white-space: normal;
}

.select-container {
    margin: 0;
}

md-select-menu, .md-select-menu-container, md-content, md-option, md-option div {
    max-width: 100%;
}

md-option .md-text {
    white-space: normal;
    line-height: 16px;
    height: auto;
    word-break: break-word;
}

md-autocomplete-parent-scope span {
    white-space: normal;
    line-height: 16px;
    height: auto;
    word-break: break-word;
}

.md-autocomplete-suggestions li {
    line-height: 16px;
    display: flex;
    align-items: center;
}

.additional-height {
    height: calc(1.5em + .75rem + 6px);
}

.select-search-box {
    width: calc(100% - 1.5rem - 2px);
    outline: none;
}

.select-search-box:focus {
    box-shadow: none;
}
/* ul.l */
/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important;
    }

    #sidebar.collapsed {
        margin-left: 0 !important;
    }
    #sidebar.collapsed + #content {
        width: calc(100% - 50px);
    }
    #sidebar ul li a {
        padding: 20px 10px;
    }
    #sidebar ul li a span {
        font-size: 0.85em;
    }
    #sidebar ul li a i {
        margin-right: 0;
        display: block;
    }
 #sidebarCollapse {
    transform: rotate(0deg);

    }
    #sidebarCollapse.closed {
        transform: rotate(-180deg);
    }
    #sidebar {
        margin-left: 0;
    }
}
@media (min-width: 992px) {

    .navbar-expand-lg {
        justify-content: space-between;
    }

}
@media (min-width: 575px) {
    .header-col {
        margin-top:25px;
    }
}

.btn:disabled {
    opacity: 0.45;
}
