﻿/* reset */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, textarea, p, blockquote, th, td, input, select, textarea, button {
    margin: 0;
    padding: 0
}

fieldset, img {
    border: 0 none
}

dl, ul, ol, menu, li {
    list-style: none
}

blockquote, q {
    quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none
}

input, select, textarea, button {
    vertical-align: middle
}

button {
    border: 0 none;
    background-color: transparent;
    cursor: pointer
}

body {
    background: #fff
}

body, th, td, input, select, textarea, button {
    font-size: 1.4rem;
    line-height: 1;
    font-family: "微软雅黑", "黑体", "宋体";
    color: #000;
}

a {
    color: #666;
    text-decoration: none
}

a:active, a:hover {
    text-decoration: none
}

address, caption, cite, code, dfn, em, var {
    font-style: normal;
    font-weight: normal
}

caption {
    display: none;
}

/*table {*/
    /*width: 100%;*/
    /*border-collapse: collapse;*/
    /*border-spacing: 0;*/
    /*table-layout: fixed;*/
/*}*/

img {
    vertical-align: top
}

/* 页面设置 */

/* 取消a标签点击后的虚线框 */
a {
    outline: none;
}

a:active {
    star: expression(this.onFocus=this.blur());
}

/* 设置页面文字等在拖动鼠标选中情况下的背景色与文字颜色 */
/*
::selection {color: #fff;background-color: #4C6E78;}
::-moz-selection {color: #fff;background-color: #4C6E78;}
*/

/*清除浮动*/
.clear {
    clear: both;
}

/*清除浮动--推荐使用*/
.clearfix:before, .clearfix:after {
    content: '';
    display: table;
}

.clearfix:after {
    clear: both;
}

/*index*/
html, body {
    font-size: 10px;
    width: 100%;
    height: 100%;
    /*overflow: hidden;*/
}

body {
    font-size: 1.8rem;
}

.header {
    height: 11.5%;
    display: flex;
    flex-flow: row nowrap;
    padding: 0 6.8% 0 5.9%;
    justify-content: space-between;
    align-items: center;
}

.header .left,
.nav,
.consult-header,
.consult-header div {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.header .left img {
    width: 5.44rem;
    height: 5.63rem;
}

h1 {
    font-size: 3.38rem;
    color: #2B6BAB;
    margin-left: 0.94rem;
    font-weight: bold;
}

.nav li {
    float: left;
    padding: 0 1.4rem;
    font-size: 1.88rem;
    color: #2B6BAB;
    cursor: pointer;
}

.nav li.line {
    padding: 0;
    width: .06rem;
    height: 1.38rem;
    background-color: #96Acc3;
}

.con {
    position: relative;
    width: 100%;
    height: 88.9%;
    background: url("../images/bg.png") no-repeat 0/100% auto;
}

.btn {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -19rem;
}

.btn a {
    display: block;
    width: 38.31rem;
    height: 7rem;
    line-height: 7rem;
    font-size: 2.75rem;
    color: #FFFFFF;
    text-align: center;
}

.btn a:first-child {
    background: #FF9F02;
    box-shadow: 0 2px 12px 0 rgba(255, 159, 2, 0.48);
    border-radius: 100px;
}

.btn a:last-child {
    margin-top: 3.81rem;
    background: #439DF8;
    box-shadow: 0 2px 12px 0 rgba(43, 107, 171, 0.62);
    border-radius: 100px;
}

.solgin {
    position: absolute;
    top: 0;
    background-color: #fff;
}

.service {
    position: absolute;
    top: 40.8%;
    right: 0.3%;
    width: 8.5rem;
    height: 9.19rem;
    background: url("../images/zx.png") no-repeat 0/cover;
    cursor: pointer;
}

.reference {
    position: absolute;
    bottom: 1.02%;
    width: 100%;
    text-align: center;
    font-size: 1.25rem;
    color: #EEEEEE;
    line-height: 2.38rem;
}

.banner {
    width: 100%;
    height: 16rem;
    line-height: 16rem;
    background: url("../images/banner.png") no-repeat 100% 100%/cover;
    color: #fff;
    font-size: 5rem;
    font-weight: bold;
    text-align: center;

}

.apply-progress {
    width: 100%;
    height: 8rem;
    background-color: #f8f8f8;
    padding-top: 2.5rem;
}

.apply-progress .line {
    margin: 0 auto;
    width: 50%;
    height: .5rem;
    background-color: #ddd;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.apply-progress .line span {
    width: 2rem;
    height: 2rem;
    border: .1rem solid #ddd;
    border-radius: 50%;
    background-color: #ddd;
}

.apply-progress .line .active {
    background-color: #439DF8;
    border-color: #439DF8;
    color: #439DF8;
}

.apply-progress .txt .active {
    color: #439DF8;
}

.apply-progress .txt {
    margin: 2rem auto 0;
    padding-right: 1.4rem;
    width: 53%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    font-size: 2rem;
    color: #b2b2b2;
    font-weight: 600;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 2rem 0 2rem;
    background: #F8F8F8;
    text-align: center;
    font-size: 1.2rem;
    color: #B2B2B2;

}

.footer p {
    padding: .5rem;
}

.w {
    width: 70rem;
    min-height: 28.5rem;
    margin: 0 auto 10rem;

}

.mb-10 {
    margin-bottom: 1rem;
}

.form {
    /*min-height: 52rem;*/
}

.form, lawyer {
    position: relative;
}

.form .service {
    /*top: 20rem;*/
}

.logo {
    position: absolute;
    top: 14rem;
    left: 2rem;
    width: 10rem;
    height: 12.2rem;
    background: url("../images/logo.png") no-repeat 0/cover;
}

.form .title {
    padding: 2.5rem 0 1.88rem;
    font-size: 2rem;
    line-height: 2.5rem;
    text-align: center;

}

.form-horizontal .control-label {
    padding-top: .6rem;
    font-size: 1.8rem;
    font-weight: normal;
}

.form-control {
    font-size: 1.5rem;
}

input[type=checkbox], input[type=radio] {
    margin: .3rem 0 0;
    margin-top: 1px \9;
    line-height: normal;
    font-size: 1.6rem;
}

.checkbox label, .radio label, .form-group p.form-control-static {
    font-size: 1.6rem;
    color: #999;
}

.form-horizontal .checkbox, .form-horizontal .checkbox-inline, .form-horizontal .radio, .form-horizontal .radio-inline, .form-group p.form-control-static {
    padding-top: .5rem;
    margin-top: 0;
    margin-bottom: 0;
}

.form-group .choose1 {
    display: inline-block;
    margin: 1rem 1rem .5rem;
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #4591EF;
    color: #246AC2;
    border-radius: 2rem;
    cursor: pointer;
}

.form-group .choose1.active {
    color: #fff;
    background-color: #246AC2;
}

.form-group .choose2 {
    display: inline-block;
    margin: 1rem 1rem .5rem;
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #4591EF;
    color: #246AC2;
    border-radius: 2rem;
    cursor: pointer;
}

.form-group .choose2.active {
    color: #fff;
    background-color: #246AC2;
}

.form-group .choose3 {
    display: inline-block;
    margin: 1rem 1rem .5rem;
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #4591EF;
    color: #246AC2;
    border-radius: 2rem;
    cursor: pointer;
}

.form-group .choose3.active {
    color: #fff;
    background-color: #246AC2;
}

.form-group .choose4 {
    display: inline-block;
    margin: 1rem 1rem .5rem;
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #4591EF;
    color: #246AC2;
    border-radius: 2rem;
    cursor: pointer;
}

.form-group .choose4.active {
    color: #fff;
    background-color: #246AC2;
}

.form-group .choose5 {
    display: inline-block;
    margin: 1rem 1rem .5rem;
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #4591EF;
    color: #246AC2;
    border-radius: 2rem;
    cursor: pointer;
}

.form-group .choose5.active {
    color: #fff;
    background-color: #246AC2;
}

.t-c {
    text-align: center;
}

.next {
    width: 12.5rem;
    height: 3.13rem;
    text-align: center;
    line-height: 3.13rem;
    font-size: 1.6rem;
    background-color: #439DF8;
    border-radius: 10rem;
    color: #FFFFFF;
    padding: 1rem 4rem;
    cursor: pointer;
}

.btn-margin {
    margin: 2.4rem 1.8rem;
}

.lawyer {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.lawyer.active {
    background-color: #E6E6E6;
}

.lawyer .portrait img {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
}

.lawyer .detail {
    margin: .6rem 2rem;
}

.lawyer .detail p {
    width: 50rem;
    padding: .5rem 1rem;
    font-size: 1.8rem;
    line-height: 2rem;
}

.lawyer .detail .intro {
    font-size: 1.6rem;
    color: #999;
}

.lawyer .clik img {
    width: 3rem;
    height: 3rem;
}

/*聊天窗口*/
.consult {
    padding: 4rem 6rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.consult .window {
    width: 50%;
    border: .1rem #ddd solid;
    border-radius: 1rem;
    margin-right: 8rem;

}

.consult .window p {
    text-align: center;
    font-size: 1.6rem;
    line-height: 4rem;
    color: #999;
}

.consult .window .top {
    padding: 0 2rem 2rem 2rem;
    height: 25rem;
    border-bottom: .1rem #ddd solid;
    overflow-y: auto
}

.consult .window .top ul li {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    padding: 1rem 0;

}

.consult .window .top ul li.left {
    justify-content: flex-start;
    margin-right: 5rem;
}

.consult .window .top ul li.right {
    justify-content: flex-end;
    margin-left: 5rem;
}

.consult .window .top ul li img {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
}

.consult .window .top ul li p {
    position: relative;
    margin: 0 1rem;
    padding: .5rem 2rem;
    background-color: #f4f4f4;
    border-radius: .8rem;
    filter: drop-shadow(.2rem .2rem .2rem #ddd);
    text-align: left;

}

.consult .window .top ul li.right p {
    background-color: #439DF8;
    color: #fff;

}

.consult .window .top ul li.left p:before {
    position: absolute;
    top: 30%;
    left: -.7rem;
    content: "";
    width: 0;
    height: 0;
    border-top: .5rem solid transparent;
    border-right: 1rem solid #f4f4f4;
    border-bottom: .5rem solid transparent;
}

.consult .window .top ul li.right p:before {
    position: absolute;
    top: 30%;
    right: -.7rem;
    content: "";
    width: 0;
    height: 0;
    border-top: .5rem solid transparent;
    border-left: 1rem solid #439DF8;
    border-bottom: .5rem solid transparent;
}

.consult .window .bottom {
    height: 10rem;
    position: relative;

}

.consult .window .bottom textarea {
    width: 100%;
    height: 95%;
    padding: 2rem;
    border: none;
    resize: none;
}

textarea:focus {
    outline: none;
}

.consult .window .bottom .send {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    width: 8rem;
    height: 4rem;
    background: #439DF8;
    border-radius: 100px;
    text-align: center;
    line-height: 4rem;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;

}

.consult .sider {
    width: 20%;
    height: 40rem;
    background-color: #f8f8f8;
    border: .1rem #ddd solid;
    border-radius: 1rem;
    padding: 1rem 2rem;

}

.consult .sider .sider-con {
    margin-bottom: 1rem;
}

.consult .sider .sider-con .title {
    font-size: 2rem;
    line-height: 4rem;
    border-bottom: 1px solid #eee;
}

.consult .sider .sider-con p {
    line-height: 3rem;
    font-size: 1.4rem;
    cursor: pointer;
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    /*white-space: nowrap;*/
}

#myModal .modal-body p {
    font-size: 1.8rem;
    padding: 1rem;
    line-height: 2rem;
    text-indent: 2rem;
}

#myModal .modal-dialog {
    margin-top: 20rem;
}


