@font-face {
  font-family: 'icon'; 
  src: url('/iconfont.ttf') format('truetype'); 
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  color: #333;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
  background-color: #fff;
  overscroll-behavior-y: none;
  text-size-adjust: 100%;
}

body {
  max-width: 980px;
  margin: auto;
}

.body {
  padding: 20px;
}

.icon {
  font-family: 'icon';
}

label {
  width: 100%;
  height: 100%;
  display: block;
}

.head {
  padding-top: 24px;
  text-align: center;
}

.logo > a > img {
  width: 85px;
}

.title {
  font-size: 24px;
}

.desc {
  margin: auto;
  max-width: 520px;
  margin-top: 8px;
}

.phone {
  margin-top: 8px;
}

.phone > * {
  display: inline-block;
}

.phone > .icon {
  background: linear-gradient(0deg, #20b93b, #46c947);
  background-clip: text;
  color: transparent;
  margin-right: 2px;
  font-size: 18px;
}

.phone > img.icon {
  width: 20px;
  margin-right: 3px;
}

.help {
  display: inline-block;
  padding: 3px;
  background: #eee;
  border-radius: 999px;
  border: 1px solid #ccc;
  vertical-align: middle;
  font-size: 12px;
  color: #aaa;
  margin-bottom: 3px;
  cursor: pointer;
  opacity: 0.85;
  transition: 0.25s;
}

.help:hover {
  opacity: 1;
}

.abtn {
  color: #2c81d7;
  font-weight: bold;
  text-decoration: underline;
  display: inline-block;
  cursor: pointer;
}

hr {
  height: 1px;
  border: none;
  background-color: #e7e7e7;
  max-width: 520px;
  margin: 20px auto;
}

#copyti {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.list {
  display: flex;
  flex-wrap: wrap;
}

.item {
  position: relative;
  margin-bottom: 20px;
  cursor: pointer;
  width: calc(25% - 6px);
  margin: 0 8px 8px 0;
  transition: 0.25s;
  overflow: hidden;
}

.item:nth-child(4n) {
  margin-right: 0;
}

.jpeg {
  position: relative;
  overflow: hidden;
}

.jpeg::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: none;
}

.jpeg:hover::after {
  left: 100%;
  transition: left 0.6s ease;
}

.check > .jpeg {
  outline: 5px solid #00a554;
  outline-offset: -5px;
}

.check > .jpeg:hover {
  outline: 5px solid #00a554;
}

.jpeg > img {
  width: 100%;
  display: block;
}

.thum {
  display: flex;
  margin-top: 5px;
}

.thum > div {
  width: 25%;
  /* aspect-ratio: 1 / 1; */
  padding-top: calc(25% - 3px);
  margin-right: 4px;
  position: relative;
  overflow: hidden;
}

.thum > div:nth-child(4) {
  margin-right: 0;
}

.thum > div:nth-child(n+5) {
  display: none;
}

.thum > div > .hov {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0;
  transition: 0.25s;
}

.thum > div:hover > .hov {
  opacity: 0.1;
}

.thum img {
  position: absolute;
  top: 0;
  height: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thum > div > .icon {
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  position: absolute;
  top: 0;
  left: 0;
}

.thum > div > .ibg {
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.25);
  position: absolute;
  top: 0;
  left: 0;
}

.t1 {
  font-size: 18px;
  text-align: center;
}

.t1::after,
.t1::before {
  content: '──';
  color: #ddd;
  margin: 0 5px;
  font-size: 14px;
}

.footer {
  text-align: center;
  font-size: 14px;
  max-width: 520px;
  margin: auto;
  padding-bottom: 20px;
}

.footer > div {
  margin-bottom: 2px;
}

.xls {
  height: 30%;
  position: sticky;
  will-change: transform;
  left: 0px;
  bottom: 0px;
  margin-bottom: 20px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.15);
  z-index: 3;
  border: 1px solid #aaa;
  background-color: #fff;
}

.xls.big {
  height: 90%;
  width: 100%;
  position: fixed;
  margin-bottom: 0;
}

.xls > .comm,
.xls > .cart {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.xls > .cart td {
  font-size: 15px;
  text-align: center;
}

.table-wrapper {
  width: 100%;
  background-color: #eee;
  height: auto;
  flex: 1;
  overscroll-behavior: none;
}

table { 
  border-collapse: collapse; 
  table-layout: fixed;
  user-select: none;
}

tbody > tr:nth-child(1) {
  position: sticky;
  will-change: transform;
  top: 0;
  left: 0;
  z-index: 2;
}

.coord-cell {
  background-color: #f0f0f0;
  color: #333;
  font-weight: bold;
  text-align: center;
  left: 0;
  z-index: 2;
  width: 50px;
}

th,
td { 
  border: 1px solid #aaa; 
  padding: 4px; 
  white-space: pre-wrap; 
  word-break: break-word; 
  box-sizing: border-box;
  background-color: #fff;
}

table > thead:nth-child(1) th {
  border-top: none;
}

tr {
  position: relative;
}

@keyframes highlight {
  0% {
    opacity: 0%;
  }

  25% {
    opacity: 20%;
  }

  50% {
    opacity: 0%;
  }
  
  100% {
    opacity: 20%;
  }
}

tr.tip::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  background-color: #ffc000;
  z-index: 3;
  animation: highlight 1.5s ease-out forwards;
}

tr > th:nth-child(1),
tr > td:nth-child(1) {
  border-left: none;
}

/* tr > th:nth-last-child(1),
tr > td:nth-last-child(1) {
  border-right: none;
} */

tbody > tr:nth-child(n+2) > td:nth-child(3) {
  cursor: pointer;
}

/* td[isku]:nth-child(3) { */
td[isku] {
  position: relative;
  z-index: 1; 
}

td[isku]:hover::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.08); 
  pointer-events: none; 
  z-index: 1; 
}

.tfoot-wrapper {
  white-space: nowrap;
  background-color: #e7ebf0;
  box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.15); 
  border-top: none;
  height: auto;
  flex-shrink: 0;
}

.tfoot {
  display: flex;
}

.tfoot > div {
  padding: 4px 20px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}

.tfoot > div::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50%;
  background: #aaa;
}

.tfoot > div:nth-last-child(2) {
  /* padding: 0; */
  flex: 1;
}

.tfoot > div:nth-last-child(1)::after,
.tfoot > div:nth-last-child(2)::after {
  display: none;
}

.tfoot > div.check {
  background-color: #fff;
  border-bottom: 3px solid #00a554;
  cursor: auto;
}

tfoot td {
  border-top: none;
}

.tfoot > .shxls {
  position: sticky;
  will-change: transform;
  right: 0;
  top: 0;
  color: #fff;
  background-color: #00a554;
  display: flex;
  align-items: center;
  padding: 4px 10px;
}

.search {
  margin-top: 20px;
  text-align: center;
}

.search > input {
  border: none;
  outline: none;
  background: none;
  box-sizing: border-box;
  border-radius: 4px;
  padding: 11px 15px;
  outline: 1px solid #ddd;
  color: #333;
  background-color: #fff;
  transition: 0.25s;
}

.search > input:focus {
  /* border: 2px solid #507192; */
  outline: 3px solid #00a554;
  outline-offset: -3px;
  box-shadow: 0 1px 5px #ddd;
}

.sename {
  margin-top: 10px;
}

.sename > span {
  display: inline-block;
  padding: 5px 10px;
  margin: 0 5px 10px 0;
  cursor: pointer;
  font-size: 14px;
}

.sename > span.abtn {
  cursor: not-allowed;
}

.sename > span:nth-child(1) {
  margin-left: 0;
}

.gcat {
  max-width: 520px;
  position: relative;
  margin: auto;
  text-align: center;
  margin: 20px auto;
}

.gcat > .name {
  display: inline-block;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #ccc;
  background-color: #fff;
  z-index: 2;
  position: relative;
}

.gcat > .line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(#ddd, #ddd);
  background-position: center;
  background-size: 100% 1px;
  background-repeat: no-repeat;
  z-index: 1;
}

.tabtn {
  background-color: #f5f5f7;
  border-radius: 5px;
  padding: 5px;
  display: flex;
  position: relative;
  width: 240px;
  margin: 20px auto;
}

.tabtn > .bog {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0%;
  height: auto;
  margin: 5px;
  width: calc(50% - 5px);
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.tabtn > .btn {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 50%;
  padding: 5px 0;
  cursor: pointer;
}

.tabtn > .btn.check {
  font-weight: bold;
  cursor: not-allowed;;
}

input[type="checkbox"] {
  accent-color: #00a554; 
}

table input[type="number"]::-webkit-outer-spin-button,
table input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

table input[type="number"] {
  width: 100%;
  font-size: 14px;
  padding: 0;
  text-align: center;
  border: none;
  font-weight: bold;
  -moz-appearance: textfield;
  outline: none;
}

table input[type="number"]:focus {
  border: none;
  box-shadow: none;
}

.dragscroll {
  overflow: auto; 
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
}

.xls.big > div > div.dragscroll {
  scrollbar-width: auto;
}

td.delete {
  text-align: center;
  font-weight: bold;
  color: #e43333;
  text-decoration: underline;
  cursor: pointer;
}

.ccopy,
.cdelete {
  color: #fff;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
}

.ccopy {
  background-color: #00a554;
  padding: 1em 0;
}

.cdelete {
  background-color: #e43333;
}

.xbg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.25);
}

html.with-fancybox body.hide-scrollbar {
  margin-right: auto;
  overflow: auto !important;
}

.f-thumbs img {
  /* object-fit: contain; */
  object-position: center;
}

.fancybox__container {
  --f-thumb-selected-shadow: inset 0 0 0 4px #00a554;
}

.video_thumbnail button::before {
  content: "\e71d";
  font-family: 'icon';
  position: absolute;
  inset: 0;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.f-caption {
  font-weight: bold;
}

.ftr {
  font-weight: bold;
}

td.disabled {
  background-color: #eee;
  cursor: not-allowed;
}

.f-thumbs.is-horizontal {
  max-height: calc(var(--f-carousel-slide-height) + 30px + var(--f-thumbs-padding-y) * 2) !important;
}

.f-thumbs__slide {
  height: auto !important;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.f-thumbs__slide .f-html {
  height: var(--f-carousel-slide-height) !important;
  padding: 0;
}

.thumb-info {
  width: 100%;
  padding: 2px 2px;
  font-size: 11px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jy {
  color: #2c81d7 !important;
  text-decoration: underline;
  font-weight: bold;
  cursor: pointer;
}

.prbg {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 4px 12px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  font-size: 13px;
  font-weight: bold;
}

@media screen and (max-width:980px) {
  .xls {
    height: 45%;
  }

  .info {
    padding: 0 10px;
  }
}

/* @media (hover: none) and (pointer: coarse) { */
@media screen and (max-width:640px) {
  .info {
    padding: 0 10px;
  }

  .footer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .head {
    padding-left: 25px;
    padding-right: 25px;
  }

  .item {
    position: relative;
    margin-bottom: 20px;
    cursor: pointer;
    width: calc(50% - 5px);
    margin: 0 10px 10px 0;
  }

  .item:nth-child(2n) {
    margin-right: 0;
  }

  hr,
  .gcat {
    max-width: 75%;
  }

  .search > input {
    font-size: 16px;
  }

  .xls {
    height: 30%;
    border-left: none;
    border-right: none;
  }
}