:root {
  --primary-color: #d3aa60;
  --primary-hover-color: #e6c98a;
  --accent-color: #d70c18;
  --accent-hover-color: #e60012;
  --gray: #b1b1b1;
  --sidebar-width: 250px;
  --content-width: 1100px;
  --logo-color: #595A5B;
}

body {
  font-family: '微軟正黑體', Roboto, 'Helvetica Neue', sans-serif !important;
  overflow-x: hidden;
  color: #79737A;
  margin: 0;
}

p {
  margin: 0;
}

a {
  text-decoration: none !important;
}

pre {
  font-size: 16px;
  color: unset !important;
  margin-bottom: 0 !important;
}

a:link {
  /* color: #dbeef8; */
}

a:hover {
  color: var(--primary-color);
}

.navbar {
  padding: 0;
}

.none {
  display: none;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

.owl-item img, svg, video, canvas, audio, iframe, embed, object {
  display: unset !important;
}

.row {
  margin: 0;
}

.primary {
  color: #74C7F1;
}

.hidden {
  display: none;
}

.logo {
  width: 400px;
}


.logo-text {
  color: var(--logo-color);
  font-size: 24px;
  font-weight: bold;
}
.logo-sub-text {
  color: var(--logo-color);
  font-weight: bold;
  font-size: 18px;
}

#nav-left {
  margin-left: 70px;
}


nav {
  padding: 0 !important;
  top: 0;
  z-index: 999;
  position: sticky !important;
}

nav .menu > *{
  width: 130px;
  color: #74C7F1;
  font-weight: bold;
  text-align: center;
}

.sidebar {
  padding-top: 30px;
  padding-left: 0;
  z-index: 1000;
  position: fixed;
  right: 0;
  width: 0;
  /* height: 100vh; */
  overflow-y:auto;
  background: white;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
}
.sidebar.toggled {
  padding-right: var(--sidebar-width);
}

.sidebar .close {
  color: var(--primary-color);
  position: absolute;
  top: 10px;
  right: 10px;
}

.sidebar .item {
  width: var(--sidebar-width);
  text-align: center;
  color: var(--primary-color);
  border-bottom: var(--gray) solid 1px;
  padding: 15px 0;
  display: block;
}


.sidebar .item:hover {
  color: white;
  background: var(--primary-color);
}

.nav-menu-container {
  background: var(--primary-color);
  width: 100%;
  padding: 15px 0;
  display: none;
}

.nav-menu-container .nav-menu {
  width: var(--content-width);
  margin: 0 auto 0 50px;
}


.nav-menu-container .nav-menu > .menu-tab{
  display: inline-block;
  width: 120px;
  text-align: center;
}

.nav-menu-container .nav-menu > .menu-tab a {
  color: white;
  display: inline-block;
  width: 120px;
  text-align: center;
}

.nav-menu-container .nav-menu > .menu-tab a:hover {
  background: var(--gray);
  color: var(--primary-color);
  border-radius: 50px;
  padding: 0 20px;
}

.nav-menu-container .website a {
  width: 150px;
  display: block;
  margin-right: 150px;
  color: white;
}

.nav-menu-container .nav-menu .dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  z-index: 1;
  padding-top: 20px;
}

.nav-menu-container .nav-menu .dropdown-content a {
  color: var(--primary-color);
  border-radius: 50px;
  padding: 0 20px;
  border: var(--primary-color) solid 1px;
  background: white;
  display: block;
  margin: 5px 0;
  width: 120px;
}

.nav-menu-container .nav-menu .dropdown-content a:hover {
  color: white;
  display: block;
  border: var(--primary-color) solid 1px;
  background: var(--primary-color)
}

.nav-menu-container .nav-menu .menu-tab:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}

.carousel-item {
  animation: fade-in 1s ease-in-out both;
}

#sub-nav .menu > .nav-item, nav .menu > .nav-item span, nav .fa-user, nav .fa-home{
  cursor: pointer;
}

nav .navbar-toggler {
  position: absolute;
  right: 5px;
  top: 22px;
}

nav .fa-bars {
  color: var(--primary-color);
}

nav .fa-user {
  color: var(--bs-white);
}
nav .fa-user, nav .fa-home {
  font-size: 18px;
}


#sub-nav .nav-item {
  color: #9C9B9B;
  position: relative;
  height: 76px;
  display: flex;
  align-items: center;
}

#sub-nav .nav-item span {
  width: 130px;
}

#sub-nav .nav-item span.border-line {
  border-right: 1px solid #9C9B9B;
}

#sub-nav .nav-item .list {
  display: none;
  position: absolute;
  background: #73C4F2;
  opacity: 90%;
  min-width: 130px;
  z-index: 999;
  top: 76px;
  right: 0;
  flex-direction: column;
}


#sub-nav .nav-item .list a {
  color: white;
  margin: 0 20px;
  padding: 5px;
}

#sub-nav .nav-item .list a:not(:last-child) {
  border-bottom: 1px solid #4B6D85;
}


#sub-nav .fa-home {
  color: #9C9B9B;
}


body > .content, .base-content {
  width: var(--content-width);
  max-width: 90%;
  margin: 0 auto;
}

.section-style1 {
  margin-top: 50px;
}

.section-style1 > * {
  margin: 10px 0;
}

.section-style1 .text-center p {
  color: #959595;
  margin-top: 18px;
  font-size: 16px;
}

.title1 {
  color: var(--primary-color);
  letter-spacing: 6px;
}


#footer-section1 {
  display: flex;
  background: var(--primary-color);
  color: white;
  padding-top: 20px;
  padding-bottom: 10px;
}

#footer-section1 .items {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}


#footer-section1 img {
  margin-left: 100px;
}

#footer-section1 .circle {
  background: #74C7F1;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  text-align: center;
  line-height: 25px;
  vertical-align: middle;
  font-size: 12px;
}

#footer-section2 {
  background: white;
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

#important {
  width: 40px;
  height: 100px;
  padding-top: 15px;
  padding-left: 7px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  background: red;
  color: white;
  position: fixed;
  left: 0;
  top: 150px;
  -webkit-writing-mode: vertical-lr;
  writing-mode: vertical-lr;
  letter-spacing: 5px;
  font-size: 14px;
  cursor: pointer;
  z-index: 1000;
}

#contact {
  position: fixed;
  right: 10px;
  top: 350px;
  cursor: pointer;
  z-index: 300;
  display: flex;
  flex-direction: column;
}


@media (max-width: 1360px) {
  #footer-section1 {
    flex-direction: column;
  }

  #footer-section1 img {
    margin-left: 50px;
  }

  #footer-section1 .items {
    margin-left: 45px;
    margin-top: 20px;
    flex-wrap: wrap;
    width: unset;
  }

  #footer-section1 .items > * {
    width: 45%;
    margin: 10px 0;
  }

}


@media (max-width: 992px) {
  nav .menu {
    background: #e7e7e7;
  }
  nav .menu > *{
    margin: 10px 0;
    font-size: 24px;
    color: #74C7F1;
    font-weight: bold;
    cursor: pointer;
  }

  nav .menu > * {
    width: 98%;
  }

  #nav-left {
    margin-left: 0;
  }

  #nav-right {
    margin-right: 0;
  }

  #sub-nav .nav-item span.border-line {
    border-right: 0;
  }

  #sub-nav .nav-item {
    height: unset;
    width: 98% !important;
    flex-direction: column;
  }

  #sub-nav .nav-item .list {
    display: none;
    position: relative;
    width: calc(100% - 50px);
    top: 0;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  #footer-section1 .items {
    flex-direction: column;
  }
  #footer-section1 .items > * {
    width: fit-content;
  }
  #contact img {
    width: 48px;
  }
}


@media (max-width: 480px) {
  .section-style1 img {
    max-width: 100%;
  }

  #footer-section2 #map-tip {
    width: 290px;
  }

  #footer-section2 #map-tip .content {
    font-size: 16px;
  }
}
