.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: calc(100vh - 418px);
}

div.content-img {
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

div.content-img img {
    width: 100%;
    color: #fff;
}


.header {
    border-bottom: 1px solid #ebebeb;
    box-shadow: 0 0 5px #888;
}

.logo {
    padding-top: 10px;
    display: inline-block;
}

.logo img {
    float: left;
}

.logo span {
    float: left;
    padding: 0 15px;
}

.logo span h1 {
    font-size: 30px;
    font-weight: bold;
}

.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;
    font-weight: bolder;
    padding: 24px 0;
    margin: 0 15px;
    font-size: 16px;
    border-top: 3px solid #fff;
}

ul.nav li:hover>a,
ul.nav li.active>a,
ul.nav li:focus>a {
    color: #bb162b;
    border-top-color: #bb162b;
}

.navbtn {
    display: none;
    position: fixed;
    top: 10px;
    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: #bb162b;
    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 {
    width: 100vw;
    background-position: center;
    background-size: cover;
}

.counterValue {
    background-color: #bb162b;
    color: #fff;
}

.counterValue .box {
    padding: 2em 0;
    ;
}

.counterValue h5 {
    font-size: 60px;
    margin-bottom: 10px;
}

.heading-section {
    margin-bottom: 60px;
}

.heading-section h5 {
    font-size: 14px;
    line-height: 3em;
    /*margin-bottom: 2px;*/
    letter-spacing: 2px;
    color: #aaa;
}

.heading-section h3 {
    font-size: 36px;
    color: #bb162b;
    font-weight: bolder;
    display: inline-block;
    text-transform: uppercase;
    line-height: 1.2em;
}

.heading-section p {
    font-size: 14px;
    line-height: 1.3em;
    margin: 2px 0;
    letter-spacing: 2px;
    color: #aaa;
}

.tabControl {
    display: inline-block;
}

.tabControl a {
    float: left;
    font-weight: bolder;
    padding: 0 10px;
    border-left: 1px solid #ddd;
}

.tabControl a:nth-child(1) {
    border-left: 0;
}

.tabControl a:hover,
.tabControl a.active {
    color: #bb162b;
}

.about p {
    line-height: 1.7em;
    margin-bottom: 10px;
}

.services {
    background: #f8f8f8;
}

.services .services-w3grid span {
    position: relative;
    font-size: 1.5em;
    color: #fff;
    display: inline-block;
    border-radius: 50%;
    text-decoration: none;
    z-index: 1;
    padding: 1em;
    background: #bb162b;
    -webkit-transition: .5s all;
    -moz-transition: .5s all;
    -ms-transition: .5s all;
    -o-transition: .5s all;
    transition: .5s all;
}

.services .services-w3grid span:after {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -o-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    content: '';
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    top: -8px;
    left: -8px;
    padding: 8px;
    z-index: -1;
    opacity: 0;
    -webkit-box-shadow: 3px 3px #bb162b;
    -moz-box-shadow: 3px 3px #bb162b;
    -ms-box-shadow: 3px 3px #bb162b;
    -o-box-shadow: 3px 3px #bb162b;
    box-shadow: 3px 3px #bb162b;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transition: opacity 0.2s, -webkit-transform 0.2s;
    -moz-transition: opacity 0.2s, -moz-transform 0.2s;
    transition: opacity 0.2s, transform 0.2s;
}

.services .services-w3grid:hover span:after {
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
}

.services .services-w3grid h5 {
    font-size: 1.6em;
    margin: 0.8em 0 .5em;
    color: #bb162b;
    font-weight: bold;
}

.services .services-w3grid p {
    font-size: 1em;
    color: #555;
    line-height: 1.8em;
}

.services .services-w3grid:nth-child(4),
.services .services-w3grid:nth-child(5),
.services .services-w3grid:nth-child(6) {
    margin-top: 3em;
}

.productList .content-img {
    margin: 15px 0;
    height: 190px;
    box-shadow: 3px 3px 6px;
}

.productList .content-img .details {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: all 0.3s;
}

.productList .content-img:hover .details {
    opacity: 1;
    padding: 10px;
}

.productList .content-img .details>div {
    width: 100%;
    height: 100%;
    color: #fff;
    border: 2px solid;
}

.productList .content-img p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    padding: 6px;
    transition: all 0.3s;
}

.productList .content-img:hover p {
    background: transparent;
    bottom: calc(50% - 1em);
}

.news {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)), url(../images/news-bg.jpg) center center;
    background-size: cover;
}

.news .heading-section p {
    color: #000;
}

.newsList {
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f0f3f6;
    transition: all 0.3s;
}

.newsList .time {
    width: 90px;
    height: 90px;
    background-color: #fff;
    text-align: center;
    margin-right: 15px;
    padding: 15px;
    display: inline-block;
}

.newsList .time h6 {
    font-size: 36px;
    margin: 0;
    padding: 0;
}

.newsList .time p {
    font-size: 12px;
    color: #666;
    border-top: 1px solid;
    margin: 5px 0 0;
    padding: 5px 0 0;
}

.newsList .content {
    width: calc(100% - 110px);
    float: right;
}

.newsList .content h5 {
    font-size: 18px;
    font-weight: bolder;
    height: 2em;
    margin: 0;
    padding: 0;
    line-height: 1.2em;
}

.newsList .content p {
    color: #666;
    line-height: 1.5em;
    position: relative;
    top: 10px;
    height: 42px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.newsList:hover {
    background-color: #bb162b;
}

.newsList:hover .content,
.newsList:hover .content p {
    color: #fff;
}

.contact h5 {
    font-size: 16px;
    margin-bottom: 10px;
    color:#bb162b;
    font-weight:bold;
}

.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-bottom: 1px solid #a5a5a5;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.message>div p {
    line-height: 38px;
    font-size: 14px;
    float: left;
}

.message>div input {
    background: transparent;
    outline-style: none;
    font-size: 14px;
    margin-top: 9px;
    width: calc(100% - 100px);
    border: 0;
}

.message>div textarea {
    height: 60px;
    background: transparent;
    outline-style: none;
    font-size: 14px;
    margin-top: 9px;
    width: calc(100% - 100px);
    border: 0;
    resize: none;
}

.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 #bb162b;
    background: transparent;
    transition: all 0.2s;
}

.message>div a:hover {
    color: #fff;
    background-color: #bb162b;
}

.footer {
    padding: 15px 0;
    background-color: #333;
    color: #fff;
}

.footer br {
    display: none;
}

#toolbar {
    /* width: 263px; */
    /* background-color: white; */
    position: fixed;
    top: 50%;
    right: 20px;
    z-index: 29;
}

#toolbar>ul>li>a {
    width: 40px;
    height: 40px;
    background-color: white;
    border: 1px solid #bb162b;
    margin-bottom: 6px;
    font-size: 25px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}

#toolbar>ul>li>div {
    width: 0;
    min-height: 40px;
    margin-right: 39px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    background-color: white;
    color: #bb162b;
    transition: all 0.5s;
    overflow: hidden;
    z-index: -1;
}

#toolbar>ul>li>div p {
    width: 203px;
    margin: 0;
    line-height: 1.3em;
    font-size: 18px;
    color: #000;
}

#toolbar>ul>li>div input {
    height: 1.5em;
    font-size: 12px;
    padding: 13px 20px;
    background-color: white;
    border: 1px solid #bb162b;
}

#toolbar>ul>li>div div {
    width: 173px;
    height: 30px;
    margin: 0 auto;
    position: relative;
    top: 10px;
    color: white;
    background-color: #bb162b;
    color: #bb162b;
    cursor: pointer;
    transition: all 0s;
}

#toolbar>ul>li>div div:hover {
    background-color: #bb162b;
}

@media (max-width: 425px) {
    .box {
        width: 100%;
    }

    .index .box {
        padding: 3em 0;
    }

    .logo {
        padding-left: 10px;
    }

    .logo span {
        padding-right: 0;
    }

    .logo span h1 {
        font-size: 16px;
        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); 
    }

    .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;
    }

    .footer br {
        display: block;
    }

    #toolbar {
        display: none;
    }
}

.detailsPage .index .box {
    padding: 0 0 3em;
}


.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 .banner {
       
        background-image: url(../images/banner/1.jpg); 
    }*/

.detailsPage .banner p {
    color: #fff;
    font-size: 30px;
    padding-top: 130px;
}

.detailsPage .page img {
    max-width: 100%;
    width: auto;
}

.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: #bb162b;
    color: #fff;
}

.productPage .content-img {
    padding: 0;
}

.productPage h5 {
    font-size: 20px;
    padding: 2em 0 0.5em;
    border-bottom: 1px solid #bb162b;
    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: #bb162b;
    color: #fff;
}

#loadmore a {
    padding: 8px 20px;
    border: 1px solid #bb162b;
    color: #bb162b;
    display: inline-block;
    margin-top: 30px;
}

#loadmore a:hover {
    color: #fff;
    background-color: #bb162b;
}

@media (max-width: 425px) {
    .banner .content-img{
        display:none;
    }


    .detailsPage .banner {
        height: 210px;
        background-image: url(../images/banner/2.jpg); 
    }

        .detailsPage .banner img {
        display:none;
        }

    .detailsPage .banner p {
        font-size: 20px;
        padding-top: 70px;
    }

    .services .services-w3grid:nth-child(3) {
        margin-top: 3em;
    }
}


.inviteBack {
    width: 400px;
    max-width: 100%;
    height: 175px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: #0085DA url(../images/inviteBack.png) no-repeat;
    z-index: 999;
    display: none;
}

.inviteBack i {
    width: 18px;
    height: 18px;
    position: absolute;
    right: 8px;
    top: 8px;
    left: auto;
    bottom: auto;
    cursor: pointer;
    color: #fff;
}

.inviteBack p {
    position: absolute;
    top: 44px;
    left: 128px;
    right: 26px;
    font-size: 20px;
    line-height: 1.3em;
    color: #fff;
}

.inviteBack div {
    position: absolute;
    bottom: 12px;
    right: 12px;
    top: auto;
    left: auto;
}


.inviteBack div a {
    display: inline-block;
    width: 80px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    margin-left: 8px;
    color: #0085da;
    background-color: #fff;
}