/********** Template CSS **********/ :root {
  --primary: #3A41ED;
  --secondary: #FBA504;
  --light: #fff;
  --dark: #04000B;
  --danger: #FA5700;
}
@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;700&display=swap');

body {
  font-size: 18px;
  line-height: 180%;
  font-weight: 300;
  color: #000;
  font-family: 'Noto Sans TC', "微軟正黑體", 'Microsoft JhengHei', sans-serif;
  background-color: #fbad3e;
  background-image: url("../img/");
}
h1, h2, h3, h4, h5 {
  margin: 0 auto;
  font-family: 'Noto Sans TC', "微軟正黑體", 'Microsoft JhengHei', sans-serif;
  font-weight: 400;
}
div {
  margin: 0 auto;
  text-align: center;
}
a {
  text-decoration: none;
  color: #fff;
}
a:hover {
  color: #fff000;
}
p {
  font-size: 21px;
  line-height: 180%;
}
@media screen and (min-width: 520px) {
  p {
    font-size: 18px;
    line-height: 180%;
  }
}
/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}
#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}
.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}
.sticky {
  width: 100%;
  height: 60px;
  line-height: 60px;
  font-size: 20px;
  position: fixed;
  right: 0px;
  bottom: 0;
  vertical-align: middle;
  text-align: center;
}
.sticky a:visited {
  color: #000;
}
/*** Button ***/
.btn {
  font-weight: 500;
  transition: .5s;
}
.btn:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}
.btn-square {
  width: 38px;
  height: 38px;
}
.btn-sm-square {
  width: 32px;
  height: 32px;
}
.btn-lg-square {
  width: 90px;
  height: 90px;
}
.btn-square, .btn-sm-square, .btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

@media (max-width: 465px) {
   . col-md-6 { width: 50%;}
	
.btn-lg-square {
  width: 58px;
  height: 58px;
}
}
/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f067";
  font-family: "Font Awesome 5 Free";
  font-size: 10px;
  font-weight: bold;
  vertical-align: middle;
  margin-left: 8px;
}
.navbar-light .navbar-nav .nav-link {
  position: relative;
  margin-right: 25px;
  padding: 35px 0;
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--light) !important;
  outline: none;
  transition: .5s;
}
.sticky-top.navbar-light .navbar-nav .nav-link {
  padding: 20px 0;
  color: var(--dark) !important;
}
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link.active {
  color: #814C00 !important;
}
.navbar-light .navbar-brand h1 {
  color: #FFFFFF;
}
.navbar-light .navbar-brand img {
  max-height: 60px;
  transition: .5s;
}
.sticky-top.navbar-light .navbar-brand img {
  max-height: 56px;
}
.text-danger {
  color: #FA5700 !important;
}
@media (max-width: 991.98px) {
    
  .sticky-top.navbar-light {
    background: #FFFFFF;
  }
  .navbar-light .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid #DDDDDD;
  }
  .navbar-light .navbar-nav .nav-link, .sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 10px;
    color: var(--dark) !important;
  }
  .navbar-light .navbar-brand h1 {
    color: var(--primary);
  }
  .navbar-light .navbar-brand img {
    max-height: 46px;
  }
}
@media (min-width: 992px) {
       .m_pic{ max-width: 70% !important;}
  .navbar-light {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(256, 256, 256, .1);
    z-index: 999;
  }
  .sticky-top.navbar-light {
    position: fixed;
    background: #FFFFFF;
  }
  .sticky-top.navbar-light .navbar-brand h1 {
    color: var(--primary);
  }
  .navbar-light .navbar-nav .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: .5s;
  }
  .navbar-light .navbar-nav .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: .5s;
    opacity: 1;
  }
  .navbar-light .btn {
    color: var(--dark);
    background: #FFFFFF;
  }
  .sticky-top.navbar-light .btn {
    color: var(--dark);
    background: var(--secondary);
  }
}
/*** Footer ***/
#footer {
  margin: 0 auto;
  padding: 16px 0;
  font-size: 12px;
  text-align: center;
  color: #ffffff;
  line-height: 140%;
  background-color: #333;
}
#footer a:hover {
  text-decoration: none;
  color: #fff000;
}
@media (max-width: 465px) {
  #footer {
    padding: 16px 0;
  }
}