/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Maven Pro", sans-serif;
  } */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'Noto Sans TC', sans-serif;
}

/* body {
  height: 100vh;

} */

.login-panel {
  background-image: radial-gradient(circle farthest-corner at -3.1% -4.3%, rgba(204, 243, 255, 0.8) 0%, rgba(3, 147, 190, 0.8) 90%);
}

.wrapper {
  height: 100vh;
}

.myShadow {
  box-shadow: 0 5px 10px rgb(68, 68, 68);
}

.myBtn {
  background-image: linear-gradient(to right, #0acffe 0%, #495aff 100%);
  border: none !important;
  border-radius: 50px !important;
  font-weight: bold !important;
  font-size: 20px !important;
}

.myBtn:hover {
  background-image: linear-gradient(to right, #495aff 0%, #0acffe 100%);
}

.navbar {
  background: #e9bef7;
}

.navbar .navbar-brand {
  height: 60px;
}

.navbar .navbar-brand img {
  height: 50px;
}

nav .nav li a {
  color: black;
}

navbar ul li.nav-item .active a {
  color: white;
}


.nav-link.active,
.nav-link:focus,
.dropdown-item.active,
.dropdown-item:focus {
  background-color: #9908af !important;
  border-radius: 5px;
  color: #fff;
}

#orderform label {
  font-weight: bold;
}


form.is-readonly #editClientBtn {
  display: none;
}

.is-readonly input[disabled],
select[disabled],
textarea[disabled] {
  cursor: text !important;
  font-weight: bolder !important;
  background-color: #fff !important;
  border-color: transparent !important;
  outline-color: transparent !important;
  box-shadow: none !important;
}


form.is-editing #subClientEdit {
  display: none;
}


input[readonly],
textarea[readonly] {
  cursor: text !important;
  font-weight: 500 !important;
  background-color: #fff !important;
  border-color: transparent !important;
  outline-color: transparent !important;
  box-shadow: none !important;
}

#orderPreview {
  padding: 0 !important;
}

#orderPreview .modal-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}

#orderPreview .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}

#orderPreview .modal-body {
  overflow-y: auto;
}

#uploadPreview {
  padding: 0 !important;
}

#uploadPreview .modal-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
}

#uploadPreview .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}

#uploadPreview .modal-body {
  overflow-y: auto;
}


/* .scroller {
  height:500px;
  overflow-x:visible;
  overflow-y: scroll;
} */

/* .sticky1 {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  z-index: 2;
} */

/* .sticky2 {
  position: -webkit-sticky;
  position: sticky;
  top: 150px;
  z-index: 2;
}
.sticky3 {
  position: -webkit-sticky;
  position: sticky;
  top: 280px;
  z-index: 2;
} */

/* .scrollable {
  position: fixed;
  top: 70px;
  width: 100%;
  height: 285px;
  background-image: linear-gradient(to bottom, white 100%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
} */

.dt-button.excelButton {
  width: 15em;
  background-color: #6697ff !important;
  color: white;
  border: 0em;
}

th {
  font-size: 0.875em;
}

.ui-autocomplete {
  max-height: 200px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
  /* add padding to account for vertical scrollbar */
  padding-right: 20px;
  z-index: 1100 !important;
}

table {
  counter-reset: tableCount;
}

.counterCell:before {
  content: counter(tableCount);
  counter-increment: tableCount;
}


.detail {
  table-layout: fixed;
  word-wrap: break-word !important;
}

.detail tr th:nth-child(1) {
  width: 3%;
}

.detail tr th:nth-child(2) {
  width: 13%;
}

.detail tr th:nth-child(3) {
  width: 13%;
}

.detail tr th:nth-child(4) {
  width: 5%;
}

.detail tr th:nth-child(5) {
  width: 15%;
}

.detail tr th:nth-child(6) {
  width: 8%;
}

.detail tr th:nth-child(7) {
  width: 8%;
}

.detail tr th:nth-child(8) {
  width: 5%;
}

.detail tr th:nth-child(9) {
  width: 5%;
}

.detail tr th:nth-child(10) {
  width: 10%;
}

.searchdetail {
  table-layout: fixed;
  word-wrap: break-word !important;
}

.searchdetail tr th:nth-child(1) {
  width: 1%;
}

.searchdetail tr th:nth-child(2) {
  width: 6%;
}

.searchdetail tr th:nth-child(3) {
  width: 2%;
}

.searchdetail tr th:nth-child(4) {
  width: 10%;
}

.searchdetail tr th:nth-child(5) {
  width: 10%;
}

.searchdetail tr th:nth-child(6) {
  width: 2%;
}

.searchdetail tr th:nth-child(7) {
  width: 20%;
}

.searchdetail tr th:nth-child(8) {
  width: 5%;
}

.searchdetail tr th:nth-child(12) {
  width: 5%;
}

.searchpid {
  table-layout: fixed;
  word-wrap: break-word !important;
}

.searchpid tr th:nth-child(1) {
  width: 2%;
}

.searchpid tr th:nth-child(2) {
  width: 5%;
}

.searchpid tr th:nth-child(3) {
  width: 2%;
}

.searchpid tr th:nth-child(4) {
  width: 10%;
}

.searchpid tr th:nth-child(5) {
  width: 2%;
}

.searchpid tr th:nth-child(6) {
  width: 30%;
}

.searchpid tr th:nth-child(7) {
  width: 5%;
}

.searchpid tr th:nth-child(8) {
  width: 5%;
}

.searchpid tr th:nth-child(11) {
  width: 5%;
}

.searchdescript {
  table-layout: fixed;
  word-wrap: break-word !important;
}

.searchdescript tr th:nth-child(1) {
  width: 2%;
}

.searchdescript tr th:nth-child(2) {
  width: 6%;
}

.searchdescript tr th:nth-child(3) {
  width: 5%;
}

.searchdescript tr th:nth-child(4) {
  width: 2%;
}

.searchdescript tr th:nth-child(5) {
  width: 12%;
}

.searchdescript tr th:nth-child(6) {
  width: 3%;
}

.searchdescript tr th:nth-child(7) {
  width: 38%;
}

.searchdescript tr th:nth-child(8) {
  width: 5%;
}

.searchdescript tr th:nth-child(9) {
  width: 3%;
}

.shippingdetail {
  table-layout: fixed;
  word-wrap: break-word !important;
}

.shippingdetail tr th:nth-child(1) {
  width: 3%;
}

.shippingdetail tr th:nth-child(2) {
  width: 8%;
}

.shippingdetail tr th:nth-child(3) {
  width: 3%;
}

.shippingdetail tr th:nth-child(4) {
  width: 30%;
}

.shippingdetail tr th:nth-child(5) {
  width: 5%;
}

.shippingdetail tr th:nth-child(6) {
  width: 5%;
}

.shippingdetail tr th:nth-child(7) {
  width: 5%;
}

.shippingdetail tr th:nth-child(8) {
  width: 6%;
}

.shippingdetail tr th:nth-child(9) {
  width: 6%;
  
}


.uploadtable {
  font-size: smaller;
}

.loader {
  border: 16px solid #f3f3f3;
  /* Light grey */
  border-top: 16px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* Dashboard */

.border-left-primary {
  border-left: 0.25rem solid #4e73df !important;
}

.border-left-info {
  border-left: 0.25rem solid #36b9cc !important;
}

.border-left-success {
  border-left: 0.25rem solid #1cc88a !important;
}

