@charset "utf-8";

.head-page .contact_item span{
    color: #B21623;
    font-weight: 600;
}
.head-page .contact_item>a:after {
    transform: scale(1);
    opacity: 1;
}
.head-page .contact_item>a::before{
    opacity: 1;
    transform: scale(1);
}
.contant_map{
    width: 50%;
    height: 495px;
}
.contant_map img {
    max-width: initial;
}

.allmap_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 3;
}
.map_box {
    padding: 45px 0;
    box-sizing: border-box;
    width: 47%;
    background: #FEFEFF;
    position: relative;
}
.map_box::after {
    content: "";
    display: block;
    width: 100%;
    height: 333px;
    background: url(../img/contant_map_bg.png) no-repeat center/cover;
    position: absolute;
    left: 0;
    top: 0;
}
.map_box .page_title {
    position: relative;
    z-index: 1;
}
.map_texts {
    margin-top: 38px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}
.map_texts .map_item {
    margin-bottom: 11px;
}
.map_texts .map_item:last-child {
    margin-bottom: 0;
}
.map_texts .map_item .map_tit{
    display: flex;
    align-items: center;
}
.map_texts img {
    margin-right: 10px;
    float: left;
}
.map_texts .map_item .map_text{
    width: 100%;
   
}
.contact_pg02 .item {
    width: 49%;
    margin-bottom: 20px;
    margin-right: 2%;
}
.contact_pg02 .item:nth-child(2n) {
    margin-right: 0;
}
.contact_pg02 .item input{
    width: 100%;
    height: 65px;
    line-height: 65px;
    color: #666;
    outline: none;
    padding: 0 30px;
    box-sizing: border-box;
    border: 1px solid #fff;
    background: #F4F4FA;
}
.contact_pg02 textarea {
    width: 100%;
    height: 220px;
    padding: 20px 30px;
    box-sizing: border-box;
    border: none;
    outline: none;
    color: #333;
    background: #F4F4FA;
}
.contact_pg02 .sub-btn {
    width: 200px;
    height: 53px;
    border: 1px solid #E5E5E5;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 65px auto 0;
    background: #fff;
}
.contact_pg02 .sub-btn::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #B21623;
    transition: all .4s;
    z-index: -1;
}
.layui-form-danger+.layui-form-select .layui-input, .layui-form-danger:focus{
    border-color: #B21623;
    box-shadow: none!important;
}
.contact_pg02 .sub-btn:hover {
    color: #FFFFFF;
    opacity: 1;
}
.contact_pg02 .sub-btn:hover::after {
    width: 100%;
}


@media only screen and (max-width: 768px) {
    .allmap_content{
        position: initial;
        transform: translate(0);
    }
    .contant_map {
        height: 230px;
        width: 100%;
    }
    .map_box{
        padding: 25px 0;
        width: 100%;
        height: auto;
    }
    .map_box::after{
        height: 100%;
    }
    .contact_pg02 .item {
        width: 100%;
        margin-bottom: 15px;
        margin-right: 0;
    }
    .contact_pg02 .item input{
        height: 45px;
        line-height: 45px;
        padding: 0 15px;
    }
    .contact_pg02 textarea{
        padding: 20px 15px;
    }
    .contact_pg02 .sub-btn {
        width: auto;
        padding: 0 30px;
        height: 45px;
        margin: 30px auto 0;
    }
    .map_box .page_title{
        text-align: center;
    }
    .map_texts{
        margin-top: 20px;
    }
    .map_texts .map_item .map_tit{
        width: 72px;
    }
    .map_texts .map_item .map_text {
        width: calc(100% - 72px);
    }
    
}