﻿
/* CSS Document */
*:after, *:before {
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
}

html {
    font-size: 14px;
    overflow-x: hidden;
}

body {
    color: #5a5a5a;
    font-size: 1rem;
}

a {
    -webkit-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}

a:active, a:hover {
    color: #19418d;
}

img {
    width: auto;
}

hr {
    margin-top: 1.4rem;
    margin-bottom: 1.4rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

i {
    position: relative;
    top: 2px;
}

.bgcolor {
    background: #f5f5f5
}

.text-primary {
    color: #19418d;
}

.bg-info {
    background: #eb7638;
}

.btn-info {
    color: #fff;
    background: #19418d;
    border: 1px solid #19418d;
    border-radius: 5px;
    padding: .7rem 1.5rem;
}

.btn-info:hover, .btn-info:focus {
    color: #fff;
    text-decoration: none;
    outline: 0;
}

.btn i {
    top: 0;
}

/*表单*/
form {
    display: block;
    margin-top: 0em;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.7rem 1.375rem;
    font-size: 1rem;
    line-height: 1;
    color: #666;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 2px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

select.form-control:not([size]):not([multiple]) {
    height: 2.8rem;
}

select.form-control {
    min-width: 6rem;
    padding: .4375rem 1rem;
    border: 1px solid #d4d4d4;
    color: #666;
    border-radius: 0;
}

.form-group .file-upload-default {
    visibility: hidden;
    position: absolute;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group > .form-control:not(:last-child), .input-group > .custom-select:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.form-group .file-upload-info {
    background: transparent;
}

.input-group > .form-control, .input-group > .custom-select, .input-group > .custom-file {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}

/*表单结束*/
/*logo*/
.logo {
    height: 55px;
    margin-top: 1.4rem;
}

.logo img {
    height: 100%;
    width: auto;
    margin-right: .5rem
}

/*logo响应式*/
@media all and (max-width: 1199px) {
    .logo {
        height: 3rem;
        margin-top: 1.2rem
    }
}

@media all and (max-width: 541px) {
    .logo {
        height: 2.4rem;
        margin-top: .8rem
    }
}

/*主菜单*/
.navbar {
    height: 6rem;
    position: relative;
    z-index: 200;
}

.nav-toggle {
    right: 2.5rem;
    position: absolute;
    top: 0;
    display: inline-block;
    color: #4263a1;
    line-height: 5rem;
    font-size: 1.7rem;
    height: 5.5rem;
    text-align: center;
}

.mask-bg {
    position: fixed;
    width: 100%;
    display: none;
    opacity: 0;
    height: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .7);
    overflow: hidden;
    z-index: 899;
    top: 0;
    left: 0;
}

.mask-bg.active {
    display: block;
    opacity: 1;
}

.nav > ul > li {
    float: left;
    margin: 0;
    line-height: 6rem;
    position: relative;
    text-align: center;
    margin-left: 1px;

}

.nav > ul > li > ul {
    position: absolute;
}

.nav > ul > li > a {
    width: 100%;
    display: inline-block;
    font-size: 1.15rem;
    padding: 0 2rem;
    position: relative;
    font-weight: bold;
}

.nav > ul > li.current > a, .nav > ul > li > a:hover {
    color: #19418d;
}

.nav > ul > li:before, .nav > ul > li.current:before {
    content: '';
    width: 0;
    height: 3px;
    background: #19418d;
    position: absolute;
    left: 0;
    bottom: 0;
}

.nav > ul > li:hover:before, .nav > ul > li.current:before {
    width: 100%;
}

.nav li:hover > ul {
    display: block;
}

.nav ul li ul li a {
    display: block;
    width: 100%;
    text-align: center;
    color: #5a5a5a;
    font-size: 1.05rem;
    line-height: 45px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 5px;
}

.nav ul li ul li a:hover {
    text-decoration: none;
    color: #fff;
    background: #19418d;

}

.nav ul li {
    position: relative;
}

.nav ul li .arrow {
    display: none
}

.nav > ul > li > ul li ul:before {
    display: block;
    margin: 0px auto;
    text-align: center;
    position: absolute;
    top: 18px;
    left: -15px;
    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 ul:hover:before {
    border-left: 5px solid #19418d;
}

/*二级ul样式*/
.nav ul li ul {
    background-color: #fff;
    display: none;
    position: absolute;
    left: 0;
    z-index: 2;
    width: 100%;
}

.nav ul li ul li ul {
    left: 100%;
    top: 0px;
    display: none;
}

/*三级以后ul样式*/

/*手机端*/
@media all and (max-width: 1199px) {
    .navbar {
        height: 5.5rem;
    }

    .nav {
        margin-right: -1rem
    }

    .nav > ul > li > a {
        padding: 0 1.5rem
    }
}

@media all and (max-width: 992px) {
    .nav {
        position: fixed;
        z-index: 900;
        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 {
        width: 100%;
        height: auto;
        line-height: normal;
        text-align: left;
        position: relative;
    }

    .nav ul li ul {
        position: inherit;
    }

    /*二级ul样式*/
    .nav ul li a {
        padding-left: 30px;
        display: block;
        font-size: 1.05rem;
        line-height: 3.5;
        border-bottom: 1px solid #dcdcdc
    }

    .nav ul li:before {
        display: none;
    }

    .nav ul li ul li ul {
        left: 0;
    }

    .nav ul li ul li a {
        padding-left: 3rem;
        font-size: 1rem;
        text-align: left;
        background-color: #f5f5f5
    }

    .nav ul li ul li ul li a {
        padding-left: 4rem;
        background-color: #f9f9f9
    }

    .nav ul li ul li ul li li a {
        padding-left: 5rem;
    }

    .nav ul li ul li a:hover {
        background-color: #f5f5f5;
        color: #19418d;
    }

    .nav ul li .arrow {
        display: inline-block;
        position: absolute;
        right: 1rem;
        top: 0px;
        width: 50px;
        height: 50px;
        line-height: 50px;
        text-align: center;
    }

    .nav ul li .arrow:after {
        content: '';
        font-family: 'FontAwesome';
        content: "\f105";
        color: #ccc;
        font-size: 1.5rem
    }

    .nav ul li ul li .arrow {
        height: 45px;
        line-height: 45px;
    }

    .nav ul li.current > a {
        color: #19418d;
    }

    .nav ul li ul, .nav li:hover > ul {
        display: none;
    }

    .nav ul li.active > ul {
        display: block
    }

    .nav ul li.active > .arrow {
        transform: rotate(90deg)
    }
}

@media all and (max-width: 541px) {
    .navbar {
        height: 4rem;
        padding: 0 1.2rem;
    }

    .nav-toggle {
        line-height: 4rem;
        height: 4rem;
        font-size: 1.4rem;
        right: 2.2rem;
    }
}

/*幻灯片*/


/*大标题*/
.heading {
    font-family: Calibri;
    margin-bottom: 3rem;
}

/*响应式大标题*/
@media all and (max-width: 1199px) {
    .heading {
        margin-bottom: 2rem;
    }
}

@media all and (max-width: 541px) {
    .heading {
        margin-bottom: 1.2rem;
    }

    .heading p {
        padding-top: 2px;
    }
}

/*查看更多1*/
.Lmore1 {
    display: inline-block;
    width: 12rem;
    height: 6rem;
    background: #19418d;
    text-align: center;
    line-height: 3rem;
    margin: 1.5em auto 0;
    -webkit-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}

.Lmore1:hover {
    background-color: #000;
}

.Lmore1 a {
    display: inline-block;
    width: 100%;
    height: 100%;
    color: #fff;
}

.Lmore1:hover a {
    color: #fff
}

/*响应工式查看更多*/
@media all and (max-width: 541px) {
    .Lmore1 {
        width: 18rem;
        height: 2.5rem;
        line-height: 2.5rem;
    }
}

/*查看更多*/
.Lmore {
    display: inline-block;
    width: 18rem;
    height: 6rem;
    background: #19418d;
    text-align: center;
    line-height: 3rem;
    margin: 1.5em auto 0;
    -webkit-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}

.Lmore:hover {
    background-color: #000;
}

.Lmore a {
    display: inline-block;
    width: 100%;
    height: 100%;
    color: #fff;
}

.Lmore:hover a {
    color: #fff
}

/*响应工式查看更多*/
@media all and (max-width: 541px) {
    .Lmore {
        width: 18rem;
        height: 2.5rem;
        line-height: 2.5rem;
    }
}

/*服务*/
.servicebox .img {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

}

.servicebox .img {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.servicebox .img .img01 {
    position: relative;
}

.servicebox .img .img02 {
    position: absolute;
    top: 0;
    left: 0;
}

.servicebox .img .img01 .img02, .servicebox:hover .img .img01 > img:first-child {
    opacity: 0;
}

.servicebox:hover .img .img01 .img02 {
    opacity: 1;
}

/*案例*/
.casebox {
    position: relative;
    overflow: hidden;
}

.casebox .img {
    display: flex;
    justify-content: center;
}

/*.casebox .font {
    position: absolute;
    padding: 1.5rem;
    background: rgba(0, 0, 0, .8);
    color: #fff;
    width: 100%;
    height: 100%;
    left: 0;
    top: -100%;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: Center;
    font-size: 1.1rem
}

.casebox:hover .font {
    opacity: 1;
    top: 0
}*/

/*响应式案例*/
@media all and (max-width: 992px) {
    .casebox .font {
        font-size: 1rem
    }
}

@media all and (max-width: 541px) {
    .casebox .font {
        font-size: .913rem
    }
}

/*关于我们*/
.aboutbg {
    background: #f5f5f5 url(http://ycfjt.com/template/front/st16003/css/index/images/bg.png) bottom center no-repeat;
    background-size: cover;
}

.about {
    width: 90%;
    margin: 0 auto;
}

/*响应式关于我们*/
@media all and (max-width: 1199px) {
    .about .font .padding-top-40 {
        padding-top: 10px;
    }

    .abouticon {
        padding-top: 50px
    }
}

@media all and (max-width: 541px) {
    .about {
        width: 100%;
    }

    .about .font .padding-top-40 {
        padding-top: 0;
    }

    .abouticon {
        padding-top: 30px
    }

    .abouticon .col-xs-3 {
        padding: 0;
        margin-bottom: .5rem;
    }

    .abouticon img {
        height: 3rem;
    }
}

/*新闻列表*/
.newsimg {
    max-height: 700px;
    overflow: hidden;
}

.newsbox {
    max-width: 720px;
}

@media all and (max-width: 1681px) {
    .newsbox {
        max-width: 680px;
    }
}

.newsbox .newslist {
    margin-top: -1rem;
}

.newsbox ul {
    padding-top: 2rem;
}

.newsbox li {
    clear: both;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 1rem 0
}

.newsbox li:before {
    content: '';
    width: 0;
    height: 100%;
    background: #19418d;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1
}

.newsbox li:hover:before {
    width: 100%;
}

.newsbox .newstime {
    float: left;
    width: 120px;
    height: 65px;
    overflow: hidden;
    text-align: center;
    font-size: 1rem;
    border-right: 1px solid #dcdcdc;
    font-family: Calibri;
}

.newsbox .newstime p {
    font-size: 2rem;
    transition: none;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
}

.newsbox .newsfont {
    margin-left: 150px;
    line-height: 1.7;
    padding-right: 2rem
}

.newsbox .newsfont p {
    height: 2rem;
    overflow: hidden;
}

.newsbox li:hover .newstime, .newsbox li:hover h6, .newsbox li:hover p {
    color: #fff;
}

/*响应式新闻*/
@media all and (max-width: 1199px) {
    .newspagebox {
        padding: 0 !important
    }

    .news .padding-left-50, .padding-top-50 {
        padding: 2rem 2.5rem 0 2.5rem
    }

    .newsbox .newslist p:last-child {
        height: 3rem;
        overflow: hidden;
    }

    .newsbox ul {
        padding-top: 1rem;
    }

    .newsbox li {
        margin-bottom: 0;
    }
}

@media all and (max-width: 992px) {
    .newsbox li {
        padding: .5rem 0
    }

    .newsbox .newstime {
        width: 60px;
        height: 50px;
    }

    .newsbox .newstime p {
        font-size: 1.4rem
    }

    .newsbox .newsfont {
        margin-left: 80px;
        line-height: 1.4;
    }

    .newsbox .newsfont h6 {
        font-size: 1.2rem
    }

    .newsbox .newslist p.padding-top-10.padding-bottom-10 {
        padding: .2rem 0
    }
}

@media all and (max-width: 541px) {
    .newsimg {
        height: 240px
    }

    .news .padding-left-50, .padding-top-50 {
        padding: 1rem 2.2rem
    }

    .newsbox {
        max-width: 100%;
        padding-bottom: 1rem;
        display: inline-table
    }

    .news .heading {
        text-align: center;
    }

    .newsbox .newslist {
        margin-top: -.5rem;
    }

    .newsbox .newstime p {
        font-size: 1.2rem
    }

    .newsbox .newsfont h6 {
        font-size: 1.1rem;
        line-height: 1.4
    }
}

@media all and (min-width: 542px) and (max-width: 767px) {
    .newsimg {
        display: none
    }

    .news .heading {
        text-align: center;
    }

    .newsbox {
        padding-bottom: 2rem;
        display: inline-table
    }
}

/*合作伙伴*/
.enterprise {
    margin: 0 -.7rem
}

.enterprise ul li {
    float: left;
    width: 20%;
    padding: .7rem;
}

.enterprise ul li .img {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: Center;
    height: 120px;
    overflow: hidden;
}

.enterprise ul li .img img {
    max-height: 85%;
}

/*响应式合作伙伴*/
@media all and (max-width: 1199px) {
    .enterprise ul li .img {
        height: 80px;
    }

    .enterprise ul li {
        padding: 0 .5rem 1rem;
    }
}

@media all and (max-width: 541px) {
    .enterprise ul li .img {
        height: 65px;
    }

    .enterprise ul li {
        width: 33.33%;
        padding: 0 .5rem 1rem;
    }

    .enterprise ul li:last-child {
        display: none;
    }
}

/*滚动监听*/
.lift-nav {
    position: fixed;
    top: 50%;
    margin-top: -75px;
    right: 4rem;
    z-index: 10
}

.lift-nav li {
    text-align: right;
    position: relative;
    cursor: pointer;
    padding-right: 1.5rem;
    margin: .3rem 0
}

.lift-nav li:after, .lift-nav li.current:before {
    width: 10px;
    height: 10px;
    content: '';
    border-radius: 100%;
    background: #aaaaaa;
    position: absolute;
    right: 0;
    top: 5px;
}

.lift-nav li span {
    font-size: .75rem;
    background: #19418d;
    color: #fff;
    border-radius: 15px;
    padding: .3rem .8rem;
    opacity: 0;
}

.lift-nav li:hover span {
    opacity: 1
}

.lift-nav li.current:after {
    background: #19418d;
}

.lift-nav li.current:before {
    background: rgba(25, 65, 140, .2);
    width: 20px;
    height: 20px;
    right: -5px;
    top: 0px
}

/*滚动监听响应式*/
@media all and (max-width: 1199px) {
    .lift-nav {
        display: none
    }
}

/*底部*/
.footerbg {
    font-size: 1.1rem;
    background: #19418d;
    color: #fff;
}

.footer {
    width: 100%;
    display: inline-table;
    padding: 3.5rem 0;
}

.footer .code img {
    width: 120px;
    margin-bottom: .5rem
}

.footer a {
    color: #fff;
}

.rights {
    background: rgba(0, 0, 0, .8);
    text-align: center
}

/*底部响应式*/
@media all and (max-width: 1199px) {
    .footer {
        padding: 2rem
    }

    .footer .code img {
        width: 100px;
    }

    .footer .col-sm-4.padding-top-20 {
        padding-top: 10px
    }
}

@media all and (max-width: 992px) {
    .footerbg {
        font-size: 1rem
    }

    .rights {
        padding: 1rem 0
    }

    .footer .code img {
        width: 90px;
        margin-top: 1.5rem
    }
}

@media all and (max-width: 541px) {
    .footer .col-sm-4.padding-top-20 {
        padding-top: 0px;
    }

    .footer .col-sm-4 {
        text-align: center;
    }

    .footer .col-sm-4 ul {
        padding-top: 1rem
    }

    .footer .col-sm-4:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, .2);
        margin-bottom: 1rem;
        padding: 0 10% 1rem;
    }
}

/*响应式通用样式*/
@media all and (max-width: 1199px) {
    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }

    h6 {
        font-size: 1.3rem
    }

    /*.pagebox {*/
    /*    padding: 2rem*/
    /*}*/
    .service {
        width: auto;
        height: auto;
    }



    .casepagebox {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media all and (max-width: 992px) {
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    h6 {
        font-size: 1.2rem
    }
}

@media all and (max-width: 541px) {
    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    h6 {
        font-size: 1.1rem;
    }

    .pagebox {
        padding: 1.2rem 1.2rem 1.8rem
    }
}
