@charset "UTF-8";
/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
ol, ul {
  list-style: none;
}

.dfont {
  font-family: Arial, 微軟正黑體;
}

.dfontNew {
  font-family: Times New Roman, 微軟正黑體;
}

.black-font {
  color: #000;
}

.white-font {
  color: #fff;
}

.notxt {
  display: inline-block;
  overflow: hidden;
  height: 0;
  width: 0;
  text-indent: -99999px;
}

.animation {
  -moz-transition-duration: 300ms;
  -o-transition-duration: 300ms;
  -webkit-transition-duration: 300ms;
  transition-duration: 300ms;
  -moz-transition-timing-function: ease-in-out;
  -o-transition-timing-function: ease-in-out;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}

a {
  display: inline-block;
  vertical-align: top;
}

.top-0 {
  top: 0 !important;
}

.bottom-0 {
  bottom: 0 !important;
}

.start-0 {
  left: 0 !important;
}

.end-0 {
  right: 0 !important;
}

.top-50 {
  top: 50% !important;
}

.bottom-50 {
  bottom: 50% !important;
}

.start-50 {
  left: 50% !important;
}

.end-50 {
  right: 50% !important;
}

.top-100 {
  top: 100% !important;
}

.bottom-100 {
  bottom: 100% !important;
}

.start-100 {
  left: 100% !important;
}

.end-100 {
  right: 100% !important;
}

.translate-middle {
  transform: translate(-50%, -50%) !important;
}

.translate-middle-x {
  transform: translateX(-50%) !important;
}

.translate-middle-y {
  transform: translateY(-50%) !important;
}

.flex-none {
  flex: 0 0 auto;
}

.fs-14 {
  font-size: 14px !important;
}

input.password::-ms-reveal, input.password::-ms-clear {
  display: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

input[type="file"].form-control {
  height: 44px;
}

#global-loader {
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
  -moz-transition-duration: 200ms;
  -o-transition-duration: 200ms;
  -webkit-transition-duration: 200ms;
  transition-duration: 200ms;
  -moz-transition-timing-function: ease-in-out;
  -o-transition-timing-function: ease-in-out;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}
#global-loader.loading-fade {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  pointer-events: none;
}

body {
  font-size: 1rem;
}
body.swal2-shown .modal-backdrop.show {
  opacity: .3;
}

.modal-dialog .modal-content {
  padding: 20px 30px;
}
.modal-dialog .close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 22px;
  color: #555;
}

.login-container {
  max-width: 350px;
  margin-top: -250px;
}
@media only screen and (max-width: 767px) {
  .login-container {
    margin-top: -15vh;
  }
}
.login-container .logo {
  height: 60px;
  margin: 0 auto;
  text-align: center;
}
.login-container .wrap-container {
  margin: 20px 0;
  padding: 20px;
  background: #fff;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  -moz-box-shadow: 0 0 10px rgba(51, 51, 102, 0.3);
  -webkit-box-shadow: 0 0 10px rgba(51, 51, 102, 0.3);
  box-shadow: 0 0 10px rgba(51, 51, 102, 0.3);
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .app-sidebar__overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1026;
  }
}
@media only screen and (max-width: 767px) {
  .app-sidebar__overlay {
    background: rgba(0, 0, 0, 0.6);
    z-index: 1026;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .main-header {
    padding-left: 0;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .sidebar-mini.sidenav-toggled .open-toggle {
    display: inline-block;
  }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .sidebar-mini.sidenav-toggled .close-toggle {
    display: none;
  }
}

.app-sidebar {
  overflow-y: auto;
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  .app-sidebar {
    z-index: 1029;
  }
}

.side-menu {
  padding-bottom: 30px;
}
.side-menu .slide:hover .side-menu__label, .side-menu .slide:hover .svg-inline--fa, .side-menu .slide.active .side-menu__label, .side-menu .slide.active .svg-inline--fa {
  color: #5b6e88 !important;
}
.side-menu .slide ul {
  position: relative;
  margin: 0;
  padding: 0;
}
.side-menu .slide ul:before {
  content: '';
  display: block;
  width: 1px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 33px;
  background: #dde2ef;
}
.side-menu .slide .side-menu__item {
  padding: 5px 10px 5px 22px;
  transition: all 0.15s ease-in-out allow-discrete;
}
.side-menu .slide .side-menu__item:hover, .side-menu .slide .side-menu__item.active {
  background: #cfe1fe80;
}
.side-menu .slide .side-menu__item:hover .side-menu__label, .side-menu .slide .side-menu__item:hover .svg-inline--fa, .side-menu .slide .side-menu__item.active .side-menu__label, .side-menu .slide .side-menu__item.active .svg-inline--fa {
  color: #0162e8 !important;
}
.side-menu .slide .side-menu__item .svg-inline--fa {
  width: 14px;
  height: 14px;
  color: #5b6e88;
  opacity: .7;
}
.side-menu .slide .expandable-btn.open .fa-chevron-left, .side-menu .slide .expandable-btn.open .fa-caret-left {
  display: none;
}
.side-menu .slide .expandable-btn.open .fa-chevron-down, .side-menu .slide .expandable-btn.open .fa-caret-down {
  display: block;
}
.side-menu .slide .expandable-btn .fa-chevron-down, .side-menu .slide .expandable-btn .fa-caret-down {
  display: none;
}

.side-menu__label {
  white-space: normal;
  line-height: 130%;
  font-size: 16px;
}

@media only screen and (max-width: 767px) {
  .page-prev .page-link, .page-next .page-link {
    padding: 5px;
  }
}

@media only screen and (max-width: 767px) {
  .page-link {
    width: 30px;
    height: 30px;
  }
}

.form-control {
  font-size: 1rem;
}
.form-control.error {
  border-color: #ff0000;
}

label.required:before {
  content: '*';
  position: relative;
  top: -3px;
  left: -2px;
  font-size: 16px;
  color: #ff0000;
}

.required.error ~ .custom-control-label {
  color: #ff0000;
}
.required.error ~ .custom-control-label:before {
  border-color: #ff0000 !important;
}
.required.error ~ .custom-control .custom-control-label {
  color: #ff0000;
}
.required.error ~ .custom-control .custom-control-label:before {
  border-color: #ff0000 !important;
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
  border-color: #949eb7;
  background-color: #fff;
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after {
  background-image: none;
}

.mx-datepicker {
  display: block;
  width: 100%;
}
.mx-datepicker .mx-input-wrapper {
  height: 100%;
}
.mx-datepicker .mx-input-wrapper .mx-input {
  height: 100%;
  padding: 0.375rem 0.75rem;
  border: 1px solid #e1e5ef;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  box-shadow: none;
  color: #4d5875;
  font-size: inherit;
  line-height: inherit;
  background-color: transparent;
}
.mx-datepicker .mx-input-wrapper .mx-input.error {
  border-color: #ff0000;
}
.mx-datepicker .mx-input-wrapper .mx-icon-calendar, .mx-datepicker .mx-input-wrapper .mx-icon-clear {
  right: 15px;
}

.mx-calendar-header-label, .mx-table-year, .mx-table-month, .mx-btn, .mx-time-column .mx-time-item {
  font-size: 16px;
}

.mx-icon-left:before, .mx-icon-right:before, .mx-icon-double-left:before, .mx-icon-double-right:before, .mx-icon-double-left:after, .mx-icon-double-right:after {
  width: 14px;
  height: 14px;
}

.mx-icon-double-left:after {
  left: -8px;
}

.mx-icon-double-right:before {
  left: 8px;
}

.mx-table-date th, .mx-table-date td {
  font-size: 16px;
  line-height: 1;
}
.mx-table-date .today {
  color: #1284e7;
  font-weight: 700;
}

.mx-calendar-content .cell {
  border-radius: 3px;
  font-size: 15px;
}

.canceled {
  color: #ee335e !important;
}

.on-hold {
  color: #e8b210 !important;
}

.draft {
  color: #5f6d88 !important;
}

.order-requested {
  color: #0162e8 !important;
}

.sample-deliverly {
  color: #0162e8 !important;
}

.processing {
  color: #22c03c !important;
}

.mulation-confirmation {
  color: #22c03c !important;
}

.report-deliverly {
  color: #22c03c !important;
}

.line-peak {
  display: block;
  text-indent: -9999px;
  overflow: hidden;
}
.line-peak canvas {
  display: block !important;
}

.d-flex-btn {
  display: flex;
  width: 100%;
  margin: 10px 0 0;
  padding: 5px 0;
  justify-content: space-between;
}
.d-flex-btn a {
  color: #000;
  text-decoration: underline;
}

.page-title {
  color: #4F4F4F;
  font-size: 24px;
  font-weight: bold;
  line-height: 130%;
}

.s-img {
  width: auto;
  max-height: 40px;
}

.m-img {
  width: auto;
  max-height: 100px;
}

.img-border {
  border: 1px solid #e1e5ef;
  border-radius: 3px;
}

.select-btn {
  margin-left: -4px;
  vertical-align: top;
}

.a-style {
  width: 100%;
  font-size: 20px;
  text-align: center;
  color: #fff;
  background-color: #a5daf3;
  border-radius: 5px;
}

.m-btn {
  margin-top: 29px;
}
@media only screen and (max-width: 980px) {
  .m-btn {
    margin: 0 0 15px;
  }
}

#cke_52 {
  display: none;
}

[v-cloak] {
  display: none;
}

.dropdown-menu {
  z-index: 950;
}

.no-optgroup-header .dropdown-menu .dropdown-header {
  display: none;
}

.bootstrap-select.show > .btn-light.dropdown-toggle {
  border: 1px solid #e1e5ef;
  background: #fff;
}
.bootstrap-select.show-tick .dropdown-menu .selected .dropdown-item.selected {
  background: #0162e8;
}
.bootstrap-select.show-tick .dropdown-menu .selected span {
  color: #fff;
}
.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
  top: 10px;
  right: 20px;
}
.bootstrap-select.disabled button {
  cursor: not-allowed;
  background: #dde2ef;
  pointer-events: none;
}
.bootstrap-select select:disabled + button {
  opacity: 1;
}
.bootstrap-select select.error + .dropdown-toggle {
  border-color: #ff0000;
}
.bootstrap-select > .dropdown-toggle {
  border: 1px solid #e1e5ef;
  line-height: 1.358;
}
.bootstrap-select > .dropdown-toggle:focus {
  outline: none !important;
  box-shadow: none;
}
.bootstrap-select > .dropdown-toggle:after {
  margin-left: 15px;
}
.bootstrap-select > .dropdown-toggle.bs-placeholder {
  color: #4d5875;
}
.bootstrap-select > .dropdown-toggle.bs-placeholder:hover {
  color: #4d5875;
}
.bootstrap-select > .btn-light {
  background: #fff;
}
.bootstrap-select .dropdown-menu {
  margin: 0;
  box-shadow: 2px 2px 4px #ebebeb;
}
.bootstrap-select .dropdown-menu.inner {
  max-height: 350px !important;
}
.bootstrap-select .dropdown-menu.inner li[class*="optgroup-"]:last-child {
  padding-bottom: 8px;
}
.bootstrap-select .dropdown-menu .dropdown-header {
  font-size: 14px;
}
.bootstrap-select .dropdown-menu .btn-group-sm > .btn {
  font-size: 14px;
}
.bootstrap-select .dropdown-item {
  font-size: 16px;
}
.bootstrap-select .dropdown-item.opt.lv1 {
  padding-left: 15px;
}
.bootstrap-select .dropdown-item.opt.lv2.selected:before {
  border-left-color: #0162e8;
}
.bootstrap-select .dropdown-item.opt.lv2:before {
  content: '';
  display: block;
  width: 1px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 22px;
  border-left: 1px dashed #ccc;
}
.bootstrap-select .dropdown-item.disabled, .bootstrap-select .dropdown-item:disabled {
  opacity: .7;
  pointer-events: auto;
}
.bootstrap-select .no-results {
  margin: 0 8px 4px;
  padding: 7px 10px;
  font-size: 1rem;
  background: #e9e9e9;
}

.menu-page .jstree-default .jstree-icon {
  width: 18px;
  height: 18px;
  line-height: 18px;
}
.menu-page .jstree-default .jstree-themeicon {
  margin-right: 10px;
}
.menu-page .jstree-default .jstree-anchor {
  height: 28px;
  padding: 5px 10px 5px 5px;
  line-height: 18px;
  font-size: 16px;
}

.checkbox-label {
  position: relative;
  margin: 0;
  line-height: 120%;
}
.checkbox-label.expand-checkable:before {
  content: '';
  display: block;
  width: 60px;
  height: 46px;
  position: absolute;
  top: -16px;
  left: -22px;
}
.checkbox-label input {
  width: 18px;
  height: 18px;
  vertical-align: top;
}
.checkbox-label .text {
  display: inline-block;
  padding-left: 5px;
  line-height: 130%;
}

#reader {
  width: 100%;
  max-width: 500px;
  height: auto;
  background: transparent;
}

.toggle.btn {
  border: 2px solid;
}

.toggle.btn.btn-primary {
  border-color: #0162e8;
}
.toggle.btn.btn-primary .btn:hover {
  background-color: #0162e8;
  border-color: #0162e8;
}

.toggle.btn.btn-secondary {
  border-color: #737f9e;
}
.toggle.btn.btn-secondary .btn:hover {
  background-color: #737f9e;
  border-color: #737f9e;
}

.toggle.btn.btn-success {
  border-color: #22c03c;
}
.toggle.btn.btn-success .btn:hover {
  background-color: #22c03c;
  border-color: #22c03c;
}

.toggle.btn.btn-warning {
  border-color: #fbbc0b;
}
.toggle.btn.btn-warning .btn {
  color: #2d2d2d;
}
.toggle.btn.btn-warning .btn:hover {
  background-color: #fbbc0b;
  border-color: #fbbc0b;
}

.toggle.btn.btn-info {
  border-color: #00b9ff;
}
.toggle.btn.btn-info .btn:hover {
  background-color: #00b9ff;
  border-color: #00b9ff;
}

.toggle.btn.btn-danger {
  border-color: #ee335e;
}
.toggle.btn.btn-danger .btn:hover {
  background-color: #ee335e;
  border-color: #ee335e;
}

.toggle.btn.btn-dark {
  border-color: #364261;
}
.toggle.btn.btn-dark .btn:hover {
  background-color: #364261;
  border-color: #364261;
}

.toggle.btn .toggle-handle:hover {
  background-color: #ecf0fa !important;
  border-color: #dce1ec !important;
}
.toggle.btn .switch-toggle:disabled + .toggle-group label, .toggle.btn .switch-toggle:disabled + .toggle-group span {
  cursor: not-allowed;
}

.toggle.ios, .toggle-on.ios, .toggle-off.ios {
  border-radius: 20rem;
}

.toggle.ios .toggle-handle {
  border-radius: 20rem;
}

.toggle-group {
  transition: left 0.1s;
}
.toggle-group > label {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn, .sp-container button {
  padding: .5rem .75rem;
  font-size: 1rem;
}

.btn-sm, .btn-group-sm > .btn {
  padding: .1rem .7rem;
}

.btn-group > .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

textarea.form-control {
  min-height: 100px;
}

.table-responsive .table {
  border-bottom: 1px solid transparent;
}
.table-responsive .table tbody tr:hover td {
  background: rgba(38, 185, 154, 0.07);
  border-top: 1px solid rgba(38, 185, 154, 0.11);
  border-bottom: 1px solid rgba(38, 185, 154, 0.11);
}
.table-responsive .table .inner-table tbody tr:hover td {
  background: rgba(38, 185, 154, 0.12) !important;
  border-top: 1px solid rgba(38, 185, 154, 0.11);
  border-bottom: 1px solid rgba(38, 185, 154, 0.11);
}
.table-responsive .table .inner-table tbody tr td {
  background: #fff;
}

.table.no-hover tbody tr:hover td {
  background: none;
}
.table .title {
  width: 25%;
  text-align: center;
  vertical-align: middle;
  background: #fbfbfb;
}
.table .title.required:before {
  content: '*';
  position: relative;
  top: -3px;
  left: -2px;
  font-size: 16px;
  color: #ff0000;
}
.table thead th, .table thead td {
  font-size: 16px;
}
.table tbody tr:hover td {
  background: rgba(38, 185, 154, 0.03);
}
.table .inner-table tbody tr:hover td {
  background: rgba(38, 185, 154, 0.12) !important;
}
.table .inner-table tbody tr td {
  background: #fff;
}
.table .sort .inner {
  display: flex;
  position: relative;
  cursor: pointer;
}
.table .sort .inner .sort-icon:before, .table .sort .inner .sort-icon:after {
  content: '';
  display: none;
  width: 0px;
  height: 0px;
  position: absolute;
  margin-left: 5px;
  border-style: solid;
  transform: rotate(0deg);
}
.table .sort .inner .sort-icon:before {
  top: 3px;
  border-width: 0 4.5px 7.8px 4.5px;
  border-color: transparent transparent #6b6b6b transparent;
}
.table .sort .inner .sort-icon:after {
  bottom: 4px;
  border-width: 7.8px 4.5px 0 4.5px;
  border-color: #6b6b6b transparent transparent transparent;
}
.table .sort .inner.both .sort-icon:before, .table .sort .inner.both .sort-icon:after {
  display: block;
}
.table .sort .inner.desc .sort-icon:after {
  display: block;
  bottom: 8px;
  transform: scale(1.3);
  border-color: #000 transparent transparent transparent;
}
.table .sort .inner.asc .sort-icon:before {
  display: block;
  top: 6px;
  transform: scale(1.3);
  border-color: transparent transparent #000 transparent;
}

.flex-table {
  display: flex;
  flex-direction: column;
  border: 1px solid #dde2ef;
}
@media only screen and (max-width: 767px) {
  .flex-table {
    border-bottom: 0;
  }
}
.flex-table .flex-table-row {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #dde2ef;
}
.flex-table .flex-table-row:last-child {
  border-bottom: none;
}
@media only screen and (max-width: 767px) {
  .flex-table .flex-table-row {
    border-bottom: 0;
  }
}
.flex-table .flex-cell {
  padding: 5px 8px;
  border-right: 1px solid #dde2ef;
  flex: 1;
  word-break: break-all;
}
@media only screen and (max-width: 767px) {
  .flex-table .flex-cell {
    display: flex;
    min-height: 35px;
    flex: none;
    border-right: none;
    border-bottom: 1px solid #dde2ef;
  }
}
.flex-table .flex-cell:last-child {
  border-right: none;
}
.flex-table .flex-cell:not(.title-cell):hover {
  background: rgba(38, 185, 154, 0.07);
}
@media only screen and (max-width: 767px) {
  .flex-table .flex-cell:not(.title-cell) {
    width: calc(100% - 100px);
  }
}
.flex-table .title-cell {
  width: 100px;
  flex: 0 0 auto;
  background: #e8ffe2;
}
@media only screen and (max-width: 767px) {
  .flex-table .title-cell {
    border-right: 1px solid #dde2ef;
  }
}

.move {
  cursor: move !important;
}

.drag-and-move:active {
  background: rgba(38, 185, 154, 0.12);
}

.tip-font-size {
  font-size: 14px;
}

:not(.input-group) > .bootstrap-select.form-control:not([class*="col-"]) {
  display: block;
}

#search-criteria .card-header {
  margin-bottom: -20px;
}

.badge {
  font-size: 90%;
}

.card-title {
  font-size: 1rem;
}

.ui-widget-content .ui-state-active {
  color: #000;
  border: 1px solid #ecf0fa;
  background-color: #ecf0fa;
}

sup.required {
  top: -3px;
  left: -2px;
  font-size: 16px;
  color: #ff0000;
}
