/*------------ branch ------------*/

.branch-list {
    margin: 50px -18px 0;
}

.branch-list li {
    position: relative;
    width: 25%;
    padding: 0 18px 60px;
}

.branch-list li:nth-child(4n+1) {
    clear: left;
}

.branch-list li a {
    transition: all .2s;
    position: relative;
}

.branch-list li .box {
    position: relative;
    max-width: 298px;
    margin: 0 auto;
    box-sizing: border-box;
}
.branch-list li .box2{
    position: relative;
}

.branch-list li .box2 .cover{
    font-size: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index:10;
}
.branch-list li a:hover {}

.branch-list li .pic {
    position: relative;
    box-sizing: border-box;
    z-index: 1;
}

.branch-list .pic:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transition: all .2s;
    opacity: 0;
}

.branch-list li .box:hover .pic:before {
    opacity: 1;
}

.branch-list li .name {
    font-size: 16px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 24px;
    font-weight: bold;
    margin: 8px 15px;
}

.branch-list .description {
    font-size: 14px;
    line-height: 1.5;
    /*display: -webkit-box;*/
    position: relative;
    padding: 10px 15px;
}
.branch-list .description a{
    position:relative;
    z-index:35;
    display:inline;
}

.branch-list .map_box {
    position: absolute;
    top: -20px;
    left: 8px;
    z-index: 15;
}

.branch-list .map_box i {
    width: 40px;
    height: 40px;
    transition: all .2s;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    font-style: normal;
}

.branch-list .map_box i.plus {
    font-size: 20px;
    line-height: 38px;
}

.contact-map {
    position: relative;
    margin: 0 0 40px;
}

.contact-map:before {
    content: "";
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 10;
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transition: all .2s;
}

.contact-map iframe {
    width: 100%;
    box-sizing: border-box;
    height: 250px;
    margin: 0;
}

.contact-detail {
    max-width: 1000px;
    margin: 40px auto 0;
}

.contact-detail .editor {
    padding: 0 0 5px;
    margin: 0 0 70px;
}

.contact-title {
    transition: all .2s;
    margin: -20px 0 0 0;
    display: inline-block;
    padding: 0 70px;
}

.contact-title i {
    display: inline-block;
    vertical-align: middle;
    font-style: normal;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    font-size: 16px;
    margin: 0 -2px 15px;
    transition: all .2s;
}

.form-wrap {
    max-width: 1000px;
    text-align: center;
    padding: 0 15px;
}

.form-box {
    max-width: 480px;
    padding: 0 0 30px;
}

.form-box .col {
    padding: 0 10px;
    width: 50%;
    float: left;
}

.form-box .btn-box {
    margin: 0 -10px;
}


/*------------ rwd ------------*/

@media screen and (max-width: 1024px) {
    .branch-list li {
        width: calc((100% / 3) - 0.1px);
    }
    .branch-list li:nth-child(4n+1) {
        clear: none;
    }
    .branch-list li:nth-child(3n+1) {
        clear: left;
    }
}

@media screen and (max-width: 767px) {
    .branch-list {
        margin: 50px -10px 0;
    }
    .branch-list li {
        width: 50%;
        padding: 0 10px 60px;
    }
    .branch-list li:nth-child(3n+1) {
        clear: none;
    }
    .branch-list li:nth-child(2n+1) {
        clear: left;
    }
}

@media screen and (max-width: 500px) {
    .branch-list li {
        width: 100%;
    }
}
