﻿.locations-box{
    width: 100%;
    background-color: #f5f5f5;
    position: relative;
    padding-top: 60px;
    padding-bottom: 50px;
}
.locations-info-box{
    width: 1000px;
    min-height: 800px;
    max-width: 100%;
    display: block;
    margin: 100px auto;
    font-size: 0;
    position: relative;
}
#locations .kaka-shop-page-title{
    padding-bottom: 40px; 
}

.locations-bookmark-list{
    width: 150px;
    height: 46px;
    border: 1px solid #ccc;
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    text-align: center;
    line-height: 46px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    transition: all .5s ease;
}
.locations-bookmark-list:nth-child(6n){
    margin-right: 0;
}
.locations-article-box{
    width: 100%;
    padding: 0 25px;
    padding-top: 10px;
    padding-bottom: 30px;
    box-sizing: border-box;
    background-color: #fff;
}
.locations-article-box h2{
    font-size: 24px;
    font-weight: bold;
    line-height: 2;
    margin-bottom: 15px;
}
.locations-article-box span{
    font-size: 4px;
    font-weight: lighter;
    line-height: 2;
    color: #555;
}
.locations-bookmark-list:hover{
    border: 1px solid #d0011b;
    background-color: #fff;
    color: #d0011b;
}
.locations-map-box{
    display: block;
}
.locations-map-info{
    margin-bottom: 20px;
}
.locations-map-list{
    width: 100%;
    padding: 15px 25px;
    box-sizing: border-box;
    background-color: #fff;
    cursor: pointer;
    transition: all .5s ease;
}
.locations-map-title{
    display: inline-block;
    width:  180px;
    max-width: 100%;
    font-size: 18px;
    line-height: 30px;
    font-weight: bold;
    transform: skewX(-10deg);
    vertical-align: top;
}
.locations-map-address{
    text-align:left;
    display: inline-block;
    width:calc(100% - 200px);
    font-size: 18px;

    line-height: 2;
    
    font-family: 'Noto Sans TC';
    font-weight: lighter;
    color: #555;
    vertical-align: top;
    padding: 0 10px;
    box-sizing: border-box;
}
.locations-map-mark{
    display: inline-block;
    text-align: right;
    width: 20px;
    line-height: 30px;
    font-size: 24px;
    color: #d0011b;
    vertical-align: top;
}
.locations-ps-box{
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 20px;
    letter-spacing: 1px;
    line-height: 2;
    color: #555;   
}
.locations-map{
    display: none;
}
.locations-map-list:hover{
    background-color: #d0011b;
}

.locations-map-list:hover .locations-map-title,
.locations-map-list:hover .locations-map-address,
.locations-map-list:hover .locations-map-mark{
    color: #fff;
}
.locations-map-list.active{
    background-color: #d0011b;
}
.locations-map-list.active .locations-map-title,
.locations-map-list.active .locations-map-address,
.locations-map-list.active .locations-map-mark{
    color: #fff;
}
@media only screen and (max-width: 1000px){
    .locations-info-box{
        width: 800px;
        margin-top: 50px;
        margin-bottom: 0;
    }
    .locations-bookmark-list{
        width: 100%;
        display: block;
        border: 1px solid #d1d1d1;
        margin-bottom: 0;
        border-bottom: 0;
    }
    .locations-bookmark-list:last-child{
        border-bottom: 1px solid #d1d1d1;
    }
    .locations-bookmark-box{
        margin: 0;
    }
    #locations .rwd-menu-class-list{
        display: block;
        background-color: #d0011b;
        color: #fff;
    }
    #locations .rwd-menu-class-list:after{
        border-top-color: #fff;
    }
    .locations-bookmark-box{
        width: 100%;
        display: none;
        position: absolute;
        background-color: #fff;
        z-index: 5;
    }
   
    .locations-bookmark-list:hover:nth-child(6n){
        border: 1px solid #d0011b;
        background-color: #fff;
        color: #d0011b;
    }
}
@media only screen and (max-width: 800px){
    .locations-info-box{
        width: 550px;
    }
    .locations-bookmark-list:nth-child(3n){
        margin-right: 0;
    }
    .locations-bookmark-box{
        margin: 0;
    }
    .locations-map-list{
        padding: 15px 15px;
    }
    .locations-map-title{
      
        font-size: 16px;
    }
    .locations-map-address{
        font-size: 14px;
        
    }

}
@media only screen and (max-width: 550px){
    .locations-map-address{
        padding: 0;
    }
    .locations-info-box{
        width: 300px;
        min-height: 100vh;
    }
    .locations-bookmark-box{
        margin: 0;
    }
    .locations-map-title{
        width: 100%;
        display: block;
    }
    .locations-map-address{
        width: calc(100% - 20px);
        text-align: left;
    }
    .locations-map-list{
        height: inherit;
    }
    .locations-map-mark{
        width: 20px;
    }
}

/*<---------------------動畫------------------------>*/
@keyframes leftenter{
  0% {
    opacity: 0;
    transform:  translateX(-80px);
  }
  100% {
    opacity: 1;
  }
}
@keyframes upfedenter{
  0% {
    transform:  translateY(40px);
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes rightfedenter{
  0% {
    transform:  translateX(140px);
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes topenter{
  0% {
    transform:  translateY(-80px);
  }
  100% {
    opacity: 1;
  }
}
@media only screen and (min-width: 1001px){
    .products-info-classification-box,
    .products-info-top-img{
        opacity: 0;
        animation: leftenter 1s linear  both;
    }
    .locations-bookmark-list-box{
        opacity: 0;
        animation: rightfedenter 1s linear  both;
    }
    .locations-map-info{
        opacity: 0;
        animation: upfedenter 1s linear  both;
    }
}