﻿#top {
    display: flex;
    position: absolute;
    height: 65px;
    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-top {
    width: 90%;
    display: flex;
    margin: 0px auto;
    flex-direction: column;
    padding-top: 5px;
}
.rpCode {
    background: #eff8fd;
    padding: 5px 11px;
    border-radius: 5px;
}
#box-top1 {
    font-size: 19px;
    color: #106dc1;
}

button {
    background: none;
    border: none;
    padding: 10px;
}

#rpName {
    font-size: 20px !important;
    margin: -13px 0 4px 0 !important;
}

#box-top2 {
    display: flex;
    height: 30px;
    color: #0a3980;
    line-height: 7px;
}

#pages {
    position: fixed;
    top: 67px;
    width: 100%;
}

.boxIcon {
    width: 97px;
    height: 48px;
    text-align: center;
    cursor: pointer;
    color: #0b78d9;
    padding: 5px;
    border-right: 1px solid #d9e3f4;
}
#dTabs {
    height: 40px;
    padding: 5px;
    margin-top: 15px;
    margin-bottom: -1px;
}
    #dTabs .bt {
        height: 38px;
        background:#fff;
        padding: 6px 9px;
        margin-left: 7px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
        #dTabs .bt.active {
            border-bottom: 2px solid;
            box-shadow: none;
            border-radius: 0;
            color: #3270d1;
            font-weight: bold;
        }
.tab {
    display: none
}

    .tab.active {
        display: block;
    }

.rpStatus.done {
   
    background: #51bc28;
}
.rpStatus {
    padding: 5px 12px;
    border-radius: 14px;
    color: #fff;
}
.spTime {
    border: 1px solid #ccc;
    padding: 5px 13px;
    white-space: nowrap;
    border-radius: 13px;
}
    .rpStatus.doing {
        background: #6086e0;
    }
    .gvtCenter{text-align:center;}
    .rpStatus.over {
        background: orange;
    }
#svDesignZone {
    display: flex;
    position: fixed;
    width: 60%;
    top: 0px;
    justify-content: flex-end;
    z-index: 1000 !important;
    right: 0;
    height: 65px;
    padding: 6px;
}
#tbReport td {
    vertical-align: middle;
}
#leftpanel {
    height: 100%;
    width: max-content;
    min-width: 20%;
    border-right: 1px solid #ddd;
    padding-right: 0;
    background: #eef3ff;
}
.fa-solid.fa-file-signature {
    color: #3270d1;
}
#boxTree {
    padding: 24px;
    background: #eef3ff;
}
.lbGroup {
    position: absolute;
    left: 24px;
    width: 62px !important;
    bottom: -14px;
    background: #718ccc;
    padding: 1px 6px !important;
    text-align: center !important;
    border-radius: 4px;
    font-size: 11px;
    color: #fff;
}

#pDonVi span {
    font-weight: bold;
    background: #718ccc;
    padding: 10px 20px;
    color: #fff;
    border-radius: 20px;
    margin-left: 5px;
}
    #pDonVi span.active {
        background: #f56191;
    }
#eBody {
    display: flex;
    justify-content: space-around;
}
.donvi .fa-arrow-right {
    font-size: 11px;
    padding: 4px 2px;
}
.spNew {
    position: absolute;
    top: -2px;
    background: #ff5252;
    color: #fff;
    padding: 1px 5px;
    right: 32px;
    border-radius: 14px;
    font-size: 11px;
    border: 2px solid #fff;
}
.boxHead i:last-child {
    margin-left: auto;
    font-size: 0.9em;
    padding: 10px 13px;
}
.boxHead {
    color: #486CC4;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    gap: 7px;
    width: 98% !important;
    min-height: 52px !important;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
    line-height: 36px;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 21px;
}
    .boxHead i.iconSymbol {
        background: #eff1f6;
        width: 30px;
        font-size: 15px !important;
        padding: 8px 6px !important;
        border-radius: 50%;
        height: 30px;
        text-align: center;
        margin-top: 3px;
        margin-left: -8px;
    }
.box-group {
    display: flex;
    gap: 10px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
    background: #fff;
    width: 98%;
    border-radius: 0 0 10px 10px;
    padding: 18px 20px 26px 22px;
    flex-wrap: wrap;
    margin-top: -14px;
    border-top: 1px solid #eee;
    justify-content: space-around;
}
.report {
    width: 108px;
    height: 125px;
    border: 1px solid #d0d9ff;
    border-radius: 5px;
    margin: 5px;
    position: relative;
    float: left;
    cursor: pointer;
    box-shadow: 3px 3px 12px 1px #ddd;
}
    .report:hover {
        transform: scale(1.02);
        box-shadow: 3px 3px 12px 1px #ccc;
    }
.reportType {
    background: #718ccc;
    color: #fff;
    position: absolute;
    bottom: -5px;
    border-radius: 0 0 5px 5px;
    font-size: 13px;
    padding: 2px 8px;
    height: 39px;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 14px;
}
    .report .fa-solid.fa-circle-check {
        color: #7995d9;
        top: 2px;
        right: 1px;
    }
    .report.done .donvi {
        background: #ff5997;
        color: #fff !important;
    }
    .report.done {
        border:1px solid #ff5997;
    }
    .report .fa-solid.fa-tachograph-digital {
        font-size: 50px;
        color: #7995d9;
        padding: 5px 22px;
    }
    .report.done .fa-tachograph-digital, .report.done i, .report.done label {
        color: #ff5997 !important;
    }
    .report label {
        font-weight: normal;
        text-align: center;
        width: 100%;
    }

#lsBox {
    display: flex;
    justify-content: space-around;
}

#eEdit {
    width: 100%;
    float: left;
}
.lbStatus {
    font-size: 13px;
    text-align: center;
}
.number {
    position: absolute;
    right: 27px;
    top: 16px;
    background: #f45d6b;
    border-radius: 3px;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
}
.lbStatus i{color:green;}

#eTop {
    width: 100%;
    display: flex;
    justify-content: center;
}

.report .donvi {
    background: #d0d9ff;
}

#rightpanel {
    max-height: calc(100vh - 64px);
    width: 100%;
    padding-left: 20px;
    overflow: scroll;
    background: #fff;
}

#pagebody {
    position: fixed;
    top: 65px;
    width: 100%;
    height: 100%;
    display: inline-flex;
}
.boxE {
    margin: 15px auto;
    width: 98%;
}
.parent {
    position: relative;
    border-left: 1px solid #ddd;
}

.boxInfo {
    background: #e2e3e43b;
    padding: 20px 30px;
    border-radius: 5px;
    grid-template-columns: repeat(2, 50%);
    position: relative;
    display: grid;
}
.parent .parent {
    margin-left: 30px;
    margin-top: 10px;
}

.parent .user {
    padding-left: 30px;
}
.fa-solid.fa-square-plus, .fa-solid.fa-square-minus {
    position: absolute;
    left: -8px;
    top: 0px;
    font-size: 18px;
    color: #3270d1;
}
.spitem{cursor:pointer;}
.spitem.active {
    background: #609eff;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
}

.parent > div {
    display: none;
}

.parent.open > div {
    display: block;
}

.parent > p {
    margin-left: 21px;
    cursor: pointer;
}

line {
    border: 1px solid #ddd;
    max-width: 20px;
    float: left;
    width: 10px;
    margin: 9px 6px 2px -9px;
}

span.line {
    border-top: 1px solid #ddd;
    padding: 0 35px 5px 14px;
    position: absolute;
    top: 9px;
    left: -31px;
}

.user .line {
    padding: 0 0 8px 17px;
    left: 0;
    top: 17px;
}

.parent div.user {
    padding-left: 20px;
    height: 35px;
    position: relative;
    line-height: 35px;
}

div.user .fa.fa-user {
    background: #e4eeffa3;
    padding: 7px 9px;
    font-size: 12px;
    border-radius: 13px;
    color: #4f73ba;
}