/*
 * This's Public Style File'
 * Import This File At WebSite Header
*/
@import "color.css";

html, body, div, a, b, nav, li, ul, ol, span, h1, h2, h3, h4, h5, h6, i, em, article, header, footer, input, p, section {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

html {
    font-family: "microsoft yahei", "微软雅黑", "sans-serif";
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

a {
    color: #555;
    background-color: transparent;
    transition: all .2s linear;
    text-decoration: none;
    outline: none;
}

a:active,
a:hover {
    outline: 0;
}

img {
    border: 0;
}

.clear {
    clear: both;
}


header,
.toper,
.header {
    width: 100%;
}

header {
    /*border-bottom-width: .25em;
    border-bottom-style: solid;*/
}

.header {
    max-width: 1200px;
    padding: 0 .5em;
    box-sizing: border-box;
    margin: 0 auto;
}

.logo {
    float: left;
    padding-top: 1.01em;
}

.logo img {
    height: 5em;
    float: left;
   
}

.logo font {
    float: left;
    font-size: 87.5%;
    line-height: 1.71428571em;
    height: 3.42857143em;
    overflow: hidden;
}

.tel {
    float: right;
}

.tel img {
    float: left;
    padding: 1.5em 1.5em 1.5em 0;
    height: 3em;
}

.tel b {
    
    letter-spacing: 2px;
    float: left;
    padding: 1.8em 0;
}

.logo + img {
    float: right;
    height: 3em;
    margin: 1.5em 0 1.5em 1.5em;
    display: none;
}

.nav{ background:#08338f;}
#m-nav {
    display: none;
    width: 100%;
    padding: .25em 0;
}

#m-nav li {
    float: left;
    width: 25%;
    padding: 0 .5em;
    box-sizing: border-box;
    list-style: none;
    margin: .25em 0;
}

#m-nav a {
    display: block;
}

#m-nav img {
    display: block;
    width: 50%;
    margin: 0 auto;
    border-radius: 50%;
    border-width: 1px;
    border-style: solid;
}

#m-nav span {
    display: block;
    text-align: center;
    line-height: 2;
    font-size: 75%;
}

#main-nav {
    width: 100%;
    height: 3em;
    list-style: none;
   
}

#main-nav li {
    float: left;
    height: 3em;
}

#main-nav li:nth-child(1) {
    width: 300px;
    position: relative;
}

#main-nav li:nth-child(1) a {
    width: 300px;
    box-sizing: border-box;
    border-left: none;
    color: #fff;
    margin: 0;
    padding: .5em 0;
    height: 3.25em;
    position: relative;
}

#main-nav li:nth-child(1) a span {
    display: inline-block;
}

#main-nav li:nth-child(1) a span:nth-child(1) {
    width: 2em;
    height: 2em;
    background: url('../img/all.png') no-repeat center;
}

#main-nav li:nth-child(2) a {
    border-left: none;
}

#main-nav li a {
    display: block;
    text-align: center;
    height: 2em;
    line-height: 2em;
    margin: .5em 0;
    padding: 0 1.1em;
    border-left: 1px dashed #ccc; color:#fff
}

#main-nav li a:hover{
    color: #fff;
}

.all {
    width: 1200px;
    height: 455px;
    position: absolute;
    z-index: 999;
    top: 3.05em;
}

#main-nav li:nth-child(1) .all .class {
    width: 300px;
    position: relative;
    height: 25%;
    background-color: rgba(0, 0, 0, .75);
    padding: 0;
}

#main-nav li:nth-child(1) .all .class.on,
#main-nav li:nth-child(1) .all .class:hover {
    background-color: #fff;
}

.all .class.on {
    background-color: #fff;
}

.all .class img {
    top: 20%;
    height: 60%;
    position: absolute;
    right: 60%;
    transition: all .3s linear;
    border-radius: 50%;
}

.all .class img.hover {
    background-color: #fff;
}

.all .class span {
    width: 50%;
    text-align: left;
    float: right;
    height: 100%;
    line-height: 100%;
    vertical-align: middle;
}

.all .class.on .hover,
.all .class:hover .hover {
    opacity: 0;
}

#main-nav li:nth-child(1):hover .all {
    display: block;
}

.class-list {
    width: calc(100% - 300px);
    min-height: 100%;
    background-color: #fff;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    padding: 0 1.5em;
    box-sizing: border-box;
    overflow: hidden;
}

.class-list.on {
    display: block;
}

.class-list-title {
    font-size: 125%;
    line-height: 1.5;
    padding: .5em 0;
}

.hot {
    display: inline-block;
    line-height: 2;
    margin-right: 1em;
    font-size: 87.5%;
    padding-right: 1.5em;
    background: url('../img/hot.png') no-repeat right top;
    margin-bottom: 1em;
    transition: all .3s linear;
    cursor: pointer;
}

#main-nav li:nth-child(1) .class-list-a.tb {
    border-top: 1px dotted #ddd;
}

#main-nav li:nth-child(1) .class-list-a {
    border-bottom: 1px dotted #ddd;
}

#main-nav li:nth-child(1) .class-list-a a {
    width: auto;
    background-color: transparent;
    color: #666;
    display: inline-block;
    padding: 0;
    height: auto;
    line-height: 3;
    font-size: 87.5%;
}

#main-nav li:nth-child(1) .class-list-a em {
    display: inline-block;
    margin: 0 .5em;
    color: #ddd;
    font-style: normal;
}

@media screen and (max-width: 1200px) {
    #main-nav li:nth-child(1),
    #main-nav li:nth-child(1) a,
    #main-nav li:nth-child(1) .all .class {
        width: 220px;
    }

    .class-list {
        width: calc(100% - 220px);
    }
}

@media screen and (max-width: 1130px) {
    #main-nav li:nth-child(1) {
        width: 3em;
        height: 3em;
        background-image: url('../img/all.png');
        background-repeat: no-repeat;
        background-position: center;
    }

    #main-nav li:nth-child(1) a {
        display: none;
    }

    #main-nav li:nth-child(1) a.class,
    .all.on {
        display: block !important;
    }

    #main-nav li:nth-child(1):hover .all {
        display: none;
    }
}

.yd {
    display: none;
}

.main {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 .5em;
}

.footer {
    margin-top: 1em;
}

.foot-bg {
    padding: 1.5em 0;
    background-color: #f5f5f5;
}

.foot {
    max-width: 1200px;
    margin: 0 auto;
}

.service {
    max-width: 1100px;
    margin: 0 auto 2em;
    list-style: none;
    padding-bottom: 2em;
    border-bottom: 1px solid #ddd;
}

.service li {
    width: 25%;
    float: left;
}

.service li img {
    width: 2.5em;
    padding: 1em;
    float: left;
}

.service li p {
    float: left;
    width: calc(100% - 2.57143em);
    line-height: 2;
    font-size: 175%;
    letter-spacing: 2px;
}

.service li span {
    float: left;
    width: calc(100% - 6em);
    line-height: 1.5;
    font-size: 75%;
    color: #999;
}

.link {
    width: 6em;
    font-size: 87.5%;
    float: left;
    line-height: 2;
    color: #999;
    padding-left: .5em;
}

.link-list {
    width: calc(100% - 6.857143em);
    float: left;
    font-size: 87.5%;
    line-height: 2;
    height: 6em;
    overflow: hidden;
}

.link-list a {
    float: left;
    margin-right: 1em;
    color: #aaa;
}

.copyright {
    text-align: center;
    line-height: 2;
    padding: 1em .25em;
    font-size: 12px;
    background-color: #444;
    color: #eee;
}

.copyright a {
    color: #ccc;
}

.copyright a:hover {
    text-decoration: underline;
    color: #ccc;
}


/*右侧按钮*/
.right-button {
    position: fixed;
    right: 0;
    top: 50%;
    z-index: 11;
}

.right-button li {
    width: 8em;
    height: 2.5em;
    list-style: none;
}

.right-button li a {
    display: block;
    width: 3em;
    height: 3em;
}

.right-button span {
    width: 7em;
    height: 1.5em;
    padding: 0.5em;
    cursor: pointer;
    transition: all .3s linear;
    display: block;
    position: relative;
}

.right-button span.on:after {
    content: '';
    width: .5em;
    height: .5em;
    position: absolute;
    top: 1em;
    transform: rotate(45deg);
    left: -0.25em;
}

.right-button > li:first-child > span:nth-child(1) {
    border-top-left-radius: .25em;
    border-top-right-radius: .25em;
}

.right-button > li:last-child > span:nth-child(1) {
    border-bottom-left-radius: .25em;
    border-bottom-right-radius: .25em;
}

.right-info {
    display: block;
    width: 12em;
    border-radius: .25em;
    box-shadow: 0 .75em 0.75em #888;
    position: absolute;
    left: -13em;
    top: 0;
    background-color: #fff;
    overflow: hidden;
    opacity: 0;
    height: 0em;
    transition: all .2s linear;
}

.right-info.on {
    opacity: 1;
    height: 12.5em;
}

.right-info b {
    display: block;
    line-height: 2.5;
    background-color: #ddd;
    padding: 0 1em;
    box-sizing: border-box;
}

#right-info-1,
#right-info-5 {
    top: 3em;
}

#right-info-2 {
    top: calc(5.5em + 2px);
}

#right-info-3 {
    top: calc(8em + 2px);
}

#right-info-1.on,
#right-info-2.on,
#right-info-3.on {
    height: 2.5em;
}

.right-info div {
    width: 11em;
    height: 9em;
    padding: 0.5em;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.right-button img {
    float: left;
    height: 1.5em;
}

.right-button font {
    float: left;
    line-height: 1.7143em;
    margin-left: 1em;
    font-size: 87.5%;
    color: #fff;
}

.right-button p {
    display: block;
    color: #fff;
    line-height: 2;
    font-size: 150%;
    text-align: center;
    border-top-left-radius: .2em;
    border-top-right-radius: .2em;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

@media screen and (max-width: 950px) {
    .logo font {
        display: none;
    }

    .logo img {
        border-right: none;
        margin-right: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 950px) {
    #main-nav li a {
        font-size: 87.5%;
        height: 2.42857em;
        line-height: 2.42857em;
    }
}

@media screen and (max-width: 880px) {
    .service li {
        width: 50%;
    }

    .service li:nth-child(1),
    .service li:nth-child(2) {
        margin-bottom: 2em;
    }

    .link-list {
        height: 8em;
    }
}

@media screen and (max-width: 850px) {
    #main-nav li a {
        font-size: 75%;
        height: 3em;
        line-height: 3em;
    }
}

@media screen and (max-width: 740px) {
    #main-nav {
        display: none;
    }

    #m-nav {
        display: block;
    }

    .header {
        padding: 1.25em .5em;
    }
}

@media screen and (max-width: 640px) {
    .service li p {
        width: calc(100% - 4.5em);
        font-size: 100%;
    }

    .service li:nth-child(3) {
        margin-bottom: 2em;
    }

    .link-list {
        height: auto;
        /*
        height: 10em;
        */
    }

    .tel b {
        letter-spacing: 0;
    }

    .right-button {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .logo {
        padding-top: .5em;
    }

    .logo img {
        width: 100%;
        height: auto;
        /*
        height: 3em;
        */
        border-right: none;
        margin-right: 0;
        padding-right: 0;
    }

    .logo + img {
        margin-top: .5em;
    }

    .tel{
        display: none;
    }
    /*
    .tel img {
        padding: .5em;
    }

    .tel b {
        line-height: 2;
        padding: 0;
    }
    */

    .header {
        padding: 1em .25em;
    }

    img[src*="xsm.png"] {
        height: 4em;
        margin-left: 1.5em;
    }
}

@media screen and (max-width: 520px) {
    .logo {
        padding-bottom: .5em;
    }

    .logo img {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .tel {
        /*
        padding-top: .5em;
        clear: both;
        float: none;
        text-align: center;
        */
    }

    .tel img {
        float: none;
        padding: 0;
        display: inline-block;
    }

    .tel b {
        display: inline-block;
        float: none;
    }
}