﻿.soup-box{
    width: 100%;
    display: block;
    position: relative;
    font-size: 0;
    box-sizing: border-box;
    padding-top: 93px;
    min-height: 100vh;
    background-color: rgba(253, 142, 127, 0.05);
}
.soup-all-box{
    width: 1000px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 80px 0;
}

.soup-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;
    position: relative;
    transition: all .3s linear;
}
.soup-tag:nth-child(5n + 1){
    margin-left: 0;
}
.soup-tag:nth-child(n + 6){
    margin-top: 25px;
}
.soup-tag::after{
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #fd8d7f;
}
.soup-info-box{
    margin-top: 40px;
}
.soup-info{
    width: 100%;
    background-color: #fff;
    margin-bottom: 25px;
    display: block;
}
.soup-info:last-child{
    margin-bottom: 0;
}
.soup-info-img-box{
    width: 450px;
    height: 250px;
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
}
.soup-info-text-box{
    width: calc(100% - 450px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 10px 15px;
    transition: all .3s linear;
}
.soup-info-name{
    font-size: 20px;
    font-family: "Noto Sans TC";
    font-weight: 700;
    color: #000;
    letter-spacing: 0.06em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    display: block;
}
.soup-info-text{
    font-size: 14px;
    font-family: "Noto Sans TC";
    font-weight: 300;
    color: #666;
    margin-bottom: 15px;
    letter-spacing: 1px;
    overflow : hidden;
    min-height: 150px;
    max-height: 150px;
}
.soup-info-text a,
.soup-info-text span{
    display: block;
    margin-top: 15px;
    transition: all .3s linear;
}
.soup-info-text a i{
    width: 30px;
    text-align: center;
    margin-right: 10px;
}
.soup-info-menu-box{
    text-align: right;
}
.soup-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;
}
.soup-info-url{
    font-size: 14px;
    font-family: "Noto Sans TC";
    color: #fff;
    letter-spacing: 1px;
    display: inline-block;
    vertical-align: middle;
    width: 140px;
    line-height: 30px;
    background-color: #22bdc1;
    text-align: center;
    transition: all .3s linear;
}

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

}
.soup-info-name span{
    width: 30px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    font-size: 0;
}


@media only screen and (max-width: 1000px){
    .soup-box{
        padding-top: 65px;
    }
}
@media only screen and (max-width: 1000px){
    .soup-tag-box{
        position: relative;
    }
    .rwd-soup-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-soup-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;
    }
    .soup-tag-all-box{
        position: absolute;
        z-index: 6;
        width: 100%;
        box-shadow: 0 0 3px rgba(0,0,0,.3);
        box-sizing: border-box;
        padding: 5px 0;
        background-color: #fff;
        display: none;
    }
    .soup-tag{
        width: 100%;
        display: block;
        margin-left: 0;
        line-height: 46px;
    }
    .soup-tag::after{
        display: none;
    }
    .soup-tag:hover,
    .soup-tag.active{
        box-shadow: none;
        background-color: #ddd;
    }
}
@media only screen and (max-width: 900px){
    .soup-all-box{
        width: 750px;
    }
    .soup-info-url{
        width: 140px;
    }
    .soup-info-img-box{
        width: 325px;
        height: 181px;
        vertical-align: middle;
    }
    .soup-info-text-box{
        width: calc(100% - 325px);
        vertical-align: middle;
    }
    .soup-title{
        display: none;
    }
    .soup-info-box{
        margin-top: 30px;
    }
    .soup-info-text{
        min-height: inherit;
        max-height: inherit;
    }
}
@media only screen and (max-width: 750px){
    .soup-all-box{
        width: 550px;
    }
    .soup-title{
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .soup-info-img-box{
        width: 100%;
        height: 306px;
    }
    .soup-info-text-box{
        width: 100%;
    }
    .soup-info-text{
        margin-top: 0;
        margin-bottom: 10px;
    }
    .soup-info-text a, 
    .soup-info-text span{
        margin-top: 10px;
    }
}
@media only screen and (max-width: 550px){
    .soup-all-box{
        width: 400px;
        padding: 25px 0; 
    }
    .soup-title{
        font-size: 16px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .rwd-soup-tag-box{
        line-height: 36px;
        height: 36px;
        font-size: 14px;
    }
    .soup-tag{
        line-height: 32px;
        font-size: 14px;
    }
    .soup-info-img-box{
        height: 222px;
    }
    .soup-info-name{
        font-size: 14px;
    }
    .soup-info-text{
        font-size: 12px;
    }
    .soup-info-text-box{
        padding: 5px 10px;
    }
    .soup-info-data{
        font-size: 12px;
    }
    .soup-info-name span{
        width: 15px;
        height: 15px;
        margin-right: 0;
    }
    .soup-info-text a i{
        width: 15px;
        margin-right: 5px;
    }
}
@media only screen and (max-width: 400px){
    .soup-all-box{
        width: 270px;
    }
    .soup-info-url{
        font-size: 12px;
        width: 122px;
    }
    .soup-info-text a, 
    .soup-info-text span{
        margin-top: 5px;
    }
}


@media only screen and (min-width: 1001px){
    .soup-tag:hover,
    .soup-tag.active{
        background-color: #fd8d7f;
        color: #fff;
    }
    .soup-info-url:hover{
        color: #fff;
        background-color: #fd8d7f;
    }
    .soup-info-text a:-webkit-any-link:hover{
        color: #fd8d7f;
    }

    .soup-tag-box,
    .soup-info{
        opacity: 0;
    }
    .soup-tag-box.anima{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .soup-info.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
}