﻿@import url('../libs/roboto/font-roboto.css');

body {
    /*margin: 0 auto;*/
    font-family: Roboto, Arial;
    font-size: 14px;
}

#top {
    display: flex;
    position: absolute;
    height: 49px;
    top: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ccc;
    z-index: 1000;
}

#logo {
    color: #3270d1;
    position: fixed;
    width: 72px;
    left: 0;
    top: 0;
    height: 59px;
    padding: 10px;
    text-align: center;
}

#box-top1 {
    font-size: 19px;
    color: #106dc1;
    margin-left: 10px;
    line-height: 49px;
}
#rpName {
    font-family: 'Roboto Condensed';
    font-size: 20px !important;
    margin: -13px 0 4px 0 !important;
    font-weight: 500;
    text-shadow: 0px 0px #106dc1;
}

#pagebody {
    position: fixed;
    top: 49px;
    width: 100%;
    height: 100%;
    display: inline-flex;
}
.ptitle {
    color: #0c6396;
    padding: 7px;
    margin: 0 auto;
    background: rgba(183, 225, 249, 0.85);
    margin-left: 20px;
}
#filterWork {
    float: right;
    margin-top: -6px;
}
ul{list-style:none; }
.stitle {
    font-size: 17px;
    font-family: 'Roboto Condensed';
    font-weight: 500;
    text-shadow: 0px 0px #0c6396;
}
#leftpanel {
    height: 100%;
    width: 25%;
    position: relative;
    color: #3270d1;
    padding: 0 10px;
}
#btExpandLeft {
    position: absolute;
    border: 1px solid #ddd;
    margin-left: -1px;
    height: 38px;
    padding: 3px 1px;
    background: #3d6889;
    color: white;
    width: 20px;
    left: 0px;
}

#rightpanel {
    height: 100%;
    width: 75%;
    border-left: 1px solid #ddd;
    position:relative;
}
#box-top2 {
    display: flex;
    height: 30px;
    color: #0a3980;
    line-height: 7px;
    float:left; width:70%;
}
#box-topright {
    width: 30%;
    float: right;
    text-align: right;
    padding: 3px 0; display:flex; justify-content:flex-end
}
.group-one {
    padding: 8px 17px;
    min-height: 48px;
    color:#333;
}
    .group-one.active {
        border-bottom: 3px solid #e74c3c;
        color: #333;display:block;
    }
#topright .group-one.active {
    font-weight:bold;
}
#topright .group-one:hover {
    font-weight: bold;
    background-color:aliceblue;
}
#popup {
    background: #fff;
    border: 1px solid #a3d8ae;
    border-radius: 10px;
    min-width: 360px;
    color: #333;
    padding: 20px;
}
#popup-closer {
    color: #3f403f;
    position: absolute;
    right: 5px;
    text-decoration: none;
    top: 2px;
    font-size: 15px;
    font-weight: bold;
    margin: 2px;
}
button {
    background: none;
    border: none;
    padding: 10px;
}

.dropdown li, .UI-DROP li {
    padding: 0 0 0 11px;
    min-height: 30px;
    line-height: 30px;
    cursor: pointer;
}
    .dropdown li:hover, .UI-DROP li:hover {
        font-weight: bold;
        background-color: #fdfae5;
    }

#pages {
    position: fixed;
    top: 67px;
    width: 100%;
}

.container {
    width: 100%;
    margin: 0 0px;
    padding: 0;
    margin: 0 0px;
    padding: 0;
}
#box-top {
    margin-left: 63px; width:20%;
}
#topright {
    width: 75%;
    display: flex;
}
.pgroup {
    width: 100%;
    float: left;
    font-size: 15px;
    margin: 5px auto;
    color: #000;
    background-color: #edf2f7;
    border-radius: 4px;
    padding: 7px 11px;
}
.group-two{display:none}
.group-two.active {
    display: block;
}
#ulwork, #uldata {
    padding-left: 0;
    height: calc(100vh - 80px) !important;
    overflow: hidden;
}
    #ulwork:hover, #uldata:hover {
        overflow-y:auto;
    }
    .btn_work {
        float: right;
        margin-top: -6px;
    }
#uldata ul {
    padding-left: 0;
}
.rangeFilter {
    display: flex; width:100%;
}
#ulwork li,#uldata li {
    min-height: 30px;
    line-height: 30px;
}
#ulwork li ul li:hover {
    background-color:aliceblue;
    font-weight:bold;
}
    #ulwork li ul li.active {
        font-weight: bold;
        color: #155a96;
        background-color: aliceblue;
    }
    #ulwork li ul li {
        padding: 0 10px;
    }

#ulwork > li > p {
    font-weight: bold;
    margin: 0;
}

#ulwork i,#uldata i {
    width: 24px;
}
#viewData {
    width: 100%;
    height: 445px;
    border:none;
}
#myavatar:hover {
    border: 2px solid red;
}

#myavatar {
    width: 50px;
    height: 50px;
    padding: 8px;
    border-radius: 50%;
    position: absolute;
    top: -13px;
    right: -6px;
}
#myName {
    padding: 3px 0;
    font-size: 13px;
    margin: 10px;
    cursor: pointer;
}
.open #leftpanel {
    display: none;
}
.open #rightpanel {
    width: 100%;
    transition: width 0.5s;
}
.modal-header {
    min-height: 16.43px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    background: #eaf5ff !important;
    color: #103b54; 
    font-family: 'Roboto Condensed';
    text-shadow: 0px 0px #103b54;
}
ul.group-one,div.group-one {
    display: none;
 
}
ul.active {
    display: block;
    border-bottom: none !important;
}
#listWork th {
    white-space: nowrap;
}
.btn_work button {
    color: #0c6396;
}
.tdname i {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 7px;
    cursor:pointer
}
.tdname {
    position: relative;
}
#modalEdit label {
    font-weight: normal;
    margin: 5px auto;
}
#modalEdit .ddl i {
    float: right;
    padding: 3px;
}

#modalEdit .ddl ul {
    width: 100%;
}

#modalEdit .modal-dialog {
    width: 80%;
}
#modalEditContent .error {
    border: 2px solid red;
}

#modalEdit .ddl {
    width: 100%;
    height: 35px;
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 5px 8px;
}

#modalEdit .ha-inline.col-sm-6, #modalEdit .ha-inline.col-sm-12 {
    padding-left: 0;
}
#applyEdit {
    margin-top: 10px;
    background: #3270d1;
    border-radius:4px;
    color:#fff;
}
#listWork tr.active td {
    background: #f0f9de;
}

.sidepanel {
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 10;
    bottom: 0;
    left: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.3s;
    border-top: 2px solid #909090;
}
    /* The sidepanel links */
    .sidepanel a {
        padding: 0px 13px 3px 16px;
        text-decoration: none;
        font-size: 25px;
        color: #fff;
        display: block;
        transition: 0.3s;
        background: #5494e6;
    }

        /* When you mouse over the navigation links, change their color */
        .sidepanel a:hover {
            background: #2d72ca;
        }

    /* Position and style the close button (top right corner) */
    .sidepanel .closebtn {
        position: absolute;
        top: 0;
        right: 0;
        
    }

/* Style the button that is used to open the sidepanel */
.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
}

    .openbtn:hover {
        background-color: #444;
    }
#listWork tr:hover, #listWorkCT tr:hover {
    background-color: #fdfae5
}
.ddl.readonly {
    background: #fefee8;
    cursor: no-drop;
}
.btCancelAssign, .btAssign {
    padding: 0 2px;
}
.btAssign {
    color: red;
}
.btCancelAssign {
    color: green;
}
#sAddLayer {
    padding: 4px 6px;
    cursor:pointer;
    border: 1px solid;
    float: right;
    border-radius: 3px;
}
#ulLayer li {
    border-bottom: 1px dashed;
    min-height: 36px;
    line-height: 37px;
}
.iEditLayer{padding:8px; float:right;}

#cboForms {
    border: 1px solid #ccc;
    margin: 5px auto;
    height: 34px;
    border-radius: 5px;
}
    #cboForms li:hover{background:#f9f9f9;}
    #cboForms li {
        height: 30px;
        padding: 4px 19px;
    }
    #cboForms ul{ max-height:300px; overflow: hidden auto;}
    #layerContent label {
        margin: 5px auto;
    }
#delLayerInfo, #saveLayerInfo {
    background: #2d84e1;
    color: white;
    margin: 8px auto;
    height: 30px;
    padding: 4px 9px;
    border-radius: 4px;
}
#ulLayer li{cursor:pointer}
#ulLayer li.active {
    background: #effbe2;
}

body.monitor #leftpanel {
    width: 45%;
}
body.dashboard #leftpanel {
    display:none;
}
body.dashboard #rightpanel {
    width: 100%;
    background: #eae9e9;overflow:scroll;
}
#imgLive {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 97px;
}

#cboAssignMonitor button, #cboWorkMonitor button, #cboTimeMonitor button {
    width: 200px;
    border: 1px solid #aaa;
    height: 34px;
    text-align: left;
    border-radius: 4px;
    box-shadow: gray 0px 0px 4px -2px inset;
    color: #333;
    margin: 2px;
    white-space: nowrap;
    padding: 6px;
}

#ulmonitor .fa-angle-down {
    float: right;
    padding: 4px;
}
#listWorkMonitor {
    /*max-height: 400px;*/
    overflow: hidden auto;
    height: calc(100vh - 155px) !important;
}
    #listWorkMonitor p {
        color: #0c6396;
        background: #e6f5ff;
        display: flex;
        white-space: nowrap;
        border-radius: 4px;
        padding: 5px 6px;
        margin: 4px auto;
    }
    #listWorkMonitor th {
        position: sticky;
        top: 0;
        background: rgba(54, 122, 160, 0.95);
        color: #fff;
        vertical-align: middle;
        font-weight: 500;
        text-align: center;
        padding: 4px;
    }
    #listWorkMonitor tr td {
        padding: 4px;
        vertical-align: middle;
        text-align: center;
    }
        #listWorkMonitor tr td:nth-child(2) {
            text-align: left;
        }
        #dashTop {
    display: flex;
    justify-content: flex-start;
    padding: 8px;
}
.box {
    background: #fff;
    width: 200px;
    height: 79px;
    border-radius: 4px;
    box-shadow: 2px 2px 2px 2px #ebebeb;
    margin: 5px;
    padding: 12px;
}
.sTitle1 {
    font-size: 17px;
}
.sTitle {
    font-size: 30px;
    color: #1456bc;
    margin: 5px auto;
}

.dashG1 h4 {
    border-bottom: 1px solid;
    padding: 0 6px 6px;
    margin: 0 0 11px 0;
}
.dprogress {
    height: 8px;
    background: #ebebeb;
    margin-bottom: 5px; position:relative;
}
.tiendo {
    background: #53cd53;
    margin: 0;
    height: 8px;
}
    .tiendo.pink {
        background: #d985e0
    }
.dashG1 {
    background: white;
    padding: 12px;
    border-radius: 4px;
    margin-left: 10px;
    width: 31%;
    margin-bottom: 12px;
    box-shadow: 2px 2px 2px -1px #ccc;
}
#dashBody {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.sPercent {
    right: 3px;
    position: absolute;
    top: -21px;
    font-size: 12px;
}