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

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

.branch-list li {
    width: 50%;
    padding: 0 15px;
}

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

.branch-list li .box {
    -webkit-transition: all .2s;
    transition: all .2s;
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.branch-list .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;
    background: #f5f5f5;
}

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

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

.branch-list .pic:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(51, 52, 46, 0.8);
    -webkit-transition: all .2s;
    transition: all .2s;
    opacity: 0;
}

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

.branch-list .pic .cover {
    opacity: 0;
    -webkit-transition: all .2s;
    transition: all .2s;
        position: absolute;
    width: 100%;
    height: 100%;
}

.branch-list .pic .cover:before {
    content: "VIEW MORE";
    position: absolute;
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    letter-spacing: 3px;
    width: 100%;
    text-align: center;
    top: 50%;
    color: #fff;
    z-index: 50;
}

.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;
    padding: 0 0 10px;
    margin: 0px 0 5px;
    color: #558b41;
    border-bottom: 1px dashed #ccc6d4;
}

.branch-list .description  {
    font-size: 14px;
    display: -webkit-box;
    margin: 10px 0 5px;
    width: 100%;
    color: #616161;
}

.branch-list .map_box {
    display: block;
    -webkit-transition: all .2s;
    transition: all .2s;
    line-height: 1.2;
    font-size: 18px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    padding: 7px 0 5px 0;
    position: relative;
    color: #fff;
    font-size: 13px;
    text-align: center;
    margin: 0 auto 30px;
    background: -webkit-gradient(linear, left top, right top, from(#f2f0f3),to(#4e4e4e));
    background: linear-gradient(to right, #f2f0f3 0%,#4e4e4e 100%); 
}

.branch-list .map_box:before {
    content: "\e1001";
    font-size: 15px;
    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;
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px 2px 0;

}

.branch-list .map_box:hover{
    opacity: 0.8;
}


/*------------ 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: 520px) {
    .branch-list {
        margin: 0;
    }
    .branch-list li {
        width: 100%;
        padding: 0;
    }
}
