/*------------ branch ------------*/
.branch-list .description br{
    content: " ";
    display: list-item;
}
.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;
    background: #fff;
    padding: 10px;
    position: relative;
    max-width: 376px;
    margin: 0 auto;
    box-sizing: border-box;
    border: solid 1px #fff;
}
.branch-list .box .cover{
    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 {
    transition: all .2s;
    border-color: #e8e8e8;
}

.branch-list li .pic {
    position: relative;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.branch-list li .name {
    font-size: 17px;
    line-height: 1.5;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 25px;
    font-weight: bold;
    margin: 0px 0 5px;
}

.branch-list .box:hover .description {
    border-top: solid 3px #2d57a7;
    color: #000;
}
.branch-list .description  {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
    display: block;
    margin: 8px 0 0px;
    padding: 15px 0 10px;
    width: 100%;
    transition: all .3s ease-in-out;
    border-top: solid 3px #e8e8e8;
}

.branch-list .map {
    background:#e8e8e8;
    color:#bbbab5;
    letter-spacing: 3px;
    display: block;
    text-align: center;
    margin: 0 -10px;
    padding: 10px;
    transition: all .2s;
}
.branch-list .map_box a{
    display: inline-block;
}
.branch-list .map_box:hover .map {
    background: #4e5454;
    color: #fff;
    transition: all .2s;
}
.branch-list li .map_box{
    padding: 0px 10px;
}
.map_box i {
    font-size: 18px;
    margin: 0px 8px 3px 0;
    display: inline-block;
    vertical-align: middle;
}
/****************keyword_box******************/
.keyword_box {
    font-size: 14px;
    color: #AAAAAA;
    padding: 9px 14px 6px;
    height: 40px;
    position: relative;
    display: -webkit-box;
    background: #9C9C9C;
    max-width: 376px;
    margin: 0 auto;
    box-sizing: border-box;
}

.keyword li,
.keyword_box .keyword li a {
    display: inline;
    padding: 0;
    background: none;
}
.keyword li a:hover{
    text-decoration: underline;
    color: #222;
}
.keyword li+li:before {
    content: ',';
}
.keyword .icon-ic-keyword{
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 14px;
    border: 1px solid transparent;
    margin: 5px 6px 0 0px;
    color: #AAAAAA;
    float: left;
}
.branch-detail .fb {
    padding: 5px 0;
}

.keyword_box.detail {
    background: none;
    float: none;
    padding: 9px 0px 6px;
    height: auto;
    display: inline-block;
    max-width: none;
}

/*------------ detail-main ------------*/
.pic_box {
    background: #f8f8f8;
}
.pic_box .pic{
    padding: 20px 0;
    margin: 10px 0;
}
.branch-detail {
    background: #fff;
    padding: 0 15px 50px;
}

.branch-title {
    position: relative;
    margin: 0 -15px 15px;
    padding: 35px 20px 20px 85px;
    letter-spacing: 2px;
    color: #333;
    font-size: 18px;
    border-bottom: 1px solid #e8e8e8;
    line-height: 1.5;
}

.branch-date small {
    color: #AAAAAA;
    position: absolute;
    left: 100%;
    top: 0;
    margin: 12px 0 0 15px;
}


/*------------ 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;
    }
    .branch-list li a {
        max-width: 340px;
    }
}

@media screen and (max-width: 600px) {
    .branch-list {
        margin: 0;
    }
    .branch-list li {
        width: 100%;
        padding: 0 0 35px;
    }
}

@media screen and (max-width: 480px) {
    .branch-title {
        padding: 85px 20px 20px;
    }
    .branch-detail .fb {
        width: 180px;
        overflow: hidden;
    }
}
