@import './reset.less';
@import './banner.less';
@import './tab.less';

.banner {
    // background: url(../imgs/banner_contact.jpg);
}

.contact {
    padding-top: 73px;
    display: flex;
    justify-content: space-between;

    .company-list {
        overflow: hidden;

        .company {
            width: 756px;
            // height: 200px;
            padding: 29px 40px 27px;
            border: 1px solid #D8D8D8;
            margin-bottom: 20px;
            display: flex;

            .left {
                border-right: 1px solid #D8D8D8;
                padding: 20px 41px 21px 0;

                p {
                    font-weight: 400;
                    font-size: 30px;
                    color: #343434;
                    line-height: 40px;

                }
            }

            .right {
                padding-left: 40px;
                overflow: hidden;

                p {
                    width: 526px;
                    font-weight: 400;
                    font-size: 18px;
                    color: #343434;
                    line-height: 30px;
                    height: 60px;
                    margin-top: 11px;

                    .tel {
                        width: 18px;
                        height: 18px;
                        vertical-align: middle;
                        margin-top: -4px;
                        margin-right: 4px;
                    }

                    .map {
                        width: 22px;
                        height: 22px;
                        vertical-align: middle;
                        margin-right: 4px;
                    }
                }
            }
        }
    }

    .form {
        width: 590px;
        overflow: hidden;
    }


    .tips {
        font-weight: 400;
        font-size: 14px;
        color: @primary;
        line-height: 26px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
}

.code {
    width: calc(100% - 8px);
    height: 66px;
    background: @primary;
    margin-left: 8px;
}

.el-input__inner {
    height: 66px;
    line-height: 66px;
}

.form-group {
    margin-bottom: 20px;
}
.form-group input{ width: 100%; height:38px;
    line-height: 38px;}
.form-group textarea{ width: 100%; height:58px;
    line-height: 38px;}
.el-textarea__inner {
    height: 166px;
}


#map {
    height: 767px;

}

.map {
    width: 100%;
    position: relative;
    height: 767px;

    .position {
        position: absolute;
        // left: 0;
        // top: 0;
        // right: 0;
        // bottom: 0;
        left: 13.9%;
        top: 135px;
        z-index: 8;

        // .p-box {
        //     width: 512px;
        //     padding-top: 202px;
        // }

        .p-title {
            font-weight: bold;
            font-size: 30px;
            color: #343434;
            line-height: 40px;
            margin-bottom: 27px;
        }

        .position_list {
            // width: 512px;
            // height: 366px;
            background: #FFFFFF;
            padding: 0 40px 83px 40px;
            position: relative;
            box-shadow: 0px 0px 30px 1px rgba(0, 0, 0, 0.16);

            .line {
                width: 223px;
                height: 4px;
                background: #3C4854;
                position: absolute;
                left: 0;
                top: 0;
            }

            // border-radius: 0px 0px 0px 0px;
            .position-item {
                font-weight: 400;
                font-size: 24px;
                color: #343434;
                line-height: 31px;
                padding: 33px 0 34px;
                width: 431px;
                border-bottom: 1px solid #E9E9E9;

                &:hover {
                    cursor: pointer;
                    color: #3c4854;
                }

            }

            .active-item {
                color: @red;
            }
        }
    }
}

.contactNewLine{display: none;}

@media screen and (max-width: 860px) {

    .contactNewLine{display: block;}
    .contact {
        padding-left:10px;padding-right: 25px;
		padding-bottom: 30px; padding-top: 30px;
        display: block;

        .company-list {
            .company {
                width: 100%;
                padding: 0;
                display: block;
                padding: 10px;

                .left {
                    border-right: none;
                    display: flex;
                    padding: 0;

                    p {
                        font-size: 16px;
                        line-height: 1;
                        padding: 10px 0 0 0px;
                    }
                }

                .right {
                    padding: 0;

                    p {
                        width: 100%;
                        margin-top: 0;
                        font-size: 14px;
                        line-height: 1.5;
                        height: auto;
                        padding: 10px 0;
                    }
                }
            }
        }

        .tips {
            margin: 0 0 10px;
        }

        .form {
            width: 100%;

            .el-input__inner {
                height: 36px;
                line-height: 36px;
            }

            .code {
                height: 36px;
            }

            .el-textarea__inner {
                height: 100px;
            }
        }
    }

    .map {
        .position {
            left: 5%;
            top: 0;

            .p-title {
                font-size: 16px;
                line-height: 2;
                margin-bottom: 10px;
            }

            .position_list {
                padding: 0;

                .line {
                    width: 50px;
                }

                .position-item {
                    width: 150px;
                    padding: 10px 5px;
                    font-size: 14px;
                    line-height: 2;
                }
            }
        }
    }
}