.fl {
    float: left;
}

.fr {
    float: right;
}

.box {
    width: 1200px;
    margin: 0 auto;
}

.index .box {
    padding: 6em 0;
}

.gray-bg {
    background-color: #f7f7f7;
}

.minheight {
    min-height: 500px;
}

div.content-img {
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s;
}

div.content-img img {
    width: 100%;
    color: #fff;
}

@media (max-width: 425px) {
    .box {
        width: 100%;
    }

    .index .box {
        padding: 3em 20px;
    }
}

.header {
    border-bottom: 1px solid #ebebeb;
    box-shadow: 0 0 5px #888;
}

.header>div.col-md-12:nth-child(1) {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
}

.logo {
    padding-top: 10px;
    display: inline-block;
}

.logo img {
    float: left;
    padding-top: 5px;
}

.logo span {
    float: left;
    padding: 0 15px;
}

.logo span h1 {
    font-size: 30px;
}

.logo span p {
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 2em;
}

ul.nav {
    float: right;
}

ul.nav li {
    float: left;
}

ul.nav li a {
    position: relative;
    display: block;
    text-align: center;
    padding: 24px 0;
    margin: 0 15px;
    font-size: 16px;
    border-bottom: 3px solid #fff;
}

ul.nav li:hover>a,
ul.nav li.active>a,
ul.nav li:focus>a {
    font-weight: bolder;
    color: #20489d;
    border-bottom-color: #20489d;
}

.navbtn {
    display: none;
    position: fixed;
    top: 40px;
    right: 0;
    background: transparent;
    border: none;
    padding: 10px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    cursor: pointer;
    z-index: 99999;
}

.icon-bar {
    display: block;
    margin: 6px 0;
    width: 40px;
    height: 6px;
    background-color: #20489d;
    box-shadow: rgba(0, 0, 0, 0.2) 1px 1px 0;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.animated .top {
    -webkit-transform: translateY(9px) rotateZ(45deg);
    -moz-transform: translateY(9px) rotateZ(45deg);
    -ms-transform: translateY(9px) rotateZ(45deg);
    -o-transform: translateY(9px) rotateZ(45deg);
    transform: translateY(9px) rotateZ(45deg);
}

.animated .bottom {
    -webkit-transform: translateY(-3px) rotateZ(-45deg);
    -moz-transform: translateY(-3px) rotateZ(-45deg);
    -ms-transform: translateY(-3px) rotateZ(-45deg);
    -o-transform: translateY(-3px) rotateZ(-45deg);
    transform: translateY(-3px) rotateZ(-45deg);
}

.banner {
    height: 600px;
    width: 100vw;
    background-image: url(../images/banner/1.jpg);
    background-position: center;
    background-size: cover;
}

.banner .swiper-slide {
    height: 600px;
    background-size: cover;
    background-position: center;
}

.heading-section {
    margin-bottom: 30px;
}

.heading-section:after {
    position: absolute;
    content: '';
    bottom: -3px;
    left: 50%;
    margin-left: -15px;
    height: 3px;
    width: 30px;
    background: #264F65;
}

.heading-section h3 {
    font-size: 28px;
    padding: 33px;
    letter-spacing: 2px;
    font-weight: bolder;
    display: inline-block;
    text-transform: uppercase;
    background: url(../images/heading.png) no-repeat center;
    background-position-x: 0;
}

.heading-section p {
    font-size: 14px;
    line-height: 1.3em;
    margin-bottom: 20px;
    margin-top: 10px;
    letter-spacing: 2px;
    color: #aaa;
}

.tabControl {
    display: inline-block;
    margin-bottom: 20px;
}

.tabControl a {
    float: left;
    padding: 0 10px;
    border-left: 1px solid #000;
}

.tabControl a:nth-child(1) {
    border-left: 0;
}

.tabControl a:hover,
.tabControl a.active {
    color: #20489d;
}

.productList .content-img {
    margin: 0 15px 15px;
    height: 270px;
}

.productList .content-img .details {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: all 0.3s;
}

.productList .content-img:hover .details {
    opacity: 1;
}

.productList .content-img .details>div {
    width: 100%;
    height: 100%;
    color: #fff;
    border: 1px solid;
}

.productList .content-img .details>div h6 {
    margin-top: calc(50% - 1em);
    font-size: 16px;
    line-height: 2em;
    border-top: 1px solid;
    display: inline-block;
}

.advantage>img {
    max-width: 100%;
    margin: 50px 0;
}

.advantage>div {
    width: 25%;
    height: 330px;
    margin: 0;
    padding: 0;
}

.advantage .content-img .mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(32, 72, 157, 0.7);
}

.advantage .details {
    border: 1px solid rgba(32, 72, 157, 0.7);
    padding: 0 40px;
    position: relative;
    transition: all 0.3s;
}

.advantage .details .img {
    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    background-blend-mode: lighten;
    filter: drop-shadow(0 0 1px #20489d);
    position: absolute;
    left: 0;
    right: 0;
    margin: 50px auto 0;
    padding: 0;
    border-bottom: 0 !important;
}

.advantage .details div {
    line-height: 1.5em;
    margin-top: 60%;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #20489d;
}

.advantage .details p {
    text-align: left;
    color: #666;
    line-height: 1.5em;
}

.advantage .details:hover {
    background-color: #20489d;
}

.advantage .details:hover div {
    border-bottom: 1px solid #fff;
}

.advantage .details:hover,
.advantage .details:hover p {
    color: #fff;
}

.projectCase {
    margin: 30px 15px;
}

.projectCase>div {
    max-width: 400px;
    height: 300px;
    padding: 60px 0 30px 30px;
    border-left: 10px solid #20489d;
    background-color: #e1e1e1;
}

.projectCase>div h5 {
    font-size: 18px;
    margin-bottom: 20px;
}

.projectCase>div p {
    font-size: 14px;
    line-height: 1.5em;
    color: #666;
    width: 50%;
}

.projectCase>div a {
    font-size: 14px;
    color: #20489d;
    background-color: #cfcfcf;
    padding: 5px 15px;
    margin-top: 10px;
    display: inline-block;
    transition: all 0.3s;
}

.projectCase>div a:hover {
    color: #fff;
    background-color: #20489d;
}

.projectCase .content-img {
    position: absolute;
    right: 0;
    top: 20px;
    height: 260px;
    width: 60%;
}

.projectCase .content-img .details {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: rgba(32, 72, 157, 0.6);
    opacity: 0;
    transition: all 0.3s;
}

.projectCase .content-img:hover .details {
    opacity: 1;
}

.projectCase .content-img .details>div {
    width: 100%;
    height: 100%;
    color: #fff;
    border: 1px solid;
}

.projectCase .content-img .details>div p {
    font-size: 30px;
    margin-top: calc(50% - 60px);
    line-height: 24px;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    border: 1px solid;
    display: inline-block;
}

.aboutBg {
    background: url(../images/about-bg.jpg) no-repeat center;
    background-size: cover;
}

.aboutBg .box {
    padding-bottom: 9em;
}

.aboutBg .heading-section,
.aboutBg .heading-section p {
    color: #fff;
}

.aboutUs {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px 40px;
    color: #fff;
}

.aboutUs h5 {
    font-size: 24px;
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #20489d;
    margin-bottom: 15px;
    display: inline-block;
}

.aboutUs p {
    line-height: 2em;
}

.newsContent {
    height: 200px;
    padding: 20px;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    transition: all 0.3s;
}

.newsContent h5 {
    font-size: 16px;
    font-weight: bolder;
    line-height: 1.3em;
    margin-bottom: 10px;
    height: 2.6em;
    border-bottom: 1px solid #eee;
}

.newsContent p {
    text-align: left;
    line-height: 1.5em;
    color: #666;
}

.newsContent div {
    text-align: left;
    position: absolute;
    bottom: 10px;
    width: calc(100% - 40px);
    color: #20489d;
    transition: all 0.3s;
}

.newsContent div i {
    float: right;
    color: #666;
}

.newsContent:hover {
    background-color: #20489d;
}

.newsContent:hover,
.newsContent:hover p,
.newsContent:hover div,
.newsContent:hover div i {
    color: #fff;
}

.contact h5 {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.contact p {
    font-size: 14px;
    line-height: 2em;
}

.contact p i {
    width: 14px;
    line-height: 2em;
    text-align: center;
    margin-right: 3px;
}

.message>div {
    border: 1px solid #20489d;
    margin-bottom: 10px;
    float: left;
}

.message>div p {
    line-height: 38px;
    margin-left: 20px;
    font-size: 14px;
    float: left;
}

.message>div input {
    background: transparent;
    outline-style: none;
    float: left;
    font-size: 14px;
    margin-top: 9px;
    width: calc(100% - 100px);
    border: 0;
}

.message>div textarea {
    background: transparent;
    outline-style: none;
    height: 200px;
    width: calc(100% - 100px);
    font-size: 14px;
    margin-top: 9px;
    border: 0;
    resize: none;
    float: left;
}

.message>div #imgCode {
    position: absolute;
    right: 20px;
    top: 3px;
}

.message>div:nth-last-child(1) {
    border: none;
    padding: 0;
}

.message>div a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    border: 1px solid #20489d;
    background: transparent;
    transition: all 0.2s;
}

.message>div a:hover {
    color: #fff;
    background-color: #20489d;
}

.footer {
    padding: 15px 0;
    background-color: #333;
    color: #fff;
}

.footer br {
    display: none;
}

@media (max-width: 425px) {
    .index .box {
        padding: 3em 0;
    }

    .header>div.col-md-12:nth-child(1) {
        display: none;
    }

    .logo {
        padding-left: 10px;
    }

    .logo span {
        padding-right: 0;
    }

    .logo span h1 {
        font-size: 20px;
        line-height: 50px;
    }

    .logo span p {
        display: none;
    }

    ul.nav {
        width: 100%;
        height: 0px;
        overflow: hidden;
        position: fixed;
        top: 0;
        left: 0;
        background: #fff;
        transition: all 1s;
        z-index: 10;
    }

    ul.nav li {
        float: none;
        text-align: center;
    }

    ul.nav li a {
        line-height: 0px;
    }

    .navbtn {
        display: block;
    }

    .banner {
        height: 210px;
        background-image: url(../images/banner/2.jpg);
    }

    .banner .swiper-banner {
        display: none;
    }

    .tabControl {
        display: none;
    }

    .productList .content-img {
        padding: 0;
        margin: 10px 5px;
    }

    .advantage>img,
    .advantage .content-img {
        display: none;
    }

    .advantage>div {
        width: 100%;
        margin: 30px 0;
    }

    .projectCase {
        padding: 0;
        margin: 30px 0;
    }

    .projectCase>div {
        padding: 0;
        height: auto;
        text-align: center;
    }

    .projectCase>div h5 {
        padding: 10px 0;
        margin: 0;
    }

    .projectCase>div p,
    .projectCase>div a {
        display: none;
    }

    .projectCase .content-img {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
    }

    .message .col-sm-6 {
        width: 100%;
        float: left;
    }

    .message .col-sm-6 .col-sm-12 input,
    .message .col-sm-6.fr .col-sm-12 textarea {
        width: 60%;
    }

    .message .col-sm-12.btn {
        width: 100%;
        padding: 0;
    }

    .message .col-sm-12 a {
        background: #20489d;
        color: #fff;
    }

    .footer br {
        display: block;
    }
}

.detailsPage .banner {
    height: 300px;
    background-image: url(../images/banner/innerbanner.jpg);
}

.detailsPage .banner p {
    font-size: 50px;
    color: #fff;
    line-height: 250px;
}

.detailsPage .heading-section h3 {
    padding: 0;
    background: 0;
}

.detailsPage .heading-section p {
    margin-bottom: 0;
}

.detailsPage .heading-section:after {
    content: none;
}

.BNtop {
    padding: 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e2e2;
    overflow: hidden;
}


.BNtop h4 {
    color: #999;
    font-size: 12px;
    line-height: 20px;
    margin: 10px 0;
    padding-left: 10px;
}

.detailsPage .newsContent {
    margin-bottom: 20px;
}

.detailsPage .page img {
    max-width: 100%;
}

.detailsPage .page p {
    font-size: 16px;
    line-height: 2em;
    letter-spacing: 2px;
}

.detailsPage .tabControl a {
    width: 100%;
    display: block;
    padding: 7px 15px;
    margin: 0px 2px;
    position: relative;
    border-left: 0;
    transition: all 0.3s;
}

.detailsPage .tabControl a:hover,
.detailsPage .tabControl a.active {
    background-color: #20489d;
    color: #fff;
}

.productPage .content-img {
    padding: 0;
}

.productPage p {
    font-size: 16px;
    line-height: 2em;
    letter-spacing: 2px;
}

.productPage h5 {
    font-size: 20px;
    padding: 2em 0 0.5em;
    border-bottom: 1px solid #20489d;
    margin-bottom: 10px;
}

.productPage .title h5 {
    font-weight: bolder;
    padding: 0 0 0.5em;
    margin-top: 20px;
    border-bottom: 1px solid #eee;
}

.productPage .title a {
    padding: 10px 20px;
    margin-top: 20px;
    display: inline-block;
    background-color: #20489d;
    color: #fff;
}

@media (max-width: 425px) {
    .detailsPage .banner {
        height: 160px;
    }

    .detailsPage .banner p {
        font-size: 26px;
        line-height: 135px;
    }
}