@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

body, html{
    height: 100%;
}

.page{
    padding-top: 30px;
}

.blue-bg{
    background-color: #00b2c4;
    color: #fff;
}

.page-color{
    background-color: rgb(252 252 252);
}

.color-ffa230{
    color: #ffa230;
}

.color-f26c4f{
    color: #f26c4f;
}

/* header */
header{
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #fff;
}

header .container{
    display: flex;
    flex-flow: column wrap;
    align-items: center;
}

.logo-box{
    display: none;
}

.header-content{
    margin-bottom: 15px;
}

.head-title{
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.head-title-sub{
    color: #545453;
    font-size: 16px;
    text-align: right;
}

.head-title-sub::before{
    content: "";
    display: inline-block;
    border-bottom: 1px solid #545453;
    width: 60px;
    margin-right: 10px;
}

.join-link{
    background-color: #ffa230;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.1;
    box-shadow: 0 6px 0 #f5851d;
    padding: 5px 15px;
}


@media(min-width:992px){

    .logo-box{
        display: block;
        margin-right: 15px;
    }

    .logo-box img{
        height: 160px;
    }

}

@media(min-width:768px){
    header .container{
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
    }

    .header-content{
        margin-right: 15px;
    }

    .join-link{
        background-color: #ffa230;
        color: #fff;
        width: 150px;
        height: 150px;
        font-size: 30px;
        font-weight: 700;
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 1.1;
        box-shadow: 0 6px 0 #f5851d;
        border-radius: 50%;
    }

    .head-title{
        font-size: 36px;
        text-align: right;
    }
    
    .head-title-sub{
        font-size: 20px;
        text-align: right;
    }

}

/* footer */
footer{
    background-color: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
}

.footer-title{
    font-weight: 900;
    font-size: 20px;
}

.footer-logo-box img{
    width: 120px;
}

@media(min-width:768px){
    footer{
        text-align: left;
    }
    .footer-logo-box img{
        width: 200px;
    }
}

/* 導覽列 */

.navbar-dark .navbar-nav .nav-link{
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    font-weight: 900;
}


/* tabs */
.tab-a .nav-pills .nav-link{
    border-radius: 0;
    color: #333;
    font-size: 22px;
    font-weight: 900;
    vertical-align: bottom;
}

.tab-a .nav-pills .nav-link:after{
    content: "";
    font-size: 30px;
}

.tab-a .nav-pills .nav-link.active, .nav-pills .show > .nav-link{
    background-color: transparent;
    border-bottom: 4px solid #00b2c4;
    color: #333;
}

.tab-a .nav-pills .nav-link.active::first-letter, .nav-pills .show > .nav-link::first-letter{
    font-size: 30px;
    color: #00b2c4;
}

.tab-a.tab-box-bg{
    background-image: url(../images/tab-box-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-bottom: 40px;
}

.tab-a .nav-pills-box{
    background-color: rgb(252 252 252);
    margin-bottom: 40px;
}

.tab-a .tab-content{
    background-color: #fff;
    border-radius: 8px;
    padding: 40px 30px;
}

/* About NCCU ISS */

.tab-a .feedback-box{
    border: 1px solid #00b2c4;
    padding: 30px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
}

.tab-a .feedback-box p{
    margin-bottom: 0;
}

.tab-a .feedback-box:after{
    content: "";
    display: block;
    background-image: url(../images/feedback-dec.png);
    background-size: auto 30px;
    background-repeat: no-repeat;
    background-position: top 0 right 0;
    position: absolute;
    width: 100%;
    height: 30px;
    top:0;
    right: 0;
}

.tab-a .op-text{
    font-size: 30px;
    text-align: center;
    font-weight: 900;
    font-style: italic;
}

.tab-a .op-text:last-child{
    margin-bottom: 15px;
}

.tab-a .contact-text{
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 15px;
}

.tab-a .contact-text a{
    color:#3363af;
}

.tab-a .tab-btn{
    display: block;
    background: #00b2c4;
    color: #fff;
    box-shadow: 0 6px 0 #008e9d;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 900;
}

.tab-a .tab-btn.dark-blue-btn{
    background: #375999;
    color: #fff;
    box-shadow: 0 6px 0 #214383;
}

.tab-a .tab-btn.orange-btn{
    background: #f26c4f;
    color: #fff;
    box-shadow: 0 6px 0 #df5639;
}

.tab-a .tab-btn:hover{
    opacity: 0.9;
}

/* OUR PROGRAM */
.card-list-index .my-card{
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: rgb(252 252 252);
}

.card-list-index .my-card .img-box img{
    border-radius: 8px;
}

.card-list-index .my-card .card-content{
    padding: 30px;
}

.tab-a .excursions-title{
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 15px;
}

/* 頁面主標題 */
.page-title{
    font-size: 27px;
    font-family: 'josefin slab', serif;
    position: relative;
}

.page-title:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 7px;
    box-sizing: border-box;
    border-top: 3px solid black;
    border-bottom: 1px solid black;
}

@media(min-width:768px){
    .page-title{
        font-size: 55px;
        padding-left: 26px;
        padding-right: 26px;
    } 
}

/* 頁面分隔標題 */
.divider-title{
    font-size: 28px;
    font-family: 'josefin slab', serif;
    border-bottom: 1px #ccc dotted;
    text-align: center;
}

@media(min-width:768px){
    .divider-title{
        font-size: 32px;
    }
}

/* 按鈕樣式 */
.iss-btn{
    border: none;
    background-color: #7B736F;
    color: #ffffff;
    padding: 0px 36px;
    display: inline-block;
    font-size: 21px;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
    padding:5px 60px;
}

.iss-btn:hover{
    background-color: #59514D;
    color: #ffffff;
    text-decoration: none;
}

.iss-btn-w{
    display: inline-block;
    border: 2px solid #000;
    color:#000;
    padding: 5px 30px;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.iss-btn-w:hover{
    background-color: #000;
    color:#fff;
    text-decoration: none;
}

/* 圖文列表 */
/* A款 */
.card-list-a .my-card{
    background-color: #fff;
    height: 100%;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
}

.card-list-a .img-box{
    position: relative;
}

.card-list-a .img-box .title{
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #fff;
    padding: 5px 15px;
    font-weight: 900;
}

.card-list-a .card-content{
    padding: 15px 15px 30px 15px;
    color:#577083;
}


.ckedit-box table{
    max-width: 100% !important;
}

.ckedit-box img{
    max-width: 100% !important;
}

/* 圖文列表 */
/* B款 */

.card-list-b .my-card .img-box{
    position: relative;
}
.card-list-b .my-card .img-box .title{
    font-size: 19px;
    font-weight: 500;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background-color: #274C61;
    color: #fff;
    opacity: 0.8;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.card-list-b .my-card{
    margin-bottom: 15px;
}

@media(min-width:1200px){
    .card-list-b .my-card .img-box .title:hover{
        opacity: 1;
    }
    .card-list-b .my-card{
        margin-bottom: 0px;
    }
}

/* 圖文列表 */
/* C款 */

.card-list-c .my-card{
    margin-bottom: 15px;
}

.card-list-c a{
    color: #fff;
    text-decoration: underline;
}

.card-list-c .my-card .data-box{
    background-color: rgba(28, 92, 105, 1);
    color: #fff;
    padding: 15px;
    width: 100%;
}

.card-list-c .my-card .data-box p{
    margin-bottom: 0;
}

.card-list-c .my-card .img-fluid{
    width: 100%;
    display: none;
}

.card-list-c .sequence:first-child .my-card .data-box{
    background-color: rgba(48, 48, 48, 1);
    color: #fff;
}

.card-list-c .sequence:last-child .my-card .data-box{
    background-color: rgba(191, 104, 92, 1);
    color: #fff;
}

.card-list-c .my-card .data-box .title{
    font-size: 22px;
    font-family: "josefin slab", serif;
    margin-bottom: 10px;
}

.card-list-c .my-card .data-box .title::after{
    content: "";
    display: block;
    border-bottom: 2px solid #fff;
    width: 48px;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.card-list-c .my-card .data-box .text-content{
    margin-bottom: 10px;
}

.card-list-c .my-card .data-box .card-btn{
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    padding: 5px;
    width: 100%;
    text-align: center;
}

@media(min-width:1200px){
    .card-list-c .my-card .img-box{
        position: relative;
    }

    .card-list-c .my-card .img-fluid{
        display: block;
    }

    .card-list-c .my-card .data-box{
        background-color: rgba(28, 92, 105, 0);
        display: flex;
        flex-flow: column nowrap;
        justify-content: flex-start;
        position: absolute;
        top:0;
        left: 0;
        height: 100%;
        padding-top: 20px;
        padding-bottom: 0;
        -webkit-transition: all 0.35s ease;
        transition: all 0.35s ease;
    }

    .card-list-c .my-card .data-box .text-content{
        opacity: 0;
    }

    .card-list-c .my-card .data-box .card-btn{
        opacity: 0;
        text-decoration: none;
    }

    .card-list-c .sequence:first-child .my-card .data-box{
        background-color: rgba(48, 48, 48, 0);
    }
    
    .card-list-c .sequence:last-child .my-card .data-box{
        background-color: rgba(191, 104, 92, 0);
    }

    .card-list-c .my-card .img-box:hover .data-box{
        background-color: rgba(28, 92, 105, 1);
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .card-list-c .my-card .img-box:hover .data-box .text-content{
        opacity: 1;
    }

    .card-list-c .my-card .img-box:hover .data-box .card-btn{
        opacity: 1;
    }   

    .card-list-c .sequence:first-child .my-card .img-box:hover .data-box{
        background-color: rgba(48, 48, 48, 1);
    }
    
    .card-list-c .sequence:last-child .my-card .img-box:hover .data-box{
        background-color: rgba(191, 104, 92, 1);
    }

    .card-list-c .my-card .data-box .card-btn{
        margin-top: auto;
    }

    .card-list-c .my-card .data-box .card-btn:hover{
        background-color: #fff;
        color: #333;
        text-decoration: none;
    }
}

/* 圖文列表 */
/* D款 */

.card-list-d .my-card.card-d-4{
    background-color: rgba(120, 178, 190, 1);
    color: #fff;
    text-align: center;
    padding: 10px;
    height: 100%;
    border-radius: 4px;
}
.card-list-d .my-card.card-d-4 .data-box-bg{
    border-bottom:1px dashed #fff ;
    font-size: 20px;
    margin-bottom: 5px;
    font-family: Lobster, cursive;
}

.card-list-d .sequence:first-child .my-card.card-d-4{
    background-color: rgba(28, 92, 105, 1);
}

.card-list-d .sequence:last-child .my-card.card-d-4{
    background-color: rgba(255, 198, 92, 1);
}

@media(min-width:1200px){
    .card-list-d .my-card.card-d-4{
        padding: 30px 10px;
    }

    .card-list-d .my-card.card-d-4 .data-box-cover{
        display: none;
    }

    .card-list-d .my-card.card-d-4 .data-box-bg{
        border-bottom:none ;
        font-size: 33px;
        -webkit-transition: all 0.35s ease;
        transition: all 0.35s ease;
    }

    .card-list-d .my-card.card-d-4:hover{
        padding: 10px;
    }

    .card-list-d .my-card.card-d-4:hover .data-box-cover{
        display: block;
    }

    .card-list-d .my-card.card-d-4:hover  .data-box-bg{
        border-bottom:1px dashed #fff ;
        font-size: 20px;
    }

}

/* 圖文列表-輪播 */
/* E款 */
.banner-e{
    background-color: #000;
    color: #FFF;
    text-align: center;
}

.banner-e a{
    color: #FFF;
}

.banner-e .banner-e-box{
    padding: 30px;
}

.banner-e .banner-title{
    font-size: 35px;
    letter-spacing: 2px;
    font-weight: 100;
    margin-bottom: 15px;
}

.banner-e img{
    margin-bottom: 15px;
}

.banner-e img.img-fluid{
    width: 100%;

}

.banner-e .banner-title-sub{
    font-size: 20px;
    margin-bottom: 15px;
}

.banner-e .banner-content{
    margin-bottom: 15px;
}

.banner-e .card-btn{
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    padding: 5px;
    text-align: center;
}

.banner-e .card-btn:hover{
    background-color: #fff;
    color: #333;
    text-decoration: none;
}


/* Internation House banner */
.ihb .page-title{
    font-weight: 900;
}

.ihb .contact-data{
    display: flex;
    flex-flow: wrap;
    justify-self: start;
    align-items: center;   
}

.ihb .contact-data .contact-data-item{
    display: flex;
    justify-self: start;
    align-items: center;
    margin-bottom: 15px;
    margin-right: 15px;
}

.ihb .contact-data .contact-data-item .contact-data-icon{
    background-color: #002A40;
    padding: 8px;
    margin-right: 10px;
}

.ihb .contact-data .contact-data-item .contact-data-icon img{
    width: 24px;
}


/* 圖文列表 */
/* F款 */
.card-list-f{
    display: inline-flex;
    justify-content: center;
    width: 100%;
}

.card-list-f .my-card{
    padding: 15px;
    color: #fff;
    background-color: #3A54B4;
}

.card-list-f .my-card:first-child{
    background-color: #BFAD7F;
}

.card-list-f .my-card .text-content{
    text-align: center;
    font-size: 24px;
    color: #f7ec0c;
}

/* 圖文列表-輪播 */
/* G款 */

.banner-g .img-fluid{
    width: 100%;
}

.banner-g .slick-prev:before,
.banner-g .slick-next:before
{
    font-family: 'slick';
    line-height: 1;
    opacity: .75;
    color: #000;
}

.banner-g .slick-prev{
    left: 15px;
    z-index: 99;
}

.banner-g .slick-next{
    right: 15px;
    z-index: 99;
}

.banner-g .banner-g-box{
    position: relative;
}

.banner-g .banner-g-box .banner-ps{
    display: none;
}

@media(min-width:992px){
    .banner-g .banner-g-box .banner-ps{
        display: block;
        position: absolute;
        bottom: 30px;
        right: 0;
        padding: 30px;
        background-color: rgba(255, 255, 255, 0.8);
    }

    .banner-g .banner-g-box .banner-ps .banner-title{
        font-size: 30px;
    }

    .banner-g .banner-g-box .banner-ps .banner-content{
        font-size: 20px;
    }    
}

.art-title{
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-align: center;
    font-size: 54px;
    margin-bottom: 20px;
}

/* 圖文列表-輪播 */
/* h款 */
.card-list-h .my-card{
    margin-bottom: 15px;
}

.card-list-h .my-card .text-content{
    background-color:rgba(120, 178, 190, 1);
    text-align: center;
    padding-bottom: 15px;
}

.card-list-h .my-card .img-box{
    display: none;
}

.card-list-h .my-card .img-box .img-fluid{
    width: 100%;
}

.card-list-h .my-card .title{
    padding: 10px 0 5px 0;
    color: #fff;
}

.card-list-h .my-card .card-btn{
    display: inline-block;
    color: #fff;
    padding: 3px 8px;
    border: 1px solid #fff;
}

@media(min-width:1200px){
    .card-list-h .my-card{
        position: relative;
    }

    .card-list-h .my-card .img-box{
        display: block;
    }

    .card-list-h .my-card .text-content{
        background-color:rgba(120, 178, 190, 0.8);
        position: absolute;
        bottom:0;
        left: 0;
        width: 100%;
    }
}


/* 圖文列表 */
/* I款 */
.card-list-i p{
    font-family: Lobster, cursive;
    font-size: 36px;
}

/* 圖文列表 */
/* j款 */
.card-list-j .my-card{
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 15px;
}

.card-list-j .my-card .img-box{
    display: none;
}

.card-list-j .my-card .data-box .title{
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 27px;
    margin-bottom: 15px;
}

.card-list-j .my-card .data-box .text-content{
    font-family:'eb garamond', serif;
    color: #858585;
    font-size: 20px;
}

@media(min-width:992px){
    .card-list-j .my-card .img-box{
        display: block;
    }
}

/* faq */
.faq-link-box a{
    color: #566fb8;
    font-size: 18px;
    font-weight: 900;
    display: block;
    margin-bottom: 5px;
}



