/* 
2024.01:
  fix: notification.show: fix animation apear
  add: html: overflow-y: auto
  add: .hero.is-transparent
2023.12:
  remove all body::-webkit**
  add: .footer.is-dark
  add: .footer.is-black
  add: pre.code
  fix: redDot position
  add: navbar span.hideOnMobile hiden when width < 425px
  add: pre#NAV_USER_NOTE
  add: NAV_USER_BALANCE
  add: table-container.limitHeight
  add: webkit-scrollbar
  add: footer maxW 2560 mar auto
  add: textarea.textarea
*/
::-webkit-scrollbar-button {
  height: 0;
  width: 0;
}
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-thumb {
  background: rgb(109 109 109 / 56%);
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-corner {
  background-color: transparent;
}
html {
  scroll-behavior: smooth;
  overflow-y: auto;
}

/* MEDIA QUERY  */
@media screen and (max-width: 425px) {
  .menuFlex .button {
    font-size: 0.8rem;
  }
  .uploadArea {
    padding: 30px 5px !important;
  }
  .navbar a.navbar-item span.hideOnMobile {
    display: none;
  }
}
@media screen and (max-width: 1024px) {
  .navbar-dropdown .is-active {
    display: block;
  }
  .navbar-dropdown:not(.is-active) {
    display: none;
  }
  .slideShow {
    margin: 5px !important;
  }
  .slideShow .body {
    max-height: 220px !important;
  }
}
/* GLOBAL */
.counter.parent {
  counter-reset: countVar;
}
.counter.child::after {
  counter-increment: countVar;
  content: counter(countVar);
}
.w-25p {
  width: 25%;
}
.w-50p {
  width: 50%;
}
.w-33p {
  width: 33%;
}
.w-100p {
  width: 100%;
}
.w-fit {
  width: fit-content;
}
.w-25v {
  width: 25vw;
}
.w-50v {
  width: 50vw;
}
.w-100v {
  width: 100vw;
}
.h-25p {
  height: 25%;
}
.h-50p {
  height: 50%;
}
.h-100p {
  height: 100%;
}
.h-25v {
  height: 25vh;
}
.h-50v {
  height: 50vh;
}
.h-100v {
  height: 100vh;
}
.mh-auto {
  margin-left: auto;
  margin-right: auto;
}
.borderNONE {
  border: none !important;
}
.UserSelectNONE {
  user-select: none;
  -webkit-user-select: none;
}
table.sortable th:not(.DONT_SORTABLE) {
  cursor: pointer;
}
.table-container.limitHeight {
  max-height: 500px;
  overflow-y: auto;
}
th {
  position: sticky;
  box-shadow: #000 0 0 3px;
  top: 0px;
  z-index: 1;
  background: #fd8;
}
.xOverFlow {
  overflow-x: auto;
}
.fadefx {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 250ms;
  animation-name: fade;
  animation-duration: 250ms;
}
.embedContainer.small {
  flex-basis: auto;
  height: 240px;
}
.uploadArea {
  border-style: dashed;
  border-radius: 19px;
  border-width: 5px;
  cursor: pointer;
  width: 100%;
  padding: 60px 5px;
  transition: 0.7s;
  display: flex;
  border-color: #485fc7;
  background-color: #888888;
  color: #888888;
}
.uploadArea:hover {
  background-color: #cdc1a0;
}
.uploadArea::before {
  margin-bottom: 1rem;
  font-family: "Font Awesome 6 Free";
  content: "\f093";
  font-weight: 900;
  font-size: 3rem;
  text-align: center;
  color: #fff;
}
.uploadArea::after {
  content: "KÃ©o tháº£ file vÃ o Ä‘Ã¢y hoáº·c báº¥m Ä‘á»ƒ chá»n file";
  color: #fff;
  text-align: center;
  margin-top: 1rem;
}
input[type="file"]::file-selector-button {
  display: none;
}
/* FIX BULMA  */
a.navbar-item.newtab,
.button.newtab {
  flex-wrap: nowrap;
}
.flexBasisUnset {
  flex-basis: auto !important;
}
.navbar-end .navbar-dropdown {
  left: auto;
  right: 3px;
}
.tabs.is-dark.is-boxed a {
  color: #fff;
}
.tabs.is-dark.is-boxed li:not(.is-active) a:hover {
  background-color: #f5f5f559;
}
.tabs.is-boxed li.is-active a {
  color: unset;
}
nav.is-mint,
.button.is-mint,
.tabs.is-boxed.is-mint li.is-active a {
  background-color: var(--mint) !important;
  color: #222 !important;
}
.notification {
  opacity: 0.96;
  margin-bottom: 0.3rem !important;
  cursor: pointer;
  padding: 10px;
  max-height: 400px;
  overflow: hidden;
  box-sizing: border-box;
  transform: translateY(90vh);
  transition: all 200ms cubic-bezier(0.590, 0.255, 0.265, 1.560);
  transition-timing-function: cubic-bezier(0.590, 0.255, 0.265, 1.560);
}
.notification.show {
  transform: translateY(0);
}
.notification:hover {
  opacity: 1;
}
footer {
  max-width: 100%;
  margin: auto;
}
.footer.is-dark {
  background: #0c0c0c;
}
.footer.is-black {
  background: #000;
}
textarea.textarea {
  min-height: 4.5em !important;
}
.hero.is-transparent {
  background-color: transparent;
}
/* END FIX BULMA  */
/* START ELEMENTS  */

.navbar-item.navIcon {
  width: 52px;
  height: 100%;
  display: flex;
  justify-content: center;
}
.menuFlex {
  display: flex;
  justify-content: space-evenly;
}
.akiflex-hor {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: space-between;
  align-items: center;
}
.akiflex-ver {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-content: space-between;
  align-items: center;
}
#NOTI_AREA {
  position: fixed;
  left: 0;
  right: 0;
  top: 55px;
  z-index: 50;
  width: 32rem;
  max-width: 100%;
  word-break: break-word;
}
#NOTI_AREA .clearAll {
  position: absolute;
  right: 0;
  top: 0;
  color: white;
  display: none;
}
.notification>#NOTI_AREA:first-child {
  display: block;
}
.clearAll:hover {
  cursor: pointer;
  background: rgb(10 10 10 / 50%);
}
.clearAll {
  margin: 0.3rem;
  border-style: none;
  border-radius: 2px;
  background: rgb(10 10 10 / 20%);
  padding: 0.2rem 0.5rem;
}
.clearAll::after {
  content: "ClearAll";
}
/* SWITCH TOGGLE  */
.switch {
  position: relative;
  display: inline-block;
  width: 2.8em;
  height: 1.5em;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .2s;
  display: flex;
  align-items: center;
}
.slider:before {
  content: "";
  height: 1em;
  width: 1em;
  margin-left: .3em;
  background-color: white;
  transition: .2s;
}
input:checked+.slider {
  background-color: #48c78e;
}
input:checked+.slider:before {
  transform: translateX(1.1em);
}
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}
/* SLIDE SHOW */
.slideShow {
  background-color: inherit;
  margin: 0.5rem auto;
  max-width: 1024px;
}
.slideShow .body {
  height: 50vh;
  max-height: 400px;
  min-height: 270px;
  color: #ffffff;
  padding: 1rem;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: flex-end;
}
.slideChild {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 14px;
  background-repeat: no-repeat;
  background-attachment: local;
  background-position: top;
  background-size: cover;
  text-align: center;
  background-color: #80808080;
  box-shadow: #8888 1px 1px 5px;
}
.slideChild .ss-text {
  position: absolute;
  bottom: 10px;
  left: 5px;
  right: 5px;
  text-shadow: #888 0 0 5px;
  color: #fff;
}
.slideShow .indicatorBox {
  display: flex;
  justify-content: center;
  align-items: center;
  height: fit-content;
}
.slideShow .indicator {
  transition: 0.5s;
  cursor: pointer;
  width: 20px;
  height: 20px;
  margin: 5px;
  border-radius: 50%;
  background-color: #ccc;
  box-shadow: #888 0 0 3px;
}
.slideShow .indicator.show {
  background-color: #fff;
  border-radius: 15px;
  width: 40px;
}
.slideShow .show {
  display: block !important;
  -webkit-animation-name: fade;
  -webkit-animation-duration: 0.5s;
  animation-name: fade;
  animation-duration: 0.5s;
}