@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    color: #2c4782 !important;
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Hide the "No data available" message */
.dx-datagrid-nodata {
    display: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.Comfort-ColumnChooser-Button {
    float: right !important;
    margin-right: 50px;
}

html, body {
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.card-header {
    background-color: #2c4782;
}

html, body, #app {
    height: 100%;
    overflow: hidden;
    font-family: Poppins !important;
}

#app {
    background-color: inherit;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.login-layout {
    background-color: lightgrey;
    width: 450px;
    margin: auto;
    padding: 30px;
}

.middle-box {
    margin: auto;
    margin-top: 200px;
    width: 450px;
    padding: 10px;
    box-shadow: 5px 10px 18px #7a7373;
    background-color: white;
}

.reset-password {
    margin: auto;
    margin-top: 200px;
    width: 450px;
    height: 200px;
    padding: 30px;
    background-color: white;
}

.login-box {
    margin-top: 250px;
}

.column-chooser-button-align {
    text-align: right !important;
}

.body-logo {
    /*margin-top: 1em;*/
    margin-right: 3em;
}

.custom {
    padding-top: 10px;
}



.dropdown-menu {
    min-width: 0rem !important;
}

.dxbl-btn-secondary {
    color: #fff !important;
    background-color: #2c4782 !important;
    color: #fff !important;
    float: right !important;
}

.chart-title {
    font-size: 16px;
    color: #2c4782;
}

.app-sidebar .nav-item.comfort a.nav-link.active {
    content: url(/images/Wcomfort24px.png) !important;
    padding: 8px 18px !important;
    margin-left: 4px;
}

.app-sidebar .nav-item.settings a.nav-link.active {
    content: url(/images/Wsettings24px.png) !important;
    padding: 8px 18px !important;
    margin-left: 4px;
}

.app-sidebar .nav-item.report a.nav-link.active {
    content: url(/images/Wreport24px.png) !important;
    padding: 8px 18px !important;
    margin-left: 4px;
}

.app-sidebar .nav-item.energy a.nav-link.active {
    content: url(/images/Wenergy24px.png) !important;
    padding: 8px 18px !important;
    margin-left: 4px;
}
.app-sidebar .nav-item.mqttreport a.nav-link.active {
    content: url(/images/Wmqttreport24px.png) !important;
    padding: 8px 18px !important;
    margin-left: 4px;
}

.dxbl-accordion > nav > .dxbl-accordion-group > .dxbl-accordion-group-header {
    background-color: #2c4782;
    color: white;
}

.logout {
    color: #fff !important;
    background-color: #2c4782 !important;
    float: right !important;
}

a {
    color: #2c4782 !important;
}

.dxbs-tree ul.nav > .nav-item > .nav-link:not(.disabled) .dxbl-image {
    opacity: 1 !important;
}

.dxbs-tree ul.nav > .nav-item > .nav-link svg.dxbl-image {
    display: none
}

.dxbs-menu .dx-menu-item .dx-menu-dropdown-toggle svg.dxbl-image {
    display: none
}

.dxbs-tree .expand-btn.btn:not(:last-child) {
    margin-right: 0 !important;
}

.dxbl-tabs.dxbl-tabs-scrollable.tab-alignment > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul {
    float: right;
}

.app-sidebar > .nav-pills > .nav-item:first-of-type {
    padding-top: 0 !important;
}

.dxbl-grid {
    --dxbl-grid-bg: none !important;
}

.components-reconnect-show, .components-reconnect-failed, .components-reconnect-rejected {
    display: none;
}

.message-box.remove {
    position: fixed;
    top: 15px;
    right: 30px;
    padding-bottom: 0px;
    padding: 16px 70px 0 70px;
    font-weight: bold;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}
/*nav menu change required for logout dropdown*/
.dxbl-menu-dropdown.dxbl-dropdown-dialog > .dxbl-dropdown-body {
    min-width: 0px !important;
}

.dxbl-menu-dropdown.dxbl-dropdown-dialog {
    --dxbl-dropdown-min-width: 0px !important;
}
