/*------------ branch ------------*/

.branch-list {
    margin: 0 -13px;
}

.branch-list li {
    width: calc((100% / 3) - 0.1px);
    padding: 0 13px 35px;
}

.branch-list li:nth-child(3n+1) {
    clear: left;
}

.branch-list li .box {
    transition: all .2s;
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    box-sizing: border-box;
}
.branch-list li .box .cover2{
    font-size: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index:30;
}
.branch-list li .box:hover {}

.branch-list li .text-box {
    padding: 10px 15px;
}

.branch-list li .pic {
    position: relative;
    box-sizing: border-box;
}

.branch-list .pic {
    position: relative;
    box-sizing: border-box;
    z-index: 1;
    transition: all .2s;
}

.branch-list .pic a:nth-child(2):before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transition: all .2s;
    opacity: 0;
}

.branch-list li .box:hover .pic a:nth-child(2):before {
    opacity: 1;
}

.branch-list .pic .cover {
    width: 90px;
    height: 90px;
    transform-origin: 50% 50%;
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -45px 0 0 -45px;
    font-size: 14px;
    opacity: 0;
    transition: all .2s;
    z-index: 50;
}

.branch-list .pic .cover:before {
    content: "VIEW MORE";
    position: absolute;
    display: block;
    font-family: 'Cabin', sans-serif;
    transform: rotate(45deg);
    transform-origin: 2% 135%;
}

.branch-list li .box:hover .cover {
    opacity: 1;
}

.branch-list li .name {
    font-size: 16px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 22px;
    font-weight: bold;
    margin: 0px 0 5px;
}

.branch-list .description {
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    margin: 10px 0 5px;
    width: 100%;
}

.branch-list .map_box {
    display: block;
    transition: all .2s;
    line-height: 1.2;
    font-size: 18px;
    box-sizing: border-box;
    font-family: 'Cabin', sans-serif;
    padding: 10px 0 9px 55px;
    position: relative;
}

.branch-list .map_box:before {
    content: "\e1001";
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    top: 0;
    left: 0;
    font-size: 22px;
    position: absolute;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/*------------ rwd ------------*/

@media screen and (max-width: 900px) {
    .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: 600px) {
    .branch-list {
        margin: 0;
    }
    .branch-list li {
        width: 100%;
        padding: 0 0 35px;
    }
}
