@charset "utf-8";

/* custom css */


/* TABLE OF CONTENTS

1) Typography 排版
2) Layout 布局
3) Pages
4) Template Components 模版組件(按鈕、表單)
5) Navigations 導航
6) Blocks/Widgets 區塊/小工具、裝置 
7) bxslider
8) Slick
9) Owl carousel 

*/

  
/* 1 Typography
----------------------------------------------------------------------------- */


/* 2 Layout
----------------------------------------------------------------------------- */


/* 3 Pages
----------------------------------------------------------------------------- */


/*home
-----------------------------------*/

body.home section.content {  
    margin: 15px 0 50px;
    padding: 0;
}

body.home .banner {
    display: block;
    width: 100%;
    height: 474px;
    background: url(/tymetro-new/_images/all/bannerbg.jpg) no-repeat center 0;
        background-size: cover;
}

.banner-right {
    float: right;
    background-color: #6fe7dd;
    width: calc(100% - 890px);
    height: 430px;
    position: relative;
}

.banner-right:before {
    content: "";
    position: absolute;
    z-index: 99;
    -webkit-box-shadow: 3px 0px 5px hsla(0, 0%, 0%, 0.8);
    box-shadow: 3px 0px 5px hsla(0, 0%, 0%, 0.8);
    height: 100%;
    width: 2px;
    background-color: none;
    left: -3px;
}
 
.timebox {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #fff;
}
  
.timebox .home-welcome {
    color: #666;
    margin-top: 3px;
    line-height: normal;
    font-size: 133.33%;
}

.timebox p.timeshow {
    font-size: 215%;
    color: hsl(0, 0%, 10%);    
    margin-bottom: 4px;
}

.timebox p.timeshow span {
    font-size: 120%;
    vertical-align: middle;
}

.operation {
    border-top: 2px solid #6fe7dd;
    padding: 5px;
    text-align: center;
    background-color: #fff;
}

.operation p {
    line-height: normal;
    color: hsl(0, 0%, 10%);
    font-size: 150%;
    margin: 0;
}

.operation p span i {
    margin: 0 5px;
}
.operation p span.green i{
    color: #00c521;
}
.operation p span.red i{
    color: red;
}
.operation p span.yellow i {
    color: #ffa900;
}
.ticket-search {
    background-color: #6fe7dd;
    padding: 8px 20px;
    text-align: center;
}

.ticket-search .title {
    font-size: 150%;
    color: hsl(0, 0%, 10%);
    margin-bottom: 10px;
}

select.form-control,
.input-group {
    margin-bottom: 5px;
    font-size: 125%;
}

.news-tablist {
    margin-top: 0;
}

.news-tablist ul.nav-tabs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border: 0;
    margin-bottom: 15px;
}

.news-tablist ul.nav-tabs li {
    width: 100%;
    margin-bottom: 0;
}

.news-tablist ul.nav-tabs li a {
    background-color: #6fe7dd;
    text-align: center;
    margin: 0 1px;
    line-height: normal;
    border: 0;
    border-radius: 0;
    font-size: 135%;
}

.news-tablist ul.nav-tabs li.active a,
.news-tablist ul.nav-tabs li:hover a {
    background-color: #237AB8;
    color: #fff;
    border: 0;
    margin: 0;
}

.news-tablist ul.nav-tabs li:hover a {
    margin: 0 1px;
}

.news-tablist ul.nav-tabs li.active a:before {
    width: 0;
    height: 0;
    position: absolute;
    content: "";
    top: 100%;
    left: 50%;
    margin-left: -7px;
    border: 7px solid rgba(0, 0, 0, 0);
    border-top: 14px solid #3b97d9;
    border-bottom: 0 solid;
}

.news-tablist .news-more {
    background-color: #237AB8;
    float: right;
    padding: 0px;
    width: 185px;
    margin-top: 30px;
    position: relative;
}

.news-tablist .news-more a {
    color: #fff;
    font-size: 135%;
    line-height: 40px;
}

.news-tablist .news-more a span {
    margin-left: 15px;
}

.news-tablist .news-more a i {
    background-color: #1D669A;
    padding: 0px 20px;
    position: absolute;
    right: 0;
    font-style: inherit;
}

.news-tablist .listbox {
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
    float: left;
    width: 100%;
}

.news-tablist .listbox .infobox,
.listbox .text {
    float: left;
}

section.newsb-box {
    background: url(/tymetro-new/tw/_images/index/newsbox-bg.jpg) no-repeat center top;
    height: 494px;
    overflow: hidden;
}

.newsbox .date {
    color: #971a86;
    font-size: 120%;
    margin: 0 5px;
    letter-spacing: normal;
}
body.home .newsbox .date{
    margin: 0 5px 0 0;
}
.listbox .text {
    width: calc(100% - 90px);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    word-break: break-all;
}
.newsbox .text a {
    padding: 0;
    height: 38px;
    overflow: hidden;
    font-size: 133.33%;
    line-height: 1.5;
    border: 0;
    color: hsl(0, 0%, 25%);
}

.newsbox a.more {
    text-align: right;
    color: #008c3b;
    letter-spacing: normal;
    border: 0;
}

section.attractions-box {
    background-color: #f4e5ef;
    padding-bottom: 50px;
}

section.attractions-box h2 {
    padding-bottom: 0;
}

section.attractions-box .listbox {
    border-bottom: 0;
}

section.attractions-box .listbox .text {
    padding: 5px 0;
    width:100%;
    line-height: 20px;
    height: 48px;
    white-space: inherit;
    word-break: normal;
    font-size: 135%;
}

section.exhibition-box {
    background-color: hsl(0, 0%, 95%);
    padding-bottom: 50px;
    position: relative;
}

section.exhibition-box:after {
    content: "";
    position: absolute;
    top: 50%;
    background-color: #fff;
    bottom: 0;
    width: 100%;
    z-index: 1;
}

.station-box {
    position: absolute;
    left: 0px;
    top: 65%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
}

.item-right .station-box {
    right: 0;
    left: inherit;
}

.item p.subject {
    font-size: 185%;
    color: hsl(0, 0%, 20%);
    position: relative;
    padding-bottom: 20px;
    width: 200px;
}

.item p.subject:after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    height: 5px;
    background-color: hsl(0, 0%, 90%);
    margin-bottom: 10px;
    min-width: 150%;
}

.item.item-right p.subject:after {
    left: inherit;
    right: 0;
}

.item-right p.subject {
    padding-left: 0px;
}

.station-box p {
    font-size: 120%;
    line-height: normal;
    margin-bottom: 5px;
    width:188px;
}

section.activity-box {
    padding-bottom: 0px;
}

.interchange-box {
    background-color: #f5f5f5;
    padding-bottom: 50px;
}

.interchange-box .nav>li>a p {
    text-align: center;
    margin-top: 5px;
    font-size: 135%;
}

.interchange-box .nav>li>a>img {
    border-radius: 5px;
}

.interchange-box .nav>li.bg1>a>img {
    background-color: #3f3f3f;
}

.interchange-box .nav>li.bg2>a>img {
    background-color: white;
}

.interchange-box .nav>li.bg3>a>img {
    background-color: #b6d3ff;
}

.interchange-box .nav>li.bg4>a>img {
    background-color: #e3e3e3;
}

.interchange-box .nav>li.bg5>a>img {
    background-color: #61c425;
}

.interchange-box .nav>li.bg6>a>img {
    background-color: #a8a8a8;
}

.interchange-box .nav>li.bg7>a>img {
    background-color: #f5db00;
}

.interchange-box .nav>li.bg8>a>img {
    background-color: #0a51a1;
}

.interchange-box .navbar-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.interchange-box .navbar-nav>li>a {
    padding: 0 10px;
    width: 100%;
}

.interchange-box .navbar-nav>li:last-child>a {
    padding-right: 0;
}

.interchange-box .navbar-nav>li:first-child>a {
    padding-left: 0;
}

section.other-box {
    padding: 60px 0;
}

.hotkeyword h2 {
    padding: 0;
    text-align: left;
}

.hotkeyword ul.nav li a {
    padding: 5px;
    margin: 5px;
    border-radius: 5px;
    background-color: #f4e5ef;
    font-size: 135%;
}

section.linkbox {
    margin-bottom: 50px;
     padding: 0 15px;
}


@media(max-width:1199px) {
    .banner-right{
        height: 338px;
    }
    .timebox h5{
        display: none;
    }
    .timeshow{
        margin-bottom: 0px;
    }
    body.home .banner {
        height: auto;
        background-size: cover;
    }
}

@media(max-width:1024px) {
    
}

@media(max-width:991px) {
    .logo {
        left: 50%;
        top: 8px;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    .menu {
        display: none;
    }
    .cfbox {
        margin-top: 20px;
    }
    .station-box p{
        width:170px;
    }
    .item p.subject {
        width: 170px;
        line-height: 24px;
    }
}
@media(max-width:767px) {
    body.home .banner {
        height: auto;
    }
    section.activity-box {
        padding-bottom: 0;
    }
    .item p.subject {
        width: 150px;
        font-size: 150%;
    }
    section.other-box {
        padding: 0px 0;
    }
    .hotkeyword h2 {
        text-align: center;
    }
}

@media(max-width:480px) {
    .news-tablist ul.nav-tabs li a{
        font-size: 120%;
        padding: 8px;
    }
    .newsbox .date{
        margin: 5px;
    }
    .item p.subject {
        width: auto;
    }
}
@media(max-width:320px){
    .station-box p{
        width:auto;
    }
}


/* 9 Owl carousel
----------------------------------------------------------------------------- */

.icarousel .owl-dots {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 20px;
	display: none;
}

.icarousel .owl-dots .owl-dot {
    margin-right: 5px;
    display: inline-block;
}

.icarousel .owl-dot span {
    display: block;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
}

.icarousel .owl-dot.active span,
.icarousel .owl-dot:hover span,
.icarousel .owl-dot:focus span {
    background-color: #8d047a;
    border: 0px;
}

.icarousel {
    float: left;
    width: 890px;
}
.cfcarousel .owl-dots {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: -40px;
}

.cfcarousel .owl-dots .owl-dot {
    margin-right: 5px;
    display: inline-block;
}

.cfcarousel .owl-dot span {
    display: block;
    width: 15px;
    height: 15px;
    background-color: #cccccc;
    border-radius: 50%;
}

.cfcarousel .owl-dot.active span,
.cfcarousel .owl-dot:hover span,
.cfcarousel .owl-dot:focus span {
    background-color: #1b95d4;
    border: 0px;
}
.exhibition-carousel {
    z-index: 2;
}

.exhibition-carousel .item {
    padding: 0px 0px 50px 220px;
    position: relative;
}

.exhibition-carousel .item.item-right {
    padding-top: 70px;
    padding-left: 0;
    padding-right: 220px;
}
/*
.otherlink-carousel {
    padding: 0 20px;
}

.otherlink-carousel.owl-carousel .owl-stage-outer {
    z-index: 2;
}

.otherlink-carousel .owl-nav {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    z-index: 1;
}

.otherlink-carousel .owl-next {
    background-image: url(/tymetro-new/tw/_images/index/carousel-nav-next.png);
    width: 15px;
    height: 28px;
    font-size: 0;
    float: right;
}

.otherlink-carousel .owl-prev {
    background-image: url(/tymetro-new/tw/_images/index/carousel-nav-prev.png);
    width: 15px;
    height: 28px;
    font-size: 0;
    float: left;
}
*/
/*20181031*/
.otherlink-slider .slick-prev:before, 
.otherlink-slider .slick-next:before{
        color: #981b7f;
}
.otherlink-slider.slick-initialized .slick-slide a {
    display: block;
}
.otherlink-slider.slick-initialized .slick-slide a img {
    margin: auto;
}
/*20181031 end*/
.activity-carousel.owl-carousel .item-video {
    height: 300px;
}

.activity-carousel .owl-nav {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.activity-carousel .owl-prev,
.activity-carousel .owl-next {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: hsla(175, 71%, 67%,0.8);
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;
}

.activity-carousel .owl-prev {
    background-image: url(/tymetro-new/tw/_images/index/carousel-nav-prev.png);
}

.activity-carousel .owl-next {
    background-image: url(/tymetro-new/tw/_images/index/carousel-nav-next.png);
    margin-left: 20px;
}

.activity-carousel .owl-prev:hover,
.activity-carousel .owl-next:hover {
    background-color: hsla(200, 77%, 47%,0.8);
}
.activity-carousel .owl-item .item {
    height: 250px;
    overflow: hidden;
}
.activity-carousel .owl-item .item img{
    height: 100%;
}

.car1{
    width: 0em;
    height: 0em;
    display: block;
    overflow: hidden;
}

/* 這個元素內嵌在 iframes 裡，有可能造成部分 layout 變形，所以請把它隱藏 */
#fb-root {
    display: none;
}

/* 讓所有容器的寬度都變成 100% */
.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}
@media(max-width:1440px) {
    .activity-carousel.owl-carousel .item-video {
        height: 220px;
    }
}

@media(max-width:1199px) {
    .icarousel {
        width: 700px;
    }
    .banner-right {
        width: calc(100% - 700px);
    }
    .activity-carousel.owl-carousel .item-video {
        height: 190px;
    }
    
    .icarousel {
        width: 100%;
        float: none;
    }
    .banner-right {
        width: 100%;
        float: none;
        height: auto;
    }
    .banner-right:before{
        content: none;
    }
     .operation-1199{
        border-bottom: 2px solid #6fe7dd;
    }
}

@media(max-width:1024px) {
    
    .activity-carousel.owl-carousel .item-video {
        height: 180px;
    }
}

@media(max-width:991px) {

    .exhibition-carousel .item{
        padding-left: 180px;
    }
    .exhibition-carousel .item.item-right{
        padding-right: 180px;
    }
    .activity-carousel.owl-carousel .item-video {
        height: 160px;
    }
}

@media(max-width:768px) {
    
    .activity-carousel.owl-carousel .item-video {
        height: 150px;
    }
    .timebox,.operation{
        display: none;
    }
   
    .activity-carousel .owl-item .item {
        height: 188px;
    }
}

@media(max-width:480px) {
    .exhibition-carousel .item{
        padding-left: 0px;
        padding-bottom: 0;
    }
    .exhibition-carousel .item.item-right{
        padding-right: 0px;
    }
    .activity-carousel.owl-carousel .item-video {
        height: 140px;
    }
    .station-box {
        left: 0px;
        top: inherit;
        -webkit-transform: translateY(0);
        transform: translateY(0);
        right: 0;
        position: relative;
    }
    .item p.subject{
        font-size: 135%;
        padding: 5px 0;
    }
    .item p.subject:after{
        bottom: -10px;
        min-width: 100%;
    }
    .activity-carousel .owl-item .item {
        height: 133px;
    }
}

@media(max-width:375px) {
    .activity-carousel.owl-carousel .item-video {
        height: 125px;
    }
}

@media(max-width:320px) {
    .activity-carousel.owl-carousel .item-video {
        height: 112px;
    }
}