﻿.container {
    max-width: 1200px;
}
/*遮罩层*/
.mask-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    display: none;
    height: 100vh;
    background-color: rgba(0, 0, 0, .7);
    overflow: hidden;
    z-index: 99;
    top: 0;
    left: 0;
}

    .mask-bg.active {
        display: block;
    }

/*主菜单*/
@media (min-width:1000px) /*pc端*/ {
    .header .nav-toggle {
        display: none
    }

    .nav {
        padding-top: 20px
    }

        .nav > ul > li {
            float: left;
            text-align: center;
            line-height: 70px;
        }

            .nav > ul > li > ul {
                position: absolute;
            }

            .nav > ul > li > a {
                padding: 0px 24px;
                color: #999;
                font-size: 16px
            }

                .nav > ul > li.current > a, .nav > ul > li > a:hover {
                    color: #5a342b;
                }

        .nav li:hover > ul {
            display: block;
        }

        .nav > ul > li > ul::before {
            display: block;
            margin: 0px auto;
            text-align: center;
            position: absolute;
            top: -8px;
            left: 45%;
            content: "";
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 8px solid rgba(0,0,34,0.8);
        }

        .nav > ul > li > ul li ul::before {
            display: block;
            margin: 0px auto;
            text-align: center;
            position: absolute;
            top: 20px;
            left: -10px;
            content: "";
            width: 0;
            height: 0;
            border-bottom: 5px solid transparent;
            border-right: 5px solid transparent;
            border-top: 5px solid transparent;
            border-left: 5px solid #fff;
        }

        .nav ul li ul li a {
            display: block;
            width: 100%;
            text-align: center;
            color: #fff;
            font-size: 15px;
            line-height: 50px
        }

            .nav ul li ul li a:hover {
                text-decoration: none;
                color: #fff;
                background: #000022;
            }

        .nav ul li {
            position: relative;
        }

            .nav ul li .arrow {
                display: none
            }

            .nav ul li ul {
                background: rgba(0,0,34,0.8);
                display: none;
                position: absolute;
                left: -18%;
                z-index: 2;
                width: 150px
            }
                /*二级ul样式*/
                .nav ul li ul li ul {
                    left: 100%;
                    top: 0px;
                    display: none;
                }
    /*三级以后ul样式*/
}

@media (max-width:1000px) /*手机端*/
{
    .header .logo img {
        height: 70px;
    }

    .header .nav-toggle {
        position: absolute;
        right: 0px;
        top: 0px;
        font-size: 25px;
        color: #999;
        min-width: 60px;
        height: 60px;
        line-height: 60px;
        text-align: center;
        cursor: pointer;
        z-index: 1;
    }

        .header .nav-toggle.active {
            color: #ccc;
        }

    .nav {
        position: fixed;
        z-index: 100;
        top: 0px;
        right: 0px;
        width: 0px;
        background: #fff;
        height: 100%;
        height: 100vh;
        opacity: 0;
        transition: all 0.2s linear;
        overflow-y: auto
    }

        .nav.active {
            opacity: 1;
            width: 300px;
            max-width: 60%
        }

        .nav ul li {
            line-height: 45px;
            text-align: left
        }

            .nav ul li ul {
                display: none;
            }
            /*二级ul样式*/
            .nav ul li a {
                padding-left: 30px;
                display: block;
                color: #999;
                font-size: 15px;
                line-height: 3.5;
                border-bottom: 1px solid #dcdcdc
            }

            .nav ul li ul li a {
                padding-left: 60px;
                font-size: 14px;
                background-color: #eeeeee
            }

            .nav ul li ul li ul li a {
                padding-left: 90px;
            }

            .nav ul li ul li ul li li a {
                padding-left: 120px;
            }

        .nav ul li {
            position: relative;
        }

            .nav ul li .arrow {
                position: absolute;
                right: 0px;
                top: 0px;
                width: 50px;
                height: 50px;
                line-height: 50px;
                text-align: center;
                transition-duration: 0s
            }

                .nav ul li .arrow:after {
                    font-family: FontAwesome;
                    content: "\f105";
                    display: block;
                    font-weight: bold;
                    font-size: 18px
                }

            .nav ul li.current > a {
                color: #4397de;
            }

            .nav ul li.active > ul {
                display: block
            }

            .nav ul li.active > .arrow {
                transform: rotate(90deg)
            }
}

/*子栏目样式*/
.sub-nav-box {
    clear: both;
    position: relative;
}

    .sub-nav-box .sub-nav-title {
        line-height: 57px;
        text-align: left;
        background: #ad7669;
        padding-left: 15px;
        font-size: 22px;
        color: white;
        font-family: "Microsoft YaHei",Tahoma,Verdana,"Simsun";
    }

    .sub-nav-box .sub-nav {
        clear: both;
        text-align: left;
        margin-bottom: 20px;
        width: 100%;
        overflow: visible;
        background: #fafafa;
    }

        .sub-nav-box .sub-nav li {
            width: 100%;
            padding: 0px;
            text-align: left;
            position: relative;
            display: block;
        }

            .sub-nav-box .sub-nav li a {
                display: block;
                padding-left: 25px;
                line-height: 54px;
                font-size: 14px;
                color: #808080;
                font-family: "Microsoft YaHei",Tahoma,Verdana,"Simsun";
                border-bottom: 1px #ececec solid;
                font-size: 15px
            }

                .sub-nav-box .sub-nav li a:hover {
                    color: #5a342b;
                }

            .sub-nav-box .sub-nav li ul {
                display: none
            }

                .sub-nav-box .sub-nav li ul li a {
                    padding-left: 55px;
                }

                .sub-nav-box .sub-nav li ul li ul li a {
                    padding-left: 85px
                }

    .sub-nav-box li .arrow {
        position: absolute;
        right: 0px;
        top: 0px;
        width: 54px;
        height: 54px;
        line-height: 54px;
        text-align: center;
        transition-duration: 0.1s;
        cursor: pointer
    }

        .sub-nav-box li .arrow:after {
            font-family: FontAwesome;
            content: "\f105";
            display: block;
            font-weight: bold;
            font-size: 18px
        }

    .sub-nav-box .sub-nav li.current > a {
        color: #5a342b;
    }

    .sub-nav-box .sub-nav li.active > ul {
        display: block
    }

    .sub-nav-box .sub-nav li.active > .arrow {
        transform: rotate(90deg)
    }
/*悬浮右侧功能栏*/
.rightTool {
    position: fixed;
    right: 20px;
    top: 450px;
    width: 58px;
    text-align: center;
    font-size: 12px;
    color: #999;
    font-family: 'Microsoft YaHei';
    text-align: center;
    background-color: #fff;
    border-radius: 6px;
    -moz-box-shadow: 2px -2px 6px 1px #5C5C5C;
    -webkit-box-shadow: 2px -2px 6px 1px #5C5C5C;
    box-shadow: 2px -2px 6px 1px #5C5C5C;
    z-index: 999999;
}


.rightTool_content li {
    margin: 5px 0;
    position: relative;
}

    .rightTool_content li img {
        margin: 0 auto;
        width: 40px;
        height: 40px;
    }

@media (max-width:768px) {
    /*.rightTool_content li img {
        margin: 0 auto;
        width: 25px;
        height: 25px;
    }*/
    .rightTool {
        display: none;
    }
}

.rightTool_content li a {
    display: block;
}

.rightTool_content li span {
    display: block;
    margin: 5px auto;
    width: 39px;
    height: 0px;
    border-bottom: 1px solid #dedede
}

.rightTool_content li div {
    width: 220px;
    height: 200px;
    position: absolute;
    display: none;
}

.rightTool_content li:hover div {
    display: block;
    left: -220px;
    top: 0;
}

.rightTool_content li div img {
    float: left;
    width: 200px;
    height: 200px;
    cursor: pointer;
    -moz-box-shadow: -4px -1px 12px -1px #333333;
    -webkit-box-shadow: -4px -1px 12px -1px #333333;
    box-shadow: -4px -1px 12px -1px #333333;
}

/*在线留言*/
.OnlineMessage {
    width: 300px;
    height: 150px;
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: -100px;
    display: none;
    border-radius: 8px;
    /*background: rgba(73,155,234,1);
    background: -moz-linear-gradient(top, rgba(73,155,234,1) 0%, rgba(32,195,217,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(73,155,234,1)), color-stop(100%, rgba(32,195,217,1)));
    background: -webkit-linear-gradient(top, rgba(73,155,234,1) 0%, rgba(32,195,217,1) 100%);
    background: -o-linear-gradient(top, rgba(73,155,234,1) 0%, rgba(32,195,217,1) 100%);
    background: -ms-linear-gradient(top, rgba(73,155,234,1) 0%, rgba(32,195,217,1) 100%);
    background: linear-gradient(to bottom, rgba(73,155,234,1) 0%, rgba(32,195,217,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#499bea', endColorstr='#20c3d9', GradientType=0 );*/
    z-index: 9999999;
    background: #fff;
    opacity: 0.9;
}

.OnlineMessage_title h2 {
    font-size: 16px;
    font-family: 'Microsoft YaHei';
    color: #333;
    margin: 15px 10px;
}

.OnlineMessage_title a {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 16px;
}

.OnlineMessage_title a {
    text-decoration: none;
}

.OnlineMessage_content img {
    float: left;
    width: 50px;
    height: 50px;
    margin: 0 10px;
}

.OnlineMessage_content h3 {
    font-size: 12px;
    font-family: 'Microsoft YaHei';
    color: #333;
    margin: 0 10px;
    line-height: 24px;
}

.OnlineMessage_btn {
    float: right;
}

    .OnlineMessage_btn > a {
        display: block;
        width: 68px;
        height: 32px;
        float: left;
        /*color: #000;*/
        color: #4397de;
        border-radius: 6px;
        text-align: center;
        line-height: 32px;
        margin: 10px 20px 0 0;
        background: #fefefe;
        /*box-shadow: 2px 2px 4px #5C5C5C;*/
        border: 1px solid #4397de;
    }
        .OnlineMessage_btn > a:hover {
            box-shadow: 2px 2px 4px #4397de;
        }
        .ui-validForm {
    padding-top: 30px;
}
.OnlineMessage_btn .return {
    color: #babcbf;
    border: 1px solid #babcbf;
}
.form-group::before, .form-group::after {
    content: "";
    display: table
}

.form-group::after {
    clear: both
}

.form-group {
    position: relative;
    padding: 10px 0px;
}

    .form-group .control-label {
        position: absolute;
        left: 0px;
        top: 10px;
    }

    .form-group .controls {
        padding-left: 100px;
    }

    .form-group .form-control {
        border: 1px solid #eeeeee;
        height: 32px;
        line-height: 32px;
        width: 100%;
        padding: 2px 5px;
        font-size: 14px;
        color: #666;
        transition: all .5s ease-in-out
    }

        .form-group .form-control:focus {
            border-color: burlywood
        }

    .form-group textarea.form-control {
        height: 300px
    }

    .form-group .help-block {
        display: block
    }

.btn {
    border: 1px solid #ad7669;
    color: #fff;
    height: 35px;
    width: 120px;
    background: #ad7669;
    transition: all .5s ease-in-out
}



.form-group .controls-verificationCodeImage {
    position: relative;
    max-width: 400px;
    _width: 400px;
}

.form-group .lb_verificationCodeImage {
    position: absolute;
    display: inline-block;
    right: 1px;
    top: 0px;
    height: 32px;
    overflow: hidden
}

    .form-group .lb_verificationCodeImage img {
        height: 30px;
    }


#toTop {
    display: none;
    text-decoration: none;
    position: fixed;
    bottom: 12px;
    right: 12px;
    overflow: hidden;
    width: 50px;
    height: 50px;
    border: none;
    text-indent: -9999px;
    background: url(Images/ui.totop.png) no-repeat left 0px;
    background-size: auto;
    background-size: cover;
    z-index: 190;
    border-radius: 50%;
    transition: all 0.2s linear;
}

    #toTop:hover {
        background-position: left -50px;
        background-size: cover;
    }
