/* You can add global styles to this file, and also import other style files */

//auth style
.login-body {
    //background:  url("../images/login/login.png") top left no-repeat #f7f7f7;
    background:  url("/assets/layout/images/login11.jpg") center no-repeat #f7f7f7 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
    .login-body {
        //background: url("../images/login/login2x.png") top left no-repeat #f7f7f7;
        background:  url("/assets/layout/images/login11.jpg") top left no-repeat #f7f7f7 !important; 
    }
}
.login-panel {
    margin: 0 !important;
    .ui-g {
        .ui-g-12 {
            a { 
                color: #5e6166;
                font-size: 0.8em;
            }
            a:hover{
                color: rgb(18, 86, 233);
            }
        }
        .ui-g-12.ui-g-padding-15 {
            padding: 15px 40px !important;
        }
    }
}

.login-table {
    vertical-align: middle;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin: auto;
    height: 100vh;
    border-collapse: collapse;
    border-spacing: 0;
}
.ui-button-secondary{
    background-color : #f5f6f8 !important;
    .ui-button-icon-left{
        color: #5e6166 !important;
    }
}
.ui-button-secondary:hover{
    color : #5e6166 !important;
}

.ui-button-large {
    font-size: 1.6em !important;
}

.ui-bottom-space-10{
    margin-bottom: 10px;
}

.ui-top-space-10{
    margin-top: 10px;
}

.ui-top-space--0-5em{
    margin-top: -0.5em;
}

.ui-left-space-10{
    margin-left: 10px;
}

.ui-float-right{
    float:right;
}
.ui-button-width-fit{
    width: auto !important;
}
.ui-nopad{
    padding: 0px !important;
    .ui-accordion-content{
        padding: 0px !important;
        border: 0px !important;
    }
}
.ui-width-100-{
    .ui-orderlist-list-container{
        width : 100% !important;
    }
}
.ui-no-border{
    border: 0px !important;
    .ui-tree{
        border : 0px !important;
    }
}

.ui-s-button{
    .ui-button-text {
        padding: 2px !important;
        .ui-button-text-icon-left {
            padding: 2px 12px 2px 4px !important;
        }
        .ui-button-text-icon-right {
            padding: 2px 4px 2px 12px !important;
        }
    }
    font-size: 0.8em !important;
}

.ui-status-icon{
    //margin-top: 3px;
    //position: static;
    //display: inline-block;
    vertical-align: middle;
    &.ui-status-info {
        color: #2196F3 !important;
    }

    &.ui-status-warn {
        color: #ffc107 !important;
    }

    &.ui-status-error {
        color: #e62a10 !important;
    }

    &.ui-status-fatal {
        color: #212121 !important;
    }

    &.ui-status-success {
        color: #8BC34A !important;
    }
}
.ui-img-profile{
    min-width: 250px !important;
    @media (max-width: 640px) {
        text-align: center;
    }
}
.ui-img-profile-box {
    width: 244px !important;
    padding: 12px;
    box-sizing: border-box;
    display: block;
    background-color: #ffffff;
    border: 1px solid #bdbdbd;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin: auto;
    
    img {
        object-fit: cover;
        width:220px;
        height:220px;
      }
      
    @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 

    }
    
    @media (max-width: 1024px) {

    }
    
    @media (max-width: 640px) {

    }
}

.ui-sensors-datalist {
    .ui-sensors{
        .ui-sensor{
            display:inline-block;
            margin: auto;
            padding:9px;
            text-align: center;
            .ui-icon-lg{
                font-size: 3em;
                margin: 3px;
            }
        }
        .ui-sensors-details{
            display:inline-block;
            margin: auto 0;
        }
    }
}

.ui-key-value {
    of-key-value{
        width: 100%;
        min-width: 250px;
        margin: 0 -5px;        
    }
    div {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    span {
        font-weight: bold;
        width: 105px ;
        display: inline-block;
        padding: 5px;
        margin: 0;
        text-align: right;
        //background: red;
    }
    span::after {
        content: " : ";
    }
    span.ng-star-inserted, a.ng-star-inserted>span {
        font-weight: normal;
        text-align: left;
        display: inline-block;
        padding: 5px;
        margin: 0;
        width: 50%;
        //background: blue;
    }
    span.ng-star-inserted::after, a.ng-star-inserted>span::after {
        content: " ";
     }
}

.ui-bottom-border-1 {
    border-bottom: #bdbdbd 1px solid;
}
.ui-bottom-border-sm-1 {
    @media (max-width: 640px) {
        border-bottom: #bdbdbd 1px solid;
    }
}
/*.layout-container .ultima-menu{
    width: 100% ;
}*/

.layout-container .ultima-menu .ui-app-noti{
    h4 {
        line-height: 1.2em;
        margin: 0;
        width: 100%;
        border-bottom: #bdbdbd 1px solid;
        padding: 7px 10px;
        color: #bdbdbd;
    }
    @media (max-width: 1024px){
        h4 {
            display: none;
        }
        li{
            border-top: #bdbdbd 1px solid;
        }
    }
    li{
        padding: 0 ;
        width: 100%;
        border-bottom: #bdbdbd 1px solid;
        a {
            display: block;
            .ui-app-noti-title {
            font-weight: bold;
            float: left;
            }
            .ui-app-noti-date{
                float: right;
                font-size: 0.8em;
                color: #5e6166;
            }
            .ui-app-noti-content{
                float: left;
                overflow: hidden;
            }
        }
    }
}
.ui-button-photo-add {
    vertical-align: text-bottom;
    float: right;
    margin-top: -30px;
    margin-right: -5px;
}

.ui_orderlist_controls_none {
    .ui-orderlist-controls {
        display: none !important;
    }
}
.layout-container .layout-menu .profile .profile-image{
    border-radius: 50%;
}
.layout-container .topbar-items .profile-image{
    border-radius: 50%;
}
body .ui-progressbar .ui-progressbar-value {
    height: 0 !important;
}