body{
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, Microsoft JhengHei, sans-serif!important;
    max-width: 100vw;
}
/*--清除預設--*/
.row {
    margin-right: 0;
    margin-left: 0;
}

#app{
    padding-bottom: 80px;
    background-color: white;
}
a:hover{
    text-decoration: none!important;
}

p{
    font-size: 14px;
    font-weight: 400;
}

h1, h2, h3, h4, h5{
    text-transform: none;
}
section{
    margin-bottom: 0;
}

/*----*/

.row+.row>* {
    padding: 8px 15px;
}

.homepage #page {
    padding:0;
}

.banner > article .inner {
    padding: 10px 60px;
    margin-top: 100px;
    min-width: 50%;
}

.banner > article .inner h2{
    text-shadow: 2px 6px 6px rgba(0,0,0,.2);
}

.homepage #main {
    margin-top: 1em;
    padding-top: 1em;
}
ul.head-lines li{
    padding: 0 12px;
}

.head-lines li a, .head-lines li h4, .head-lines li h5{

}
.head-lines li p{
    min-height: 50px;
}

.head-lines li a, .head-lines li h4, .head-lines li h5{
    vertical-align: top;
}

/*----*/

.sloganSection{
    height: 25vh;
    background-color: #313131;
}
.sloganWrapper{
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
}
.sloganWrapper h1, .sloganWrapper h2, .sloganWrapper h3, .sloganWrapper h4, .sloganWrapper h5{
    margin-top: 0;
    color: white;
}

.position-title{
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    transform: translate(0, -50%);
    min-width: 100%;
    height: 50%;
    background-color: rgba(0,0,0,.3);
    transition: .5s;
}
.position-title:hover{
    background-color: rgba(145, 5, 0, 1);
    top: 0;
    transform: translate(0, 0);
    height: 100%;
    cursor: pointer;
}

.category-title{
    vertical-align: middle;
    letter-spacing: 2px;
    line-height: 100%;
    position: relative;
    top: 50%;
    transform: translate(0, -50%);
    text-shadow: 2px 2px 8px #000000;
    margin-top: 0;
    color: white;
    transition: .5s;
}
.position-title:hover .category-title{
    font-size: x-large;
}

.application-img{
    height: auto;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.application-img a{
    position: relative;
    display: block;
    height: 300px;
    width: 100%;
}
.application-img img{
    min-width: 100%;
    max-width: 150%;
    min-height: 100%;
    max-height: 150%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.category-box{
    display: inline-block;
}
#marketing.container-fluid{
    padding: 10px 0;
    background-color: #373737;
}
#marketing.container-fluid .row{

}
#marketing.container-fluid .case-card{
    padding: 10px 0;
}
/*----*/

/*-- 最新消息 --*/

.all-news-unit:nth-child(odd){
    padding: 20px 40px 20px 0;
}
.all-news-unit:nth-child(even){
    padding: 20px 0 20px 40px;
}
.all-news-unit:nth-child(odd):before{
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    bottom: 20px;
    right: 0;
    width: 100%;
    border-right: 6px solid #e6e6e6;
}
.newest-row{
    border-bottom: 1px solid #ebebeb;
}
.news-flex{
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
}
.news-flex:nth-child(1){
    max-width: 30%;
}
.news-flex:nth-child(2){
    max-width: 70%;
}
.news-flex:nth-child(3){
    padding: 12px 0;
}
.news-flex *{
    vertical-align: top;
    display: block;
}

.all-news-title{
    margin-top: 0;
    margin-bottom: 6px;
}
.news-thumb{
    position: relative;
    min-height: 80px;
    max-height: 80px;
    width: 100px;
    overflow-y: hidden;
    display: block;
}

.news-thumb img{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}

.description{
    min-height: 70px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media  (max-width: 1280px) {
    /*--關於順得--*/
    .about-logo{
        height: 30px;
    }
    /*----*/
}

@media (max-width: 980px) {

    .banner > article .inner {
        margin-top: 100px;
    }

}
@media  (max-width: 991px) {

    /*----*/

    /*-- 最新消息 --*/
    .all-news-unit:nth-child(odd){
        padding: 20px 40px 20px 0;
    }
    .all-news-unit:nth-child(even){
        padding: 20px 40px 20px 0;
    }
    .all-news-unit:before{
        border-right: none;
        border-bottom: 1px solid #ebebeb;
    }
    .newest-row{
        border-bottom: none;
    }
    .all-news-unit:nth-child(odd):before{
        content: '';
        position: absolute;
        top: 20px;
        left: 0;
        bottom: 20px;
        right: 0;
        width: 100%;
        border-right: none;
    }
    /*----*/


}
@media (max-width: 767px){
    /*--首頁輪播圖--*/
    #myCarousel.carousel{
        margin-top: 60px;
    }
    /*----*/

    /*----*/
    .about-logo{
        height: 30px;
        float: none;
    }
    /*----*/

    /*--最新案例--*/
    .case-wrapper h3{
        font-size: 16px;
    }
    /*----*/

    /*----*/
    section.sidebar{
        height: 150px ;
    }

    /*----*/
}

@media (max-width: 736px) {
    .banner > article .inner {
        margin-top: 60px;
        width: 100%;
    }
    .case-wrapper  h3{
        font-size: 20px;
    }

}


@media (max-width: 420px) {
    body{
        min-width: 320px;
    }

    #app{
        padding-bottom: 20px;
    }

    .banner > article .inner {
        margin-top: 60px;
        width: 100%;
    }

    .about-logo{
        height: 20px;
    }

    .sloganWrapper h2 {
        font-size: 22px;
    }
}
