@media screen and (min-width:960px) {
    .foster-wears {
        width: 100%;
        height: 13.56rem;
        background: url(/img/html5_join/course/ky/foster-big-beijing.png) no-repeat;
        background-size: 100% 11rem;
        padding-top: 0.3rem;
    }
   
    .foster-wears hgroup h2 {
   
        padding-top: 0.6rem;
        margin-bottom: 0.5rem;
        width: 100%;
        display: flex;
        justify-content: center;
        height: 0.92rem;
   
    }
   
    .peiy-ding-all {
        margin: 0 3rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
   
    }
   
    .peiy-ding-all dl {
        width: 4.2rem;
        height: 3rem;
        background: #FFFFFF;
        border-radius: 0.2rem;
        margin-bottom: 0.3rem;
        transition: all 1s;
        -moz-transition: all 1s;
        -webkit-transition: all 1s;
    }
   
    .peiy-ding-all dl:hover {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
        background: rgba(230, 38, 38, 0.5000);
    }
   
    .peiy-ding-all dl dt {
        display: flex;
        justify-content: center;
    }
   
    .peiy-ding-all dl dt img {
        padding-top: 0.5rem;
        margin-bottom: 0.3rem;
    }
   
    .peiy-ding-all dl dd {
        font-size: 10px;
        text-align: center;
    }
   
    .peiy-ding-all dl dd strong {
        font-size: 0.24rem;
        font-family: Source Han Sans CN;
        font-weight: bold;
        color: #333333;
        line-height: 0.24rem;
        margin-bottom: 0.25rem;
        display: inline-block;
    }
   
    .peiy-ding-all dl dd strong a {
        font-weight: bold;
        color: #333333;
    }
    .peiy-ding-all dl:hover dd strong a{
        font-weight: bold;
        color: #fff;
    }
   
    .peiy-ding-all dl dd p {
        width: 3.8rem;
        font-size: 0.16rem;
        font-family: Source Han Sans CN;
        font-weight: 400;
        color: #333333;
        line-height: 0.24rem;
        margin: 0 auto;
        text-align: center;
    }
    .peiy-ding-all dl:hover dd p{
        color: #fff;
    }
}

@media screen and (max-width:960px) {




    .foster-wears {
        width: 100%;
        height: 3.9rem;
        background: url(/img/html5_join/course/ky/yd-foster-big-beijing.png) no-repeat;
        background-size: 100% 3.9rem;
        padding-top: 0.2rem;
    }

    .foster-wears hgroup h2 {
        padding-top: 0.45rem;
        margin-bottom: 0.25rem;

        display: flex;
        justify-content: center;
    }

    .foster-wears hgroup h2 img {
        width: 3.55rem;
    }

    .peiy-ding-all {
        margin: 0 0.25rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;

    }

    .peiy-ding-all dl {
        /* width: 4.2rem;
    height: 3rem;
    background: #FFFFFF;
    border-radius: 0.2rem;
    
    transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s; */
        margin-bottom: 0.15rem;
    }

    .peiy-ding-all dl:hover {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    .peiy-ding-all dl dt {
        width: 0.5rem;
        height: 0.5rem;
        background: #FFFFFF;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        line-height: 0.5rem;
        align-items: center;
        margin: 0 auto;
        margin-bottom: 0.1rem;
    }

    .peiy-ding-all dl:nth-of-type(1) dt img {
        width: 0.25rem;
        height: 0.25rem;
    }

    .peiy-ding-all dl:nth-of-type(2) dt img {
        width: 0.25rem;
        height: 0.25rem;
    }

    .peiy-ding-all dl:nth-of-type(3) dt img {
        width: 0.25rem;
        height: 0.25rem;
    }

    .peiy-ding-all dl:nth-of-type(4) dt img {
        width: 0.25rem;
        height: 0.18rem;
    }

    .peiy-ding-all dl:nth-of-type(5) dt img {
        width: 0.25rem;
        height: 0.23rem;
    }

    .peiy-ding-all dl:nth-of-type(6) dt img {
        width: 0.25rem;
        height: 0.25rem;
    }

    .peiy-ding-all dl:nth-of-type(7) dt img {
        width: 0.13rem;
        height: 0.25rem;
    }

    .peiy-ding-all dl:nth-of-type(8) dt img {
        width: 0.19rem;
        height: 0.18rem;
    }

    .peiy-ding-all dl:nth-of-type(9) dt img {
        width: 0.21rem;
        height: 0.21rem;
    }

    /* .peiy-ding-all dl dt img {
    padding-top: 0.5rem;
    margin-bottom: 0.3rem;
} */

    .peiy-ding-all dl dd {
        font-size: 10px;
        text-align: center;
    }

    .peiy-ding-all dl dd strong {
        font-size: 0.11rem;
        font-family: Source Han Sans CN;
        font-weight: bold;
        color: #333333;
        line-height: 0.12rem;
        margin-bottom: 0.12rem;
        display: inline-block;
    }

    .peiy-ding-all dl dd strong a {
        font-weight: bold;
        color: #333333;
    }

    .peiy-ding-all dl dd p {
        width: 1rem;
        font-size: 0.1rem;
        font-family: Source Han Sans CN;
        font-weight: 400;
        color: #333333;
        line-height: 0.12rem;
        margin: 0 auto;
        text-align: center;
        white-space: nowrap;
        /*内容超宽后禁止换行显示*/
        overflow: hidden;
        /*超出部分隐藏*/
        text-overflow: ellipsis;
        /*文字超出部分以省略号显示*/
    }






    
}