.list-h > li a.fancybox, .list-h .item a.fancybox, .list-v li a.fancybox {
    display: block;
}

/*------------ branch ------------*/
.branch-list {
    margin: 20px -20px 0;
}
.branch-list li {
    width: calc((100% / 2) - 0.1px);
    padding: 0 20px 40px;
    position: relative;
    text-align: center;
}
.branch-list li:nth-child(2n+1) {
    clear: left;
}
.branch-list li .box {
    max-width: 420px;
    margin: 0 auto;
    position:relative;
    display: flex;
}
/* .branch-list li .cover {
    position:absolute;
    left:0;
    right: 0;
    top:0;
    bottom: 0;
    z-index:5;
    font-size: 0;
} */
.branch-list li .pic {
    position: relative;
    box-sizing: border-box;
    width: 50%;
    padding-right: 10px;
}
.branch-list li .pic:before,
.branch-list li .pic .cover_h {
    content: "";
    transition: all .2s;
    position: absolute;
    opacity: 0;
}
.branch-list li .pic:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(38, 65, 16, .6);
}
.branch-list .pic .cover_h {
    width: 45px;
    height: 45px;
    top: 0;
    left: 50%;
    text-align: center;
    margin: -27px 0 0 -27px;
    border: 1px solid rgba(255, 255, 255, .72);
    transform-origin: 50% 50%;
    transform: rotate(-45deg);
    display: none;
}
.branch-list .pic .cover_h:before {
    content: "more";
    display: block;
    font-size: 13px;
    color: #FFFFFF;
    line-height: 45px;
    font-family: 'Istok Web', sans-serif;
    transform: rotate(45deg);
}
.branch-list .box:hover .pic:before,
.branch-list .box:hover .pic .cover_h {
    transition: all .2s;
    opacity: 0;
}
.branch-list .box:hover .pic .cover_h {
    top: 50%;
}
.branch-list li .text {
    margin: 0px 0 0 0;
    width: 50%;
    padding-left: 10px;
    box-sizing: border-box;
    text-align: left;
}
.branch-list li .description {
    line-height: 1.6;
    color: #444444;
    position: relative;
    z-index: 35;
    text-align: left;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 75px;
}
.branch-list .description a{
    position: relative;
    z-index: 35;
    display: inline-block;
}
.branch-list li a.map_box{
    display: block;
    position: relative;
    z-index: 35;
    width: 120px;
    margin: 10px auto;
    color: #222222;
    border:solid 1px #222222;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-left: 0;
}
.branch-list li a.map_box:hover{
    background: #222222;
    color: #fff;
}
.branch-list li .name {
    color: #222222;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    height: 23px;
    margin: 0 0 6px 0;
    transition: all .3s ease;
}
.branch-list .box:hover .name {
    color: #D7B58A;
}

/*其他地區 開始*/
.branch-title-list{
    display: flex;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 30px;
}
.branch-title-list > div{
    padding-left: 10px;
    padding-right: 10px;
    width: 25%;
}
.branch-title-list > div img{
    transition: all .3s ease;
    border: 1px solid #ddd;

    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}
.branch-title-list > div img:hover{
    /* opacity: 0.7; */
    cursor: pointer;
    animation-name: bounce;
    -moz-animation-name: bounce;
}

@keyframes bounce {
	0%, 100%, 20%, 50%, 80% {
		transform:         translateY(0)
	}
	40% {
		transform:         translateY(-15px)
	}
	/* 60% {
		transform:         translateY(-5px)
	} */
}
.branch-top-title{
    margin: 0;
    font-size: 20px;
    margin-top: 0px;
    margin-left: 23px;
    position: relative;
}
.branch-top-title:before{
    content: "";
    display: block;
    position: absolute;
    top: 15px;
    left: -13px;
    margin: -5px 0 0 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-color: transparent transparent transparent #7B7776;
    transition: all .2s;
}
.branch-list.style-2 {
   margin-top: 10px;
   margin-left: -10px;
   margin-right: -10px;
}
.branch-list.style-2 li{
    width: calc((100% / 4));
    padding: 0 10px 20px;
}
.branch-list.style-2 li:nth-child(2n+1) {
    clear: unset;
}
.branch-list.style-2 li:nth-child(4n+1) {
    clear: left;
}
.branch-list.style-2 li .pic {
    display: none;
}
.branch-list.style-2 li .text {
    width: 100%;
    padding-left: 0px;
}
.branch-list.style-2 li .box {
    border: 1px solid #ddd;
    padding: 10px;
    box-sizing: border-box;
}
.branch-list.style-2 li a.map_box {
    margin-left: auto;
    margin-right: 0;
}
.branch-list.style-2 li .name {
    margin: 13px 0px 20px 0;
}
@media(max-width:1000px){
    .branch-title-list {
        margin-left: -5px;
        margin-right: -5px;
        margin-bottom: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .branch-title-list > div {
        width: 50%;
        box-sizing: border-box;
        padding-left: 5px;
        padding-right: 5px;
        margin-bottom: 5px;
    }

    .branch-list.style-2{
        margin-left: auto;
        margin-right: auto;
    }
    .branch-list.style-2 li{
        width: calc((50%) );
        padding: 0 10px 20px;
    }
    .branch-list.style-2 li:nth-child(2n+1) {
        clear: unset;
    }
    .branch-list.style-2 li:nth-child(4n+1) {
        clear: unset;
    }
    .branch-list.style-2 li:nth-child(2n+1) {
        clear: left;
    }
}
@media screen and (max-width: 760px){
    .branch-list.style-2 li{
        width: calc((100%) );
    }
    .branch-list.style-2 li:nth-child(2n+1) {
        clear: unset;
    }
}



/*其他地區 結束*/

/*------------ rwd ------------*/
@media screen and (max-width: 1100px) {
    .branch-list {
        margin: 0px -20px;
    }
}
@media screen and (max-width: 900px) {
    .branch-list {
        max-width: 700px;
        margin: 0 auto;
    }
    .branch-list li {
        width: 50%;
    }
    .branch-list li:nth-child(3n+1) {
        clear: none;
    }
    .branch-list li:nth-child(2n+1) {
        clear: left;
    }
}
@media screen and (max-width: 760px) {
    .branch-list li {
        width: 100%;
        padding: 0 0 40px;
    }
}
