/***

====================================================================
	base
====================================================================

***/



@import url('pe-icon-7-stroke.css');
@import url('simple-line-icons.css');
@import url('fontawesome-all.css');
@import url('animate.css');
@import url('flaticon.css');
@import url('owl.css');
@import url('swiper.min.css');
@import url('jquery-ui.css');
@import url('custom-animate.css');
@import url('magnific-popup.css');
@import url('jquery.fancybox.min.css');
@import url('jquery.timepicker.min.css');
@import url('baes.css');


/***

====================================================================
	Services Section
====================================================================

***/
.services-section {
    margin: 60px 0 0;
}

.service-block {
    margin: 60px 0 60px;
}

.service-block .inner-box {
    text-align: center;
}


/*** 

====================================================================
	Project items
====================================================================

***/
.project-items {
    padding: 60px 0;
}

.project-items .tabbtn {
    margin : 0px 0 60px;
    display: inline-block;
}

.project-items .tabbtn li {
    float        : left;
    margin-right : 30px;
    padding      : 20px 30px;
    border-radius: 10px;
    border       : 1px solid #666;
    cursor       : pointer;
}

.project-items .tabbtn li a {
    font-size: 18px;
    color    : #444;
}

.project-items .tabbtn li:hover,
.project-items .tabbtn .current {
    background: #fae7d5;
    border    : 1px solid #ef7c00;
}

.project-items .tabbtn li:hover a,
.project-items .tabbtn .current a {
    color: #ef7c00;
}

.product-item img {
    width: 100%;
}

.product-item .text {
    padding   : 20px 15px;
    background: #fff;
}

.product-item {
    position     : relative;
    box-shadow   : 0 6px 18px -6px rgba(0, 0, 0, .09);
    background   : #fff;
    margin-bottom: 30px;
    border-radius: 16px;
    overflow     : hidden;
}

.product-item .text {
    height: 125px;
}

.product-item .text .heading {
    font-size: 18px;
    color    : #000;
}

.product-item .text p {
    font-size         : 14px;
    color             : #666;
    overflow          : hidden;
    text-overflow     : ellipsis;
    /*表示文本超出时候用 “...” 来代替*/
    display           : -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

}

.product-item:hover {
    border-radius: 16px;
    box-shadow   : 3px 3px 9px rgba(0, 0, 0, .09);
}

.product-item:hover .heading,
.product-item:hover p {
    color: #ef7c00;
}


.product-item:before {
    position          : absolute;
    content           : '';
    left              : 0px;
    bottom            : 0px;
    width             : 100%;
    height            : 0px;
    border-radius     : 16px;
    transition        : all 600ms ease;
    -webkit-transition: all 600ms ease;
    -ms-transition    : all 600ms ease;
    -o-transition     : all 600ms ease;
    -moz-transition   : all 600ms ease;
    background-color  : #ef7c00;
}

.product-itemr::before {
    border-radius   : 16px;
    height          : 100%;
    transition-delay: 600ms;
}

.product-item .border-one {
    position          : absolute;
    left              : 0px;
    top               : 0px;
    width             : 40px;
    height            : 40px;
    border-radius     : 16px;
    transition        : all 600ms ease;
    -webkit-transition: all 600ms ease;
    -ms-transition    : all 600ms ease;
    -o-transition     : all 600ms ease;
    -moz-transition   : all 600ms ease;
}

.product-item .border-one:before {
    position        : absolute;
    content         : '';
    left            : 0px;
    top             : 0px;
    width           : 100%;
    height          : 1px;
    border-radius   : 16px;
    background-color: #acacac;
}

.product-item .border-one:after {
    position        : absolute;
    content         : '';
    left            : 0px;
    top             : 0px;
    width           : 1px;
    height          : 100%;
    border-radius   : 16px;
    background-color: #acacac;
}

.product-item:hover .border-one:before,
.product-item:hover .border-one:after {
    border-radius   : 16px;
    background-color: #ef7c00;
    border-radius   : 7px;
}


.product-item:hover .border-one {
    width        : 100%;
    height       : 100%;
    display      : block;
    border-radius: 7px;
    border-radius: 16px;
}

.product-item .border-two {
    position          : absolute;
    right             : 0px;
    bottom            : 0px;
    width             : 40px;
    height            : 40px;
    transition        : all 600ms ease;
    -webkit-transition: all 600ms ease;
    -ms-transition    : all 600ms ease;
    -o-transition     : all 600ms ease;
    -moz-transition   : all 600ms ease;
    border-radius     : 16px;
}

.product-item .border-two:before {
    position     : absolute;
    content      : '';
    right        : 0px;
    bottom       : 0px;
    width        : 100%;
    height       : 1px;
    border-radius: 16px;
}

.product-item .border-two:after {
    position     : absolute;
    content      : '';
    right        : 0px;
    top          : 0px;
    width        : 1px;
    height       : 100%;
    border-radius: 16px;
}

.product-item .border-two {
    width        : 100%;
    height       : 100%;
    display      : block;
    border-radius: 7px;
}

.product-item:hover .border-two:before,
.product-item:hover .border-two:after {
    background-color: #ef7c00;
    border-radius   : 7px;
    border-radius   : 16px;
}

/***

====================================================================
	Services Detail
====================================================================

***/

.services-detail {
    margin: 60px 0 0;
}

.service-block-three .inner-box .img {
    border-radius: 10px;
    overflow     : hidden;
}

.service-block-three .inner-box .title {
    font-size  : 18px;
    color      : #444;
    line-height: 30px;
    padding    : 60px 0 0;
}

.service-block-three .inner-box .title li {
    display       : flex;
    flex-direction: row;
}

.services-detail .cur {
    margin: 60px 0 0;
}

.services-detail .cur .title {
    font-size    : 24px;
    color        : #0d877f;
    text-align   : left;
    padding      : 0 0 30px;
    border-bottom: 1px solid #ddd;
    margin       : 0 0 30px;
}

.services-detail .cur p {
    font-size  : 14px;
    color      : #666;
}

.services-detail .cur .title-content {
    margin   : 30px 0;
    font-size: 22px;
    color    : #000;
}

.table-responsive {
    margin: 30px 0;
}

.table td,
.table th {
    font-size  : 14px;
    color      : #666;
    line-height: 20px;
    padding    : 15px 20px;
}

.table th {
    width: 20%;
}

.services-detail .cur .contact {
    font-size    : 18px;
    color        : #0d877f;
    padding      : 0 0 60px;
    border-bottom: 1px solid #ddd;
    line-height  : 30px;

}

.section-related-carousel .owl-nav .owl-prev,
.section-related-carousel .owl-nav .owl-next {
    position   : absolute;
    top        : 20%;
    width      : 50px;
    height     : 80px;
    background : #000;
    opacity    : 0.5;
    line-height: 80px;
    color      : #fff;
    text-align : center;
}

.section-related-carousel .owl-nav .owl-prev {
    right: 0;
}

.section-related-carousel .owl-nav .owl-next {
    left: 0;
}

.section-related-carousel .owl-nav .owl-prev:hover,
.section-related-carousel .owl-nav .owl-next:hover {
    background: #ef7c00;
}

.section-related {
    margin: 60px 0;
}


@media only screen and (max-width: 768px) {

    .services-section {
        margin: 45px 0 0;
    }

    .service-block,
    .services-detail,
    .section-related {
        margin: 45px 0;
    }

    .project-items {
        padding: 45px 0;
    }

    .project-items .tabbtn {
        margin: 0 0 45px;
    }

    .project-items .tabbtn li {
        margin: 0 5px 10px 0;
    }

    .table th {
        width: 33%;
    }
    .project-items .tabbtn li a{
        font-size: 14px !important;
    }
    .project-items .tabbtn li {
    float: left;
    margin-right: 5px;
    padding: 20px 8px !important;
}
}