﻿.where-box{
    width: 100%;
    display: block;
    background-color: #f5f5f5;
    min-height: calc(100vh - 60px);
    margin-top: 60px;
    font-size: 0;
}
.where-all-box{
    width: 900px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    padding: 50px 0;
}
.where-tag{
    width: 160px;
    display: inline-block;
    line-height: 50px;
    font-size: 16px;
    color: #555;
    letter-spacing: 1px;
    text-align: center;
    background-color: #fff;
    margin-left: 25px;
    transition: all .3s linear;
}
.where-tag:nth-child(5n + 1){
    margin-left: 0;
}
.where-tag:nth-child(n + 6){
    margin-top: 25px;
}
.where-title{
    font-size: 18px;
    font-weight: bold;
    color: #000;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.where-info{
    width: 100%;
    background-color: #fff;
    margin-bottom: 25px;
    display: block;
}
.where-info:last-child{
    margin-bottom: 0;
}
.where-info-img-box{
    width: 450px;
    height: 250px;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
}
.where-info-img-box span{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all .3s linear;
}
.where-info-text-box{
    width: calc(100% - 450px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 10px 15px;
    transition: all .3s linear;
}
.where-info-name{
    font-size: 16px;
    font-weight: bold;
    color: #000;
    letter-spacing: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    display: block;
}
.where-info-text{
    font-size: 14px;
    font-weight: lighter;
    color: #555;
    margin-top: 5px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    overflow : hidden;
    min-height: 150px;
    max-height: 150px;
}
.where-info-text a,
.where-info-text span{
    display: block;
    margin-top: 20px;
}
.where-info-text a i{
    width: 30px;
    text-align: center;
    margin-right: 10px;
}
.where-info-menu-box{
    text-align: right;
}
.where-info-tag{
    box-sizing: border-box;
    padding: 0 5px;
    line-height: 24px;
    font-size: 12px;
    font-weight: lighter;
    color: #555;
    letter-spacing: 1px;
    display: inline-block;
    vertical-align: middle;
    background-color: #eee;
    border: 1px solid #d1d1d1;
    border-radius: 12px;
    text-align: center;
}
.where-info-data{
    font-size: 14px;
    font-family: "Roboto";
    font-weight: 300;
    color: #555;
    letter-spacing: 1px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 15px;
}
.where-info-url{
    font-size: 14px;
    color: #555;
    letter-spacing: 1px;
    display: inline-block;
    vertical-align: middle;
    width: 140px;
    line-height: 30px;
    background-color: #f5f5f5;
    text-align: center;
    border-radius: 5px;
    transition: all .3s linear;
}

.where-info-url:nth-child(2){
    margin-left: 10px;
}
.where-info-url i{
    color: #bf1925;
    margin-right: 5px;
}
.where-info-fburl i{
    color: #6283a7;
}
.fancybox-where{
    width: 100%;
    height: 80vh;
    text-align: left;

}
.where-info-name span{
    width: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    font-size: 0;
}
.where-info-name span>img:nth-child(2),
.where-info:hover .where-info-name span>img:nth-child(1){
    display: none;
}
.where-info:hover .where-info-name span>img:nth-child(2){
    display: block;
}


@media only screen and (max-width: 1000px){
    .rwd-where-tag-box{
        width: 100%;
        height: 46px;
        box-shadow: 0 0 3px rgba(0,0,0,.3);
        font-size: 16px;
        letter-spacing: 1px;
        text-align: center;
        display: block;
        line-height: 46px;
        position: relative;
        box-sizing: border-box;
        background-color: #fff;
    }
    .rwd-where-tag-box:after {
        content: '';
        width: 0px;
        height: 0px;
        margin: 0 auto;
        border-right: 5px solid transparent;
        border-top: 10px solid #555;
        border-left: 5px solid transparent;
        display: block;
        position: absolute;
        bottom: calc(50% - 5px);
        right: 15px;
        box-sizing: border-box;
    }
    .where-tag-box{
        position: absolute;
        width: 100%;
        box-shadow: 0 0 3px rgba(0,0,0,.3);
        box-sizing: border-box;
        padding: 5px 0;
        background-color: #fff;
    }
    .where-tag{
        width: 100%;
        display: block;
        margin-left: 0;
        line-height: 46px;
    }
    .where-tag:nth-child(n + 6){
        margin-top: 0;
    }
    .where-tag:hover,
    .where-tag.active{
        box-shadow: none;
        background-color: #ddd;
    }
}
@media only screen and (max-width: 900px){
    .where-all-box{
        width: 750px;
    }
    .where-info-url{
        width: 140px;
    }
    .where-info-img-box{
        width: 325px;
        height: 181px;
        vertical-align: middle;
    }
    .where-info-text-box{
        width: calc(100% - 325px);
        vertical-align: middle;
    }
    .where-title{
        display: none;
    }
    .where-info-box{
        margin-top: 30px;
    }
    .where-info-text{
        min-height: inherit;
        max-height: inherit;
    }
}
@media only screen and (max-width: 750px){
    .where-all-box{
        width: 550px;
    }
    .where-title{
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .where-info-img-box{
        width: 100%;
        height: 306px;
    }
    .where-info-text-box{
        width: 100%;
    }
    .where-info-text{
        margin-top: 0;
        margin-bottom: 10px;
    }
    .where-info-text a, 
    .where-info-text span{
        margin-top: 10px;
    }
}
@media only screen and (max-width: 550px){
    .where-box{
        margin-top: 59px;
    }
    .where-all-box{
        width: 400px;
        padding: 25px 0; 
    }
    .where-title{
        font-size: 16px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .rwd-where-tag-box{
        line-height: 36px;
        height: 36px;
        font-size: 14px;
    }
    .where-tag{
        line-height: 32px;
        font-size: 14px;
    }
    .where-info-img-box{
        height: 222px;
    }
    .where-info-name{
        font-size: 14px;
    }
    .where-info-text{
        font-size: 12px;
    }
    .where-info-text-box{
        padding: 5px 10px;
    }
    .where-info-data{
        font-size: 12px;
    }
    .where-info-name span{
        width: 15px;
        height: 15px;
        margin-right: 0;
    }
    .where-info-text a i{
        width: 15px;
        margin-right: 5px;
    }
}
@media only screen and (max-width: 400px){
    .where-all-box{
        width: 300px;
    }
    .where-info-url{
        font-size: 12px;
        width: 122px;
    }
    .where-info-text a, 
    .where-info-text span{
        margin-top: 5px;
    }
}






/*-------------hover------------*/
.where-tag.active,
.where-tag:hover{
    font-weight: bold;
    box-shadow: 0 0 5px rgba(0,0,0,0.35);
}
.where-info:hover .where-info-text-box{
    box-shadow: 0 0 8px rgba(0,0,0,0.35);
}
.where-info:hover .where-info-img-box span{
    transform: scale(1.1);
}
.where-info-url:hover{
    background-color: #ddd;
}
.where-info-text a:hover{
    color: #bf1925;
}


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


@media only screen and (min-width: 1001px){
    .where-tag,
    .where-title,
    .where-info{
        opacity: 0;
    }
    .where-tag.anima{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .where-info.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .where-title.anima{
        animation: fade 1s ease 0s 1 both;
    }
}