html {
    overflow-x: hidden
}

h2 {
    text-transform: uppercase;
    line-height: 20px;
    margin: 0;
    font-size: 30px;
}

h4 {
    text-transform: uppercase;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.ws-content,.ws-menu {
    min-height: calc(100vh - 210px)
}

.ws-menu {
    box-shadow: none;
    border-left: none
}

.ws-content {
    padding: 32px
}

.ws-container {
    padding-top: 60px;
    min-height: calc(100vh - 210px);
}

.ws-header {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    background-color: #2f363c;
    box-shadow: 0 1px 3px rgb(0 0 0 / 5%)
}

.ws-bg-light {
    background-color: #5782C6 !important;
    color:#fff;
}

.ws-header:after {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    content: ''
}

.ws-logo {
    position: absolute;
    height: 60px;
    line-height: 60px;
    text-align: center;
}

.ws-logo .logo{
    text-transform: uppercase;
    font-size: 22px;
    color:#fff;
    font-weight: 900;
    display: inline-block;
    height: 50px;
    line-height: 50px;
}

.ws-logo img {
    display: inline-block !important;
    width: 42px;
    height: 42px;
}

.layui-carousel{
    height: 700px !important;
}

.layui-carousel a img{
    width: 100%;
    max-height: 700px;
}

.layui-nav-item a,.ws-header-tool a{
    font-size: 16px;
}

.ws-header-tool a{
    margin-left: 20px;
}

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

#services-section {
    margin-top: 80px;
    padding: 0 0 80px 0;
    background-color: #fff;
}

.section-title.center {
    padding: 30px 0 20px 0;
}

.section-title h2, .section-title.center h2 {
    font-weight: 400;
    margin-bottom: 30px;
}

.section-title h2 strong{
    border-bottom: 1px solid #D2527F;
    padding-bottom: 20px;
}

.clearfix {
    display: block;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.serviceImgBox {
    width: 100%;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.serviceImgBox .serviceImg {
    height: 130px;
}

.service{
    border: 1px solid #e8e9eb;
    position: relative;
    cursor: pointer;
    border-radius: 5px;
    padding: 10px 15px;
}

.service .desc{
    color: #666;
    height: 90px;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-align: left;
    word-break: break-all;
}

#works-section {
    padding: 80px 0;
    background-color: #efefef;
}

.portfolio-item {
    position: relative;
    border: 1px solid #eee;
    background: #fff;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-item img {
    width: 100%;
    height: 200px;
}

.portfolio-model {
    padding: 15px 20px;
}

.portfolio-model h2 {
    color: #333;
    font-size: 18px;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portfolio-item .desc{
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    height: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    text-align: left;
    word-break: break-all;
}

#about-section {
    padding: 80px 0;
    background-color: #fff;
}

#about-section .intro{
    margin-top: 20px;
    display: inline-block;
}

#about-section p {
    text-align: left;
    margin-top: 10px;
    line-height: 2;
}

.footericp {
    display: inline-block;
    font-size: 12px;
    color: #fff;
    margin-top: 20px;
    margin-right: 10px;
}

.linkLeftBox {
    display: inline-block;
    text-align: left;
}

.linkLeftBox .linkLabel {
    display: inline-block;
    width: 6em;
}

.linkRight .linkQrcode {
    width: 120px;
    display: inline-block;
}

.linkRight img {
    width: 100px;
    height: 100px;
}

.linkRight p {
    font-size: 12px;
    text-align: center;
    color: #8f8f8f;
    margin-top: 4px;
}

.ws-header-menu {
    text-align: center;
}

.ws-header-menu>*,.ws-header-tool>div {
    display: inline-block;
    vertical-align: middle
}

.ws-header-tool {
    position: absolute;
    right: 0;
    top: 0;
    height: 60px;
    line-height: 60px;
}

.ws-header-tool>div {
    margin-left: 10px
}

.ws-header-tool a {
    color:#fff;
}

.ws-header-menu .layui-nav {
    padding: 0
}

.ws-header-menu .layui-nav .layui-nav-item {
    margin-left: 16px
}

.ws-header-menu .layui-nav .layui-nav-item[mobile] {
    display: none
}

.ws-header-menu .layui-nav .layui-nav-item a {
    padding: 0 16px
}

.ws-header-menu .layui-nav .layui-nav-item a span {
    font-size: 12px
}

.ws-header-menu .layui-nav .layui-nav-more {
    right: -3px
}

.ws-header .layui-container {
    height: 100%
}

.ws-header .layui-nav .layui-badge,.ws-header .layui-nav .layui-badge-dot {
    right: 0
}

.ws-header-more {
    display: none;
    line-height: 60px;
    padding: 0 16px;
    cursor: pointer;
    color:#fff;
}

.layui-nav-tree.layui-bg-gray a,.layui-nav.layui-bg-gray .layui-nav-item a {
    color: #fff;
}

.ws-footer {
    background: #404040;
    color: #ddd;
    padding: 30px 0 25px 0;
}

.linkLeft,.linkRight{
    display: inline-block;
    margin-top: 20px;
}

.ws-footer .linkLeftBox p{
    margin: 0 0 10px;
    font-family: 'Open Sans', sans-serif;
}

@media screen and (max-width: 980px) {
    .ws-logo .logo strong{
        display: none;
    }

    .layui-carousel{
        height: 400px !important;
    }

    .layui-nav-item a,.ws-header-tool a{
        font-size: 14px;
    }

    .ws-header-menu{
        text-align: left;
    }

    .ws-header-menu .layui-nav .layui-nav-item {
        margin: 0
    }

    .ws-header-tool>div {
        margin-left: 5px
    }

    .intro-text H1 {
        font-size: 30px;
    }

    header p {
        font-size: 18px;
        padding: 0px 10px;
    }

    .section-title h2,
    .section-title.center h2 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    #services-section {
        margin-top: 30px;
        padding-bottom: 30px;
    }

    #works-section {
        padding: 30px 0;
    }

    #about-section {
        padding: 30px 0;
    }
}

@media screen and (max-width: 767.98px) {
    .ws-logo {
        left:50%;
        margin-left: -21px;
    }

    header p {
        font-size: 18px;
        padding: 0px 10px;
    }

    .layui-carousel{
        height: 220px !important;
    }

    .ws-header-menu .layui-nav{
        position: fixed;
        top: 61px;
        right: -100%;
        width: 100%;
        text-align: center;
        transition: all .3s
    }

    .ws-header-menu .layui-nav {
        z-index: 1003;
        border-radius: 0;
        box-shadow: 0 1px 3px rgb(0 0 0 / 5%)
    }

    .ws-header-more {
        display: block;
        position: absolute;
        left: 4px;
        top: 0;
    }

    .ws-nav-show .layui-header {
        z-index: 1003;
    }

    .ws-nav-show .ws-header-menu .layui-nav{
        display: block;
        right: 0;
    }

    .ws-shade-show .ws-shade {
        content: '';
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0,0,0,.7);
        z-index: 1001;
    }

    .ws-header:after {
        background-color: #eee;
    }

    .ws-header-login a{
        margin-right: 20px;
        margin-left: 0px;
    }
}
