﻿.studytour-box{
    width: 1920px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    font-size: 0;
    min-height: calc(100vh - 100px);
    overflow: hidden;
}
.studytour-all-box{
    width: 1300px;
    max-width: 100%;
    display: block;
    margin: 0 auto;;
    position: relative;
    box-sizing: border-box;
    padding: 50px 0;
}
.studytour-title-box h2{
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #555;
    line-height: 40px;
    transform: skewX(-10deg);
}

.studytour-class-box{
    margin-top: 35px;
    margin-bottom: 35px;
}
.studytour-class{
    width: 160px;
    display: inline-block;
    vertical-align: middle;
    background-color: #fff;
    color: #555;
    border: 1px solid #d1d1d1;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.03em;
    line-height: 40px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 5px;
    margin-right: 30px;
    transition: all .3s linear
}
.studytour-class:nth-child(7n){
    margin-right: 0;
}
.studytour-class:nth-child(n + 8){
    margin-top: 15px;
}
.studytour-info-box{
    margin-top: 40px;
}
.studytour-info{
    width: 240px;
    display: inline-block;
    vertical-align: top;
    margin-right: 25px;
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.7);
    transition: all .3s linear;
}
.studytour-info:nth-child(5n){
    margin-right: 0;
}
.studytour-info:nth-child(n + 6){
    margin-top: 30px;
}
.studytour-info-img-box{
    width: 100%;
    height: 200px;
    display: block;
    overflow: hidden;
}
.studytour-info-img-box span{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.studytour-info-data{
    font-size: 14px;
    color: #000;
    letter-spacing: 0.03em;
    box-sizing: border-box;
    padding: 0 10px;
    padding-top: 5px;
}
.studytour-info .school-page-introduction-country{
    box-sizing: border-box;
    padding: 0 10px;
    padding-top: 5px;
}
.studytour-info-text-box{
    width: 100%;
    min-height: 60px;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
    padding: 0 10px;
}
.studytour-info-text-box span{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 18px;
    letter-spacing: 0.03em;
    line-height: 20px;
    color: #000;
    font-weight: bold;
    font-family: 微軟正黑體修正, 微軟正黑體;
    transition: all .3s linear;
}

#qa .studytour-info-text-box span{
    text-align: center;
}
.studytour-info-border{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    border-radius: 5px;
    width: 100%;
    height: 100%;
    border: 1px solid #d1d1d1;
    box-sizing: border-box;
    opacity: 1;
    pointer-events: none;
    transition: all .3s linear;
}
.studytour-loading-box{
    text-align: center;
    font-size: 50px;
    color: #f3cd05;
    margin-top: 80px;
}
.studytour-class.active,
.studytour-class:hover{
    background-color: #f3cd05;
    border-color: #f3cd05;
}
.studytour-info:hover .studytour-info-border{
    border: 1px solid #f3cd05;
}
.studytour-info:hover .studytour-info-text-box span{
    color: #f3cd05;
}

@font-face {
    font-family: '微軟正黑體修正';
    unicode-range: U+7db0, U+78A7, U+7B75; /* ASCII (碧筵綰) */
    font-style: normal;
    font-weight: bold;
    src: local(Yu Gothic), local(MS Gothic);
}
/* 一般粗細的時候改回微軟正黑 */
@font-face {
    font-family: '微軟正黑體修正';
    unicode-range: U+7db0, U+78A7, U+7B75; /* ASCII (碧筵綰) */
    font-style: normal;
    font-weight: normal;
    src: local(微軟正黑體);
}

@media only screen and (max-width: 1300px){
    .studytour-all-box{
        width: 1200px;
    }
    .studytour-info{
        width: 220px;
    }
    .studytour-info-img-box{
        height: 183px;
    }
}
@media only screen and (max-width: 1200px){
    .studytour-all-box{
        width: 1000px;
    }
    .studytour-info{
        width: 180px;
    }
    .studytour-info-img-box{
        height: 150px;
    }
    .studytour-class{
        width: 140px;
    }
}
@media only screen and (max-width: 1000px){
    .studytour-all-box{
        width: 750px;
    }
    .studytour-info{
        width: 175px;
        margin-bottom: 15px;
    }
    .studytour-info:nth-child(n){
        margin-right: 15px;
        margin-top: 0;
    }
    .studytour-info:nth-child(4n){
        margin-right: 0;
    }
    .studytour-info:nth-child(n + 5){
        margin-top: 30;
    }
    .studytour-info-img-box{
        height: 146px;
    }
    .rwd-studytour-class-box{
        width: 100%;
        height: 46px;
        border: 1px solid #d1d1d1;
        border-radius: 5px;
        font-size: 14px;
        letter-spacing: 1px;
        text-align: center;
        display: block;
        line-height: 46px;
        position: relative;
        box-sizing: border-box;
        color: #555;
        background-color: #fff;
        z-index: 2;
    }
    .rwd-studytour-class-box:after {
        content: '';
        width: 0px;
        height: 0px;
        margin: 0 auto;
        border-right: 8px solid transparent;
        border-top: 10px solid #888;
        border-left: 8px solid transparent;
        display: block;
        position: absolute;
        bottom: calc(50% - 5px);
        right: 5%;
        box-sizing: border-box;
    }
    .studytour-class-all-box{
        width: 100%;
        border: 1px solid #d1d1d1;
        border-top: none;
        box-shadow: 0 5px 5px rgba(0,0,0,.7);
        position: absolute;
        z-index: 1;
        display: none;
    }
    .studytour-class{
        width: 100%;
        border: none;
        border-radius: 0;
        margin-right: 0;
    }
}
@media only screen and (max-width: 750px){
    .studytour-all-box{
        width: 550px;
        padding: 30px 0;
    }
    .studytour-title-box h2{
        font-size: 26px;
        line-height: 36px;
    }
    .studytour-class-box{
        margin-top: 25px;
    }
    .studytour-info-box{
        margin-top: 30px;
    }
    .studytour-info{
        width: 170px;
    }
    .studytour-info:nth-child(n){
        margin-right: 20px;
    }
    .studytour-info:nth-child(3n){
        margin-right: 0;
    }
    .studytour-info-img-box{
        height: 142px;
    }
}
@media only screen and (max-width: 550px){
    .studytour-all-box{
        width: 400px;
        padding: 15px 0;
    }
    .studytour-title-box h2{
        font-size: 20px;
        line-height: inherit;
    }
    .studytour-class-box{
        margin-top: 15px;
    }
    .studytour-info-box{
        margin-top: 20px;
    }
    .studytour-info{
        width: 195px;
        margin-bottom: 10px;
    }
    .studytour-info:nth-child(n){
        margin-right: 10px;
    }
    .studytour-info:nth-child(2n){
        margin-right: 0;
    }
    .studytour-info-img-box{
        height: 163px;
    }
    .studytour-info-text-box{
        min-height: 48px;
    }
    .studytour-info-text-box span{
        font-size: 12px;
    }
    .rwd-studytour-class-box{
        line-height: 36px;
        height: 36px;
    }
    .studytour-class{
        line-height: 30px;
        font-size: 12px;
    }
    .studytour-loading-box{
        margin-top: 40px;
        font-size: 40px;
    }
}
@media only screen and (max-width: 400px){
    .studytour-all-box{
        width: 300px;
    }
    .studytour-info{
        width: 100%;
        margin-bottom: 10px;
    }
    .studytour-info:nth-child(n){
        margin-right: 0;
    }
    .studytour-info-img-box{
        height: 250px;
    }
}



@media only screen and (min-width: 1000px){
    .studytour-title-box h2,
    .studytour-class,
    .studytour-info{
        opacity: 0;
    }
    .studytour-title-box.anima h2{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .studytour-class.anima{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .studytour-info.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
}