body {
  color: #445157;
  font-size: 14px;
}

table {
  border-spacing: 0;
}

a { 
  color: #577898;
  text-decoration: none;
}

input {
  border: 1px solid #bbb;
  outline: 0;
  padding: 3px 5px;
  width: 178px;
}

select {
  border: 1px solid #bbb;
  outline: 0;
  padding: 2px;
}

textarea {
  border: 1px solid #bbb;
  outline: 0;
}

input:disabled,
select:disabled,
textarea:disabled {
  background: transparent;
  border-color: #f6f6f6;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;  
}

#wrapper > header {
  background: #33495f;
  width: 100%;
}

#search { 
  margin: 1px;
  padding: 6px;
}

#loader {
  background: #fff url(../images/loading.gif) -115px -170px no-repeat;
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 1px 1px #444;
  display: none;
  height: 40px;
  margin: 0 auto;
  padding: 10px;
  position: absolute;
  top: 250px;
  width: 150px;
}

/*navigation*/
nav {
  margin: 0 auto;
  width: 1024px;
}

nav a {
  color: #fff;
  display: block;
  padding: 10px;
}

nav li {
  float: left;
}

nav .parent a { vertical-align: top; display: inline-block;}

nav .parent span { 
  background: url(../images/ui-icons_222222_256x240.png) -160px 1px no-repeat;
  display: inline-block;
  margin-left: 5px;
  height: 15px;
  width: 15px;
  vertical-align: baseline;
}

nav .parent:hover span {
  background-position: -160px -16px;
}

nav .parent:hover ul{
  display: block;
}

nav .parent ul {
  background: #2f4153;
  display: none;
  position: absolute;
  z-index: 2;
}

nav .parent ul li {
  clear: both;
  width: 100%;
}

nav .parent ul a {
  border-top: 1px solid #777;
  display: block;
  padding: 10px 20px;
  width: 100%:
}

nav .last-nav {
  float: right;
}

nav .last-nav ul {
  margin-left: -10px;
}

/*content*/
#content {
  margin: 50px auto 20px;
  width: 1024px;
}

#content h1 {
  float: left;
  font-size: 24px;
  margin: 0;
}

#content header .button-list {
  float: right;
}

#content > section {
  background: #f6f6f6;
  border: 1px solid #b5c6d7;
  border-radius: 3px;
  margin-top: 10px;
  padding: 10px;
  position: relative;
}

#content > section + header {
  margin-top: 20px;
}

#content > .extend,
#content > .extend .time li {
  border-color: #dfa5a5;
}

#content > .extend .time header {
  background: #b93131;
}

/*data table*/
.data {
  margin: 5px 0;
  table-layout: fixed;
  width: 100%;
}

.data th {
  background: #213140;
  border-bottom: 2px solid #999;
  color: #fff;
  font-weight: normal;
  padding: 5px 20px 5px 10px;
  text-align: left;
}

.data th.last {
  border-top-right-radius: 4px;
  padding-left: 5px;
  padding-right: 5px;
  width: 50px;
}

.data th:first-child {
  border-top-left-radius: 4px;
}

.data td {
  border: 1px solid #aaa;
  border-style: solid none;
  height: 35px;
  padding: 0 5px;
  table-layout: fixed;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
}


.data tbody td {
  text-align: right;
}

.data tbody td:first-child {
  text-align: left;
}

.data tbody input {
  margin: 0 5px;
  width: 80px;
}

#table-spd th,
#table-kendaraan th,
#table-rekap th,
#table-person th {
  height: 32px;
}

#table-spd tbody td,
#table-kendaraan tbody td,
#table-person tbody td {
  text-align: left;
}
#table-person tbody td input {
  margin: 0;
}

/*page-view*/
.page-view li {
  float: left;
  padding: 0 5px;
  border-right: 1px solid #aaa;
}

.page-view a {
  color: #777;
}

.page-view .active a {
  color: #444;
}

.page-view li:first-child {
  padding-left: 0;
  border-right: none;
}

.page-view li:last-child {
  border: none;
}

/*pagination*/
#pagination {
  float: right;
}

#pagination li {
  display: inline-block;
  margin-right: 2px;
}

#pagination .active a {
  background: transparent;
  color: black;
}

#pagination .last {
  margin: 0;
}

#pagination .first a,
#pagination .last a {
  width: auto;
  padding: 0 5px;
}

#pagination a {
  background: #213140;
  color: #fff;	
  display: block;
  height: 20px;
  line-height: 20px;
  text-align: center;
  width: 20px;  
}

/*basic classes*/

.icon-list a:hover {
  opacity: 0.8;
}

.numberFormatted {
  text-align: right;
}

.clear {
  clear: both;
}

.right{
  float: right;
}

.icon span {
  display: none;
}

.left {
  float: left;
}
.confirm-button {
  margin: 10px auto 20px;
  width: 233px;
}

.confirm-button a {
  background: #ccc;
  border: 1px solid #bbb;
  border-radius: 3px;
  box-shadow: 0 1px 2px #444;
  color: #555;
  display: block;
  height: 30px;
  line-height: 30px;
  padding: 0 10px 0 40px;
  text-shadow: 0 1px 2px #fff;
  width: 60px;
}

.button-list li,
.confirm-button li {
  display: inline-block;
  margin-left: 5px;
}

.confirm-button li:first-child {
  margin-left: 0;
}

#akun .side .button-list {
  margin-top: 85px;
}

.hidden {
  display: none;
}

.button {
  background: #ccc;
  border: 1px solid #bbb;
  border-radius: 3px;
  box-shadow: 0 1px 2px #444;
  color: #777;
  display: inline-block;
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
  text-shadow: 0 1px 2px #fff;
}

/*side*/
#content .side {  
  position: absolute;
  right: 10px;
}

#dialog .side {
  top: 50px;
}

.time { 
  float: right;
}

.time span {
  margin-right: 5px;  
}

.time li {
  background: #fff;
  border: 1px solid #577898;
  border-radius: 3px;
  float: left;
  margin-left: 10px;
  text-align: center;
  width: 100px;
}

.time li:first-child {
  margin: 0;
}

.time header {
  background: #577898;
  color: #fff;
  padding: 5px 10px;
}

.time section {
  font-size: 24px;
  padding: 15px 10px;
}

.side .note {
  background: #dcc;
  border: 1px solid #966;
  border-radius: 3px;
  float: right;
  margin: 5px 0;
  padding: 5px 10px;
  width: 192px;
}

.side .note ul {
  color: #900;
  font-size: 80%;
  list-style: disc;
  margin-left: 15px;
  text-align: justify;
}

.side .big-icon-list {
  float: right;
  margin-top: 100px;
}

.big-icon-list li,
.button-list li {
  float: left;
  margin-left: 5px;
}

.big-icon-list a {
  background: #aaa;
  border-radius: 3px;
  box-shadow: 0 1px 2px #444;
  color: #555;
  display: block;
  height: 50px;
  line-height: 50px;
  width: 50px;
  text-align: center;
  text-shadow: 0 1px 1px #fff;
}

.big-icon-list span {
}

.big-icon-list .disabled {
  cursor: default;
  opacity: 0.5;
}

.side .button-list {
  float: right;
  margin-top: 115px;
}

.button-list a {
  background: #ccc;
  border: 1px solid #bbb;
  border-radius: 3px;
  box-shadow: 0 1px 1px #444;
  color: #555;
  display: block;
  height: 30px;
  line-height: 30px;
  padding: 0 10px 0 40px;
  text-shadow: 0 1px 1px #fff;
  width: 60px;
}

.button:hover, 
.button-list a:hover, 
.confirm-button a:hover {
  color: #444;
  opacity: 0.8;
}

/*info-personel*/
#content > .info-personel {
  background: transparent;
  border: none;
  padding: 0;
}

.personel-block{
  border: 1px solid #aaa;
  border-radius: 3px;
}

.personel-block > footer{
  display: none;
}

.personel-block+.personel-block {
  margin-top: 10px;
}

.basic-info {
  display: table;
  table-layout: fixed;
  width: 100%;
}

section.active .basic-info {
  border-bottom: 1px solid #aaa;
}

section.active footer {
  display: block;
}

.basic-info li {
  cursor: pointer;
  display: table-cell;
  height: 30px;
  padding: 5px 10px;
  vertical-align: middle;
}

.basic-info .last .icon-list li{
  height: auto;
}

.basic-info .number {
  display: inline-block;
  text-align: right;
  width: 70px;
}

.basic-info > li:first-child {
  width: 190px;
}

.basic-info > li:nth-child(3),
.basic-info li:nth-child(4) {
  width: 200px;
}

.basic-info li:nth-child(5) {
  width: 110px;
}

.basic-info li:nth-child(6) {
  width: 50px;
}

.basic-info > li:nth-child(2){ 
  width: 150px;
}

.basic-info li:nth-child(8) {
  width: 50px;
}

.basic-info .icon-list li {
  display: inline-block;
  padding: 0;
}

.icon-list li {
  display: inline-block;
}

.icon-list a {  
  background: url(../images/ui-icons_222222_256x240.png) no-repeat;
  border:1px solid #bbb;
  border-radius: 3px;
  display: block;
  height: 20px;
  width: 20px;
}

.icon-list a.disabled {
  opacity: 0.5;
}

.icon-list .edit,
.icon-list .edit-personel,
.icon-list .edit-kendaraan,
.icon-list .edit-tarif {
  background-position: -62px -110px;
}

.icon-list .cancel,
.icon-list .cancel-edit-person-spd,
.icon-list .cancel-tarif {
  background-position: -79px -126px;
}

.icon-list .delete {
  background-position: -175px -95px;
}

.icon-list .print {
  background-position: -158px -94px;
}

.icon-list .update-tarif,
.icon-list .update-personel,
.icon-list .update-kendaraan,
.icon-list .update-person-spd {
  background-position: -222px -46px;
}

.button > span{
  background: url(../images/ui-icons_222222_256x240.png) no-repeat;
  height: 20px;
  width: 20px;
  display: inline-block;
  vertical-align: middle;  
  margin-right: 5px;
}

.button.filter-button > span {
  background-position: -127px -79px;
}
.button.reset-button > span {
  background-position: -142px -79px;
}
.button.export-button > span {
  background-position: -159px -79px;
}
.button.print-button > span {
  background-position: -175px -79px;
}
.button.dialog-open.add > span {
  background-position: 2px -191px;
}

.icon-list span {
  display: none;
}

/*form*/
form { 
  float: left;
  width: 100%;
}

dl {
  margin: 2px 0;
}

dl dt {
  display: inline-block;
  height: 27px;
  line-height: 25px;
  width: 150px;
  vertical-align: top;
}

dl dd {
  display: inline-block;
  line-height: 22px;
  margin-left: 0;
  vertical-align: top;
}

dl select {
  padding: 2px;
  width: 190px;
}

dl textarea {
  height: 70px;
  padding: 3px 5px;
  resize: none;
  width: 554px;
}

.two-column dd {
  margin-right: 20px;
}

dl .top-align {
  vertical-align: top;
}

/* dialog */
#dialog {
  background: #fff;
  border-radius: 3px;
  display: none;
  position: absolute;
  top: 50px;
  width:800px;
  z-index: 10;
}

#dialog.kendaraan-dialog,
#dialog.personel-dialog {
  top: 100px;
  width: 500px;
}

#dialog.kendaraan-dialog input,
#dialog.personel-dialog input {
  width: 300px;
}

#dialog > header {
  background: #213140;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  color: #fff;
  padding: 10px;
}

#dialog h1 {
  font-size: 16px;
}

#dialog > section {
  padding: 10px;
  position: relativel
}

#dialog dt {
  clear: both;
}

#dialog form > dl input {
  width: 350px;
}

#dialog .total-cost {
  font-size: 24px;
  margin-top: 10px;
}

#dialog .long-input { 
  width: 350px;
}

.persentase {
  display: none;
}

.total-cost span {
  display: inline-block;
  text-align: right;
  width: 160px;
}

.personel-detail {
  border-radius: 3px;
  margin-top: 20px;
  width: 780px;
}

.personel-block footer header,
.personel-detail header {
  padding: 5px 0 5px 10px;
}

.personel-block footer input,
.personel-detail input {
  margin-right:10px;
  text-align: right;
  width: 60px;
}

.personel-detail > section {
  background: #e4eaf0;
  border: 1px solid #b5c6d7;
  border-radius: 3px;
  vertical-align: top;
}

#dialog .personel-detail dd {
  margin: 0;
}

.personel-block footer dt,
.personel-detail dt {
  width: 180px;
  padding-left: 10px;
}

.personel-block footer dd span,
.personel-detail dd span {
  display: inline-block;
  text-align: right;
  vertical-align: top;
  width: 70px;
}

.half {
  width: 50%;
  display: inline-block;
  float: left;
}

.personel-block .half {
  margin-left: 40px;
  width: auto;
}

.personel-block .half+.half {
  margin-left: 100px;
}

.perjalanan footer dt,
.dinas footer dt {
  width: 268px;
}

.personel-block footer footer,
.personel-detail footer {
  border-top: 1px solid #bbb;
  font-weight: bold;
}

.bbm select {
  width: 170px;
}

.fotocopy input,
.bbm input {
  margin-right: 15px;
}

.fotocopy dt input {
  margin: 0;
  width: 40px;
}

.bbm dt input {
  margin: 0;
  width: 135px;
}

.fotocopy dt input {
  margin-left: 30px;
}

.bbm dd input {
  width: 55px;
}

.total {
  color: #124e13;
  font-weight: bold;
}

#mask { 
  background: #000;
  left: 0;
  opacity: 0.5;
  padding: 0;
  position: absolute;
  top: 0;
  z-index: 9;
}

/* ui custom style */
.ui-autocomplete {
  max-height: 110px;
  overflow-x: hidden;
  overflow-y:  auto;
}

* html .ui-autocomplete {
  height: 110px;
}

/* login */
#login {
  background: #33495f;
  border-radius: 4px;
  box-shadow: 0 1px 3px #000;
  margin: 180px auto 0;
  padding: 10px 20px 40px;
  width: 300px;
}

#login h1 {
  border-bottom: 1px solid #ddd;
  color: #ddd;
  margin: 0;
  padding-bottom: 5px;
}

#login input {
  margin: 5px 0;
  padding: 8px;
  width: 280px;
}

#error,
#login form {
  margin-top: 10px;
}

#error {
  color: #ddd;
  display: none;
  text-align: center;
}

#login-button {
  background: #ccc;
  border-radius: 4px;
  box-shadow: 0 1px 2px #444;
  color: #555;
  display: block;
  font-size:16px;
  height: 40px;
  line-height: 40px;
  margin-top: 10px;
  text-align: center;
  text-shadow: 0 1px 2px #fff;
  width: 100%;
}

/*Rekap*/

.filter-rekap {
  clear: both;
  margin-top: 10px;
  background: #ddd;
  padding: 10px;
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
  .filter-rekap+.filter-rekap { margin-top: 0; padding-top: 0; }
.filter-rekap li { 
  display: inline-block; 
  margin-left: 20px;  
}
.filter-rekap li:first-child { margin:0; }
 
.filter-rekap li.last { position: absolute; right: 10px; bottom: 10px; }

.filter-rekap select,
.filter-rekap option,
.filter-rekap input { padding: 5px; }

.filter-rekap li > span {
  display: inline-block;
  width: 120px;
}

.filter-rekap.last { 
  border-top: 1px solid #bbb; 
  padding-top: 10px; 
  display: inline-block;
  text-align: right;
  position: relative;
}

.filter-rekap.last .button+.button {
  margin-left: 5px;
}

.filter-rekap.last li:first-child {
  position: absolute;
  left: 10px;
}

.filter-rekap.last #total-biaya {
  display: inline-block;
  margin-right: 10px;
  line-height: 32px;
  font-size: 16px;
  font-weight: bold;
}

#table-rekap tbody td {
  text-align: left;
}

#table-rekap tbody td.align-right {
  text-align: right;
}

#table-rekap tfoot {
  display: none;
}

#table-rekap tfoot td {
  font-weight: bold;
}

#table-rekap tfoot td:first-child{
  text-align:right;
  padding-right: 50px;
}

.plat { visibility: hidden; }
.nama-suami { display: none; }

#rekap { 
  margin: 0 auto;
  width: 1000px; 
}

.records{ 
  display: inline-block; 
  margin-left: 40px; 
}

.rekap select[name="periode"] {
  width: 167px;
}

.rekap select[name="bulan"],
.rekap select[name="triwulan"],
.rekap select[name="tahun"] { display: none; }

@media print {
  #wrapper > header,
  #inner-content > footer,
  .rekap form  {
    display: none;
  }
  
  .rekap header h1 {
    display: block;
    float: none;
    width: 100%;
    text-align: center;	
  }
  
  #content { margin-top: 10px; }
  
  #table-rekap th { 
    background: #eee;
	border-radius: 0;
	color: #444;
    height: 25px; 
	border-top: 1px solid #aaa;
  }
  
  #table-rekap tfoot {
    display: table-footer-group;
  }  
}