/* =========================
   Body
========================= */
.row [class^="col-"] {
  padding: 10px;
}

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) {
  margin-bottom: 0;
}


/* =========================
   Logo
========================= */
#logo img {
  padding: 12px;
}



#logo img,
.modal .logo img {
  max-width:96%;
  max-height:100%;
  vertical-align:middle
}





/* =========================
   Top Navbar
========================= */
.topnavbar {
    background-color: #fff;
    top:0px;
    position: relative;
    z-index:100;
    width:100%;
    padding: 0;
    border-top: 10px solid #dc143c;
}

.topnavbar .container {
  text-align: justify;
  font-size: 0;
  padding-top: 0;
}

.navbar-nav > li > a {
  color: #fff;
}


/* =========================
   Header Container
========================= */
#header .topnavbar .container {
  padding-left: 60px;
  padding-right: 60px;
  width: 100%;
}


/* =========================
   Navigation
========================= */
body[data-type="fullpage"] #nav {
  font-size: 1rem;
  width: 100%;
}

#nav {
  background: #fff;
  margin-top: -65px;
}

#nav ul {
  float: right;
}

#nav ul li a {
  position: relative;
  display: block;
  white-space: nowrap;
  color: #000;
  line-height: 1.3;
  font-weight: normal;
  padding: 10px 16px;
  font-size: 100%;
  transition: all 0.5s;
}


/* 上方橘色線條 */
#nav ul li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #C6A66B;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}


/* 滑鼠移入 */
#nav ul li a:hover::before {
  width: 70%;
}


/* 目前所在頁面 */
#nav ul li.current a {
  color: #16354D;
}

#nav ul li.current a::before {
  width: 70%;
}


/* 滑鼠移入文字 */
#nav ul li a:hover {
  color: #C6A66B;
}

/* =========================
   Sub Navigation
========================= */
#nav .subnav {
  position: absolute;
  top: 100%;
  max-width: 200px;
  background-color: rgba(255, 255, 255, 0.6);
}

#nav ul .subnav li a {
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
  text-align: left;
  width: 200px;
}

#nav ul li .subnav a span {
  display: inline-block;
  max-width: 100px;
}

#nav li.has-subnav ul li a {
  color: #000;
  width: 200px;
  white-space: pre-line;
}









/* =========================
   Banner
========================= */
.swiper-container {
  height: auto !important;
}

.swiper-wrapper,
.swiper-slide {
  height: 0 !important;
  padding-bottom: calc(730 / 1920 * 100%);
}

.swiper-slide {
  width: 100% !important;
}