html, body, form {
  width: 100%;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

html, body {
  overflow: hidden;
}

input, textarea, select, .textarea {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

textarea {
  line-height: 1.4;
}

div.textarea {
  line-height: 1.4;
}

input[type="checkbox"], input[type="radio"] {
  margin: 0px;
  padding: 0px;
}

input[type="checkbox"]+label, input[type="radio"]+label {
  margin-right: 12px;
  margin-left: 6px;
}

select, .select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select::-ms-expand {
  display: none;
}

header, .header {
  border-bottom: 1px solid #ebebeb;
  overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
  height: 62px;
  background-color: #ffffff;
}

header:hover, .header:hover {
  
}

footer, .footer {
  position: fixed;
  top: auto;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 2px;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

footer:hover, .footer:hover {
  height: auto;
  background-color: #1679c3;
  padding: 10px;
  box-sizing: border-box;
}

.prevent-enter-submit {
  width: 1px;
  height: 1px;
  border: none;
  top: -200px;
  position: absolute;
}

.logo {
  /*  border-right: 1px solid #656c76; */
  display: inline;
  overflow: hidden;
  position: absolute;
  width: 260px;
  padding: 6px;
  box-sizing: border-box;
  z-index: 1;
  text-align: center;
  vertical-align: middle;
}

.logo>img {
  max-height: 50px;
  max-width: 100%;
}

.navtop {
  position: absolute;
  display: table-row;
  height: 62px;
  left: 260px;
  right: 320px;
  background-color: #234567;
  color: #ffffff;
}

.navbar {
  height: 100%;
  width: 100%;
}

.navtop .nav-item {
  display: table-cell;
  height: 62px;
  width: 80px;
  background-size: 32px 32px;
  background-repeat: no-repeat;
  background-position: center 5px;
  padding-top: 43px;
  text-align: center;
  font-size: 0.7em;
  font-weight: bold;
  white-space: nowrap;
  box-sizing: border-box;
  cursor: pointer;
}

.navtop .nav-item:hover {
  background-color: #4076a5;
}

.navtop .nav-item.active {
  background-color: #115497;
}

.navtop .nav-item>span {
  color: #ccc;
}

.navtop .nav-item:hover>span {
  color: #07c;
}

.navtop .nav-item.active>span {
  color: #fff;
}

.navtop .nav-item.more {
  width: 16px;
  padding-top: 0px;
  vertical-align: middle;
  color: #ccc;
  background-color: #427eb1;
}

.navtop .nav-item.more:hover {
  background-color: #ccc;
  color: #333;
}

.navtop .nav-item.first {
  background-position: center;
  border-right: 1px solid #3fa5cc;
  background-size: 25px;
}

#header.left-hide>.logo, #header.left-hide>.company-branch {
  display: none;
}

#header.left-hide>.navtop {
  left: 0px;
}

#header.left-show>.logo, #header.left-show>.company-branch {
  display: inline-table;
}

#header.left-show>.navtop {
  left: 260px;
}

.menu-body>.navtop {
  display: block;
  left: 0px;
  right: auto;
}

.menu-body>.navtop>.nav-item {
  display: block;
  /* border-right: 1px solid #656c76;
  border-left: 1px solid #656c76;
  border-bottom: 1px solid #ebebeb; */
  background-color: #427eb1;
}

.menu-body>.navtop>.nav-item:hover {
  background-color: #4076a5;
}

.menu-body>.navtop.more-scroll {
  height: 310px;
  overflow: auto;
}

.menu-body>.navtop.more-scroll:hover {
  overflow-y: auto;
}

.more-scroll::-webkit-scrollbar {
  width: 6px;
}

.more-scroll::-webkit-scrollbar-track {
  background: #b3b3b3;
}

.more-scroll::-webkit-scrollbar-thumb {
  background: #8c8c8c;
}

.more-scroll::-webkit-scrollbar-thumb:hover {
  background: #737373;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  .more-scroll:hover {
    overflow-y: overlay;
  }
}

.ui-autocomplete::-webkit-scrollbar {
  width: 6px;
}

.ui-autocomplete::-webkit-scrollbar-track {
  background: #b3b3b3;
}

.ui-autocomplete::-webkit-scrollbar-thumb {
  background: #8c8c8c;
}

.ui-autocomplete::-webkit-scrollbar-thumb:hover {
  background: #737373;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  .ui-autocomplete:hover {
    overflow-y: overlay;
    overflow-x: hidden;
  }
}

.app-config {
  border-left: 1px solid #656c76;
  position: absolute;
  right: 56px;
  height: 62px;
  width: 72px;
  background-size: 30px 30px;
  background-repeat: no-repeat;
  background-position: center;
  padding-top: 43px;
  text-align: center;
  font-size: 0.7em;
  font-weight: bold;
  white-space: nowrap;
  box-sizing: border-box;
  color: #ccc;
  background-image: url("icons/icon-setting.svg");
  cursor: pointer;
}

.app-config:hover {
  background-color: #ccc;
  color: #07c;
}

.app-config.active {
  color: #fff;
  background-color: #07c;
  background-image: url("icons/icon-setting-active.svg");
}

.app-logout {
  border-left: 1px solid #656c76;
  position: absolute;
  right: 0px;
  height: 62px;
  width: 56px;
  background-size: 22px 22px;
  background-repeat: no-repeat;
  background-position: center;
  padding-top: 43px;
  text-align: center;
  font-size: 0.7em;
  font-weight: bold;
  white-space: nowrap;
  box-sizing: border-box;
  color: #ccc;
  background-image: url("icons/icon-logout.svg");
}

.app-logout:hover {
  background-color: #ccc;
  color: #07c;
}

.app-logout.active {
  background-color: #07c;
  color: #fff;
}

.app-info {
  border-left: 1px solid #3fa5cc;
  position: absolute;
  right: 0px;
  height: 62px;
  width: 56px;
  padding-top: 43px;
  text-align: center;
  font-size: 0.7em;
  font-weight: bold;
  white-space: nowrap;
  box-sizing: border-box;
  color: #ccc;
  background-image: url("menu/more.svg");
  background-size: 22px 22px;
  background-repeat: no-repeat;
  background-position: center;
}

.app-info:hover {
  background-color: #ccc;
  color: #07c;
}

.app-info.active {
  background-color: #07c;
  color: #fff;
}

.login-info {
  display: table;
  position: absolute;
  right: 0px;
}

.user-image {
  display: table-cell;
}

.user-image>img {
  margin: 4px;
  width: 54px;
  height: 54px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 0.2px solid #c6c7cb;
}

.user-image>img:hover {
  -webkit-box-shadow: rgba(10, 111, 149, 0.7) 0px 0 10px;
  -moz-box-shadow:  rgba(10, 111, 149, 0.7) 0 0 10px;
  box-shadow:  rgba(10, 111, 149, 0.7) 0 0 10px;
}

.user-info {
  display: table-cell;
  white-space: nowrap;
  padding: 0px 4px;
  vertical-align: middle;
  line-height: 16px;
}

.user-department {
  color: #ffffff;
  font-weight: bold;
  text-transform: capitalize;
  cursor: pointer;
}

.user-department:hover {
  color: #9cabb7;
}

.user-department::after {
  font-family: FontAwesome;
  content: "\f078";
  font-size: xx-small;
  font-weight: normal;
  vertical-align: middle;
}

.user-account {
  display: table-cell;
  color: #ffffff;
  vertical-align: middle;
  padding-right: 4px;
}

.user-phone::before {
  font-family: FontAwesome;
  content: "\f095";
  padding-right: 5px;
}

.user-address::before {
  font-family: FontAwesome;
  content: "\f041";
  padding-right: 5px;
}

.user-email::before {
  font-family: FontAwesome;
  content: "\f003";
  padding-right: 5px;
}

.user-select {
  display: table-cell;
  padding: 2px;
  vertical-align: middle;
  text-align: center;
  color: #ccc;
  cursor: pointer;
}

.user-select>i {
  border-radius: 50%;
  background-color: #0e65bb;
  width: 24px;
  height: 24px;
  padding: 6px;
  -webkit-text-fill-color: #f2f3ef;
  -webkit-text-stroke-width: 0.1px;
  -webkit-text-stroke-color: white;
}

.company-branch {
  display: inline-table;
  overflow: hidden;
  position: absolute;
  width: 260px;
  box-sizing: border-box;
  z-index: 2;
  height: 100%;
}

.company-branch>div {
  display: table-cell;
}

.company-select {
  vertical-align: middle;
  text-align: center;
  color: #ccc;
  width: 24px;
  cursor: pointer;
}

.company-select:hover {
  background-color: #ccc;
  color: #00f;
}

.branch-select {
  vertical-align: middle;
  text-align: center;
  color: #ccc;
  width: 24px;
  cursor: pointer;
}

.branch-select:hover {
  background-color: #ccc;
  color: #00f;
}

.noti-icon {
  display: table-cell;
  vertical-align: middle;
  padding: 2px;
  cursor: pointer;
}

.message-icon {
  display: inline-block;
  background-image: url("icons/chat.svg") !important;
  background-size: 20px 20px !important;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  padding: 6px;
}

.message-icon:hover {
  background-color: #4076a5;
}

.message-icon .unread-message {
  color: #fff;
  font-weight: bold;
  background-color: red;
  border: 1px solid #deb887;
  border-radius: 40%;
  padding-left: 2px;
  padding-right: 2px;
  vertical-align: middle;
  line-height: 14px;
  position: absolute;
  z-index: 200;
  font-size: 12px;
  top: -1px;
  right: 10px;
  min-width: 14px;
  height: 14px;
  text-align: center;
}

.icon-clone:before {
  font-family: FontAwesome;
  content: "\f24d";
}

.icon-clone:hover {
  color: #0099dc;
}

.wrapper {
  width: 100%;
  min-width: 600px;
  position: fixed;
  top: 63px;
  bottom: 0px;
}

.tap-wrapper>.wrapper {
  top: 0px;
}

.popup-wrapper.wrapper {
  top: 0px;
}

.side-left {
  border-right: 1px solid #ebebeb;
  height: 100%;
  width: 260px;
  position: absolute;
  left: 0px;
  top: 0px;
  background-color: #ffffff;
  box-sizing: border-box;
  margin-top: 2px;
}

.side-right {
  border-left: 1px solid #ebebeb;
  width: 220px;
  position: absolute;
  right: 0px;
  top: 8px;
  bottom: 0px;
  background-color: #f5f5f5;
}

.content {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: #ddd;
}

.content-header {
  height: 40px;
  border-bottom: 1px solid #ebebeb;
}

.header-title {
  font-weight: bold;
  font-size: 1.5em;
  line-height: 40px;
  margin-left: 10px;
}

.form-content {
  position: absolute;
  top: 95px;
  right: 0px;
  bottom: 48px;
  left: 0px;
  overflow: auto;
  box-sizing: border-box;
}

.form-content-lab {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 48px;
  left: 0px;
  overflow: auto;
  box-sizing: border-box;
}

.form-content>.wrapper-content {
  margin: 0 4px 4px 4px;
  padding: 10px;
  background-color: #fff;
}

.list-result {
  position: absolute;
  top: 129px;
  right: 0px;
  bottom: 48px;
  left: 0px;
  overflow: auto;
  box-sizing: border-box;
  margin: 0px 8px;
  background-color: #fff;
}

.list-result.quick {
  top: 129px;
}

.list-result.advance {
  top: 279px;
}

.list-result.single {
  top: 0px;
  bottom: 0px;
  border-radius: 4px;
  margin: 0 8px;
}

.list-result.single>.table {
  border: none;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  .form-content {
    overflow: overlay;
  }
  .form-content:hover {
    overflow: overlay;
  }
  .list-result {
    overflow: overlay;
  }
  .list-result:hover {
    overflow: overlay;
  }
}

.form-content::-webkit-scrollbar, .document-list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.form-content::-webkit-scrollbar-track, .document-list::-webkit-scrollbar-track {
  background: #b3b3b3;
}

.form-content::-webkit-scrollbar-thumb, .document-list::-webkit-scrollbar-thumb {
  background: #8c8c8c;
}

.form-content::-webkit-scrollbar-thumb:hover, .document-list::-webkit-scrollbar-thumb:hover {
  background: #737373;
}

.list-result::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.list-result::-webkit-scrollbar-track {
  background: #b3b3b3;
}

.list-result::-webkit-scrollbar-thumb {
  background: #8c8c8c;
}

.list-result::-webkit-scrollbar-thumb:hover {
  background: #737373;
}

.wrapper.left-hide .side-left {
  width: 0px;
  overflow: hidden;
}

.wrapper.left-show .side-left {
  width: 260px;
}

.wrapper.left-hide .content {
  left: 0px;
}

.wrapper.left-show .content {
  left: 260px;
}

.wrapper.left-hide>.form-content {
  left: 0px;
}

.wrapper.left-show>.form-content {
  left: 260px;
}

.wrapper.right-hide .side-right {
  width: 0px;
  overflow: hidden;
}

.wrapper.right-show .side-right {
  width: 220px;
}

.wrapper.right-hide .form-content, .wrapper.right-hide .content-top {
  right: 0px;
}

.wrapper.right-show .form-content, .wrapper.right-show .content-top {
  right: 220px;
}

.wrapper.right-hide-edit .form-content {
  right: 0px;
}

.wrapper.right-show-edit .form-content {
  right: 25%;
}

.iframe-object {
  width: 100%;
  height: calc(100vh - 160px);
}

.iframe-object.landscape {
  height: calc(100vh - 160px);
}

.popup-wrapper .wrapper {
  top: 0px;
}

.popup-wrapper .content {
  top: 0px;
}

.popup-wrapper .form-content {
  top: 0px;
}

.main-content {
  margin: 0px 8px;
  min-height: 100%;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.list-data {
  margin: 0px 8px;
  min-height: 100%;
  background-color: #fff;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.wrapper-content {
  position: relative;
}

.inner-header {
  font-size: 1.2em;
  font-weight: bolder;
  background-color: #458ccc;
  padding: 8px 10px;
  position: relative;
  border-radius: 2px;
  min-height: 14px;
  color: #ffffff;
}

.inner-header.margin-top {
  margin-top: 20px;
}

.content-block {
  background-color: #fff;
  border-radius: 4px;
  margin-top: 8px;
  position: relative;
}

.content-block.first {
  margin-top: 0px;
}

.content-block>.head {
  padding: 8px;
  border-bottom: 1px solid #ccc;
  min-height: 31px;
  box-sizing: border-box;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  color: #005191;
  font-weight: bold;
  position: relative;
}

.content-block>.head-tab {
  border-bottom: 1px solid #ccc;
  min-height: 30px;
  box-sizing: border-box;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  position: relative;
}

.content-block>.head>.right, .content-block>.head-tab>.right {
  position: absolute;
  top: 0px;
  right: 0px;
}

.content-block>.body {
  padding: 0px 8px 8px 8px;
  position: relative;
}

.content-block>.body .sep {
  border-top: 1px solid #ccc;
  height: 1px;
  box-sizing: border-box;
  margin-top: 8px;
}

.content-block>.body .title {
  padding: 8px;
  font-weight: bold;
  color: #13a3e8;
}

.margin-top {
  margin-top: 20px !important;
}

.action {
  position: fixed;
  top: auto;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 40px;
  border-top: 1px solid #ebebeb;
  box-sizing: border-box;
  padding-top: 5px;
  padding-right: 16px;
  padding-bottom: 5px;
  background-color: #fff;
  right: 0px;
  z-index: 4;
}

.action-inner {
  padding: 10px 0px;
}

.wrapper.left-hide .action {
  left: 0px;
}

.wrapper.left-show .action {
  left: 260px;
}

.wrapper.right-hide .action {
  right: 0px;
}

.wrapper.right-show .action {
  right: 220px;
}

.action-bar {
  text-align: right;
}

.action-bar>.btn {
  margin-right: 10px;
  min-width: 78px;
}

.action-bar-l {
  float: left;
  text-align: left;
}

.action-bar-l>.btn {
  margin-left: 10px;
  min-width: 78px;
}

.action-right {
  text-align: right;
  padding-top: 8px;
  padding-bottom: 8px;
}

.action-right>.btn {
  margin-left: 10px;
  padding-left: 4px;
  padding-right: 4px;
}

.action.task-bar {
  padding: 0px;
}

.action.task-bar .action-bar {
  padding-top: 5px;
  padding-right: 16px;
  padding-bottom: 5px;
}

.switch-view {
  height: 40px;
  width: 40px;
  bottom: 0px;
  position: absolute;
  z-index: 5;
}

.switch-view>.show-edit {
  height: 40px;
  width: 40px;
}

.switch-view>.show-edit:before {
  font-family: FontAwesome;
  content: "\f0f6";
  position: absolute;
  top: 13px;
  left: 12px;
}

.switch-view>.show-edit:hover {
  background-color: #ccc;
}

.switch-view>.show-list {
  height: 40px;
  width: 40px;
}

.switch-view>.show-list:before {
  font-family: FontAwesome;
  content: "\f03a";
  position: absolute;
  top: 13px;
  left: 12px;
}

.switch-view>.show-list:hover {
  background-color: #ccc;
}

.tab-bar {
  display: table;
  width: 100%;
  min-height: 32px;
}

.tab-work {
  padding: 2px 8px;
  box-sizing: border-box;
  display: table-cell;
  text-align: center;
  cursor: pointer;
  color: #999;
  vertical-align: middle;
}

.tab-work:hover {
  
}

.tab-work.active {
  color: #333;
  font-weight: bold;
}

.tab-work.icon-tab, .tab-work.email-icon-tab {
  background-position: top 4px center;
  padding-top: 34px;
}

.tab-work .count {
  background-color: #d0d0d0;
  padding: 0 4px;
  border-radius: 8px;
  font-size: 0.85em;
}

.tab-work .count.scheduled, .tab-work .count.waiting, .tab-work .count.collecting, .tab-work .count.collected, ,
  .tab-work .count.processing .tab-work .count.processed, .tab-work .count.submit, .tab-work .count.completed {
  font-size: .8em;
  padding: 1px 6px;
  letter-spacing: 1px;
  color: #fff;
}

.tab-work.scheduled:hover .count.scheduled {
  background-color: #ee3e80;
}

.tab-work.schedule.active .count.schedule {
  background-color: #ee3e80;
}

.tab-work.scheduled .count.scheduled.highlight {
  font-weight: bold;
  color: #f00;
}

.tab-work.waiting:hover .count.waiting {
  background-color: #ffcc32;
}

.tab-work.waiting.active .count.waiting {
  background-color: #ffcc32;
}

.tab-work.waiting .count.waiting.highlight {
  font-weight: bold;
  color: #f00;
}

.tab-work.collecting:hover .count.collecting {
  background-color: #d5e042;
}

.tab-work.collecting.active .count.collecting {
  background-color: #d5e042;
}

.tab-work.collecting .count.collecting.highlight {
  font-weight: bold;
  color: #f00;
}

.tab-work.collected:hover .count.collected {
  background-color: #00c0f3;
}

.tab-work.collected.active .count.collected {
  background-color: #00c0f3;
}

.tab-work.collected .count.collected.highlight {
  font-weight: bold;
  color: #f00;
}

.tab-work.processing:hover .count.processing {
  background-color: #d5e042;
}

.tab-work.processing.active .count.processing {
  background-color: #d5e042;
}

.tab-work.processing .count.processing.highlight {
  font-weight: bold;
  color: #f00;
}

.tab-work.processed:hover .count.processed {
  background-color: #2f673f;
}

.tab-work.processed.active .count.processed {
  background-color: #2f673f;
}

.tab-work.processed .count.processed.highlight {
  font-weight: bold;
  color: #f00;
}

.tab-work.submit:hover .count.submit {
  background-color: #00c0f3;
}

.tab-work.submit.active .count.submit {
  background-color: #00c0f3;
}

.tab-work.submit .count.submit.highlight {
  font-weight: bold;
  color: #f00;
}

.tab-work.completed:hover .count.completed {
  background-color: #0099da;
}

.tab-work.completed.active .count.completed {
  background-color: #0099da;
}

.tab-work.completed .count.completed.highlight {
  font-weight: bold;
  color: #f00;
}

.tab-item {
  padding: 2px 8px;
  box-sizing: border-box;
  display: table-cell;
  text-align: center;
  cursor: pointer;
  color: #999;
  vertical-align: middle;
}

.tab-item.refresh:after {
  font-family: FontAwesome;
  content: "\f021";
  font-weight: normal;
  position: absolute;
  right: 10px;
}

.tab-item:hover {
  background-color: #ccc;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.tab-item.active {
  background-color: #f8e38f;
  border-top: 1px solid #f8e38f;
  border-left: 1px solid #f8e38f;
  border-right: 1px solid #f8e38f;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  color: #333;
  font-weight: bold;
}

.tab-item.bottom:hover {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.tab-item.bottom.active {
  border-top: none;
  border-bottom: 1px solid #f8e38f;
  border-left: 1px solid #f8e38f;
  border-right: 1px solid #f8e38f;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  color: #333;
}

.tab-item.img, .tab-item.active.img {
  background-color: unset;
  border: unset;
}

.tab-item.icon-tab.img>.count {
  background-color: #d2d2d2;
  padding: 0 5px;
  border-radius: 8px;
  color: #fff;
  font-size: 9pt;
}

.tab-item.icon-tab.active.img>.count {
  background-color: #d0d0d0;
  font-weight: bold;
}

.tab-bar.list {
  height: 32px;
  position: absolute;
}

.tab-bar.list .tab-item {
  width: 33.33%;
}

.tab-bar.list.c2 .tab-item {
  width: 50%;
}

.tab-bar.list.c3 .tab-item {
  width: 33.33%;
}

.tab-bar.list.c4 .tab-item {
  width: 25%;
}

.search-bar {
  box-sizing: border-box;
  height: 35px;
  padding: 4px;
  position: absolute;
  top: 54px;
  width: 100%;
  display: table;
}

.search-bar.img {
  top: 52px;
  background-color: unset;
}

.search-bar>.search-quick {
  display: table-cell;
}

.search-bar>.search-advance {
  display: table-cell;
}

.search-bar>.btn-search {
  display: table-cell;
}

.pagination-bar {
  box-sizing: border-box;
  height: 25px;
  padding: 4px;
  position: absolute;
  top: 112px;
  width: 100%;
  display: table;
  border-bottom: 1px solid #ebebeb;
}

.pagination-bar .sort-group {
  position: relative;
  display: table;
  border: 1px solid #ebebeb;
  border-radius: 3px;
}

.pagination-bar .sort-group .sort-by {
  background: inherit;
  display: table-cell;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
  padding: 2px 4px;
  color: #999999;
  font-size: .9em;
  height: 20px;
  border: unset;
}

.pagination-bar .sort-group .sort-mode {
  background: inherit;
  border: none;
  display: table-cell;
  border-radius: 3px;
  padding: 2px 4px;
  color: #999999;
  font-size: .9em;
  height: 20px;
}

.pagination-bar .sort-group .sort-type {
  cursor: pointer;
  width: 15px;
  height: 15px;
  display: table-cell;
  border-radius: 3px;
  color: #999999;
  text-align: center;
}

.pagination-bar .sort-group .sort-type:hover {
  color: #0000ff;
  background-color: #ffffff;
}

.pagination-bar .sort-group .sort-type.asc:before {
  font-family: FontAwesome;
  content: "\f106";
}

.pagination-bar .sort-group .sort-type.desc:before {
  font-family: FontAwesome;
  content: "\f107";
}

.pagination-work {
  display: table;
  float: right;
}

.pagination-work .prev {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  box-sizing: border-box;
}

.pagination-work .prev>input[type="button"] {
  background: transparent;
  font-size: 18px;
  color: #333;
  width: 100%;
  height: 100%;
  border: none;
  margin-top: -1px;
  padding: 0px;
}

@
-moz-document url-prefix () { .pagination-work .prev>input[type="button"] {
  margin-top: -3px;
}

}
.pagination-work .prev>input[type="button"]:enabled:hover {
  color: #1163dd;
  font-weight: bold;
}

.pagination-work .prev>input[type="button"]:disabled {
  color: #999;
}

.pagination-work .next {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  box-sizing: border-box;
}

.pagination-work .next>input[type="button"] {
  background: transparent;
  font-size: 18px;
  color: #333;
  width: 100%;
  height: 100%;
  border: none;
  margin-top: -1px;
  padding: 0px;
}

@
-moz-document url-prefix () { .pagination-work .next>input[type="button"] {
  margin-top: -3px;
}

}
.pagination-work .next>input[type="button"]:enabled:hover {
  color: #1163dd;
  font-weight: bold;
}

.pagination-work .next>input[type="button"]:disabled {
  color: #999;
}

.pagination-work .paging {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding: 0px 1px;
}

.pagination-work .paging>select {
  border: none;
  vertical-align: middle;
  text-align: center;
  text-align-last: center;
  margin: 0px;
  padding: 0px;
  background: none;
}

.pagination-work .paging-sep {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.pagination-work .row-count {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding: 0px 1px;
}

.pagination-work .page-size {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
  padding: 0px 1px;
}

.pagination-work .page-size>select {
  border: none;
  vertical-align: middle;
  text-align: center;
  text-align-last: right;
  margin: 0px;
  padding: 0px;
  background: none;
}

.chevron-left:before {
  font-family: FontAwesome;
  content: "\f053";
}

.chevron-right:before {
  font-family: FontAwesome;
  content: "\f054";
}

.angle-left:before {
  font-family: FontAwesome;
  content: "\f104";
}

.angle-right:before {
  font-family: FontAwesome;
  content: "\f105";
}

.angle-up:before {
  font-family: FontAwesome;
  content: "\f106";
}

.angle-down:before {
  font-family: FontAwesome;
  content: "\f107";
}

.prev:hover, .next:hover {
  color: #0000ff;
}

.disabled {
  pointer-events: none;
  color: #999 !important;
  opacity: .5 !important;
}

.disabled input[type="text"] {
  color: #999;
}

.highlight {
  color: #dc143c;
}

.highlight.bold {
  font-weight: bold;
}

.work-list {
  bottom: 41px;
  overflow: hidden;
  position: absolute;
  top: 143px;
  width: 100%;
  padding: 4px;
  box-sizing: border-box;
}

.work-list.img {
  top: 140px;
}

.work-list.full {
  top: 40px;
  bottom: 0px;
  overflow-y: hidden;
}

.work-list.type {
  bottom: 75px;
}

.work-list:hover {
  overflow-y: auto;
}

.work-list::-webkit-scrollbar {
  width: 4px;
}

.work-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.work-list::-webkit-scrollbar-thumb {
  background: #888;
}

.work-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  .work-list:hover {
    overflow-y: overlay;
  }
  .popup-menu-department:hover {
    overflow-y: overlay;
  }
  .document-list:hover {
    overflow-y: overlay;
  }
  .history-list:hover {
    overflow-y: overlay;
  }
}

.work-list-header {
  height: 30px;
  padding-left: 5px;
  padding-right: 5px;
  border-bottom: 1px solid #ccc;
}

.work-list-header>.title {
  font-weight: bold;
  font-size: 1.2em;
  padding-top: 15px;
  text-align: center;
}

.work-item {
  display: table;
  padding: 6px 6px 6px 6px;
  box-sizing: border-box;
  border-bottom: 1px solid #bfbfbf;
  font-size: 0.8em;
  line-height: 1.3em;
  width: 100%;
  color: #07c;
  cursor: pointer;
  border: 1px solid #bfbfbf;
  border-radius: 4px;
  margin-bottom: 5px;
  position: relative;
}

.work-item:hover {
  /*background-color: #f0ffff; */
  border: 1px solid #07c;
}

.work-item:focus {
  background-color: #ffd;
}

.work-item.active {
  border: 1px solid #07c;
  background-color: #effbff;
  color: #222;
}

.work-item.file.active {
  background-color: #cce1ff;
}

.work-item.ofc {
  border: none;
  cursor: auto;
}

.work-item.ofc:hover {
  background: rgba(0, 0, 0, 0.1);
}

.work-item.ofc .btn-calendar {
  visibility: hidden;
  float: right;
}

.work-item.ofc:hover .btn-calendar {
  visibility: visible;
}

.work-item.time {
  text-align: center;
  height: 40px;
}

.work-item.time .item-name {
  display: table-cell;
  vertical-align: middle;
}

.work-item.time.active {
  border: 1px solid #f24f00;
}

.work-item.time.active .item-name {
  color: #f24f00;
}

.work-item.time.quarter {
  background-color: #336494;
  border-color: #2a93e7;
}

.work-item.time.quarter.active {
  background-color: #f49466;
  border-color: #f24f00;
}

.work-item.time.quarter .item-name {
  color: white;
}

.work-item .item-header {
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 5px;
}

.work-item .avatar {
  background-size: 30px auto;
  background-repeat: no-repeat;
  background-position: center center;
  height: 30px;
  width: 30px;
}

.work-item .avatar:hover {
  height: 236px;
  width: 236px;
  z-index: 10000;
  position: absolute;
  padding-top: 18px;
}

.work-item .avatar>img {
  border-radius: 50%;
  border: 1px solid #c6c7cb;
  width: 100%;
  height: 100%;
}

.work-item .avatar.male {
  background-image: url("ico/avatar_male.svg");
}

.work-item .avatar.female {
  background-image: url("ico/avatar_female.svg");
}

.work-item .avatar.other {
  background-image: url("ico/avatar_other.svg");
}

.work-item .avatar.pills {
  background-image: url("ico/pills.svg");
}

.work-item .item-no {
  font-size: 1.2em;
  color: #848c99;
}

.work-item .item-seq {
  font-size: 1em;
  font-weight: bolder;
  color: #000;
}

.work-item .item-object {
  margin-left: 20px;
}

.work-item .item-date {
  float: right;
  color: #848c99;
  background-image: url("ico/timer.svg");
  background-size: 0.9em;
  background-repeat: no-repeat;
  background-position: left;
  padding-left: 12px;
}

.work-item .item-code {
  font-size: 1em;
  float: right;
  color: #0099dc;
  font-weight: bold;
}

.work-item .item-result {
  background-image: url("ico/result_code.svg");
  background-size: 0.9em;
  background-repeat: no-repeat;
  background-position: left;
  padding-left: 12px;
  color: #b80113;
  font-weight: bold;
}

.work-item .item-age {
  font-size: 1em;
  color: #848c99;
}

.work-item .item-name {
  font-weight: bold;
  font-size: 1.1em;
  color: #005191;
}

.work-item .item-service {
  color: #2d3d54;
  font-weight: bold;
}

.work-item .item-description {
  color: #0b5cf4;
}

.work-item .item-department {
  color: #0b5cf4;
}

.work-item .item-impression {
  font-weight: bold;
  font-size: 1.3em;
  color: #0000FF;
}

.item-impression.abnormal {
  color: #FF0000;
}

.work-item .item-document {
  color: #d52b4d;
}

.work-item .item-work-code {
  color: #d52b4d;
  font-weight: bold;
  min-height: 12px;
}

.work-item .item-action {
  color: #ffa500;
  background-size: auto;
  background-repeat: no-repeat;
  background-position: right;
  height: 2.0em;
  width: 100%;
  position: relative;
  right: 4px;
  bottom: 4px;
  display: table;
}

.work-item .item-action .item-ledger {
  color: #005191;
  font-weight: bold;
  height: 100%;
  position: absolute;
  text-transform: uppercase;
  left: 4px;
  top: 10px;
}

.work-item .item-action .item-add-item {
  color: #ffa500;
  background-size: auto;
  background-repeat: no-repeat;
  background-position: right;
  height: 2.0em;
  width: 4.0em;
  position: absolute;
  right: 0px;
  top: 7px;
}

.work-item .item-status {
  color: #ffa500;
  background-size: auto;
  background-repeat: no-repeat;
  background-position: right;
  height: 1.3em;
  width: 1.3em;
  position: absolute;
  right: 4px;
  bottom: 4px;
}

.work-item .item-status.scheduled {
  background-image: url("icon/status-scheduled-active.svg");
}

.work-item.active .item-status.scheduled, .work-item:hover .item-status.scheduled {
  background-image: url("icon/status-scheduled-active.svg");
}

.work-item .item-status.waiting {
  background-image: url("icon/status-waiting-active.svg");
}

.work-item.active .item-status.waiting, .work-item:hover .item-status.waiting {
  background-image: url("icon/status-waiting-active.svg");
}

.work-item .item-status.collecting {
  background-image: url("icon/status-collecting-active.svg");
}

.work-item.active .item-status.collecting, .work-item:hover .item-status.collecting {
  background-image: url("icon/status-collecting-active.svg");
}

.work-item .item-status.collected {
  background-image: url("icon/status-collected-active.svg");
}

.work-item.active .item-status.collected, .work-item:hover .item-status.collected {
  background-image: url("icon/status-collected-active.svg");
}

.work-item .item-status.processing {
  background-image: url("icon/status-processing-active.svg");
}

.work-item.active .item-status.processing, .work-item:hover .item-status.processing {
  background-image: url("icon/status-processing-active.svg");
}

.work-item .item-status.processed {
  background-image: url("icon/status-processed-active.svg");
}

.work-item.active .item-status.processed, .work-item:hover .item-status.processed {
  background-image: url("icon/status-processed-active.svg");
}

.work-item .item-status.submit {
  background-image: url("icon/status-submit-active.svg");
}

.work-item.active .item-status.submit, .work-item:hover .item-status.submit {
  background-image: url("icon/status-submit-active.svg");
}

.work-item .item-status.approved {
  background-image: url("icon/status-approved-active.svg");
}

.work-item.active .item-status.approved, .work-item:hover .item-status.approved {
  background-image: url("icon/status-approved-active.svg");
}

.work-item .item-status.complete {
  background-image: url("icon/status-complete-active.svg");
}

.work-item.active .item-status.complete, .work-item:hover .item-status.complete {
  background-image: url("icon/status-complete-active.svg");
}

.work-item .item-status.completed {
  background-image: url("icon/status-completed-active.svg");
}

.work-item.active .item-status.completed, .work-item:hover .item-status.completed {
  background-image: url("icon/status-completed-active.svg");
}

.work-item .item-status-left {
  color: #F00;
}

.work-item .work-code {
  color: #d52b4d;
  width: 100%;
  min-height: 12px;
}

.work-item .item-qty {
  color: #f1064b;
  width: 100%;
  font-weight: bold;
  min-height: 12px;
}

.work-item .item-unit-name {
  color: #f1064b;
  width: 100%;
  min-height: 12px;
  font-weight: bold;
}

.work-item .work-code.highlight {
  font-weight: bold;
}

.work-item .item-priority {
  color: #848c99;
}

.work-item .item-priority.hight {
  
}

.work-item .item-priority.normal {
  
}

.work-item .item-priority.slow {
  
}

.work-item .item-more:before {
  content: '\25BC';
  color: #6f6d6d;
}

.work-item .item-more:hover {
  color: #000;
}

.work-list>.type-all .work-item {
  display: table;
}

.work-list>.type1 .work-item.type1 {
  display: table;
}

.work-list>.type1 .work-item.type-1 {
  display: none;
}

.work-list>.type-1 .work-item.type1 {
  display: none;
}

.work-list>.type-1 .work-item.type-1 {
  display: table;
}

.work-list-type {
  width: 100%;
  display: table;
  position: absolute;
  bottom: 42px;
  border-top: 1px solid #ebebeb;
}

.work-list-footer {
  width: 100%;
  display: table;
  position: absolute;
  bottom: 0px;
  border-top: 1px solid #ebebeb;
  height: 42px;
  padding-bottom: 2px;
  box-sizing: border-box;
}

.work-total {
  display: table-cell;
  padding: 0px;
  vertical-align: middle;
  cursor: pointer;
}

.work-total:hover {
  background-color: #ccc;
}

.popup-trigger-cashier {
  color: #ccc;
  display: table-cell;
  padding: 10px 3px 6px 3px;
  cursor: pointer;
}

.popup-trigger-cashier:hover {
  color: #000;
  background-color: #ccc;
}

.popup-trigger-cashier>i {
  font-size: 1em;
}

.popup-menu-cashier {
  position: absolute;
  left: 0px;
  bottom: 30px;
  width: auto;
}

.add-new-item {
  display: table-cell;
  width: 100%;
  text-align: center;
  vertical-align: middle;
}

.add-new-item>button {
  width: 120px;
}

.add-new-item>button.btn.img {
  border-radius: 50px;
  width: 170px;
  font-size: 1.2em;
  background-color: #08aeea;
  color: #a2d8ed;
  font-weight: bold;
}

.left-showhide {
  border-bottom: 1px solid #ebebeb;
  border-right: 1px solid #ebebeb;
  border-top: 1px solid #ebebeb;
  border-bottom-right-radius: 20px;
  border-top-right-radius: 20px;
  float: left;
  height: 36px;
  margin: 2px 0;
  width: 30px;
  padding-left: 8px;
  padding-top: 10px;
  box-sizing: border-box;
  cursor: pointer;
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center left;
}

.left-show .left-showhide {
  padding-left: 8px;
  background-image: url(icons/chevron-arrow-left.svg) !important;
}

.left-hide .left-showhide {
  padding-left: 10px;
  background-image: url(icons/chevron-arrow-right.svg) !important;
}

.right-showhide {
  border-bottom: 1px solid #ebebeb;
  border-left: 1px solid #ebebeb;
  border-top: 1px solid #ebebeb;
  border-bottom-left-radius: 20px;
  border-top-left-radius: 20px;
  float: right;
  height: 36px;
  margin: 2px 0;
  width: 30px;
  padding-left: 12px;
  padding-top: 10px;
  box-sizing: border-box;
  cursor: pointer;
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center right;
}

.right-show .right-showhide {
  padding-left: 12px;
  background-image: url(icons/chevron-arrow-right.svg) !important;
}

.right-hide .right-showhide {
  padding-left: 10px;
  background-image: url(icons/chevron-arrow-left.svg) !important;
}

.top-showhide {
  border-bottom: 1px solid #ebebeb;
  border-left: 1px solid #ebebeb;
  border-top: 1px solid #ebebeb;
  border-bottom-left-radius: 20px;
  border-top-left-radius: 20px;
  float: right;
  height: 36px;
  margin: 2px 0;
  width: 30px;
  padding-left: 12px;
  padding-top: 10px;
  box-sizing: border-box;
  cursor: pointer;
}

.top-show .top-showhide {
  padding-left: 12px;
}

.top-show .top-showhide:before {
  font-family: FontAwesome;
  content: "\f077";
}

.top-hide .top-showhide {
  padding-left: 10px;
}

.top-hide .top-showhide:before {
  font-family: FontAwesome;
  content: "\f078";
}

.top-showhide:hover {
  color: #0000ff;
}

.top-action {
  position: absolute;
  right: 50px;
  top: 0;
  height: 40px;
  display: table;
}

.top-action>div {
  display: table-cell;
  width: 40px;
  height: 100%;
  text-align: center;
}

.tab-bar.history {
  border-bottom: 1px solid #ebebeb;
}

.tab-bar.history .tab-item {
  width: 50%;
}

.tab-bar.history-service-type {
  border-top: 1px solid #ebebeb;
  position: absolute;
  bottom: 0px;
}

.tab-bar.history-service-type .tab-item {
  width: 25%;
}

.tab-bar.history-service-type .tab-item.emr {
  height: 32px;
}

.history-list, .document-list {
  box-sizing: border-box;
  overflow: auto;
  padding: 4px;
  position: absolute;
  top: 32px;
  bottom: 0px;
  width: 100%;
}

.history-list .work-item {
  
}

.history-list .history-item {
  display: table;
  padding: 8px 2px 0px 2px;
  box-sizing: border-box;
  line-height: 1.3em;
  width: 100%;
  color: #333;
  cursor: pointer;
}

.history-item.tree-node {
  border: none;
}

.history-item.tree-node .icon-node {
  position: absolute;
  left: 4px;
  top: 2px;
  width: 10px;
  height: 10px;
}

.history-item.tree-node.expand .icon-node {
  background-image: url(icons/chevron-arrow-down.svg) !important;
}

.history-item.tree-node.collapse .icon-node {
  background-image: url(icons/chevron-arrow-right.svg) !important;
}

.history-item .node-content {
  box-sizing: border-box;
  padding: 0px 0px 0px 20px;
  position: relative;
  width: 100%;
  color: #333;
}

.history-item .node-content:hover {
  color: #000;
}

.history-item .node-content.active {
  color: #000;
}

.history-item .node-content>.node-text {
  
}

.history-item .node-content>.node-text:hover {
  color: #ffa500;
}

.history-item .child-node {
  padding: 6px 0 6px 20px;
  cursor: pointer;
}

.history-item .child-node .node-text.active {
  color: #000;
}

.history-item .child-node .node-text:hover {
  /* text-decoration: underline;
  font-weight: bold; 
  color: #000;*/
  background-color: #ddd;
}

.pat-detail {
  width: 100%;
  border: 1px solid #ebebeb;
  display: table;
  padding-top: 3px;
  padding-bottom: 1px;
  box-sizing: border-box;
}

.pat-image {
  display: table-cell;
  width: 100px;
  vertical-align: top;
}

.pat-image>img {
  float: right;
  height: 60px;
  margin: 6px;
}

.pat-info {
  display: table-cell;
  vertical-align: top;
}

.pat-code {
  
}

.emr-code {
  
}

.pat-object {
  
}

.pat-name {
  
}

.pat-gender {
  
}

.pat-dob {
  
}

.pat-address {
  
}

#pgPatientHeader {
  
}

#pgPatientHeader .pat-name {
  line-height: 40px;
  font-size: 1.1em;
  color: #005191;
  font-weight: bold;
}

#pgPatientHeader>.pat-name::before {
  padding-left: 40px;
  content: "";
}

#pgPatientHeader .sep {
  font-size: 1.2em;
  font-weight: bold;
}

#pgPatientHeader .item-name {
  font-size: 1.1em;
  padding: 8px;
}

#pgPatientHeader .pat-code {
  border: 1px solid #ebebeb;
  border-radius: 20px;
  margin-left: 10px;
  padding: 4px;
}

#pgPatientHeader .pat-sex {
  border: 1px solid #ebebeb;
  border-radius: 20px;
  margin-left: 10px;
  padding: 4px;
}

#pgPatientHeader .pat-age {
  text-transform: lowercase;
  border: 1px solid #ebebeb;
  border-radius: 20px;
  margin-left: 10px;
  padding: 4px;
}

.webcam-wrapper {
  position: fixed;
  border: 4px solid #ccc;
  border-radius: 8px;
  bottom: 43px;
  right: 20px;
  background-color: #fff;
  z-index: 10;
}

.webcam-wrapper.minimize {
  height: 25px;
  overflow: hidden;
}

.webcam-wrapper .webcam-maxmin {
  background-image: url(icons/chevron-arrow-down.svg) !important;
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center center;
  width: 32px;
  height: 18px;
  cursor: pointer;
  float: right;
}

.webcam-wrapper .webcam-maxmin:hover {
  background-color: #eee;
}

.webcam-wrapper.minimize .webcam-maxmin {
  background-image: url(icons/chevron-arrow-up.svg) !important;
}

.webcam-wrapper .reset-camera {
  display: inline;
}

.webcam-wrapper .reset-camera:before {
  float: right;
  font-size: 14px;
  margin: 2px 2px 5px;
  font-family: FontAwesome;
  content: "\f021";
  cursor: pointer;
  color: #666;
}

.webcam-wrapper.minimize .webcam-live {
  display: none;
}

.webcam-wrapper select {
  font-size: 11px;
  background-size: 5px 12px !important;
}

.webcam-header {
  padding: 4px;
  position: relative;
}

.webcam-live {
  
}

.webcam-action {
  padding: 4px;
  position: relative;
}

.posindex-wrapper {
  position: fixed;
  border: 4px solid #ccc;
  border-radius: 8px;
  top: 120px;
  right: 20px;
  background-color: #fff;
  display: none;
  width: 200px;
  height: 200px;
}

.posindex-wrapper.show {
  display: block;
}

.posindex-header {
  padding: 4px;
  position: relative;
}

.posindex-wrapper .minimize {
  text-align: right;
}

.posindex-wrapper .minimize:before {
  font-family: FontAwesome;
  content: "\f147";
}

.posindex-wrapper .posindex {
  height: 175px;
}

.posindex-wrapper .posindex>.image {
  max-width: 100%;
  max-height: 100%;
}

.config-item-image {
  width: 100%;
  max-width: 180px;
  max-height: 180px;
  text-align: right;
  vertical-align: top;
}

.config-item-image>.image {
  max-width: 180px;
  max-height: 180px;
}

.config-avatar-image {
  width: 100%;
  max-width: 250px;
  max-height: 250px;
  position: relative;
}

.config-avatar-image.avatar>img {
  max-width: 100%;
  background-color: #f8f8f8;
  border-radius: 3px;
  min-width: 200px;
  min-height: 200px;
}

.config-avatar-image.letter-head>img {
  max-width: 100%;
  background-color: #f8f8f8;
  border-radius: 3px;
  display: block;
  position: relative;
  height: 200px;
  width: 600px;
  border: 2px solid #ccc;
}

.tree-root {
  
}

.tree-node {
  border-bottom: 1px solid #ebebeb;
}

.node-content {
  box-sizing: border-box;
  padding: 6px 6px 6px 24px;
  position: relative;
  width: 100%;
}

.node-content:hover {
  
}

.node-content.active {
  
}

.node-content>.node-time {
  background-color: #ccc;
  border-radius: 20px;
  text-align: center;
  color: white;
  font-weight: normal;
}

.node-content>.node-text {
  padding-right: 10px;
}

.node-content>.node-text:hover {
  text-decoration: underline;
}

.node-content.nochild>.icon-node:before {
  font-family: FontAwesome;
  content: "\f096";
}

.node-content>.addnew-node {
  position: absolute;
  right: 6px;
  top: 6px;
}

.node-content>.addnew-node:before {
  font-family: FontAwesome;
  content: "\f0fe"
}

.tree-node .child-node {
  padding: 0px 6px 0px 24px;
}

.tree-node.expand .child-node {
  display: table;
}

.tree-node.collapse .child-node {
  display: none;
}

.tree-node .child-node>.node-text {
  padding: 6px 2px 6px 2px;
}

.tree-node .child-node>.node-text.active {
  font-weight: bold;
  color: #e69500;
}

.tree-node .child-node>.node-text:hover {
  /* text-decoration: underline;
  color: #ffa500; */
}

.popup-menu-company {
  position: absolute;
  left: 0px;
  top: 61px;
  box-sizing: border-box;
  width: 260px;
  max-height: 600px;
  overflow: auto;
}

.popup-menu-branch {
  position: absolute;
  left: 0px;
  top: 61px;
  box-sizing: border-box;
  width: 260px;
  max-height: 600px;
  overflow: auto;
}

.popup-menu-department {
  position: absolute;
  right: 58px;
  top: 63px;
  width: auto;
  max-width: 600px;
  max-height: 600px;
  overflow: hidden;
}

.popup-menu-department:hover {
  overflow-y: auto;
}

.popup-menu-department::-webkit-scrollbar {
  width: 6px;
}

.popup-menu-department::-webkit-scrollbar-track {
  background: #b3b3b3;
}

.popup-menu-department::-webkit-scrollbar-thumb {
  background: #8c8c8c;
}

.popup-menu-department::-webkit-scrollbar-thumb:hover {
  background: #737373;
}

.popup-menu-app-info {
  position: absolute;
  right: 1px;
  top: 63px;
  width: auto;
  max-width: 600px;
  max-height: 600px;
  overflow: hidden;
}

.popup-block {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.popup-block-noback {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  z-index: 10;
}

.popup-container {
  border: 1px solid #ebebeb;
  width: 800px;
  height: 600px;
  margin: 0px auto;
  border-radius: 6px;
  position: relative;
  background-color: #fff;
}

.popup-header {
  width: 100%;
  height: 32px;
  background-color: #ccc;
  box-sizing: border-box;
  padding: 8px 10px;
}

.popup-body.lab {
  top: 0px;
}

.popup-title {
  font-weight: bold;
}

.popup-body {
  position: absolute;
  top: 32px;
  bottom: 0px;
  width: 100%;
  overflow-y: auto;
}

.lab-name .title {
  padding: 6px;
  max-height: 31px;
  box-sizing: border-box;
  background-color: #AED5E5;
  position: relative;
  font-weight: bold;
  color: #3a3333;
  border-bottom: 1px solid #ebebeb;
}

.lab-name .title:hover {
  background-color: #88d2f1;
}

.lab-name .item-lab-name {
  padding: 6px;
  box-sizing: border-box;
  position: relative;
}

.item-lab-name .item-lab-check {
  height: 15px;
  width: 35px;
}

.item-lab-name .item-name {
  line-height: 1.2;
}

.popup-body.have-action {
  bottom: 40px;
}

.popup-action {
  position: absolute;
  top: auto;
  right: 0px;
  bottom: 0px;
  left: 0px;
  height: 40px;
  border-top: 1px solid #ebebeb;
  box-sizing: border-box;
  padding-top: 5px;
  padding-right: 16px;
  padding-bottom: 5px;
}

.popup-close {
  box-sizing: border-box;
  height: 24px;
  width: 24px;
  color: #666;
  float: right;
  padding: 1px 0 0 1px;
  text-align: center;
  cursor: pointer;
  font-size: large;
}

.popup-close:hover {
  color: #f00;
}

.popup-close:before {
  font-family: FontAwesome;
  content: "\f00d";
}

.popup-body .form-content {
  top: 0px;
}

.popup-body .action {
  position: absolute;
  left: 0px !important;
  right: 0px !important;
  background-color: transparent;
}

.prevent-double-submit {
  position: fixed;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  z-index: 100000;
  display: none;
}

.prevent-double-submit.blocking {
  display: block;
  cursor: progress;
}

.block-waiting {
  position: absolute;
  top: 40%;
  left: 45%;
  color: #075b88;
  font-weight: bold;
  font-size: 24px;
  width: 120px;
  height: 100px;
  margin: 0px auto;
  text-align: center;
}

.prevent-input {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  z-index: 100;
  cursor: not-allowed;
}

.block-waiting>i {
  
}

.block-waiting>span {
  
}

.search-condition {
  padding: 0px 8px 8px 8px;
  box-sizing: border-box;
}

.search-action {
  box-sizing: border-box;
  padding: 8px;
  text-align: right;
}

.search-tabdata {
  padding: 0px 8px;
}

.search-result {
  box-sizing: border-box;
  padding: 8px;
  margin: 8px;
  position: absolute;
  right: 0px;
  left: 0px;
  top: 127px;
  bottom: 0px;
  min-height: 100px;
  background-color: #fff;
}

.search-result.quick {
  top: 127px;
}

.search-result.advance {
  
}

.search-result.perform-status {
  box-sizing: border-box;
  padding: 8px;
  margin: 0px;
  position: absolute;
  right: 0px;
  left: 0px;
  top: 127px;
  bottom: 0px;
  min-height: 100px;
  background-color: unset;
}

.tab-header {
  width: 100%;
  border-bottom: 1px solid #ebebeb;
}

.tab-header .tab-bar {
  display: inline-table;
  width: auto;
}

.tab-header .tab-item {
  padding: 8px;
  box-sizing: border-box;
  display: table-cell;
  text-align: center;
  cursor: pointer;
}

.tab-right {
  float: right;
}

.tab-right-link {
  float: right;
  margin-top: 7px
}

.tab-item-detail {
  display: none;
}

.tab-item-detail.active {
  display: block;
}

.form-grid.tab-item-detail {
  display: none;
}

.form-grid.tab-item-detail.active {
  display: table;
}

.form-grid.work-item {
  border: none;
  padding-bottom: 0;
  padding-top: 0;
  cursor: auto;
}

.tab-content {
  position: absolute;
  top: auto;
  left: 0px;
  right: 0px;
  bottom: 0px;
  padding: 0 10px;
}

.tab-content>.tab-content-detail {
  width: 100%;
  height: 100%;
  overflow: auto;
  border: 1px solid #ebebeb;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.dialog {
  position: fixed;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  background: transparent;
  cursor: not-allowed;
  z-index: 1000;
  display: none;
}

.dialog.show {
  display: block;
}

.dialog-message {
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  background: transparent;
  cursor: not-allowed;
  z-index: 1000;
  display: none;
}

.dialog-message.show {
  display: block;
}

.dialog-wrapper {
  border: 3px solid #ff8000;
  background-color: #fff;
  border-radius: 4px;
  opacity: 1;
  display: inline;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: auto;
  min-width: 200px;
  max-width: 80%;
}

.dialog-title {
  padding: 10px;
  background-color: #eee;
  color: #00f;
  font-weight: bold;
  position: relative;
}

.dialog-title .dialog-close {
  background-image: url("icons/icon-close.svg") !important;
  background-repeat: no-repeat;
  background-size: 20px 25px;
  background-position: top center;
  position: absolute;
  top: 11px;
  right: 9px;
  width: 25px;
  height: 25px;
  cursor: pointer;
  margin-top: -6px;
  margin-right: -4px;
}

.dialog-title .dialog-close:hover {
  background-image: url("icons/icon-close-active.svg") !important;
}

.dialog-body {
  border-top: 1px solid #ebebeb;
  border-bottom: 1px solid #ebebeb;
  padding: 10px;
  min-height: 30px;
}

.dialog-action {
  padding: 8px;
  text-align: center;
}

.dialog-action>.btn {
  min-width: 80px;
  margin: 0px 15px;
}

.dialog-action>button#__btDialogCancel {
  display: none;
}

.dialog-message.error .dialog-title {
  color: #dc143c;
}

.dialog-message.error .dialog-body {
  color: #dc143c;
}

.dialog-message.warn .dialog-title {
  color: #f0ad4e;
}

.dialog-message.warn .dialog-body {
  color: #f0ad4e;
}

.dialog-message.confirm .dialog-title {
  color: #f0ad4e;
}

.dialog-message.confirm .dialog-body {
  color: #f0ad4e;
}

.dialog-message.confirm .dialog-action>button#__btDialogCancel {
  display: inline-block;
}

.content-header .avatar {
  background-size: 30px auto;
  background-repeat: no-repeat;
  background-position: center center;
  height: 29px;
  width: 29px;
  border-radius: 50%;
  border: 1px solid #c6c7cb;
  margin-top: 5px;
  margin-left: 5px;
  position: absolute;
}

fieldset.form-field {
  border: 1px solid #ebebeb;
  border-radius: 3px;
  padding: 0px 5px 10px 10px;
}

.cropit-preview {
  background-color: #f8f8f8;
  background-size: cover;
  border: 3px solid #ccc;
  border-radius: 3px;
  margin-top: 10px;
  margin-left: 300px;
  width: 250px;
  height: 250px;
  display: inline-block;
}

.cropit-preview-image-container {
  cursor: move;
}

.cropit-preview-background {
  opacity: .2;
  cursor: auto;
}

.cropit-image-input {
  color: transparent;
  cursor: pointer;
}

.cropit-image-input::-webkit-file-upload-button {
  visibility: hidden;
}

.cropit-image-input::before {
  content: "\f093 Upload Image";
  font-family: FontAwesome;
  color: #32323E;
  font-size: 20px;
}

.cropit-image-input:hover {
  color: transparent;
  text-decoration: none;
}

.move-cropit-image {
  margin-left: -220px;
}

.controls-wrapper {
  margin-top: 20px;
  text-align: center;
  position: relative;
}

.rotation-btns {
  font-size: 20px;
  margin-left: -220px;
  display: inline-block;
}

div.rotate-ccw, div.rotate-cw {
  padding: 5px;
  margin: 3px;
}

div.rotate-ccw:after, div.rotate-cw:after {
  border-radius: 50%;
  transition: all 0.3s ease;
}

div.rotate-ccw:hover, div.rotate-cw:hover {
  cursor: pointer;
  background-color: #eaeaea;
  border-radius: 50%;
  transform: scale(1.2);
}

.slider-wrapper {
  display: inline-block;
  margin-left: 20px;
}

/* start overlay for avatar */
.overlay {
  position: absolute;
  bottom: 5px;
  left: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  transition: .5s ease;
  opacity: 0;
  color: white;
  font-size: 16px;
  padding: 8px;
  text-align: center;
}

.avatar:hover .overlay {
  opacity: 1;
}

.letter-head:hover .overlay {
  opacity: 1;
}

/* end overlay for avatar */
.plus-sign {
  color: #1d7cbf;
  font-size: 24px;
  font-weight: bold;
}

span .edit-sign {
  color: #7d7d02;
  font-weight: bold;
}

.more-action {
  font-size: x-large;
  float: right;
  cursor: pointer;
  display: none;
}

table tr:hover .more-action {
  display: block;
}

.welcome-title {
  position: absolute;
  right: 0px;
  left: 0px;
  top: 0px;
  bottom: 0px;
  margin: 8px;
  padding: 258px;
  color: #999;
  font-size: 18px;
  background-color: #fff;
}

.highchart {
  min-width: 320px;
  max-width: 800px;
}

.status-label {
  color: #fff;
  border-radius: 20px;
  padding: 2px;
  width: 82px;
  text-align: center;
}

.status-label.waiting {
  background-color: #f0ad4e;
}

.status-label.waiting:after {
  
}

.status-label.default {
  background-color: #777;
}

.status-label.default:after {
  
}

.status-label.info {
  background-color: #5bc0de;
}

.status-label.info:after {
  
}

.status-label.success {
  background-color: #5cb85c;
}

.status-label.success:after {
  
}

.status-label.completed {
  background-color: #337ab7;
}

.status-label.completed:after {
  content: "\f058";
  font-family: FontAwesome;
}

.status-label.deleted {
  background-color: #d9534f;
}

.status-label.deleted:after {
  
}

/* width */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  color: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #aaa;
  color: #aaa;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #888;
  color: #888;
}

.scrollable { 
  overflow: overlay;
  color: rgba(0, 0, 0, 0);
  text-shadow: 0 0 black;
  transition: color 2.5s ease;
}

.qms-dashboard{
  display: flex;
  justify-content: space-around;
  height: 100%;
}

.qms-dashboard-room{
  padding-top: 10px;
  display: flex;
  justify-content: space-around;
  height: 100%;
  flex-wrap: wrap;
  background-color: #fff;
  margin-left: 10px;
  margin-right: 10px;
}

.qms-col{
  background-color: #fff;
  width: 24%;
}

.qms-col-es{
  background-color: #fff;
  width: 19%;
}

.group-header{
  font-weight: bold;
  text-align: center;
  padding: 10px;
  border-bottom: 1px solid #d4d4d4;
}

.group-content{
  height: 95%;
}

.item-content{
  margin: 10px 20px;
  height: auto;
  border: 1px solid #bfbfbf;
  border-radius: 5px;
}


.item-content.es{
  height: auto;
}
.item-content.item-source{

}

.item-content.item-work{
  background-color: #1d1d1a33;
}


.item-content:hover{
  border: 1px solid #07c;
  background-color: #f1efef;
}

.item-content > .patient-name{
    font-weight: bold;
    font-size: 1.1em;
    color: #005191;
    margin: 10px;
}

.item-content > .group-birthday-code{
    border-bottom: 1px solid #bfbfbf;
    padding-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.item-content > .group-image{
  text-align: center
}

.group-image>.item-image {
    padding-top: 5px;
    max-height: 42px;
    max-width: 100%;
}

.item-content > .group-birthday-code > .patient-birthday{
    padding-left: 10px;
}

.item-content > .group-birthday-code > .patient-code{
    font-size: 1em;
    float: right;
    color: #0099dc;
    font-weight: bold;
    padding-right: 10px;
}

.item-content > .group-status-time{
    padding: 5px 0px;
    display: flex;
    justify-content: space-between;
}

.item-content > .group-status-time > .status{
    padding-left: 10px;
}

.item-content > .group-status-time > .time{
    padding-right: 10px;
}

.item-content-room:hover{
  border: 1px solid #07c;
  background-color: #f1efef;
}
.item-content-room{
  position: relative;
  margin: auto;
  width: 300px;
  height: 150px;
  border: 1px solid #bfbfbf;
  border-radius: 5%;
}

.item-content-room.item-work{
  background-color: #1d1d1a33;
}

.item-content-room.es{
  min-height: 100px;
  width: 90%;
  height: auto;
  margin-top: 10px;
}

.item-content-room:hover{
  border: 1px solid #07c;
  background-color: #f1efef;
}

.item-content-room > .room-header{
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #bfbfbf;
}

.item-content-room > .room-content-tile{
  padding: 10px;
  font-size: 1.1em;
  color: #005191;
}

.item-content-room > .room-content-count{
    display: flex;
    right: -10px;
    border-radius: 15px;
    position: absolute;
    top: -9px;
    color: red;
    font-weight: bold;
    background-color: #fff;
    height: 40px;
    width: 40px;
    border: 1px solid #bfbfbf;
    align-items: center;
    justify-content: space-around;
}


.header-top{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding-top: 10px;
}

.header-detail-top{
  font-weight: bold;
  padding: 5px;
  font-size: 1.2em;
}

.header-detail-top-back-icon{
    position: absolute;
    left: 30px;
}

.header-detail-top-back-icon:hover{
    color: red;
}

.room-setting {
    position: absolute;
    right: 30px;
}

.room-setting:hover {
  color: red;
}

.orderNo-form {
   overflow: auto;
   max-height: calc(100% - 75px);
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
}

.orderNo-select{
    margin: 5px;
    min-height: 80px;
    min-width: 80px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 1.3em;
}

.orderNo-select.status-1{
  background-color: #cccece;
}

.orderNo-select.status-1:hover{
  background-color: #115497;
}

.orderNo-select.status-2{
    background-color: #a8d4ff;
}

.orderNo-select.status-3{
    background-color: #f07575;
}

.description-orderNo{
    display: flex;
    justify-content: center;
}

.description-orderNo-1{
    margin: 5px;
    height: 35px;
    width: 100px;
    background-color: #cccece;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 1.3em;
    font-weight: bold;
}

.description-orderNo-2{
    margin: 5px;
    height: 35px;
    width: 100px;
    background-color: #a8d4ff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 1.3em;
    font-weight: bold;
}

.description-orderNo-3{
    margin: 5px;
    height: 35px;
    width: 100px;
    background-color: #f07575;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 1.3em;
    font-weight: bold;
}
