.ylcontact {
    margin: 20px 0;
}

.ylcontact .list ul li {
    width: 32%;
    height: 262px;
    float: left;
    -moz-box-shadow: 0 4px 4px 1px #f0f0f0;
    -webkit-box-shadow: 0 4px 4px 1px #f0f0f0;
    box-shadow: 0 4px 4px 1px #f0f0f0;
    text-align: center;
}

.ylcontact .list ul li:hover {

    -moz-box-shadow: 0 4px 4px 1px #e6e6e6;

    -webkit-box-shadow: 0 4px 4px 1px #e6e6e6;

    box-shadow: 0 4px 4px 1px #e6e6e6;

}



.ylcontact .list ul li:nth-child(1) {

    border-top: 2px solid #818080;

}

.ylcontact .list ul li:nth-child(1) p:hover {

    color: #ec6900;

}

.ylcontact .list ul li:nth-child(1):hover .rel-educa-pic {

    transform: translateY(-10px);

}





.ylcontact .list ul li:nth-child(2) {
	margin: 0 2%;
    border-top: 2px solid #818080;

}

.ylcontact .list ul li:nth-child(2) p:hover {

    color: #00a6d1;

}

.ylcontact .list ul li:nth-child(2):hover .rel-educa-pic {

    transform: translateY(-10px);

}





.ylcontact .list ul li:nth-child(3) {

    border-top: 2px solid #818080;

}

.ylcontact .list ul li:nth-child(3) p:hover {

    color: #b7d331;

}

.ylcontact .list ul li:nth-child(3):hover .rel-educa-pic {

    transform: translateY(-10px);

}

.ylcontact .list ul li img {

    width: 74px;

    height: 74px;

    object-fit: cover;

    margin-top: 40px;

    transition: all .6s ease-in-out;

}



.ylcontact .list ul li h4 {

    font-size: 20px;

    color: #555555;

    font-weight: bold;

    margin-top: 20px;

}



.ylcontact .list ul li i {

    width: 22px;

    height: 1px;

    background-image: url('../images/about/line.png');

    background-repeat: no-repeat;

    display: inline-block;

}



.ylcontact .list ul li p {

    font-size: 16px;

    color: #555555;

    word-wrap: break-word;

    width: 90%;

    margin:0 auto;

    margin-top: 10px;

    line-height: 22px;

}
.biao{margin-bottom: 20px;}
.biao .biao-title h3{text-align: center;margin-top: 10px;}
.biao .message{width: 48%;height: 40px;line-height: 40px;padding: 0;margin: 0;box-sizing: border-box;border: 1px solid #c2c2c2; }
.biao .message:nth-child(2){margin: 0 1.56%;}
.biao textarea{width: 100%;height: 200px;max-width: 100%;max-height: 250px;margin: 20px 0;border: 1px solid #c2c2c2;padding-left: 10px;}
.biao form{text-align: center;}
.biao .btn{padding: 10px 30px;color: #fff;background: #555}

.map {
    margin: 30px 0;
}
input::-webkit-input-placeholder {
padding-left: 10px; /*WebKit browsers*/
}
input::-moz-placeholder {
padding-left: 10px; /*Mozilla Firefox 4 to 18 */
}
input::-moz-placeholder {
padding-left: 10px; /*Mozilla Firefox 19+ */
}
input::-ms-input-placeholder {
padding-left: 10px; /*Internet Explorer 10+*/ 
}

@media screen and (max-width: 1200px){
    .ylcontact{
        margin: 0;
    }
    .ylcontact .list ul li{
        width: 100%;
        height: 210px;
        margin-bottom: 15px;
    }
    .ylcontact .list ul li img{
        margin-top: 20px;
    }
    .ylcontact .list ul li h4{
        margin-top: 10px;
    }
    .ylcontact .list ul li:nth-child(2){
        margin: 0;
        margin-bottom: 15px;
    }
    .ylcontact .list ul li p{
        margin-top: 0px;
    }
    .ylcontact .list ul li i{
        display: none;
    }
    .biao .message{width: 100%;margin: 0;padding-left: 0;margin-bottom: 10px;}
    .biao .message:nth-child(2){margin: 0;margin-bottom: 10px;}
    .biao textarea{margin: 0 0 10px 0;}
    .biao .btn{padding: 8px 20px;}
}