@import url(main.less);

// PC
@media (min-width:@screen-sm-min){
    .banner{
        // 940px
        height: 48.9583vw;
        background: url('../images/index/response_banner.png') no-repeat;
        background-size: 100% 100%;
        position: relative;

        .text_box{
            width: 41.1458vw;
            position: absolute;
            top: 17.8125vw;
            right: 0;


            .one{
                font-size: 4.6875vw;
                font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                font-weight: 500;
                color: #333333;
                line-height: 7.0313vw;
                margin-bottom: .8854vw;
            }

            .two{
                width: 41.1458vw;
                font-size: 1.875vw;
                font-family: SourceHanSansCN-Regular, SourceHanSansCN;
                font-weight: 400;
                color: #666666;
                line-height: 2.8125vw;
            }
        }
    }

    // 山羊管家
    .housekeeper_box{
        padding: 4.0104vw 0 2.1875vw;

        .main_flex{

            .flex_1{

                .t{
                    font-size: 1.6667vw;
                    font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                    font-weight: 500;
                    color: #333333;
                    line-height: 2.0833vw;
                    margin-bottom: .4167vw;
                }

                .p{
                    font-size: 1.4583vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #666666;
                    line-height: 2.5vw;
                    margin-bottom: .4167vw;
                }
            }

            .right{
                width: 37.1354vw;
                height: 32.1875vw;
                margin-left: 5.2083vw;
            }
        }
    }

    // 紧急响应
    .response_box{
        padding: 5.3646vw 0 8.8542vw;
        background: rgba(207,209,213,0.15);
        
        .main_flex{

            .left{
                width: 25.0521vw;
                height: 20.1563vw;
                margin-right: 3.5417vw;
            }

            .flex_1{

                .t{
                    font-size: 1.4583vw;
                    font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                    font-weight: 500;
                    color: #FF7C00;
                    line-height: 2.1875vw;
                    margin-bottom: .4167vw;
                }

                .p{
                    font-size: 1.25vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #666666;
                    line-height: 2.0833vw;
                    margin-bottom: 2.1875vw;
                }
            }
        }
    }

    // 护士巡查
    .patrol_box{
        padding: 5.2083vw 0;

        .main_flex{

            .flex_1{

                .t{
                    font-size: 1.6667vw;
                    font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                    font-weight: 500;
                    color: #333333;
                    line-height: 2.0833vw;
                    margin-bottom: .4167vw;
                }

                .p{
                    font-size: 1.4583vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #666666;
                    line-height: 2.5vw;
                    margin-bottom: .4167vw;
                }
            }

            .right{
                width: 37.7083vw;
                height: 27.6042vw;
                margin-left: 6.7708vw;
            }
        }
    }

    // 在线问诊
    .inquiries_box{
        padding: 2.0833vw 0 .4167vw;
        padding-top: 5.3646vw;
        background: rgba(207,209,213,0.15);

        .main_flex{

            .left{
                width: 40.7292vw;
                height: 23.8542vw;
                margin-right: 2.4479vw;
            }

            .flex_1{
                display: flex;
                flex-wrap: wrap;

                .item{
                    flex: 1;
                    width: calc((100% - 1.4583vw) / 2);
                    min-width: calc((100% - 1.4583vw) / 2);
                    max-width: calc((100% - 1.4583vw) / 2);
                    padding: 1.1458vw;
                    box-sizing: border-box;
                    background: #F7F7F7;
                    margin-bottom: 1.4583vw;

                    &:nth-of-type(2n-1){
                        margin-right: 1.4583vw;
                    }

                    .icon{
                        width: 5.1563vw;
                        height: 5.1563vw;
                        margin-bottom: .8854vw;
                    }

                    .t{
                        font-size: 1.4583vw;
                        font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                        font-weight: 500;
                        color: #333333;
                        line-height: 2.0833vw;
                        margin-bottom: .4167vw;
                    }

                    .p{
                        font-size: 1.25vw;
                        font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                        font-weight: 400;
                        color: #666666;
                        line-height: 2.0833vw;
                    }
                }
            }
        }
    }
}

// H5
@media (max-width:@screen-xs-max){
    .banner{
        height: 139.4667vw;
        background: url('../images/index/h5/response_banner.png') no-repeat;
        background-size: 100% 100%;
        position: relative;

        .text_box{
            width: 100%;
            padding-top: 25.8667vw;
            display: flex;
            flex-direction: column;
            align-items: center;


            .one{
                font-size: 6.4vw;
                font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                font-weight: 500;
                color: #333333;
                line-height: 9.6vw;
                margin-bottom: 4.5333vw;
            }

            .two{
                font-size: 4.2667vw;
                font-family: SourceHanSansCN-Regular, SourceHanSansCN;
                font-weight: 400;
                color: #666666;
                line-height: 6.4vw;
            }
        }
    }

    // 山羊管家
    .housekeeper_box{
        padding: 9.6vw 4vw;

        .title_text{
            text-align: center;
            font-size: 5.3333vw;
            font-family: SourceHanSansCN-Medium, SourceHanSansCN;
            font-weight: 500;
            color: #333333;
            line-height: 8vw;
            margin-bottom: 3.2vw;
        }

        .main_flex{
            display: flex;
            flex-direction: column;
            align-items: center;


            .flex_1{
                padding-bottom: 5.3333vw;

                .t{
                    font-size: 4.2667vw;
                    font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                    font-weight: 500;
                    color: #333333;
                    line-height: 6.4vw;
                    margin-bottom: 2.1333vw;
                }

                .p{
                    font-size: 4.2667vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #666666;
                    line-height: 6.4vw;
                    margin-bottom: 1.0667vw;
                }
            }

            .right{
                width: 91.4667vw;
                height: 79.2vw;
            }
        }
    }

    // 紧急响应
    .response_box{
        padding: 5.3333vw 4vw;
        background: rgba(207,209,213,0.15);

        .title_text{
            text-align: center;
            font-size: 5.3333vw;
            font-family: SourceHanSansCN-Medium, SourceHanSansCN;
            font-weight: 500;
            color: #333333;
            line-height: 8vw;
            margin-bottom: 4.8vw;
        }

        .main_flex{
            display: flex;
            flex-direction: column-reverse;
            align-items: center;

            .flex_1{

                .t{
                    font-size: 4.2667vw;
                    font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                    font-weight: 500;
                    color: #FF7C00;
                    line-height: 6.4vw;
                    margin-bottom: 1.0667vw;
                    display: flex;
                    align-items: center;

                    span{
                        width: 2.1333vw;
                        height: 2.1333vw;
                        background: #FF5A09;
                        border-radius: 50%;
                        opacity: 0.65;
                        margin-right: .8vw;
                    }
                }

                .p{
                    font-size: 4.2667vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #666666;
                    line-height: 6.4vw;
                    margin-bottom: 3.2vw;
                }
            }

            .left{
                width: 92vw;
                height: 74.1333vw;
            }
        }
    }

    // 护士巡查
    .patrol_box{
        padding: 9.6vw 4vw;

        .title_text{
            text-align: center;
            font-size: 5.3333vw;
            font-family: SourceHanSansCN-Medium, SourceHanSansCN;
            font-weight: 500;
            color: #333333;
            line-height: 8vw;
            margin-bottom: 3.2vw;
        }

        .main_flex{
            display: flex;
            flex-direction: column;
            align-items: center;


            .flex_1{
                padding-bottom: 5.3333vw;

                .t{
                    font-size: 4.2667vw;
                    font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                    font-weight: 500;
                    color: #333333;
                    line-height: 6.4vw;
                    margin-bottom: 2.1333vw;
                }

                .p{
                    font-size: 4.2667vw;
                    font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                    font-weight: 400;
                    color: #666666;
                    line-height: 6.4vw;
                    margin-bottom: 1.0667vw;
                }
            }

            .right{
                width: 91.4667vw;
                height: 66.9333vw;
            }
        }
    }

    // 在线问诊
    .inquiries_box{
        padding: 7.2vw 4vw;
        background: rgba(207,209,213,0.15);
        margin-bottom: 9.6vw;

        .title_text{
            text-align: center;
            font-size: 5.3333vw;
            font-family: SourceHanSansCN-Medium, SourceHanSansCN;
            font-weight: 500;
            color: #333333;
            line-height: 8vw;
            margin-bottom: 5.6vw;
        }

        .left{
            width: 91.4667vw;
            height: 53.6vw;
        }

        .main_flex{
            display: flex;
            flex-direction: column-reverse;
            align-items: center;

            .flex_1{
                padding-bottom: 2.1333vw;
                display: flex;
                flex-wrap: wrap;

                .item{
                    flex: 1;
                    width: calc((100% - 13.8667vw) / 2);
                    min-width: calc((100% - 13.8667vw) / 2);
                    max-width: calc((100% - 13.8667vw) / 2);
                    margin-right: 6.9333vw;
                    margin-bottom: 4.2667vw;

                    .icon{
                        width: 15.2vw;
                        height: 15.2vw;
                        margin-bottom: 2.1333vw;
                    }

                    .t{
                        font-size: 3.7333vw;
                        font-family: SourceHanSansCN-Medium, SourceHanSansCN;
                        font-weight: 500;
                        color: #333333;
                        line-height: 5.6vw;
                        margin-bottom: 1.0667vw;
                    }

                    .p{
                        font-size: 3.2vw;
                        font-family: SourceHanSansCN-Normal, SourceHanSansCN;
                        font-weight: 400;
                        color: #666666;
                        line-height: 4.8vw;
                    }
                }
            }
        }
    }
}