/* *{
    padding: 0;
    margin: 0;
} */
@keyframes scaleDraw {  /*定义关键帧、scaleDrew是需要绑定到选择器的关键帧名称*/
    0%{
        transform: scale(1);  /*开始为原始大小*/
    }
    /* 25%{
        transform: scale(1.1); 
    } */
    50%{
        transform: scale(1.1);
    }
    100%{
        transform: scale(1);
    }
}
#page_content h3{
    font-size: 20px;
}
.banner{
    width: 100%;
    justify-content: center;
}
.banner img{
    width: 100%;
}
.banner h1{
    color: white;
    text-align: center;
    font-weight: bold;
    margin: 0 auto;
    position: absolute;
    /* top: 40%; */
}
.banner span{
    color: white;
    /* text-align: center; */
    font-weight: bold;
    margin: 0 auto;
    font-size: small;
}

.main-content{
    background-image: url('https://www.yamaha-motor.com.cn/mc/server/information/img_new/service01-bg.jpg');
    background-size: cover;
}

.main-contents a{
    font-weight: bold;
}

.modal-header{
    border-bottom: 0px;
}
.modal-title{
    font-weight: bold;
}
.modal-header .close {
    margin-top: -25px;
    margin-right: -25px;
    opacity: 1;
}
.btn-lg{
    position: relative;
}
.modal-content{
    padding-bottom: 25px;
    
}
.modal-pcset{
    display: none;
    position: absolute;
    z-index: 99999;
    width: 500px;
    left: -300%;
    top: -517px;
    background-color: #fff;
}
.btn-lg:hover .modal-pcset{
    display: block;
}
/* button.close{
    background-image: url(../img/m-close.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
} */
/* .btn-primary{
    color: black;
    background-color: unset;
    border-color: unset;
} */

.service-item{
    margin: 5% 0;
    position: relative;
    z-index: 1;
}
.service-item:hover{
    z-index: 2;
}
.service-item img{
    width: 50%;
}
.service-item img:hover,.service-idea img:hover{
    -webkit-animation-name: scaleDraw; /*关键帧名称*/
    -webkit-animation-timing-function: ease-in-out; /*动画的速度曲线*/
    -webkit-animation-iteration-count: infinite;  /*动画播放的次数*/
    -webkit-animation-duration: 2s; /*动画所花费的时间*/
}
.service-text{
    background-color: rgb(255, 255, 255,0.8);
    position: relative;
    margin: -3%;
    padding: 3%;
    box-shadow: 2px 2px 7px 1px rgb(154 154 154);
    width: 50%;
    min-width: 300px;
    z-index: 999;
}
.service-text p{
    margin: 30px 0;
}

.service-text a{
    padding: 0;
    color: black;
    text-decoration: underline;
    font-size: 18px;
    margin-right: 10px;
}
.service-text:hover{
    color: rgb(9,75,171);
}
.service-text a:hover{
    color: rgb(9,75,171);
}

/* .serviece-text-l{
    color: rgb(9,75,171);
} */
/* .serviece-text-l p{
    color: black;
} */

.service-idea{
    width: 90%;
    margin: auto;
    background-image: url(https://www.yamaha-motor.com.cn/mc/server/information/img_new/service01-m-bg.jpg);
}
.service-idea-img{
    width: 50%;
    height: auto;
}
.service-idea-text{
    width: 50%;
    padding: 2%;
}
.service-idea-text h3{
    font-weight: bolder;
}
.mymodal .modal-header,.modal-pcset .modal-header{
    display: block;
}
.modal-pcset .modal-header{
    padding: 15px;
}
.modal-pcset{
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
    border-radius: 5px;
}
.mymodal .modal-header img{
    max-width: 130px;
}
.mymodal .modal-header button{
    position: absolute;
    top: 20px;
    right: 20px;
}
@media screen and (max-width: 991px){
    .flex-set{
        display: flex;
        flex-wrap: wrap;
    }
    .change_wz{
        flex-direction: column-reverse;
    }
    .main-contents{
        padding: 7% 0;
    }
    /* .service-item{
        margin: 0;
    } */
    .service-item img{
        width: 100%;
    }
    .service-text{
        margin: 0;
        box-shadow: 0px 0px 2px 0px rgb(154 154 154);
        padding: 3% 3% 10% 3%;
    }
    .service-text{
        width: 100%;
    }
    .service-idea-text h3{
        font-size: 20px;
    }
    .service-idea-img{
        width: 45%;
    }
    .service-idea-text{
        width: 50%;
    }
    .service-text:hover{
        color: black;
    }
    .service-item img:hover{
        -webkit-animation-name: none;
    }
    .modal-content{
        width: 95%;
        margin: auto;
    }
    .modal-header .close{
        margin-top: -30px;
        margin-right: -25px;
    }
}

