﻿@charset "utf-8";
/* CSS Document */

/*----- 服務項目全域設定 ------*/
#MainCont {
    margin: 0 40px 0 0;
}

.fixed #Main {
    padding-top: 80px;
}

@media only screen and (max-width: 47.9735em) {
    #MainCont {
        margin: 0;
    }
    
    .fixed #Main {
        padding-top: 110px;
    }
}


h3 {
    background-color: rgba(102,194,243,0.15);
    padding: 8px 8px 8px 16px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-bottom: 20px;
}

h4 {
    margin: 1em 0 0.3em 0;
    color: #8e8e8e;
    font-weight: bold;
    background-image: url(../../../images/Icon_h4.png);
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 20px;
}

.Cont {
    margin: 35px 0 20px 30px;
}

#Content p {
    font-size: 1.125em;
    line-height: 2em;
    margin-bottom: 2.5em;
}

.listTxt {
    margin-bottom: 2.5em;
}

#Content .listTxt p {
    margin-bottom: 0;
}

#Content p span {
    font-weight: bold;
    font-size: 120%;
    color: #0e5e87;
}

    #Content p span a {
        color: #0e5e87;
    }

        #Content p span a:hover {
            color: #fc5d8a;
        }

.Cont ul {
    margin-left: 40px;
}

    .Cont ul li {
        margin: 20px 0;
        list-style-type: square;
    }

.SecondCont {
    margin-left: 50px;
}

    .SecondCont p.second {
        margin-left: 20px;
    }

.ImgArea { /* 圖片區 */
    text-align: center;
    margin: 0 auto;
    margin-bottom: 60px;
}

    .ImgArea img {
        max-width: 700px;
        border: 1px solid #ddd;
    }

    .ImgArea .imgDesc { /* 圖片註解 */
        font-size: 1rem;
        line-height: 1.5;
        color: #88334b;
        text-align: center;
        max-width: 700px;
        margin: 0.5em auto 2em auto;
        padding-top: 1rem;
        font-family: "Noto Sans TC", " 微軟正黑體 ", sans-serif;
    }

.ImgArea-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .ImgArea-flex .ImgArea {
        max-width: 700px;
        /*height: 380px;*/
        margin-left: 0;
        margin-right: 0;
    }

    .ImgArea-flex .ImgArea-2x {
        width: calc((100% - 80px) / 2);
    }

    .ImgArea-flex .ImgArea-3x {
        width: calc((100% - 80px) / 3);
    }

    .ImgArea-flex .ImgArea-2_3x {
        width: calc(((100% - 80px) / 3) * 2 + 37px);
        max-width: initial;
    }

    .ImgArea-flex .ImgArea img {
        width: 100%;
    }

    .ImgArea-flex .ImgArea-2_3x img {
        max-width: initial;
    }

/*----- 經銷產品 ------*/
.proxy {
    margin-bottom: 1em;
}

.proxyarea {
    width: 17.5em; /*290/16*/
    height: 19.375em; /*310/16*/
    margin: 1em 1em;
    float: left;
    display: block;
}

.proxy ul {
    margin: 1em 0 0 1.2em;
}

    .proxy ul li {
        font-size: 0.9em;
        line-height: 1.5em;
        list-style-type: square;
        padding: 4px 0;
    }

        .proxy ul li span {
            font-size: 0.75em;
            font-weight: bold;
            padding-left: 10px;
            color: #f00;
        }

/*---- 陰影設置數值 x- 水平  y- 垂直  blur- 模糊  spread- 擴散  inset- 內陰影 ----*/
h6 {
    font-family: " 微軟正黑體 ", Arial;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    padding: 0.3em;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -ms-border-radius: 5px;
}

    h6:hover {
        -moz-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        -o-transform: scale(1.1);
        -ms-transform: scale(1.1);
        transform: scale(1.1);
    }

    h6.pink {
        color: #fc5d8a;
        border: 1px solid rgba(254,162,188,0.3);
        box-shadow: 1px 1px 8px 4px rgba(249,162,187,0.3);
        -moz-box-shadow: 1px 1px 8px 4px rgba(249,162,187,0.3);
        -webkit-box-shadow: 1px 1px 8px 4px rgba(249,162,187,0.3);
        -ms-box-shadow: 1px 1px 8px 4px rgba(249,162,187,0.3);
    }

    h6.blue {
        color: #65c2f2;
        border: 1px solid rgba(151,216,250,0.3);
        -moz-box-shadow: 1px 1px 8px 4px rgba(145,211,245,0.3); /*160,215,243*/
        -webkit-box-shadow: 1px 1px 8px 4px rgba(145,211,245,0.3);
        -ms-box-shadow: 1px 1px 8px 4px rgba(145,211,245,0.3);
        box-shadow: 1px 1px 8px 4px rgba(145,211,245,0.3);
    }

        h6.blue a {
            color: #65c2f2;
        }

    h6.green {
        color: #77cd3b;
        border: 1px solid rgba(158,225,111,0.3);
        -moz-box-shadow: 1px 1px 8px 4px rgba(153,228,102,0.3);
        -webkit-box-shadow: 1px 1px 8px 4px rgba(153,228,102,0.3);
        -ms-box-shadow: 1px 1px 8px 4px rgba(153,228,102,0.3); /*161,225,118*/
        box-shadow: 1px 1px 8px 4px rgba(153,228,102,0.3);
    }

        h6.green a {
            color: #77cd3b;
        }

/* ===== 英文版設定 ===== */
.en #MainCont {
    margin: 0 30px;
    text-align: center;
}

.en .SecondCont {
    margin: 0 20px;
}

.en h4 {
    color: #000;
    font-style: italic;
    font-size: 1.375em;
    font-weight: bold;
    background-image: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.en .Cont {
    margin: 20px 30px;
}

.en #MainCont ul {
    margin: 0 auto 120px;
}

    .en #MainCont ul li {
        text-align: left;
        margin: 15px 0;
        list-style-type: square;
        list-style-position: inside;
        line-height: 1.75rem;
        text-indent: -1.4rem;
        margin-left: 1.5rem;
    }

.en #Content p {
    line-height: 1.5em;
    text-align: justify;
    text-justify: inter-ideograph;
}

    .en #Content p span {
        font-weight: bold;
        font-size: 120%;
        color: #0e5e87;
    }

.en #InfoCont li p {
    text-indent: 0rem;
}

.en #Content .ImgArea .imgDesc { /* 圖片註解 */
    text-align: left;
}

/*----- 經銷產品 ------*/
.en .proxy {
    margin-bottom: 3em;
}



/* All Mobile  (devices and browser)------768/16  */
@media only screen and (max-width: 48em) {
    .ImgArea img {
        max-width: 600px;
    }

    .ImgArea-flex .ImgArea-2_3x img {
        max-width: 600px;
    }

    .ImgArea .imgDesc {
        font-size: 1rem;
        max-width: 600px;
        padding-top: 0.25rem;
        margin-bottom: 2.5em;
    }
}

/* Mobile Landscape  to Tablet Portrait (devices and browsers)------569/16   ~  767/16  */
@media only screen and (min-width: 35.5625em) and (max-width: 47.9735em) {
    .ImgArea img {
        max-width: 500px;
    }

    .ImgArea-flex .ImgArea-2_3x img {
        max-width: 500px;
    }

    .ImgArea .imgDesc {
        max-width: 500px;
    }

    .Cont {
        margin-left: 20px;
    }

    .SecondCont {
        margin-left: 30px;
    }
}

/* Apple Iphone5 Landscape ------568/16 */
@media only screen and (max-width: 35.5em) {
    .ImgArea img {
        max-width: 400px;
    }

    .ImgArea-flex .ImgArea-2_3x img {
        max-width: 400px;
    }

    .ImgArea .imgDesc {
        max-width: 400px;
    }


    .Cont {
        margin-left: 20px;
    }

    .SecondCont {
        margin-left: 25px;
    }
}

/* Mobile Landscape ------480/16 */
@media only screen and (max-width: 30em) {
    .en #Content p {
        text-align: start;
    }

    .ImgArea img {
        max-width: 300px;
    }

    .ImgArea-flex .ImgArea-2_3x img {
        max-width: 300px;
    }

    .ImgArea .imgDesc {
        line-height: 1.25;
        max-width: 300px;
        padding-top: 0.25rem;
        margin-bottom: 1.5em;
    }


    .Cont {
        margin-left: 0;
    }

    .SecondCont {
        margin-left: 15px;
    }
}


/* All Mobile ------320/16 */
@media only screen and (max-width: 20em) {
    .ImgArea img {
        max-width: 260px;
    }

    .ImgArea-flex .ImgArea-2_3x img {
        max-width: 260px;
    }

    .ImgArea .imgDesc { /* 圖片註解 */
        font-size: 0.875em;
        max-width: 260px;
    }

    h2 {
        font-size: 1.875em;
    }

    h3 {
        font-size: 1.5em;
    }

    h4 {
        font-size: 1.375em;
    }

    .SecondCont {
        margin-left: 0;
    }
}

/*----- 環境顧問與規劃管理 ------*/

.cardArea {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
}

    .cardArea .card {
        width: calc((100% - (30px * 3)) / 4);
        height: 250px;
        /*height: auto;*/
        border-radius: 10px;
        box-shadow: 0 5px 6px rgba(0, 0, 0, .2);
        background-color: #ffffff;
        box-sizing: border-box;
        padding: 20px 10px;
        margin: 10px 0;
        position: relative;
    }

        .cardArea .card.card_blue {
            background-color: #E7F1F6;
        }

        .cardArea .card.card_none {
            background-color: transparent;
            box-shadow: none;
        }

        .cardArea .card .card_img {
            width: 100%;
            height: 140px;
            box-sizing: border-box;
        }

            .cardArea .card .card_img img {
                height: 100%;
                border-radius: 10px;
                margin: 0 auto;
                display: block;
            }

#cardArea .card p {
    padding-top: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0;
    color: #606060;
}

.cardArea .card .overlay_up {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    /* 	background-color: rgba(0, 255, 0, 0.6); */
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.2s ease;
}

.cardArea .card:hover .overlay_up {
    height: 100%;
}

.cardArea .card .overlay_up {
    /*padding: 0 20px;*/
    box-sizing: border-box;
    border-radius: 10px;
}

    .cardArea .card .overlay_up .content_text {
        height: 250px;
        box-sizing: border-box;
        margin: 20px;
    }

#cardArea .card .overlay_up p {
    padding-top: 0;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    line-height: 1.875rem;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    line-clamp: 7;
    box-sizing: border-box;
    text-indent: 2.375rem;
    margin-left: .5rem;
}

@media only screen and (max-width: 86.25em) {
    .cardArea .card .card_img img {
        /*width: 80%;*/
        height: auto;
        max-height: 140px;
    }

    #cardArea .card p {
        line-height: 2rem;
    }

    .cardArea .card .overlay_up .content_text {
        margin: 20px 10px;
    }
}

@media only screen and (max-width: 76.25em) {
    .cardArea .card {
        width: calc((100% - (20px * 3)) / 4);
    }

        .cardArea .card .card_img img {
            width: 95%;
            height: auto;
        }

    #cardArea .card p {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .ImgArea-flex {
        display: block;
    }

        .ImgArea-flex .ImgArea-2x, .ImgArea-flex .ImgArea-3x, .ImgArea-flex .ImgArea-2_3x {
            width: 100%;
            margin: 0 auto;
            max-width: 700px;
        }
}

@media only screen and (max-width: 61.1em) {
    .cardArea .card {
        height: 200px;
    }

        .cardArea .card .card_img {
            height: auto;
            max-height: 120px;
        }

    #cardArea .card .overlay_up p {
        line-height: 1.75rem;
        -webkit-line-clamp: 6;
        line-clamp: 6;
    }
}

@media only screen and (max-width: 48em) {
    .cardArea .card {
        width: calc((100% - (20px * 2)) / 3);
    }

        .cardArea .card.card_none {
            display: none;
        }

        .cardArea .card .card_img {
            height: auto;
        }

            .cardArea .card .card_img img {
                width: 80%;
                height: auto;
            }

    #cardArea .card p {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }

    #cardArea .card .overlay_up p {
        line-height: 1rem;
        line-height: 1.5rem;
        -webkit-line-clamp: 6;
        line-clamp: 6;
    }
}

@media only screen and (min-width: 35.5625em) and (max-width: 47.9735em) {
    .cardArea .card {
        height: 190px;
    }

        .cardArea .card .card_img img {
            height: auto;
        }
}

@media only screen and (max-width: 35.5624em) {
    .cardArea .card {
        width: calc((100% - (10px * 2)) / 3);
        height: 180px;
    }
}

@media only screen and (max-width: 30em) {
    .cardArea .card {
        width: calc((100% - 20px) / 2);
        height: 175px;
    }

        .cardArea .card .card_img img {
            /*width: 100%;*/
            max-height: 100px;
        }

    #cardArea .card p {
        line-height: 1.5rem;
    }
}

@media only screen and (max-width: 20em) {
    .cardArea .card {
        width: calc((100% - 10px) / 2);
        height: 160px;
    }
}

#InfoCont li {
    font-size: 1.125rem;
    font-weight: bold;
}

    #InfoCont li p {
        font-size: 1.125rem;
    }

/* ===== 英文版設定 ===== */
.en .cardArea .card {
    height: 280px;
}

.en #cardArea .card p {
    font-size: 1.125rem;
}

.en .cardArea .card .overlay_up .content_text {
    height: 280px;
}

.en #cardArea .card .overlay_up p {
    font-size: 1rem;
    /*text-align: justify;*/
    -webkit-line-clamp: 7;
    line-clamp: 7;
}

@media only screen and (max-width: 76.25em) {
    .en #cardArea .card p {
        font-size: 1rem;
        line-height: 1.25rem;
    }
}

@media only screen and (max-width: 61.1em) {
    .en .cardArea .card {
        height: 240px;
    }
}

@media only screen and (max-width: 35.5624em) {
    .en .cardArea .card {
        height: 220px;
    }
}
