﻿.about-box{
    width: 100%;
    display: block;
    position: relative;
    font-size: 0;
    background-color: #f5f5f5;
    margin-top: 95px;
}
.page-banner-box{
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    display:         flex;
    display: -webkit-flex;
          align-items: center;
    -webkit-align-items: center;
          justify-content: center;
    -webkit-justify-content: center;
    flex-direction:column;
    -webkit-flex-direction:column;
}
.page-banner-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.5;
}
.page-banner-text{
    font-size: 30px;
    color: #fff;
    font-family: 'Lato', "微軟正黑體";
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}
.about-info{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-attractions{
    width: 580px;
    max-width: 100%;
    padding: 30px;
    box-sizing: border-box;
    background-color: #fff;
    display: inline-block;
    vertical-align: top;
    margin-left: 40px;
    margin-bottom: 40px;
    position: relative;
}
.about-attractions:nth-child(2n + 1){
    margin-left: 0;
}
.about-attractions-img-box{
    display: block;
    width: 100%;
    height: 380px;
    overflow: hidden;
}
.about-attractions-img{
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all .3s linear;
}
.about-attractions-text-box{
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding-top: 30px;
}
.about-attractions-text-name{
    display: block;
    width: 100%;
    font-size: 22px;
    font-family: 'Lato', "微軟正黑體";
    letter-spacing: 1px;
    line-height: 1;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    max-height: 25px;
    min-height: 25px;
}
.about-attractions-text-location{
    display: block;
    width: 100%;
    font-size: 18px;
    font-family: 'Lato', "微軟正黑體";
    font-weight: 300;
    margin-top: 15px;
    margin-bottom: 20px;
}
.about-attractions-text-location i{
    color: #ca483d;
    margin-right: 5px;
}
.about-attractions-text-view{
    font-size: 14px;
    font-family: 'Lato', "微軟正黑體";
    width: 80px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: #ddd;
    display: block;
    transition: all .3s linear;
    letter-spacing: 1px;
}
.about-attractions-border{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    border: 2px solid #ca483d;
    transition: all .3s linear;
}
.about-more-box{
    text-align: center;
    margin-top: 40px;
}
.about-more{
    width: 180px;
    height: 60px;
    display: inline-block;
    line-height: 60px;
    background-color: #fff;
    border: 1px solid #bbb;
    font-size: 20px;
    font-family: 'Lato', "微軟正黑體";
    letter-spacing: 2px;
    transition: all .3s linear;
}
.page a{
    font-size: 20px;
    font-family: 'Lato', "微軟正黑體";
    color: #000;
}
.page .prev, .page .next{
    color: #47a5ee;
    font-size: 20px;
}
.page .select{
    color: #ca483d;
    cursor: default;
}
.page .prev{
    padding-right: 5px;
}
.page .next{
    padding-left: 5px;
}
/*<------------hover------------->*/
.about-attractions:hover .about-attractions-border{
    opacity: 1;
}
.about-attractions:hover .about-attractions-img{
    transform: scale(1.1);
}
.about-attractions:hover .about-attractions-text-viwe{
    background-color: #ca483d;
    color: #fff;
}
.about-more:hover{
    background-color: #ca483d;
    color: #fff;
}
.page a:hover{
    color: #ca483d;
}









@media only screen and (max-width: 1200px){
    .about-info{
        width: 1000px;
    }
    .about-attractions{
        width: 480px;
    }
    .about-attractions-img-box{
        height: 307px;
    }
}

@media only screen and (max-width: 1000px){
    .about-info{
        width: 800px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .about-attractions{
        padding: 20px;
        margin-left: 30px;
        margin-bottom: 30px;
        width: 385px;
    }
    .about-attractions-img-box{
        height: 252px;
    }
    .page{
        margin: 0;
    }
    .about-attractions-text-box{
        padding-top: 20px;
    }
}
@media only screen and (max-width: 800px){
    .about-info{
        width: 600px;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .about-attractions{
        width: 290px;
        margin-left: 20px;
        margin-bottom: 20px;
    }
    .about-attractions-img-box{
        height: 183px;
    }
    .page{
        margin: 0;
    }
    .about-attractions-text-name{
        font-size: 20px;
    }
    .about-attractions-text-location{
        margin: 10px 0;
    }
    .about-attractions-text-name{
        max-height: 22px;
        min-height: 22px;
    }
}
@media only screen and (max-width: 600px){
    .about-info{
        width: 400px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .about-attractions{
        padding: 10px;
        margin-left: 10px;
        margin-bottom: 10px;
        width: 195px;
    }
    .about-attractions-img-box{
        height: 124px;
    }
    .about-attractions-text-viwe{
        font-size: 12px;
        width: 60px;
        height: 20px;
        line-height: 20px;
    }
    .about-attractions-text-box{
        padding-top: 10px;
    }
    .about-attractions-text-location{
        font-size: 16px;
    }
    .about-attractions-text-view{
        font-size: 12px;
        width: 60px;
    }
    .about-attractions-text-name{
        line-height: 1.6;
        font-size: 16px;
        max-height: 45px;
        min-height: 45px;
        -webkit-line-clamp: 2;
    }
    .about-attractions-text-location{
        margin: 0;
        margin-top: 5px;
        margin-bottom: 10px;
    }
    .page-banner-text{
        font-size: 24px;
    }
}
@media only screen and (max-width: 500px){
    .about-box{
        margin-top: 60px;
    }
}
@media only screen and (max-width: 400px){
    .page-banner-box{
        height: 200px;
    }
    .about-info{
        width: 300px;
    }
    .about-attractions{
        margin-left: 0;
        width: 300px;
    }
    .about-attractions-img-box{
        height: 205px;
    }
    .about-attractions-text-location{
        font-size: 14px;
    }
    .about-attractions-text-location{
        margin-top: 0;
        margin-bottom: 5px;
    }
    .about-attractions-text-name{
        max-height: 25px;
        min-height: 25px;
        -webkit-line-clamp: 1;
    }
}


/*animation*/
/*<-------------動畫------------->*/

@keyframes animation_banner_mask {
    0%{
        opacity:  0;
    }
    to {
        
    }
}
@media only screen and (min-width: 1001px){
    .about-attractions,
    .page{
        opacity: 0;
    }
    .about-attractions.active{
        animation: animation_btot 1s ease 0s both;
    }
    .page.active{
        animation: animation_btot 1s ease 0s both;
    }
    .page-banner-mask{
        animation: animation_banner_mask 1s ease 0s both;
    }
    .page-banner-text{
        animation: animation_fade 1s ease 0.5s both;
    }
}