body {
    padding: 0;
    margin: 0;
}

.navbar {
      position: sticky;
      top: 0;   
      z-index: 1000; 
      background: white;
}
.nav-item {
    margin: 0 15px;
}

.navbar.navbar-dark .navbar-nav .nav-item.active>.nav-link {
    color: red;
    background-color: transparent!important;
}

.navbar.blue {
    background-color: #a7d08c !important;
}

footer {
    background-color: #a7d08c;
}

footer h2.blue {
    background-color: #a7d08c !important;
}

footer a {
    color: black;
}

footer .row {
    margin-left: 0;
    margin-right: 0;
    padding: 1em 0;
}

footer .navbar-nav li a.nav-link {
    color: black;
}

footer .navbar-nav li a.nav-link:hover {
    color: red;
}

footer a:hover {
    color: red;
}


/* logo */

.header-wrap {
    position: relative;
}

.logo {
    height: 200px;
    border-radius: 50%;
    width: 200px;
    margin-left: -80px;
    top: 20px;
    left: 10%;
    position: absolute;
    text-align: center;
    background-color: white;
    z-index: 2;
}

.logo img {
    height: 100%;
    top: 0px;
    left: 15px;
    position: absolute;
}

article img {
    width: 100%!important;
    height: auto!important;
}

#map {
    text-align: center;
}

nav.blue .dropdown .dropdown-menu .dropdown-item:hover {
    color: #42A5F5 !important
}

footer h2.blue {
    color: white;
    padding: 5px;
}

#goTop {
    text-align: right;
    color: teal;
    position: fixed;
    bottom: 0.5em;
    right: 0.5em;
    font-size: 2em;
    padding-right: 1em;
    display: none;
    cursor: pointer;
}

body {
    background-position: bottom;
    background-repeat: repeat-y;
    background-image: url(../img/source/background-03.jpg);
}

main section .container {
    background-color: white;
}

footer .taiwan {
    /* vertical-align: top; */
    text-align: center;
}

footer .qrcode {
    /* vertical-align: top; */
    text-align: center;
}

footer .qrcode img,
footer .taiwan img {
    width: 50%;
}

.google-maps {
    position: relative;
    padding-bottom: 75%; // This is the aspect ratio
    height: 0;
    overflow: hidden;
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

@media (min-width: 992px) {
    main section .container {
        /* min-height: 400px; */
            flex-wrap: wrap;
        margin-bottom: 2em;
        padding-bottom: 1px;
    }
}

@media (max-width: 767px) {
    main section .container {
        min-height: 450px;
    }
    .container h1 {
        font-size: 2rem;
        ;
    }
    body {
        background-image: url();
    }
    footer .qrcode img,
    footer .taiwan img {
        width: 50%;
    }
}


/* 
hover時選單打開 */

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

article p {
    font-size: 1.5em
}

.text-purple {
    color: blueviolet;
}

.text-orange {
    color: orange;
}


/* bxslider */

.bx-wrapper {
    border: 0;
    margin-bottom: 0;
}

.bx-wrapper .bx-pager {
    bottom: 15px;
}


/* .bx-wrapper .bx-pager {
    color: white;
} */

.bx-wrapper .bx-pager.bx-default-pager a {
    background: white;
}

.nav-link {
    font-size: 1.2rem;
}

.socials {
    display: block;
    margin-top: 30px;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.socials .fb {
    font-size: 4em;
}

.socials .ig {
    vertical-align: top;
    top: 17px;
    position: relative;
}

.socials .ig img {
    width: 60px;
    height: 60px;
}

.passenger-group {
    box-shadow: 3px 5px 15px 0 rgba(154, 154, 154, .2);
    margin-bottom: 2em;
    padding: 15px 0;
}


/* .passenger-group:after {
    content: "";
    display: block;
    width: 100%;
    height: 10px;
    background-color: black;
} */


/* footer social li */

.socials li {
    display: inline-block;
    margin-right: 19px;
    margin-bottom: 8px;
}

@media (min-width: 575px) {
    .socials li {
        margin-right: 13px;
    }
}

@media (min-width: 1099px) {
    .socials li {
        display: inline-flex;
    }
}

.socials li img {
    width: 50px;
    height: 50px;
}

@media (min-width: 1099px) {
    .socials li img {
        width: 70px;
        height: 70px;
    }
}


/* RWD */

@media all and (max-width: 1366px) {
    .logo {
        left: 8vw;
    }
}

@media all and (max-width: 1024px) {
    .logo {
        left: 10vw;
    }
}

@media all and (max-width: 980px) {
    /* .navbar.navbar-dark .navbar-toggler{position:absolute;right:0;top:0.5em;} */
    .navbar {
        text-align: center;
        ;
    }
    .logo {
        height: 80px;
        width: 80px;
    }
    /* .logo img {
        height: 80px;
    } */
    .logo {
        height: 100px;
        border-radius: 50%;
        width: 100px;
        top: 20px;
        left: 12vw;
    }
    .logo img {
        top: 0px;
        left: 7px;
    }
}

@media all and (max-width: 768px) {
    .logo {}
    .logo img {
        top: 0px;
        left: 7px;
    }
}

@media all and (max-width: 720px) {
    .logo {
        left: 14vw;
    }
}

@media all and (max-width: 600px) {
    .logo {
        left: 23vw;
    }
}

@media all and (max-width: 568px) {
    .logo {
        left: 18vw;
    }
}

@media all and (max-width: 540px) {
    .logo {
        left: 19vw;
    }
}

@media all and (max-width: 414px) {
    .logo {
        left: 23vw;
    }
}

@media all and (max-width: 375px) {
    .logo {
        height: 50px;
        width: 50px;
        left: 25vw;
    }
    .logo img {
        top: 0px;
        left: 3px;
    }
}

@media all and (max-width: 320px) {
    .logo {
        left: 30vw;
    }
}

.article-contents {
    display: block;
    width: 100%;
}

.article-contents .article-head .title,
.article-contents .article-head .date {
    display: block;
    color: #f36302;
}

@media (min-width: 991px) {
    .article-contents .article-head .title,
    .article-contents .article-head .date {
        display: inline-block;
    }
}

.article-contents .article-head .title {
    width: 100%;
    margin-bottom: 10px;
    padding-left: 20px;
    text-indent: -24px;
}

.article-contents .article-head .title:before {
    content: '\25A0';
    padding-right: 4px;
    font-size: 1.6rem;
}

@media (min-width: 991px) {
    .article-contents .article-head .title {
        width: calc(100% - 100px);
    }
    .article-contents .article-head .title:before {
        content: '\25A0';
        padding-right: 4px;
        font-size: 3.6rem;
    }
}

.article-contents .article-head .date {
    min-width: 90px;
    margin-bottom: 20px;
}

@media (min-width: 767px) {
    .article-contents .article-head .date {
        margin-bottom: 0;
    }
}

.article-contents .article-head.text-blue .title,
.article-contents .article-head.text-blue .date {
    color: #2c6ad6;
}

.image-content {
    margin-bottom: 20px;
}

.image-content img {
    display: block;
    width: 100%;
    text-align: center;
}

.image-content .img-description {
    margin-top: 14px;
    margin-bottom: 14px;
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
}

.article-download {
    display: block;
    margin: 20px 0;
    padding: 0;
}

.article-download li {
    display: block;
    color: #6390df;
}

.article-download li a {
    display: inline-block;
    width: auto;
    color: #6390df;
}

.article-download li a:hover,
.article-download li a:focus,
.article-download li a:active {
    text-decoration: underline;
}

.attractions-wrap {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #b3b3b3;
}

.attractions-wrap:nth-last-child(1) {
    border: 0;
}

.attractions-wrap img {
    width: 100%;
    margin-bottom: 20px;
}

@media (min-width: 767px) {
    .attractions-wrap img {
        margin-bottom: 0;
    }
}

.attractions-wrap .title {
    margin-bottom: 10px;
}

.attractions-wrap .text {
    margin-bottom: 0;
}

.attractions-wrap .link {
    margin-top: 30px;
    color: #4d4d4d;
}

.attractions-wrap .link:before {
    content: '\25A0';
    padding-right: 10px;
    font-size: 1.3rem;
}

.attractions-wrap .link a {
    color: #2c6ad6;
}

.attractions-wrap .link a:hover,
.attractions-wrap .link a:focus,
.attractions-wrap .link a:active {
    color: #2c6ad6;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .article-contents .article-head .title {
        font-size: 26px;
    }
}

@media (max-width: 414px) {
    .container h1.cost_title {
        font-size: 24px;
    }
}

@media (max-width: 320px) {
    .container h1.cost_title {
        font-size: 20px;
    }
}


/* qa頁用的樣式 */

.page-content .panel {
    border-radius: 5px;
}

.panel-heading a:after {
    font-family: 'Glyphicons Halflings';
    content: "\2212";
    float: right;
    color: grey;
}

.panel-heading a.collapsed:after {
    content: "\2b";
}

.panel-heading a:after {
    font-family: 'Glyphicons Halflings';
    content: "\2212";
    float: right;
    color: grey;
}

.panel-heading a.collapsed:after {
    content: "\2b";
}

.panel-title a {
    color: black;
    font-weight: 800;
}

.panel-body {
    color: gray;
    font-weight: 700;
}

    .process-title {
    display: block;
    padding: 4px 0;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #6390df;
    font-weight: 700;
    transition: color 400ms;
    cursor: pointer;
}


.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
  padding: 20px;
}

/* 單純名稱卡片 */
.activity-card {
  background-color: #d9d9d9;
  border-radius: 12px;
  min-height: 100px;        /* 固定卡片高度 */
  display: flex;            /* Flex 讓內容置中 */
  justify-content: center;  /* 水平置中 */
  align-items: center;      /* 垂直置中 */
  text-align: center;
  font-size: 1.5rem;
  color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* hover 效果 */
.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 響應式調整 */
@media (max-width: 600px) {
  .activity-card {
    font-size: 1rem;
    padding: 20px 10px;
  }
}

