﻿@charset "utf-8";
/* CSS Document */

/* -------------------- banner --------------------  */

.container-banner .banner {
    width: 100%;
}

.context .title {
    color: #1491fe;
    font-size: 34px;
    line-height: 130%;
}

.context .text {
    color: #999;
    font-size: 14px;
}

.content .feature .container {
    display: block;
    max-width: 1050px;
    margin: 0 auto;
}

.content .feature .context {
    position: relative;
    width: 345px;
    margin-top: 130px;
    padding: 10px 15px 15px;
    -webkit-transition: all 0.75s ease;
    -moz-transition: all 0.75s ease;
    -ms-transition: all 0.75s ease;
    -o-transition: all 0.75s ease;
    transition: all 0.75s ease;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.content .feature .context,
.content .feature .figure {
    visibility: hidden;
}

.content .feature .context:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: top;
    background: #fff;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
    transform: scaleY(0);
    z-index: -1;
    border-radius: 4px;
}

.content .feature .context:hover {
    -webkit-transform: translateY(-10%);
    -moz-transform: translateY(-10%);
    -ms-transform: translateY(-10%);
    -o-transform: translateY(-10%);
    transform: translateY(-10%);
}

.content .feature .context:hover:after {
    transform-origin: bottom;
    -webkit-transform: scaleY(1);
    -moz-transform: scaleY(1);
    -ms-transform: scaleY(1);
    -o-transform: scaleY(1);
    transform: scaleY(1);
    box-shadow: 0 8px 15px #c5c5c5;
}

.content .feature .figure {
    margin: 27px 0;
}

.content .feature:nth-child(even) {
    background: #fcfcfe;
}

.content .feature:nth-child(odd) .context,
.content .feature:nth-child(even) .figure {
    float: right;
}

.content .feature:nth-child(even) .context,
.content .feature:nth-child(odd) .figure {
    float: left;
}

.fadeInUp {
    -webkit-animation: 0.75s fadeInUp ease;
    -o-animation: 0.75s fadeInUp ease;
    animation: 0.75s fadeInUp ease;
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 50%, 0);
        transform: translate3d(0, 50%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 50%, 0);
        transform: translate3d(0, 50%, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

/* 用于手机端：../mobi/feature.aspx */
@media (max-width: 640px) {

    .content .feature:nth-child(odd) .context,
    .content .feature:nth-child(even) .figure,
    .content .feature:nth-child(even) .context,
    .content .feature:nth-child(odd) .figure {
        float: none;
    }

    .content .feature .context {
        margin: 0;
    }

    .content .feature .context,
    .content .feature .figure {
        width: 100%;
    }

    .content .feature .context,
    .content .feature .figure {
        visibility: visible;
    }

    .content .feature .figure {
        margin: 0;
    }

    .context .title {
        font-size: 26px;
    }
}