html {
  background-color: #fff;
}

/*
@media all and (max-width: 1366px) {
  body {
    font-size: 14px;
  }
}
*/

h1,
h2,
h3,
h4 {
  font-weight: normal;
  margin-top: 0;
}

h1 {
  font-size: 32px;
  line-height: 1.1;
}

h2 {
  font-size: 21px;
}

h2 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
  margin-bottom: 21px;
}

a {
  text-decoration: none;
}

a:hover {
  color: #d00;
}

/* font size */
.large {
  font-size: large;
}

.font-12 {
  font-size: 12px !important;
}

.font-13 {
  font-size: 13px !important;
}

.font-14 {
  font-size: 14px !important;
}

.font-15 {
  font-size: 15px !important;
}

.font-16 {
  font-size: 16px !important;
}

.font-18 {
  font-size: 18px !important;
}

.font-19 {
  font-size: 19px !important;
}

.font-20 {
  font-size: 20px !important;
}

.font-21 {
  font-size: 21px !important;
}

.font-24 {
  font-size: 24px !important;
}

.font-28 {
  font-size: 28px !important;
}

.font-32 {
  font-size: 32px !important;
}

.font-36 {
  font-size: 36px !important;
}

.font-42 {
  font-size: 42px !important;
}

.font-48 {
  font-size: 48px !important;
}

.font-52 {
  font-size: 52px !important;
}

.font-60 {
  font-size: 60px !important;
}

/* table */
.table {
  border-spacing: 0;
  white-space: normal;
  max-width: 100%;
}

.table-py-2 th,
.table-py-2 td {
  padding: 2px !important;
}

.table-py-3 th,
.table-py-3 td {
  padding: 3px !important;
}

.table-py-4 th,
.table-py-4 td {
  padding: 4px !important;
}

.table-py-5 th,
.table-py-5 td {
  padding: 5px !important;
}

.table-py-6 th,
.table-py-6 td {
  padding: 6px !important;
}

.msg {
  text-align: center;
  color: #d00;
  margin-left: auto;
  margin-right: auto;
}

img {
  max-width: 100%;
  height: auto;
}

.max-40px {
  max-width: 40px;
  max-height: 40px;
}

.max-50px {
  max-width: 50px;
  max-height: 50px;
}

.msg-after-element {
  color: #d00;
  line-height: 120%;
}

th,
td {
  color: #333;
}

td {
  white-space: inherit;
}

.clr {
  clear: both;
}

.hr {
  border-bottom: #ddd solid 1px;
  margin: 15px 0;
}

/*
#wrapper {
  min-width: 1000px;
  min-height: 100vh;
}
*/
.content-page {
  min-height: 100%;
  overflow: visible;
}

#kantent {
  overflow: visible;
}

.row {
  overflow: visible;
}

.card-box {
  margin-bottom: 15px;
}

span.status {
  padding: 0 5px;
  display: inline-block;
}

.red {
  color: #f00;
}

.blue {
  color: #06f;
}

.focus {
  background: rgba(0, 153, 255, 0.2);
}

.focus-delete {
  background: rgba(255, 0, 0, 0.2);
  color: #f00;
}

.msg {
  display: block;
  text-align: right;
  margin: 0;
  padding: 0;
  font-size: 19px;
  line-height: 19px;
  height: 19px;
  margin-top: -20px;
}

.topbar-left img {
  vertical-align: middle;
}

.focus-btn-group {
  display: none;
}

.btn-cancel {
  background-color: #999 !important;
  border: 1px solid #999 !important;
  color: #fff;
}

.btn-cancel:hover {
  color: #fff;
}

.btn-custom {
  background: #fff !important;
}

.btn-block {
  position: relative;
}

.btn-block .btn-label {
  float: left;
}

.label-cancel {
  background: #999;
}

.btn-edit {
  background-color: #ff6600 !important;
  border: 1px solid #ff6600 !important;
  color: #fff;
}

.white-space-normal td {
  white-space: normal;
}

/* Sticky operate */
#operate {
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* Sticky Tabs */
#languageTabs {
  position: sticky;
  top: calc(var(--operate-height, 60px));
  /* 根據 operate 高度調整 */
  z-index: 1020;
  background-color: #fff;
}

/*
#operate,
.operate {
  max-width: 100%;
}
*/
.fixed {
  position: fixed;
  z-index: 10;
  top: 0;
}

/*
#operate.affix-top {
  position: static;
  display: block;
}

#operate.affix {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 100;
  display: block;
  box-sizing: border-box;
  padding-bottom: 10px;
  margin-top: -10px;
}

.operate {
  position: relative;
  margin: 10px 0;
  padding: 0;
  width: auto;
}

.operate table,
.operate-absolute table {
  width: auto;
  float: left;
}

.operate td,
.operate-absolute td {
  padding: 0 4px;
}
*/
td .short {
  max-width: 100px !important;
  text-align: right;
}

td input.right {
  float: right;
}

.sshort {
  width: 40px;
}

.nowrap,
.tablelist .nowrap {
  white-space: nowrap;
}

.no-border {
  border: none;
  background: none;
}

.tablelist th {
  white-space: nowrap;
}

.tablelist td ul {
  font-size: 13px;
  margin: 0 0 0 22px;
  padding: 0;
}

.tablelist td div ul {
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.tablelist td div li {
  float: left;
  margin: 2px;
}

.tablelist td div li a {
  font-size: 13px;
}

.tablelist td span.lang {
  vertical-align: middle;
  display: inline-table;
  line-height: 16px;
  height: 16px;
}

.tablelist td .bg_color {
  display: inline-block;
  width: 16px;
  height: 16px;
  line-height: 16px;
  margin-left: 2px;
  vertical-align: middle;
  border: #ccc solid 1px;
}

.tablelist .operate-th,
.tablelist th.width0 {
  width: 0;
  white-space: nowrap;
}

.tablelist td img {
  padding: 0;
  margin: 0 auto;
}

.tablelist td.title {
  vertical-align: top;
}

.tablelist td.title p {
  margin: 4px 0;
  line-height: 120%;
}

.tablelist td ul.title-list {
  margin: 0 0 0 22px;
  padding: 0;
}

.tablelist td ul.title-list li {
  margin: 1px 0;
  padding: 0;
  font-size: 13px;
}

.tablelist td span.lang {
  padding: 0;
  color: #fff;
  margin-right: 5px;
  text-transform: uppercase;
  width: 24px;
  text-align: center;
  display: inline-block;
  font-size: 11px;
}

.tablelist td span.tw {
  background: #9c3;
}

.tablelist td span.cn {
  background: #f9c;
}

.tablelist td span.en {
  background: #9cf;
}

.tablelist td span.jp {
  background: #fc6;
}

.tablelist td span.show {
  color: #ccc;
  background: none;
  font-weight: normal;
  margin-left: 4px;
}

.tablelist td span.notshow {
  color: #f09;
  background: none;
  font-weight: normal;
  margin-left: 4px;
}

.tablelist td span.count {
  margin-left: 5px;
}

.tablelist tr.topborder td {
  border-top: #333 solid 2px;
}

.tablelist input.short {
  width: 80px;
}

.tablelist input.sshort {
  width: 35px;
}

.tablelist td span.arrival_time {
  margin: 0 3px 0 0;
  padding: 0;
  display: inline;
}

.tablelist li {
  list-style: none;
}

table.dataTable thead>tr>th {}

span.label {
  font-size: 16px;
  line-height: 20px;
  height: 20px;
  padding: 0 6px;
  letter-spacing: 0;
}

.btn-gray,
.label-gray {
  background: #ccc;
  color: #fff;
}

input.dynamic {
  border: none;
  background: none;
  max-width: 120px;
  width: auto;
}

/* colors */
.text-red {
  color: #f00 !important;
}

.text-blue {
  color: #06f !important;
}

.text-black {
  color: #000 !important;
}

.text-ccc {
  color: #ccc !important;
}

.text-999 {
  color: #999 !important;
}

.text-gray {
  color: #999 !important;
}

.text-green {
  color: #090 !important;
}

.text-orange {
  color: #f90 !important;
}

.text-shanghai {
  color: #d4b100 !important;
}

.btn-shanghai {
  background: #d4b100 !important;
}

.badge-shanghai {
  background: #d4b100 !important;
}

/* color */
.gray {
  color: #999;
}

.remove-row {
  vertical-align: middle;
  color: #ccc;
  height: 100%;
  padding: 4px;
  font-size: 18px;
  cursor: pointer;
}

.remove-row:hover {
  color: rgba(255, 0, 0, 1);
}

#date-refresh {
  cursor: pointer;
}

/*
.fa-spin {
	-webkit-animation: fa-spin .1s infinite linear;
	animation: fa-spin .1s infinite linear;
}
*/
.file-block {
  width: 120px;
  height: 180px;
  float: left;
  margin: 5px 20px;
}

.file-block table {
  width: 120px;
  height: 120px;
}

.file-block td {
  vertical-align: middle;
  text-align: center;
}

.file-block table img {
  max-width: 120px;
  max-height: 120px;
}

.thumb-title {
  font-size: 13px;
}

iframe,
iframe.attfile {
  margin: 0;
  padding: 0;
  width: 100%;
  background: none;
  border: none;
}

ul.parsley-errors-list {
  margin: 0;
  padding: 0;
}

li.parsley-required {}

.td-button span.fa {
  display: inline-block;
  width: 20px;
  margin: 0;
  padding: 0;
}

.fixed-left .side-menu {
  top: 0;
  margin: 0;
  padding-top: 55px;
  position: fixed;
}

.invoice-option {
  padding: 5px 0 0 0;
}

.invoice-option-text {
  color: #aaa;
  padding-left: 2px;
  font-weight: normal;
}

.has-invoice {
  color: #666;
}

.tablelist td .checkbox {
  margin: 0;
  vertical-align: bottom;
}

.dropdown-menu input[type="checkbox"] {
  width: 100%;
}

.recycle {
  font-size: 36px;
}

.pagination {
  margin: 0;
}

.dataTables_paginate {
  float: right;
}

.thumbbox {
  margin: 10px 0;
  clear: both;
}

ul.flat {
  margin: 0;
  padding: 0;
}

ul.flat li {
  margin: 0 15px 0 0;
  padding: 0;
  list-style: none;
  float: left;
}

ul.flat li input {
  width: 100%;
}

body.fixed-left a.logo img.backend-top-logo {
  max-height: 55px;
  max-width: 220px;
  margin: 5px 0;
}

ul.tabs li.tab,
ul.tabs li.tab a {
  cursor: pointer;
}

.color_thumb {
  width: 100%;
}

.file {
  height: 22px;
  line-height: 22px;
}

.color_code {
  height: 22px;
  line-height: 22px;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 100%;
  display: block;
}

.color_code .colorpicker {
  margin: 0;
  padding: 0;
  height: 22px;
  line-height: 22px;
  width: 100%;
  min-width: 100%;
}

.tablelist th input.short,
.tablelist td input.short {
  max-width: 100%;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.tags-default,
.bootstrap-tagsinput .label-info {
  font-size: 13px;
  font-weight: normal;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 17px;
}

.previewing {
  cursor: pointer;
}

#sidebar-menu>ul>li>a {
  padding: 9px 20px;
  margin: 0;
}

#sidebar-menu ul ul a {
  padding: 7px 20px 7px 65px;
}

.nav.nav-tabs+.tab-content {
  padding: 20px;
  color: #333;
}

.control-label {
  white-space: nowrap;
  text-align: right;
}

.pointer,
.cursor-pointer {
  cursor: pointer;
}

#thumb_img {
  width: 100%;
  text-align: center;
}

/* colors */
.text-lite {
  color: #ccc;
}

.required {
  color: #f30;
  margin-right: -10px;
}

/* width */
.w-0 {
  width: 0;
}

/* bootstrap override */
@media all and (min-width: 1365px) {
  .container {
    max-width: 1300px;
  }
}

.form-control,
.form-select {
  border-color: #bbb;
}

textarea.form-control {
  min-height: 0;
}

.topbar {
  height: 60px;
}

.topbar .topbar-left {
  height: 60px;
}

.logo {
  line-height: 1;
}

.page-title,
h1.page-title {
  font-size: 28px;
  font-weight: normal;
  margin-top: 10px;
  margin-bottom: 10px;
  list-style: 1.2 !important;
}

.breadcrumb {
  margin-bottom: 5px;
  padding-top: 0;
}

.t-l {
  text-align: left !important;
}

.t-c {
  text-align: center !important;
}

.t-r {
  text-align: right !important;
}

/* boostrap overwite */
.lead {
  font-weight: inherit;
}

/* grid gutters */
.row.gutters-1 {
  margin-right: -3px;
  margin-left: -3px;
}

.row.gutters-1>.col,
.row.gutters-1>[class*="col-"] {
  padding-right: 3px;
  padding-left: 3px;
}

.row.gutters-2 {
  margin-right: -6px;
  margin-left: -6px;
}

.row.gutters-2>.col,
.row.gutters-2>[class*="col-"] {
  padding-right: 6px;
  padding-left: 6px;
}

.row.gutters-3 {
  margin-right: -9px;
  margin-left: -9px;
}

.row.gutters-3>.col,
.row.gutters-3>[class*="col-"] {
  padding-right: 9px;
  padding-left: 9px;
}

/* wow */
.wow {
  visibility: hidden;
}

.badge {
  min-width: 20px;
}

.bg-yellow {
  background: #fcfc30;
}

/* .bg-size */
.bg-cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-contain {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* .pt-*p */
.pt-100p {
  padding-top: 100%;
}

.pt-76p {
  padding-top: 76%;
}

.pt-66p {
  padding-top: 66%;
}

.pt-50p {
  padding-top: 50%;
}

/* att-area */
.att-area {
  width: 100%;
}

.att-area-absolute {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.att-area table {
  width: 100%;
}

/* dropzone-rsn */
.dropzone-rsn {
  position: relative;
  min-height: 0;
  height: 150px;
  border: #ccc dashed 2px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.dropzone-rsn:hover {
  background: #f9f9f9;
  border: #aaa dashed 2px;
}

.dropzone-rsn p {
  display: block;
  margin: 0 auto;
}

.dropzone-rsn .files {
  width: 100%;
  min-height: 0;
  height: 150px;
  border: #ccc dashed 2px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: absolute;
  z-index: 999;
  opacity: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/*======================= SCROLL TO TOP =======================*/

#back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: none;
}

#back-top a {
  width: 50px;
  height: 50px;
  line-height: 47px;
  display: block;
  text-align: center;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: none;
  text-decoration: none;
  color: #464646;
  border-radius: 50%;
  border: 3px solid #e3e3e3;
  background: #fff;
  font-weight: bold;
  /* transition */
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  transition: 0.2s;
}

#back-top a:hover {
  border: 3px solid #464646;
}