﻿@charset "UTF-8";

.SLAB-headerBar {
  width: 100%;
  display: flex;
  position: relative;
  background-color: #042e4f;
  color: white;
  height: 3rem;
  justify-content: space-between;
  align-items: center;
  font-family: '微軟正黑體';
}

@media screen and (max-width: 768px) {
  .SLAB-headerBar {
    z-index: 20;
    position: fixed;
  }
}

.SLAB-headerBar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.SLAB-headerBar li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.SLAB-headerBar a {
  color: white;
  text-decoration: none;
}

.SLAB-headerBar button {
  color: white;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.SLAB-headerBar .links {
  display: flex;
  align-items: center;
  height: 3rem;
}

.SLAB-headerBar .links .logo {
  display: flex;
  align-items: center;
}

.SLAB-headerBar .links .logo img {
  height: 2.25rem;
}

.SLAB-headerBar .links .logo .text {
  display: flex;
  flex-direction: column;
}

.SLAB-headerBar .links .logo .text .company {
  text-align: justify;
  letter-spacing: 10px;
}

.SLAB-headerBar .links .logo .text .companyEN {
  text-transform: uppercase;
}

.SLAB-headerBar .links .href {
  display: flex;
  height: 100%;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  transition: all .25s;
}

.SLAB-headerBar .links .href span {
  margin-left: 15px;
}

.SLAB-headerBar .links .href:hover {
  background-color: #0e7490;
}

@media screen and (max-width: 768px) {
  .SLAB-headerBar .links .href {
    display: none;
  }
}

.SLAB-headerBar .tools {
  display: flex;
  align-items: center;
  height: 3rem;
}

.SLAB-headerBar .tools ul.menu {
  display: none;
  height: 100%;
  position: relative;
  align-items: center;
  transition: all .25s;
}

.SLAB-headerBar .tools ul.menu:hover {
  background-color: #0e7490;
}

@media screen and (max-width: 768px) {
  .SLAB-headerBar .tools ul.menu {
    display: flex;
  }
}

.SLAB-headerBar .tools ul.menu li {
  height: 3rem;
}

.SLAB-headerBar .tools ul.menu li button {
  height: 100%;
  width: 3rem;
}

.SLAB-headerBar .tools ul.setting {
  display: flex;
  position: relative;
  align-items: center;
  transition: all .25s;
  height: 100%;
}

.SLAB-headerBar .tools ul.setting:hover {
  background-color: #0e7490;
}

.SLAB-headerBar .tools ul.setting li {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.SLAB-headerBar .tools ul.setting li button {
  width: 3rem;
  height: 100%;
}

.SLAB-headerBar .tools ul.detail {
  position: absolute;
  width: 10rem;
  top: 50px;
  font-size: 0.85rem;
  line-height: 1.25rem;
  right: 0px;
  z-index: 20;
  background-color: #ddd;
}

.SLAB-headerBar .tools ul.detail li {
  display: flex;
  justify-content: flex-start;
  color: #555;
}

.SLAB-headerBar .tools ul.detail li a {
  width: 100%;
  color: #555;
  padding: 5px;
}

.SLAB-headerBar .tools ul.detail li a:hover {
  background-color: #bbb;
}

.SLAB-headerBar .tools ul.detail li select {
  border: none;
  color: #555;
  border-radius: 0.25rem;
  width: 5rem;
  margin: 5px;
}

.SLAB-headerBar .tools ul.detail li.user {
  width: 100%;
  min-height: -webkit-fit-content;
  min-height: -moz-fit-content;
  min-height: fit-content;
  display: flex;
  justify-content: flex-start;
  padding: 5px;
  padding-left: 5px;
  background-color: #ccc;
}

.SLAB-headerBar .tools ul.detail li.user i {
  margin-right: 5px;
}

.SLAB-headerBar .tools ul.detail li.lang {
  padding: 5px;
}

.SLAB-headerBar .tools ul.rightHref {
  display: flex;
  justify-content: center;
  align-items: center;
}

.SLAB-headerBar .tools ul.rightHref > li {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  min-width: 4.5rem;
}

@media screen and (max-width: 768px) {
  .SLAB-headerBar .tools ul.rightHref > li {
    min-width: 3.5rem;
  }
}

.SLAB-headerBar .tools ul.rightHref > li.menu {
  display: none;
}

@media screen and (max-width: 768px) {
  .SLAB-headerBar .tools ul.rightHref > li.menu {
    display: block;
  }
}

.SLAB-headerBar .tools ul.rightHref > li.member {
  min-width: 10rem;
}

@media screen and (max-width: 768px) {
  .SLAB-headerBar .tools ul.rightHref > li.member {
    min-width: 5rem;
  }
}

.SLAB-headerBar .tools ul.rightHref > li.member > :first-child ~ * {
  margin-left: 15px;
}

.SLAB-headerBar .tools ul.rightHref > li button, .SLAB-headerBar .tools ul.rightHref > li a {
  width: 100%;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.SLAB-headerBar .tools ul.rightHref > li:hover {
  background-color: #0e7490;
}

.SLAB-headerBar .tools ul.rightHref > li > .subList {
  display: none;
  flex-direction: column;
  align-items: center;
  left: -0%;
  top: 48px;
  min-width: 6rem;
  background-color: #042e4f;
  position: absolute;
  z-index: 100;
  transition: opacity .5s;
}

@media screen and (max-width: 768px) {
  .SLAB-headerBar .tools ul.rightHref > li > .subList {
    left: -50%;
  }
}

.SLAB-headerBar .tools ul.rightHref > li > .subList > li {
  width: 100%;
}

.SLAB-headerBar .tools ul.rightHref > li > .subList > li:hover {
  background-color: #0e7490;
}

.SLAB-headerBar .tools ul.rightHref > li > .subList > li > button {
  padding: 5px;
  width: 100%;
}

.SLAB-headerBar .tools ul.rightHref > li > .subList > li > button.active {
  background-color: #0b5164;
}

.SLAB-headerBar .tools ul.rightHref > li.lang > ul {
  display: none;
  flex-direction: column;
  align-items: center;
  left: -0%;
  top: 48px;
  min-width: 4.5rem;
  background-color: #042e4f;
  position: absolute;
  z-index: 100;
  transition: opacity .5s;
}

@media screen and (max-width: 768px) {
  .SLAB-headerBar .tools ul.rightHref > li.lang > ul {
    left: -50%;
  }
}

.SLAB-headerBar .tools ul.rightHref > li.lang > ul > li {
  width: 100%;
}

.SLAB-headerBar .tools ul.rightHref > li.lang > ul > li:hover {
  background-color: #0e7490;
}

.SLAB-headerBar .tools ul.rightHref > li.lang > ul > li > a {
  display: flex;
  justify-content: center;
  padding: 0 5px;
  min-width: 100%;
}

.SLAB-headerBar .tools ul.rightHref > li.lang .open {
  display: flex;
}

.SLAB-headerBar .tools .login {
  height: 100%;
}

.SLAB-headerBar .tools .login li {
  height: 100%;
}

.SLAB-headerBar .tools .login li a {
  width: 3rem;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.SLAB-headerBar .tools .login li a:hover {
  background-color: #0e7490;
}

.SLAB-headerBar .m-menu {
  display: none;
  overflow: auto;
  padding-bottom: 1rem;
  flex-direction: column;
  width: 100%;
  position: fixed;
  background-color: #113b65;
  top: 45px;
}

@media screen and (max-width: 768px) {
  .SLAB-headerBar .m-menu {
    display: flex;
  }
}

.SLAB-headerBar .m-menu button {
  margin-left: 15px;
}

.SLAB-headerBar .m-menu a {
  display: flex;
  justify-content: flex-start;
  padding: 5px 30px;
  transition: all .25s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.SLAB-headerBar .m-menu a:hover {
  background-color: #3b82f6;
}