/* RightMenu */
.floatingButtonWrap {
  position: fixed;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  z-index: 99999;
  display: block;
}

.floatingButtonInner {
  position: relative;
}

.floatingButton {
  display: flex;
  width: 50px;
  height: 250px;
}

.floatingButton a {
  position: relative;
  opacity: 1;
  transition: all 0.4s;
  display: block;
  width: 50px;
  height: 160px;
  text-align: center;
  background: #057500;
  color: #fff !important;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  letter-spacing: 4px;
  cursor: pointer;
  z-index: 1000;
  gap: 2px 5px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}

.floatingButton.open,
.floatingButton:hover,
.floatingButton:focus,
.floatingButton:active {
  opacity: 1;
  color: #fff;
}

.floatingButton a i {
  transition: all 0.4s;
  transform: rotate(0deg);
  font-weight: bold;
  font-size: 1.4rem;
}

.floatingButton.rotate a {
  border-radius: 0px 0px 6px 6px;
}

.floatingButton.rotate a i {
  transform: rotate(180deg);
}

/* tabs */
.floatingButtonWrap ul li::marker {
  content: "";
}

.tabAll {
  position: fixed;
  top: 0px;
  right: -60px;
  height: 250px;
}

.tabs {
  display: none;
  padding: 0;
  margin: 0;
}

.tabs li {
  list-style: unset;
  display: grid;
  gap: 2px;
}

.tabs li a {
  width: 60px;
  height: 60px;
  background: #333 !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #3f3f3f;
  line-height: 1.4;
  font-size: 1.2rem;
  cursor: pointer;
}

.tabs li:last-child a {
  border-bottom: 0px solid #a9a9a9;
}

ul.tabs li:hover a,
ul.tabs li.current a {
  background: #eaab18 !important;
  color: #222 !important;
}

.tabs li a i {
  font-size: 1.6rem;
}

.tab-content {
  display: none;
  background: #ededed;
  padding: 14px 20px;
  position: absolute;
  right: 0px;
  top: 0px;
  padding-right: 70px;
  z-index: 99;
  width: 460px;
  height: auto;
  min-height: 250px;
  max-height: 480px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
}

.tab-content.current {
  display: inherit;
}

.tab-content ul {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.tab-content ul li {
  list-style: unset;
}

.tab-content ul li a {
  width: 100%;
  color: #383838;
  font-size: 1.25rem;
  border-bottom: 1px solid #ccc;
  font-weight: bold;
  display: flex;
  margin-bottom: 5px;
  padding-bottom: 5px;
  white-space: nowrap;
}

.tab-content ul li ol {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.tab-content ul li ol li {
  display: flex;
  gap: 4px;
  align-items: center;
}

.tab-content ul li ol li a {
  font-size: 1.06rem;
  text-align: left;
  font-weight: normal;
  border-bottom: 0px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

@media(max-width:500px) {
  .tab-content {
    max-width: 326px;
    padding: 14px 30px 14px 14px;
  }

  .tab-content ul {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .tab-content ul li a {
    font-size: 1.06rem;
  }

  .tab-content ul li ol li a {
    font-size: .93rem;
  }

  .floatingButton,
  .floatingButton a {
    width: 40px;
  }
}