/***
 * Hacked
 */
.x-button {
  z-index: 0;
}

.x-field-search .x-field-input {
  border: 0px;
  border-radius: 3px;
}

.x-field-search .x-field-input .x-input-search {
  color: #999;
  padding-left: 32px;
  background: url(images/icon/search.32.png) no-repeat 8px center;
  background-size: 16px 16px;
}

/***
 * Login view
 */
.t-login-form {
  background-color: #acb7bc;
}

.t-login-form .t-login-logo {
  width: 350px;
  height: 80px;
  background: url(assets/logo/576x94.png) center center no-repeat;
  background-size: 350px 80px;
  margin-bottom: 20px;
}

.t-login-form .t-field-set .x-inner {
  width: 288px;
  border: 0px;
  background-color: transparent;
}

.t-login-form .t-field-set .x-field .x-field-input {
  padding: 0 16px;
  border: 0px;
  border-top: 1px solid #e5e5e5;
  border-radius: 0px;
  background: #ffffff;
}

.t-login-form .t-field-set .x-field:first-child .x-field-input {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-top: 0px;
}

.t-login-form .t-field-set .x-field:last-child .x-field-input {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

.t-login-form .t-login-button {
  width: 288px;
  border: 0px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  margin-top: 8px;
  height: 45px;
}

.t-login-form .t-login-button .spinner {
  right: 20px;
}

.t-login-form .t-login-button .x-button-label {
  color: #ffffff;
}

.t-login-form .t-copyright {
  color: #ffffff;
  font-size: 12px;
  padding: 16px;
  text-align: center;
}

/* Navigation */
.t-menu {
}

.t-menu .x-list-item-first.x-list-header {
  display: none;
}

.t-menu .x-list-header {
  height: 32px;
  padding-top: 10px;
  background-color: #f6f7f8;
}

.t-menu .x-list-header .x-innerhtml {
  color: #afb4bd;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: normal;
}

.t-menu .x-list-item {
  color: #3f3f3f;
}

.t-menu .x-list-item .t-image {
  float: left;
  width: 24px;
  height: 24px;
  border: 0px;
  margin: 0px;
  background-size: 24px 24px !important;
}

.t-menu .x-list-item .t-title {
  float: left;
  padding: 3px 6px;
}

.t-menu .x-list-item .t-count {
  color: #fff;
  float: right;
  border-radius: 30px;
  background-color: #acb7bc;
  padding: 3px 12px;
}

.x-list.t-menu .x-list-item.x-list-item-tpl:before {
  left: 48px;
  border-bottom-color: #e5e8ef;
}

.x-list.t-menu .x-list-item.x-list-footer-wrap.x-list-item-tpl:before {
  border-bottom-color: transparent;
}

/***
 * Wrapper view
 */
.t-titlebar {
  background: #acb7bc;
  border: 0px !important;
  border-radius: 0px !important;
}

.t-titlebar .x-innerhtml,
.t-titlebar .x-button-icon,
.t-titlebar .x-button-label {
  color: #fff;
}

.t-titlebar .x-button-pressing .x-button-icon,
.t-titlebar .x-button-pressing .x-innerhtml,
.t-titlebar .x-button-pressing .x-button-label {
  opacity: 0.5;
}

.x-scroll-bar-y.active {
  width: 3px;
}

.t-titlebar .x-button-icon.t-back {
  background: url(images/icon/back.48.png) center center no-repeat;
  background-size: 24px 24px;
}

.x-button-icon.t-swap:before {
  font-family: "Pictos";
  content: ";";
}

.x-button-icon.t-refresh:before {
  font-family: "Pictos";
  content: "0";
}

/***
 * List item
 */
.t-list-view {
  background: #d3d6db url(assets/logo/576x94.png) center center no-repeat;
  background-size: 288px 47px;
}

.t-list-item {
  color: #a6a6a6;
  padding: 4px 8px;
  background-color: #d3d6db;
}

.t-list-item:first-child {
  padding-top: 8px;
}

.t-list-item:last-child {
  padding-bottom: 8px;
}

.t-list-item .t-frame {
  border-radius: 3px;
  border: 0px solid #b6b9bd;
  background-color: #fff;
}

.t-list-item .t-body,
.t-list-item .t-foot {
  padding: 4px;
}

.t-list-item .t-foot {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  background-color: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.t-list-item .x-layout-box.x-horizontal > .t-title.x-layout-box-item.x-flexed,
.t-list-item .x-layout-box.x-horizontal > .t-info.x-layout-box-item.x-flexed {
  width: 1px !important;
}

.t-list-item .t-title {
  font-size: 22px;
  padding: 5px 0px;
  padding-bottom: 0px;
}

.t-list-item .t-title .x-innerhtml,
.t-list-item .t-info .x-innerhtml {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0px 4px;
}

.t-list-item .t-count-dn {
  font-size: 15px;
}

.t-count-dn .x-innerhtml {
  color: #fafafa;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 8px 0px 0px 3px;
}

.t-list-item .t-body .t-wrapper {
  padding: 5px 3px 0px 3px;
}

.t-list-item .t-foot .t-wrapper {
  padding: 0px 3px;
}

.t-list-item .t-wrapper .x-img {
  background-size: 16px 16px;
  width: 16px;
  height: 20px;
}

.t-list-item .t-hud {
  background: #f00000;
  font-weight: bold;
  color: #ffffff;
  text-align: right;
  width: 34px;
  padding: 0px 4px;
  border-radius: 3px;
}

.t-list-item .t-small {
  font-size: 12px;
  text-align: center;
}

.t-list-item .t-flag-16 {
  width: 16px;
  height: 16px;
  background-size: 16px 16px;
}

/***
 * Flag 16 icon
 */
.t-flag-16 .shipment {
}

/***
 * Paging info
 */
.t-page-info .t-button {
  position: absolute;
  left: 0px;
  top: 0px;
  margin: 0px;
  border-radius: 0px;
  width: 100%;
  height: 100%;
  background: transparent;
}

.t-page-info .t-info {
  font-size: 12px;
  text-align: center;
  padding: 2px;
}

/***
 * Action sheet
 */
.x-sheet-action {
  background: transparent;
  box-shadow: 0 0 0;
  border-top: 0px;
  padding: 8px;
}

.x-sheet-action .x-button {
  border: 0px;
  border-radius: 3px;
}

.x-sheet-action .x-button.bold .x-button-label {
  font-weight: bold;
}

.x-sheet-action .t-group {
  margin-bottom: 8px;
}

.x-sheet-action .t-group .x-button {
  margin: 0px;
  border-radius: 0px;
  margin-top: 1px;
}

.x-sheet-action .t-group .x-button:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-top: 0px;
  margin-top: 0px;
}

.x-sheet-action .t-group .x-button:last-child {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}

/***
 * Detail view
 */
.t-list-item.t-head {
  padding: 8px;
}

.t-tab-button {
  background: #f0f0f0;
  overflow: hidden;
  padding: 0 8px;
}

.t-tab-button .x-button-pressed {
  background: #ffffff !important;
  box-shadow: 0 0 6px #d3d6db;
}

.t-tab-button .x-button {
  border: 0px !important;
  background: transparent;
}

.t-tab-button .x-button.x-first,
.t-tab-button .x-button.x-last {
  border-radius: 0px !important;
}

.t-tab-button .x-button-icon {
  background-size: 24px 24px !important;
}

.t-tab-button .x-button-icon.t-truck {
  background: url(images/icon/truck.48.png) no-repeat center center;
}

.t-tab-button .x-button-icon.t-card {
  background: url(images/icon/card.48.png) no-repeat center center;
}

.t-tab-button .x-button-icon.t-map {
  background: url(images/icon/map.48.png) no-repeat center center;
}

.t-tab-button .x-button-icon.t-tag {
  background: url(images/icon/tag.48.png) no-repeat center center;
}

.t-tab-button .x-button-icon.t-camera {
  background: url(images/icon/camera.48.png) no-repeat center center;
}

.t-card {
  padding: 8px;
}

.t-card .t-frame {
  box-shadow: 0 0 8px #d3d6db;
}

.t-frame .t-field-set .x-form-fieldset-title {
  margin-top: 20px;
  color: #afb4bd;
}

.t-frame .t-field-set .x-form-fieldset-inner {
  padding: 6px;
  border-width: 1px 0px;
  color: #a6a6a6;
}

.t-frame .t-field-set .t-info {
  padding: 3px;
}

.t-frame .t-field-set .t-info .t-value {
  text-align: right;
}

.t-frame .t-field-set .t-info .t-remark {
  font-size: 12px;
}

.t-frame .t-field-set .t-guage {
  height: 18px;
  background: rgba(204, 204, 204, 0.4);
  border-radius: 2px;
  padding: 3px;
}

.t-frame .t-field-set .t-guage .t-value {
  height: 100%;
}

.t-frame .t-field-set .t-driver-image {
  height: 300px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(images/icon/driver.male.256.png);
  background-size: 128px 128px;
  background-color: #f0f0f0;
}

.t-frame .t-field-set .t-progress {
  background: rgba(204, 204, 204, 0.4);
  border-radius: 2px;
  padding: 3px;
  text-align: center;
}

.t-frame .t-field-set .t-progress .t-value {
  height: 100%;
  border-right: 3px solid rgba(204, 204, 204, 0.4);
  background: #ffffff;
}

.t-frame .t-field-set .t-progress .t-value:first-child {
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
}

.t-frame .t-field-set .t-progress .t-value:last-child {
  border-right: 0px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.t-frame .t-camera-image {
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(images/icon/camera.256.png);
  background-size: 128px 128px;
  background-color: #f0f0f0;
}

.t-frame .t-bottom {
  position: absolute;
  width: 100%;
  bottom: 0px;
  padding: 2px;
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.t-mask-cp {
  z-index: 1;
  position: absolute;
  border: 0px;
  border-radius: 0px;
  margin: 0px;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 13px;
  background: transparent;
}

.t-mask-gm {
  z-index: 1;
  position: absolute;
  border: 0px;
  border-radius: 0px;
  margin: 0px;
  bottom: 0px;
  left: 0px;
  width: 70px;
  height: 30px;
  background: transparent;
}

/***
 * Toast notify
 */
.t-toast {
  position: absolute;
  color: rgba(128, 128, 128, 0.8);
  left: 0px;
  right: 0px;
  border: 0px;
  box-shadow: 0 0 5px;
  -webkit-transition-duration: 0.5s;
  background-color: #fff;
}

.t-toast.t-error {
  color: rgba(255, 0, 0, 0.8);
}

.t-toast.t-info {
  color: rgba(0, 128, 0, 0.8);
}

.t-toast.t-count-dn {
  color: rgba(255, 255, 255, 0.8);
}

.t-toast.t-question {
  color: rgba(0, 0, 255, 0.8);
}

.t-toast.t-warning {
  color: rgba(255, 165, 0, 0.8);
}

.t-toast.x-layout-card-item {
  bottom: auto;
}

.t-toast .x-innerhtml {
  padding: 10px;
  font-size: 12px;
  text-align: center;
}

/**** detail item ****/

.t-item-dn {
  font-size: 15px;
  padding: 1px;
  background-color: rgba(128, 128, 128, 0.1);
}
.t-dn-frame {
  /* 	border: 1px solid lightgray; */
  background-color: rgba(256, 256, 256, 0.5);
  color: rgba(128, 128, 128, 0.8);
  margin-bottom: 5px;
}
.t-con-dn {
  background-color: rgba(256, 256, 256, 1);
}
.t-dn-dn {
  font-size: 20px !important;
  padding-left: 3px !important;
  padding: 2px;
}
.t-dn-status {
  border-radius: 30%;
  border: 1px solid;
  font-size: 18px;
  text-align: center;
}
.status-active {
  border: 3px solid olivedrab;
  color: olivedrab;
}
.status-pending {
  border: 3px solid cornflowerblue;
  color: cornflowerblue;
}
.status-goodsissue {
  border: 3px solid gold;
  color: gold;
}
.status-complete {
  border: 3px solid gold;
  color: gold;
}
.status-close {
  border: 3px solid tomato;
  color: tomato;
}

.t-status-y {
  padding-left: 5px;
  color: gold;
}
.t-status-n {
  padding-left: 5px;
  color: gray;
}

.t-indn {
  padding-left: 10px;
  color: gray;
}

.t-indn-odd {
  padding-left: 10px;
  background-color: rgba(256, 256, 256, 1);
}

.t-filter-h-p {
  font-size: 12px;
  border-radius: 5px;
}

.labels {
  color: red;
  background-color: white;
  font-family: "Lucida Grande", "Arial", sans-serif;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  border: 2px solid black;
  white-space: nowrap;
}
