@import 'base_m';

$themeColor: #2593EB;

body { background: #fff;font-family: 'Microsoft YaHei', Arial;}
.wrap {
    margin: 0 0.6rem;
}

.down-block {
    background: rgba(0,0,0,0.7);
    padding: 0.18rem 0.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    .left {
        display: flex;
        align-items: center;
        .img {
            width: 0.84rem;
            height: 0.84rem;
            margin-right: 0.28rem;
        }
        .text {
            line-height: 1;
            font-size: 0.24rem;
            color: #fff;
            p + p {
                font-size: 0.28rem;
                margin-top: 0.14rem;
            }
        }
    }
    .right {
        .down-btn {
            display: block;
            border-radius: 0.3rem;
            height: 0.6rem;
            font-size: 0.28rem;
            color: #fff;
            line-height: 0.6rem;
            padding: 0 0.15rem;
            background: url("../images/down-bg.png")no-repeat center;
            background-size: 100% 100%;
            white-space: nowrap;
        }
    }
    
}

.banner {
    width: 100%;
    height: 3.58rem;
    background: url("../images/banner-bg.png")no-repeat bottom center;
    background-size: 100% 100%;
    .wrap {
        display: flex;
        justify-content: center;
        .img { width: 1.37rem; }
        .slogan {
            width: 3.68rem;
            margin-left: 0.5rem;
            padding-top: 0.68rem;
        }
    }
}

section {
    .sec-head {
        background: #f6f6f6;
        padding: 0.2rem 0;
        font-size: 0.32rem;
        text-align: center;
        color: #363635;
        line-height: 1;
        border-bottom: 1px solid #eee;
        .sec-head-tip {
            font-size: 0.16rem;
            color: #abaaaa;
            margin-top: 0.1rem;
        }
    }
    .sec-body {
        background: #fff;
        padding: 0.38rem 0 0.26rem;
        .sec-items {
            
        }
    }

    &.section-1 .sec-body {
        color: #333333;
        text-align: center;
        .sec-msg {
            font-size: 0.24rem;
            line-height: 1;
            p {
                margin-bottom: 0.26rem;
                &:last-of-type { margin-bottom: 0; }
            }
            span { color: $themeColor; }
        }
        .sec-items {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0.49rem auto 0;
            .item {
                flex: 0 0 auto;
                font-size: 0.22rem;
                .img {
                    width: 0.98rem;
                    height: 0.98rem;
                    margin-bottom: 0.2rem;
                    border: 1px solid $themeColor;
                    border-radius: 50%;
                    padding: 0.06rem;
                }
            }
            .line {
                width: 50%;
                height: 0.02rem;
                background: #ff9564;
                position: relative;
                margin-top: -0.43rem;
                &:before {
                    content: '';
                    display: block;
                    width: 0.11rem;
                    height: 0.11rem;
                    background: #ff9564;
                    border-radius: 50%;
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    z-index: 1;
                    margin-top: -0.055rem;
                    margin-left: -0.055rem;
                }
            }
        }
    }

    &.section-2 .sec-body, &.section-3 .sec-body {
        .sec-items {
            .item {
                display: flex;
                & + .item { margin-top: 0.4rem; }
                .img { 
                    width: 0.99rem; 
                    margin-right: 0.29rem; 
                    flex: 0 0 auto;
                    padding-top: 0.16rem;
                }
                .msg {
                    font-size: 0.22rem;
                    color: #666666;
                    line-height: 1.8;
                    h5 {
                        color: #333;
                        font-size: 0.26rem;
                        margin-bottom: 0.15rem;
                        line-height: 1;
                    }
                }
            }
        }
    }

    &.section-3 .sec-body {
        padding-top: 0.51rem;
        padding-bottom: 1.27rem;
        background: #fff url("../images/bg-1.png")no-repeat center bottom;
        background-size: 100% 0.88rem;
        .sec-items{
            position: relative;
            &:before {
                content: '';
                display: block;
                border-left: 1px dashed $themeColor;
                height: 75%;
                position: absolute;
                top: 0.49rem;
                left: 0.49rem;
                z-index: 0;
            }
            .item {
                .img { position: relative;z-index: 1;padding-top: 0; }
                .msg { color: #333; }
                & + .item { margin-top: 0.85rem; }
            } 

        } 
    }
    &.section-4 .sec-body { 
        padding-bottom: 0;
        .sec-left {
            background: #fdfbfa;
            padding: 0.68rem 0 0.62rem;
            min-height: 4.8rem;
            position: relative;
            &:before {
                content: '';
                display: block;
                border-top: 0.13rem solid #bbb;
                border-left: 0.13rem solid transparent;
                border-right: 0.13rem solid transparent;
                position: absolute;
                top: 0;
                left: 50%;
                margin-left: -0.13rem;
                z-index: 1;
            }
            .person {
                display: none;
                &.active { display: flex; }
                .img {
                    width: 1.67rem;
                    height: 1.67rem;
                    border-radius: 50%;
                    overflow: hidden;
                    margin: 0 auto;
                    flex: 0 0 auto;
                    box-shadow: 0rem 0.03rem 0.21rem 0rem rgba(126, 126, 126, 0.35);
                }
                .msg {
                    font-size: 0.22rem;
                    color: #666666;
                    line-height: 1.8;
                    margin-left: 0.25rem;
                    h5 {
                        line-height: 1;
                        font-size: 0.26rem;
                        color: #333;
                        margin-bottom: 0.38rem;
                    }
                }
            }
        }
        .person-swiper {
            background: url("../images/bg-2.png") no-repeat center top;
            background-size: 95% auto;
            .swiper-slide-active {
                .item {
                    .img{
                        &:after {display: none!important;}
                        width: 1.34rem!important;
                        height: 1.34rem!important;
                        margin-left: -0.2rem;
                        margin-top: -0.2rem;
                    }
                    p {
                        display: block!important;
                        margin-left: -10%;
                    }
                } 
                
            }
            .items {
                width: 100%;
                padding-top: 0.86rem;
                padding-bottom: 0.99rem;
                .item {
                    position: relative;
                    cursor: pointer;
                    .img {
                        width: 0.9rem;
                        height: 0.9rem;
                        border-radius: 50%;
                        overflow: hidden;
                        position: relative;
                        box-shadow: 0rem 0.03rem 0.21rem 0rem rgba(126, 126, 126, 0.35);
                        &:after {
                            content: '';
                            display: block;
                            width: 100%;
                            height: 100%;
                            background: rgba(255,255,255,0.4);
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: 1;
                            pointer-events: none;
                        }
                    }
                    p {
                        display: none;
                        position: absolute;
                        left: 50%;
                        bottom: -0.57rem;
                        z-index: 1;
                        font-size: 0.22rem;
                        color: #333333;
                        white-space: nowrap;
                        transform: translate(-50%, 0);
                    }
                    &.active {
                        margin-top: -0.36rem;
                        width: 1.62rem;
                        height: 1.62rem;
                        @keyframes myscale {
                            from {
                                width: 0.9rem;
                                height: 0.9rem;
                            }
                            to {
                                width: 1.62rem;
                                height: 1.62rem;
                            }
                        }
                        .img {
                            animation: myscale 450ms ease-out forwards;
                            &:after { display: none; }
                            box-shadow: 0 0.03rem 0.21rem 0 rgba(126, 126, 126, 0.35);
                        }
                        p { display: block; }
                    }
                }
            }
        }
    }
}

footer {
//  height: 1rem;
    background: #484f5c;
    color: #fff;
    font-size: 0.16rem;
    padding: 0.2rem 0.3rem 0.3rem 0.3rem;
    .foot-address{
        font-size: 0.18rem;
        display: flex;
        align-items: center;
        .foot-address-img{
            color: #fff;
            display: flex;
            margin-right: 0.5rem;
            align-items: center;
            margin-bottom: 0.15rem;
            span{
                display: block;
            }
           .spn-img{
               width: 0.18rem;
               height: 0.18rem;
               margin-right: 0.1rem;
               img{
                   display: inline-block;
                   width: 100%;
                   height: 100%;
                   background-size: 100% 100%;
               }
           }
           .spn-text{
               font-size: 0.18rem;
           }
            
        }
    }
    .foot-text {
        display: flex;
//      justify-content: center;
        white-space: nowrap;
        margin-top: 0.15rem;
         display: flex;
//      justify-content: center;
        flex-wrap: wrap;
        p { 
            padding: 0 0.2rem;
            margin-bottom: 0.05rem;
            border-right: 0.02rem solid #fff;
            &:first-child {
                padding-left: 0;
            }
            &:last-child {
                padding-right: 0;
                border-right: 0;
            }
        }
        .public-text{
            display: flex;
            align-items: center;
            .public-img{
                width: 0.28rem;
                height: 0.28rem;
                img{
                    width: 100%;
                    height: 100%;
                    background-size: 100% 100%;
                }
            }
            span{
              padding-left: 5px;  
            }
        }
    }
}
.hide{
    display: none !important;
}