
/* ===== 全局基础 ===== */
body { font-family: '微软雅黑', 'Microsoft YaHei', Arial, sans-serif; color: #333; }
a { color: #333; text-decoration: none; }
a:hover { color: #3b3b84; }

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}
.row {
    margin-right: 0;
    margin-left: 0;
}
p {
    margin: 10px 0 10px;
}
.col-md-12{
	padding-left: 0;
	padding-right: 0;
}

/* ===== 区块标题通用样式 ===== */
.main1-h2 {
    font-weight: 700;
    letter-spacing: 3px;
    color: #1a1a1a;
}
.main1-h2 b:first-of-type { color: #3b3b84 !important; }
.main1-h2 b:last-of-type { color: #b0b0b0 !important; font-size: 0.55em; display: inline-block; margin-left: 10px; vertical-align: middle; }

/* ===== 服务区块 ===== */
.main1-intab:hover {
    background: #3b3b84;
    color: #FFF;
    text-decoration: none;
}
.main1-intab { background: #fff; text-align: left; color: #333; }
.main1-intab:hover img { display: none; }
.main1-intab:hover .main1-dd {
    padding: 28px 20px 5px 20px;
    font-size: 18px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.main1-span {
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
}
.main1-p {
    font-size: 16px;
    margin: 10px 20px;
    height: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}
.more { text-align: center; margin-bottom: -25px; }

/* ===== 大律师 / 律所介绍区块 ===== */
.main2-p { line-height: 2; overflow: hidden; text-align: left; }
.main2-right { }
.main2-img { width: auto; max-width: 100%; }
.main2-a {
    float: none;
    border: none;
    color: #3b3b84;
    text-align: left;
    display: inline-block;
    font-size: 16px;
    padding: 8px 24px;
    border: 2px solid #3b3b84;
    border-radius: 3px;
    margin-top: 10px;
    transition: background 0.3s, color 0.3s;
}
.main2-a:hover { background: #3b3b84; color: #fff; text-decoration: none; }
.main2-bg { background: url(../picture/beijing2.jpg) repeat-x center; padding-top: 15px; }

/* ===== 律所动态区块 ===== */
.main3-bg { background: url(../picture/beijing3.jpg) repeat-x center; padding: 30px 0; }
.main3-ul { text-align: left; line-height: 44px; font-size: 17px; color: #555; padding-left: 0; overflow: hidden; }
.main3-ul li { border-bottom: 1px dashed #ddd; }
.main3-ul li:last-child { border-bottom: none; }
.main3-ul li em {
    font-style: normal;
    overflow: hidden;
    white-space: nowrap;
    width: 74%;
    display: block;
    float: left;
    text-overflow: ellipsis;
    color: #333;
}
.main3-ul li em:hover { color: #3b3b84; }
.main3-ul li span {
    font-size: 14px;
    float: right;
    text-align: right;
    display: block;
    width: 26%;
    color: #999;
}

/* ===== 留言区块 ===== */
.main5-sinput { width: 50%; float: left; }
.main5-sinput p { float: left; }
.main5-sinput input { margin-top: 10px; height: 40px; width: 55%; }
.main5-binput { width: 100%; float: left; }
.main5-binput p { float: left; width: 20%; }
.main5-binput input { margin-top: 10px; height: 40px; width: 80%; border: 1px solid #ddd; padding: 0 10px; outline: none; }
.main5-binput input:focus { border-color: #3b3b84; }
.main5-binput textarea { width: 80%; border: 1px solid #ddd; padding: 8px 10px; outline: none; }
.main5-binput textarea:focus { border-color: #3b3b84; }
.main5-ul { list-style: none; padding-left: 0; }
.main5-ul li p { width: 20%; float: left; }
.main5-ul li dl { width: 80%; float: left; border: 1px solid #eee; padding: 0 10px; margin-bottom: 5px; }
.main5-ul li dl dd { border-bottom: #ddd 1px dotted; line-height: 35px; text-align: left; }
.main5-ul li dl dt { text-align: left; font-weight: 500; padding: 6px 0; }
.main5-dd { text-align: left; width: 80%; margin-left: 20%; margin-bottom: 10px; }
.main5-span { margin-right: 15px; }
.main5-a {
    background: #3b3b84;
    color: #fff;
    border-radius: 4px;
    padding: 10px 30px;
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 16px;
    transition: background 0.3s;
}
.main5-a:hover { background: #2d2d6e; text-decoration: none; color: #fff; }
.main5-button {
    background: #3b3b84;
    color: #fff;
    width: 80%;
    margin-left: 20%;
    height: 46px;
    margin-bottom: 20px;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}
.main5-button:hover { background: #2d2d6e; }

/* ===== 友情链接 ===== */
.link { background-color: #2c2c2c; padding: 20px 0; }
.link h3 { font-size: 22px; color: #aaa; text-align: left; }
.link a { color: #aaa; display: inline-block; text-align: left; margin-right: 20px; margin-bottom: 6px; font-size: 15px; }
.link a:hover { color: #fff; text-decoration: none; }

/* ===== 底部 ===== */
.foot-bg { background: url(../picture/beijing6.jpg); height: 220px; }
.foot-a { color: #fff; padding: 0 15px; }
.foot-a:hover { color: #ccc; }
.foot-p { color: #fff; }
.foot-ul { text-align: left; list-style: none; line-height: 30px; font-size: 16px; color: #666666; }
.foot-left { padding-top: 20px; }
.foot-left p { color: #666666; text-align: left; margin-bottom: 0; }
.foot-left span { display: block; font-size: 24px; color: #3b3b84; text-align: left; }
.foot-right { padding-top: 20px; }
.col-md-6 { padding-left: 0; padding-right: 0; }

/* ===== 响应式 ===== */
@media only screen and (max-width: 450px) {
    .main1-h2 { font-size: 26px; }
    .main1-dd { padding: 18px 10px 5px 84px; font-size: 18px; font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .main1-img { position: absolute; top: 20px; left: 30px; }
    .main1-tab { border: 1px solid #ddd; border-radius: 12px; margin: 10px; padding-left: 0; padding-right: 0; }
    .main2-p { max-height: 150px; line-height: 28px; overflow: hidden; text-align: left; font-size: 16px; padding: 10px; }
    .main2-right { margin: 20px 0; }
    .main3-ul { font-size: 15px; line-height: 40px; max-height: 200px; padding-left: 0; }
    .col-md-7 { padding-left: 0; padding-right: 0; }
    .main1-intab { border-radius: 12px; }
    .main2-img { width: 100%; }
    .mobileScroll { overflow: auto; display: -webkit-box; }
    .main5-button { width: 100%; margin-left: 0; }
    .link h3 { font-size: 18px; margin: 10px 0; }
    .foot-a { padding: 0 6px; }
    .foot-p { overflow-x: scroll; white-space: nowrap; }
    .foot-ul { padding-left: 0; }
    .main5-right { margin: 20px 0; }
    .main5-span { display: block; height: 25px; }
}
@media only screen and (min-width: 450px) {
    .main1-h2 { font-size: 40px; padding-top: 30px; }
    .main1-dd { padding: 28px 10px 5px 66px; font-size: 18px; font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .main1-img { position: absolute; top: 30px; left: 30px; }
    .main1-tab { padding: 0 15px; margin-top: 15px; }
    .main1-bg { background: url(../picture/beijing1.jpg) repeat-x center; padding-bottom: 20px; }
    .main2-p { max-height: 320px; line-height: 34px; padding: 20px 0; padding-right: 15px; overflow: hidden; text-align: left; font-size: 18px; }
    .main2-right { margin: 40px 0; }
    .main3-bg { padding: 40px 0; }
    .main4-bg { background: url(../picture/beijing4.jpg) repeat-x center; padding: 50px 0; }
    .main5-span { margin-right: 15px; }
}