body{
    background: rgb(231, 231, 231);
}
#main{
    height: 100%;
}
#main a{
    text-decoration: none;
}
.TopHeader{
    margin: auto;    
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 10px;
    background: rgb(5, 99, 5);
    color: #fff;
    height: 50px;
    z-index: 7;
}
.Title{
    font-size: 20px;
}
.Title b{
    cursor: pointer;
    position: relative;
}
.Title .ListTahun{
    cursor: pointer;
    position: absolute;
    left: 0px;
    top: 10px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    border-radius: 5px;
    background: #fff;
    overflow-y: auto;
    max-height: 200px;
    display: none;
}
.Title .ListTahun a{
    display: block;
    padding: 10px;
    color: #999;
    border-radius: 5px;
}
.Title .ListTahun a:hover{
    background: #f1f1f1;
    color: #999;
}
.Tengah{
}
.Tengah .search {
    margin-right: 20px;
    border-radius: 5px;
}
.Tengah a.tombol,
.Tengah select{
    padding: 0px 10px;
    border-radius: 5px;
}
.Tengah a.tombol {
    cursor: default;
    background: rgba(6, 253, 117, 0.075);
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.1);
}
.Tengah a.tombol.aktif{
    cursor: pointer;
    background: rgba(146, 253, 6, 0.767);
    color: rgb(17, 100, 7);
    border: 1px solid rgb(17, 100, 7);
    box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
.Tengah a.tombol.aktif:hover{
    background: rgba(146, 253, 6, 1);
}
.Kanan{
    text-align: right;
}
.Kanan>a{
    margin: 0 10px;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
}
.Kanan>a.DeleteDataItem,
.Kanan>a.DeleteData{
    display: none;
}
.Kanan .logout{
    color: rgb(255, 157, 157);
}

.RMenus{
    margin-left: 10px;
    display: inline-block;
}
.RMenus .icon-menu{
    font-size: 22px;
}
.Kanan>a:hover,
.RMenus:hover .icon-menu{
    color: rgb(230, 255, 6) !important;
}
.RListMenus{
    right: 5px;
    left: auto;
    top: 30px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    background: #fff;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}
.RMenus:hover .RListMenus{
    visibility: visible;
    opacity: 1;
}
#main .RMenus a{
    display: block;
    cursor: pointer;
    padding: 5px 10px 5px 20px;
    color: #999;
}

.konten{
    margin-top: 60px;
}
table.TabelData{
    position: relative;
    top: -50px;
}
table{
    table-layout: fixed;
}
table th b{
    font-size: 14px;
}
table.TabelDataHeader th,
table.TabelData th{
    text-overflow: ellipsis;
    overflow: hidden; 
    white-space: nowrap;
    text-align: center;
    background: rgb(175, 114, 0);
    color: #fff;
    font-weight: normal;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    border-left: 1px solid #fff;
    font-size: 12px;
    padding: 3px 10px;
}

table.TabelDataHeader tr th[class|="Hdr"]{
    cursor: pointer;
    transition: background 0.2s ease;
}
table.TabelDataHeader tr th[class|="Hdr"]:hover{
    background: rgb(241, 166, 4);
}
th .SortSearch{
    position: absolute;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    background: #fff;
    width: 300px;
    display: none;
    cursor: default;
    z-index: 3px;
    box-sizing: border-box;
}
th .SortSearch>*{
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    outline: none;
    box-sizing: border-box;
}
th .SortSearch .ok{
    background: rgb(4, 214, 15);
    color: #fff;
    font-weight: bold;
}
th .SortSearch .ok:hover{
    background: rgb(6, 253, 18);
}
th .SortSearch .reset{
    background: rgb(223, 204, 32);
    color: #fff;
    font-weight: bold;
}
th .SortSearch .reset:hover{
    background: rgb(253, 208, 6);
}

th .SortSearch .TglSearch{
    display: flex;
    box-sizing: border-box;
    border-width: 0;
    flex-wrap: wrap;
}
th .SortSearch .TglSearch>*{
    position: relative;
    width: 100%;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    padding: 5px;
    color: #666;
    text-shadow: none;
}
th .SortSearch .TglSearch>select:nth-child(2){
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    margin: 0px 3px;
}
table.TabelDataHeader tr:first-child th:first-child ,
table.TabelData tr:first-child th:first-child {
    border-width: 0;
}
table.TabelDataHeader tr:last-child th,
table.TabelData tr:last-child th {
    border-top:  1px solid #fff;
}
table.TabelDataHeader{
    position: sticky;
    top: 50px;
    z-index: 5;
}
table.TabelData thead{
    opacity: 0;
}
table th>b{
    display: inline-block;
}
table.TabelData  td{
    position: relative;
    word-wrap: break-word;
    background: #fff;
    border: 1px solid #ddd;
    vertical-align: top;
}
table.TabelData tr.nth1 td{
    background: #fff;
}
table.TabelData tr.nth2 td{
    background: #f1f1f1;
}

table.TabelData tr.PilihItem td[i='6'],
table.TabelData tr.PilihItem td[i='7'],
table.TabelData tr.PilihItem td[i='8'],
table.TabelData tr.PilihItem td[i='9'],
table.TabelData tr.PilihItem td[i='10'],
table.TabelData tr.PilihItem td[i='11'],
table.TabelData tr.PilihItem td[i='12'],
table.TabelData tr.PilihItem td[i='13'],
table.TabelData tr.PilihItem td[i='14'],
table.TabelData tr.PilihItem td[i='15'],
table.TabelData tr.PilihItem td[i='16'],
table.TabelData tr.PilihItem td[i='17'],
table.TabelData tr.PilihItem td[i='18'],
table.TabelData tr.Pilih td{
    background: rgb(255, 237, 197);
    border: 1px solid rgb(197, 152, 54);
}
table.TabelData tr:hover td{
    box-shadow: inset 0 -5px 10px -10px rgba(1, 77, 26, 0.678), inset 0 5px 10px -10px rgba(0,0,0,0.5);
}
table.TabelData tr.Hover td{
    background: rgb(220, 255, 236);
    border: 1px solid rgb(59, 224, 122);
} 
table.TabelData tr td span:focus{
    outline: none;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
    width: 100%;
}
table.TabelData tr td span{
    display: block;
    padding: 0px 5px;
    min-height: 20px;
}
table.TabelData tr td[i='7'],
table.TabelData tr td[i='0']{
    text-align: center;
}
table.TabelData tr td[i='3'] span,
table.TabelData tr td[i='4'] span,
table.TabelData tr td[i='8'] span,
table.TabelData tr td[i='9'] span,
table.TabelData tr td[i='11'] span,
table.TabelData tr td[i='14'] span,
table.TabelData tr td[i='17'] span{
    min-width: 100px;
    text-align: center;
}
table.TabelData tr td[i='2'] span{
    min-width: 200px;
}
table.TabelData tr td[i='6'] span{
    min-width: 300px;
}
.BoxSaran{
    position: absolute;
    background: #fff;
    overflow-y:auto;
    max-height: 300px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    border-radius: 5px;
    z-index: 5;
}
.BoxSaran a{
    display: block;
    padding: 5px 10px;
    cursor: pointer;
}
.BoxSaran a:hover{
    background: #c3d0dd;
}