/* 联系我们页面主体部分的样式 */
/* 响应式布局 */
body {
    font-size: 14px;
    line-height: 20px;
    color: #666;
}
.secondary-title{
    padding-bottom: 40px;
}
.map-wrap {
    width: 100%;
}

.map-wrap img {
    width: 100%;
    height: auto;
}

.func-btn-list {
    margin-top: 30px;
    font-size: 14px;
    line-height: 20px;
    color: #666;
    text-align: justify;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.func-btn-item {
    width: 23.3%;
    height: 150px;
    box-sizing: border-box;
    border: 1px solid rgb(0 0 0 / 10%);
    padding: 0 25px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 20px;
    vertical-align: top;
    transition: all 0.2s;
    cursor: pointer;
    flex-shrink: 0;
}

.func-btn-item:hover {
    transform: scale(1.1);
    box-shadow: 0px 3px 8px 0px rgb(0 0 0 / 50%);
    /* border: none; */
}

.func-btn-item:active {
    /* border-color: #186cd9;
    background-color: #186cd9;
    color: #fff; */
    opacity: 0.7;
}

.func-btn-item:not(:last-child) {
    /* margin-right: 22.3px; */
}

.func-btn-item-icon {
    font-size: 30px;
    text-align: center;
    display: block;
    margin: 15px auto 0;
}

.func-btn-item-p1 {
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
    line-height: 30px;
}

.func-btn-item-p2 {
    line-height: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.func-btn-item:not(:first-child) .func-btn-item-p2 {
    text-align: center;
    margin-top: 14px;
}

/* 全国分公司 */
.national-branch {
    margin-top: 45px;
    padding-bottom: 30px;
}

.national-branch-title {

}

.national-branch-container {
    border-top: 1px solid rgb(0 0 0 / 10%);
    margin-top: 30px;
}

.national-branch-select-list {
    max-width: 720px;
    margin: 30px auto 0;
    overflow: hidden;
    height: 40px;
    border: 1px solid rgb(0 0 0 / 10%);
    /* white-space: nowrap; */
    border-radius: 20px;
    box-sizing: border-box;
    /* 为了将空格的 空间消除*/
    font-size: 0;

}

.national-branch-select-list li {
    width: 20%;
    height: 100%;
    line-height: 40px;
    text-align: center;
    transition: all 0.2s;
    box-sizing: border-box;
    font-size: 14px;
    display: inline-block;
    cursor: pointer;
}

.national-branch-select-list li:not(:last-child) {
    border-right: 1px solid rgb(0 0 0 / 10%);
}

.national-branch-select-list li.active{
    background-color: rgb(0 0 0 / 10%);
    border-color: rgb(0 0 0 / 10%);
}

.national-branch-select-list .active {

}

.national-branch-box-list {
    max-width: 975px;
    margin: 36px auto 0;
    height: 510px;
}

.national-branch-box-list li {
    display: inline-block;
    box-sizing: border-box;
    border: 1px solid rgb(0 0 0 / 10%);
    width: 31%;
    height: 150px;
    border-radius: 3px;
    margin-bottom: 20px;
    transition: all 0.2s;
    cursor: pointer;
    padding: 0 25px;
    vertical-align: top;
}

.national-branch-box-list li:hover {
    transform: scale(1.1);
    box-shadow: 0px 3px 8px 0px rgb(0 0 0 / 50%);
}

.national-branch-box-list li:not(:last-child) {
    margin-right: 18px;
}

.national-branch-box-list .p1 {
    font-size: 16px;
    text-align: center;
    margin-top: 25px;
}

.national-branch-box-list .p1 i {
    margin-right: 5px;
    font-size: 18px;
}

.national-branch-box-list .p2, .national-branch-box-list .p3 {
    line-height: 30px;
    position: relative;
    padding-left: 3em;
    font-size: 12px;
}

.national-branch-box-list .p2::before {
    content: "地址：";
    display: inline-block;
    position: absolute;
    left: 0;
}

.national-branch-box-list .p3::before {
    content: "电话：";
    display: inline-block;
    position: absolute;
    left: 0;
}

/* 手机屏下的布局 */
@media screen and (max-width: 749px) {
    .map-wrap {
        display: none;
    }

    .func-btn-list .func-btn-item {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 80%;
    }

    .national-branch .national-branch-box-list li {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }
}
