.consult,
.back-top {
    width: 60px;
    height: 60px;
    background-color: #ddd;
    border-radius: 10px;
    background-image: url('../images/icon/consult.png');
    background-size: 31px 26px;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    bottom: 140px;
    right: 20px;
    cursor: pointer;
    z-index: 10;
}

.back-top {
    bottom: 70px;
    background-image: url('../images/icon/back-top.png');
    background-size: 22px 24px;
}

.consult-word,
.back-top-word {
    width: 60px;
    height: 60px;
    background-color: #298EC6;
    border-radius: 10px;
    font-size: 16px;
    color: #fff;
    text-align: center;
    line-height: 20px;
    padding: 10px;
    box-sizing: border-box;
    position: absolute;
    left: 0px;
    top: 0px;
    opacity: 0;
    transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    -ms-transition: all 1s;
}

.consult:hover,
.back-top:hover {
    background-image: none;
}

.consult:hover .consult-word,
.back-top:hover .back-top-word {
    opacity: 1;
}


/* 咨询弹框 */

.consult-shadow {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
}

.consult-form {
    position: relative;
    /* top: 100px;
    left: calc(50% - 400px); */
    /* z-index: 1001; */
    width: 640px;
    height: 376px;
    /* margin: 40px auto 75px; */
    margin: 50px auto 0;
    padding: 60px 0 0;
    border: 1px dashed #fff;
    text-align: left;
    background-color: #fff;
    box-shadow: 0px 1px 12px 0px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.consult-form .form-item-inline {
    display: inline-block;
    line-height: 40px;
    margin-bottom: 20px;
    vertical-align: middle;
}

.consult-form .form-item-inline .form-label {
    display: inline-block;
    width: 100px;
    text-align: right;
    padding-right: 8px;
    box-sizing: border-box;
}

.consult-form .form-item-inline input,
.consult-form .form-item-inline textarea,
.consult-form .project-select,
.consult-form .project-list {
    display: inline-block;
    vertical-align: middle;
    height: 40px;
    width: 166px;
    line-height: 38px;
    background: none;
    padding: 0 20px;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 4px 4px 4px 4px;
    box-sizing: border-box;
}

.consult-form .form-item-inline .project-list {
    display: none;
    width: 462px;
    height: 165px;
    overflow-y: auto;
    padding: 0;
    position: absolute;
    left: 105px;
    top: 103px;
    background-color: #f2f2f2;
    cursor: pointer;
}

.consult-form .form-item-inline .project-list li {
    border-bottom: 1px solid #1a1a1a;
    padding: 0 20px;
    color: #1a1a1a;
}

.consult-form .form-item-inline .project-list li:nth-last-child(1) {
    border: none;
}

.consult-form .form-item-inline textarea {
    width: 462px;
    height: 100px;
    line-height: 24px;
    padding: 10px 20px;
}

.consult-form input::-webkit-input-placeholder,
.consult-form textarea::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-size: 14px;
    color: #1a1a1a;
    font-family: Arial;
}

.consult-form input::-moz-placeholder,
.consult-form textarea::-moz-placeholder {
    /* Firefox 19+ */
    font-size: 14px;
    color: #1a1a1a;
}

.consult-form input:-ms-input-placeholder,
.consult-form textarea:-ms-input-placeholder {
    /* IE 10+ */
    font-size: 14px;
    color: #1a1a1a;
}

.consult-form input:-moz-placeholder,
.consult-form textarea:-moz-placeholder {
    /* Firefox 18- */
    font-size: 14px;
    color: #1a1a1a;
}

.consult-form .submit-btn {
    width: 200px;
    height: 40px;
    line-height: 38px;
    font-size: 18px;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 20px 20px 20px 20px;
    margin: 0px auto;
    cursor: pointer;
    border: 1px solid #1a1a1a;
}

.consult-form-box .close-btn {
    width: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.product-title {
    font-size: 24px;
    color: #1a1a1a;
}

.product-title-line {
    width: 40px;
    height: 4px;
    background-color: #1a1a1a;
    margin: 10px auto;
}

.consult-form-box {
    position: fixed;
    top: 100px;
    left: calc(50% - 360px);
    z-index: 1001;
    width: 720px;
    height: 530px;
    border: 1px dashed #fff;
    text-align: left;
    background-color: #fff;
    box-shadow: 0px 1px 12px 0px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    display: none;
    border-radius: 10px;
}