﻿@charset "utf-8";
/*CSS Info ======================================================================
File Name: Layout.css
Editor: Eliam
CreateDate:2023/03/20
Last Editor: Rebecca
LastDate: 2023/05/24
Version: 4.0
---------------------------
【 Table of Contents 】
	DIV XHTML頁面
	Free Style
	使用jQuery
=================================================================================*/

/*===============================================================================
                         Pages typography setting
=================================================================================*/

#Wrap {
    position: relative;
}
/*-----------------Content-----------------*/
#Content {
    padding: 1.25rem 1rem;
}

#Main {
}

#MainCont {
    padding-top: 1.25rem;
}

h2 {
    width: fit-content;
    font-size: 1.75rem; /*28px*/
    padding: 8px 30px;
    padding-left: 70px;
    border-radius: 50px;
    background-color: #F1EBCB;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
    position: relative;
}

    h2::before {
        content: '\f5a0';
        font-size: 1.75rem;
        font-weight: bold;
        font-family: 'Font Awesome 6 Free';
        text-align: center;
        line-height: 3.25rem;
        color: #ffffff;
        width: 50px;
        height: 50px;
        display: block;
        border-radius: 50px;
        background-color: #9FC280;
        border: 3px solid #ffffff;
        position: absolute;
        top: -2px;
        left: 0px;
    }

h3 {
    font-size: 1.5rem;
    line-height: 1.875rem;
    color: #5D8E9F;
    padding-bottom: 20px;
}

    h3::before {
        content: '';
        width: 32px;
        height: 32px;
        border-radius: 50px;
        display: inline-block;
        background-color: #5D8E9F;
        margin-right: 8px;
        vertical-align: top;
        font-family: 'Font Awesome 6 Free';
        font-weight: bold;
        color: #ffffff;
        font-size: 1rem;
        line-height: 2rem;
        text-align: center;
    }

h4 {
    font-size: 1.375rem; /*22px*/
    padding-bottom: 20px;
    color: #E99177;
}

section {
    margin: 1.875rem 1rem 2.5rem 1rem;
}

    section p {
        margin-bottom: 1rem;
        line-height: 1.75rem;
    }

figcaption {
    margin-top: 10px;
    text-align: center;
    color: #303030;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5rem;
}

/*    Environment analysis setting
================================================== */

/* 場址導覽 */

h2.siteList::before {
    content: '\f3c5';
}

.hide {
    display: none;
}

.cont_siteGuide {
    display: flex;
    justify-content: space-between;
}

    .cont_siteGuide .cont_left {
        width: calc((100% - 20px) * 0.45);
    }

    .cont_siteGuide .cont_right {
        width: calc((100% - 20px) * 0.55);
    }

    .cont_siteGuide .cont_GISArea {
        width: 100%;
        height: 270px;
        display: flex;
        justify-content: right;
        position: relative;
        margin-top: 20px;
    }

        .cont_siteGuide .cont_GISArea .cont_GIS {
            width: 90%;
            height: 270px;
            border-radius: 5px;
            box-shadow: 0 3px 6px rgba(0, 0, 0, .2);
        }

            .cont_siteGuide .cont_GISArea .cont_GIS > div#Map {
                border-radius: 5px;
            }

        .cont_siteGuide .cont_GISArea.expand {
            height: 378.5px;
        }

            .cont_siteGuide .cont_GISArea.expand .cont_GIS {
                height: 378.5px;
            }

        .cont_siteGuide .cont_GISArea .cont_legend {
            display: flex;
            flex-direction: column;
            justify-content: left;
            padding: 10px;
            position: absolute;
            bottom: 15px;
            left: 0;
            z-index: 400;
            border-radius: 5px;
            background-color: #ffffff;
            box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
            box-sizing: border-box;
        }

            .cont_siteGuide .cont_GISArea .cont_legend span {
                font-size: .875rem;
                padding: 2.5px 0;
            }

                .cont_siteGuide .cont_GISArea .cont_legend span::before {
                    content: '';
                    width: 12px;
                    height: 12px;
                    display: inline-block;
                    margin-right: 5px;
                    vertical-align: middle;
                }

                .cont_siteGuide .cont_GISArea .cont_legend span:first-child::before {
                    clip-path: polygon(50% 0, 100% 100%, 0 100%);
                    background-color: #9FC280;
                }

                .cont_siteGuide .cont_GISArea .cont_legend span:nth-child(2)::before {
                    border-radius: 50px;
                    background-color: #E99177;
                }

                .cont_siteGuide .cont_GISArea .cont_legend span:nth-child(3)::before {
                    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
                    background-color: #5D8E9F;
                }

                .cont_siteGuide .cont_GISArea .cont_legend span:nth-child(4)::before {
                    background-color: #D9C157;
                }

                .cont_siteGuide .cont_GISArea .cont_legend span:nth-child(5)::before {
                    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
                    background-color: #D9C157;
                }

/* 場址導覽詳細 */

.cont_siteIntro {
    position: relative;
    display: flex;
    justify-content: space-between;
}

    .cont_siteIntro h5 {
        font-size: 1.25rem;
    }

        .cont_siteIntro h5::before {
            content: '';
            width: 8px;
            height: 3px;
            display: inline-block;
            background-color: #83B9BD;
            margin-right: 5px;
            vertical-align: middle;
        }

    .cont_siteIntro .cont_left {
        width: auto;
        /*height: auto;*/
        padding: 20px;
        border-radius: 5px;
        background-color: #ffffff;
        box-shadow: 0 3px 6px rgba(0, 0, 0, .2);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        /*position: absolute;*/
        z-index: 10;
        /*top: 0;*/
        left: 0;
        position: sticky;
        top: 160px;
        height: fit-content;
    }

        .cont_siteIntro .cont_left a {
            /*width: 145px;*/
            min-width: 170px;
            padding: 7px 10px;
            /*background-color: #CBDFE0;*/
            background-color: #CBDFE0;
            /*border: 2px solid #CBDFE0;*/
            border: 2px solid #CBDFE0;
            color: #707070;
            font-size: 1.375rem;
            line-height: 1.375rem;
            font-weight: bold;
            border-radius: 5px;
            box-sizing: border-box;
            margin: 5px 0;
        }

            .cont_siteIntro .cont_left a:first-child {
                margin-top: 0;
            }

            .cont_siteIntro .cont_left a:last-child {
                margin-bottom: 0;
            }

            .cont_siteIntro .cont_left a::before {
                content: '';
                width: 24px;
                height: 24px;
                border-radius: 50px;
                display: inline-block;
                background-color: #ffffff;
                margin-right: 8px;
                vertical-align: top;
                font-family: 'Font Awesome 6 Free';
                font-weight: bold;
                color: #303030;
                font-size: .875rem;
                line-height: 1.5rem;
                text-align: center;
            }

            .cont_siteIntro .cont_left a:first-child::before {
                content: '\f03a';
            }

            .cont_siteIntro .cont_left a:nth-child(2)::before {
                content: '\f773';
            }

            .cont_siteIntro .cont_left a:nth-child(3)::before {
                content: '\f164';
            }

            .cont_siteIntro .cont_left a:last-child::before {
                content: '\f1b9';
            }

            .cont_siteIntro .cont_left a:hover, .cont_siteIntro .cont_left a:active {
                border: 2px solid #5D8E9F;
                color: #303030;
            }

            .cont_siteIntro .cont_left a:focus, .cont_siteIntro .cont_left a.mark {
                background-color: #5D8E9F;
                border: 2px solid #5D8E9F;
                color: #ffffff;
            }

    .cont_siteIntro .cont_right {
        width: calc(100% - 236px);
        margin-left: 236px;
        margin-left: 0;
    }

        .cont_siteIntro .cont_right .cont_project h3::before {
            content: '\f03a';
        }

        .cont_siteIntro .cont_right .cont_environment h3::before {
            content: '\f773';
        }

        .cont_siteIntro .cont_right .cont_improve h3::before {
            content: '\f164';
        }

        .cont_siteIntro .cont_right .cont_transport h3::before {
            content: '\f1b9';
        }

.cont_section {
    margin-bottom: 40px;
}

.cont_siteIntro .cont_right .cont_section {
    margin-bottom: 40px;
}

.cont_siteIntro .cont_right p {
    margin-bottom: 10px;
}

.cont_switchCont {
    margin-bottom: 20px;
}

.cont_siteIntro .cont_right .cont_article {
    /*margin-bottom: 20px;*/
}

.cont_article p {
    /*text-indent: 2em;*/
    margin-bottom: 20px;
}

.cont_space {
    margin-bottom: 30px;
}

.cont_siteIntro .cont_right .cont_space {
    margin-bottom: 30px;
}

.cont_siteIntro .cont_right .map_pin {
    display: flex;
    justify-content: space-between;
}

    .cont_siteIntro .cont_right .map_pin span {
        margin-left: 0;
        line-height: 1.5rem;
    }

    .cont_siteIntro .cont_right .map_pin a {
        width: 28px;
        display: block;
        margin-right: 18px;
    }

        .cont_siteIntro .cont_right .map_pin a::before {
            display: none;
        }

.cont_siteIntro .cont_right .cont_img {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    /*justify-content: center;*/
    /*float: left;*/
    box-sizing: border-box;
}

    .cont_siteIntro .cont_right .cont_img img {
        max-width: calc((100% - 60px) / 2);
        margin: 5px 10px;
    }

.cont_siteIntro .cont_right ol li {
    text-indent: -5em;
    margin-left: 5em;
    line-height: 1.75rem;
}

/*.cont_siteIntro .cont_right .imgArea {
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }*/

.cont_siteIntro .cont_right .imgArea {
    width: 100%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 5px;
    box-sizing: border-box;
}

    /*.cont_siteIntro .cont_right .imgArea.MylightBox {
    width: 100%;
    display: flex;
    overflow-x: auto;
    box-sizing: border-box;
}*/

    .cont_siteIntro .cont_right .imgArea a {
        /*width: 212px;*/
        height: 180px;
        display: block;
        margin: 0 5px;
    }

    .cont_siteIntro .cont_right .imgArea figure:first-child a {
        margin-left: 0;
    }

    .cont_siteIntro .cont_right .imgArea figure:last-child a {
        margin-right: 0;
    }

    .cont_siteIntro .cont_right .imgArea a img {
        width: auto;
        height: 100%;
    }

    .cont_siteIntro .cont_right .imgArea a figcaption {
        color: #5D8E9F;
    }

/* simple-lightbox */
.hidden-scroll {
    padding-right: 0 !important;
}

/* 水質淨化教室 */
h2.class_wmonitor::before {
    content: '\f043';
}

h2.class_plants::before {
    content: '\f4d8';
}

h2.class_birds::before {
    content: '\f4ba';
}

h2.class_fishes::before {
    content: '\e4f2';
}

.cont_class .card_class {
    width: calc(100% - 20px);
    height: auto;
    padding: 25px;
    border: 2px solid #5D8E9F;
    border-radius: 5px;
    box-sizing: border-box;
    position: relative;
    background-color: #ffffff;
    margin: 20px;
    margin-left: 10px;
    display: flex;
}

    .cont_class .card_class::after {
        content: '';
        width: 100%;
        height: 100%;
        border: 2px solid #A2C2CD;
        border-radius: 5px;
        position: absolute;
        z-index: -1;
        top: -10px;
        left: -10px;
    }

    .cont_class .card_class .card_img {
        width: 20%;
        margin-right: 25px;
    }

    .cont_class .card_class .cont_article {
        width: 80%;
    }

    .cont_class .card_class p.card_title {
        font-size: 1.5rem;
        font-weight: bold;
        text-indent: 0;
        color: #DB7456;
    }

    .cont_class .card_class p:last-child {
        margin-bottom: 0;
    }

    .cont_class .card_class i {
        font-style: italic;
        font-weight: bold;
    }

.cont_class.cont_class_wmonitor .cont_article {
    width: 100%;
}

/* 相關網站 */

h2.relateLink::before {
    content: '\f0ac';
}

.cont_siteLink {
    position: relative;
    display: flex;
    justify-content: space-between;
}

    .cont_siteLink .cont_left {
        width: auto;
        /*height: auto;*/
        padding: 20px;
        border-radius: 5px;
        background-color: #ffffff;
        box-shadow: 0 3px 6px rgba(0, 0, 0, .2);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        /*position: absolute;*/
        z-index: 10;
        /*top: 0;*/
        left: 0;
        position: sticky;
        top: 160px;
        height: fit-content;
    }

        .cont_siteLink .cont_left a {
            min-width: 160px;
            padding: 7px 10px;
            background-color: #CBDFE0;
            border: 2px solid #CBDFE0;
            color: #707070;
            font-size: 1.375rem;
            line-height: 1.75rem;
            font-weight: bold;
            border-radius: 5px;
            box-sizing: border-box;
            margin: 5px 0;
            display: block;
        }

            .cont_siteLink .cont_left a:first-child {
                margin-top: 0;
            }

            .cont_siteLink .cont_left a:last-child {
                margin-bottom: 0;
            }

            .cont_siteLink .cont_left a:hover, .cont_siteLink .cont_left a:active {
                border: 2px solid #5D8E9F;
                color: #303030;
            }

            .cont_siteLink .cont_left a:focus, .cont_siteLink .cont_left a.mark {
                background-color: #5D8E9F;
                border: 2px solid #5D8E9F;
                color: #ffffff;
            }

    .cont_siteLink .cont_right {
        width: calc(100% - 236px);
        /*margin-left: 236px;*/
    }

        .cont_siteLink .cont_right .cont_section {
            margin-bottom: 40px;
        }

            .cont_siteLink .cont_right .cont_section h3::before {
                content: '\f0c1';
            }

        .cont_siteLink .cont_right ul li {
            width: 100%;
            border-bottom: 1px solid #83B9BD;
            padding: 10px 0;
        }

            .cont_siteLink .cont_right ul li a {
                font-size: 1.25rem;
                font-weight: bold;
                color: #303030;
            }

                .cont_siteLink .cont_right ul li a:hover, .cont_siteLink .cont_right ul li a:active {
                    color: #E99177;
                }

            .cont_siteLink .cont_right ul li p {
                margin-top: 8px;
                margin-bottom: 0;
            }

/* 網站導覽 */

.cont_guide_caption {
    width: calc(100% - 2rem);
    height: auto;
    padding: 20px;
    background-color: #F5EDEA;
    border-radius: 10px;
    box-sizing: border-box;
}

    .cont_guide_caption ul li:nth-child(2) ul {
        padding-bottom: 10px;
    }

    .cont_guide_caption p {
        font-size: 1.125rem;
        font-weight: bold;
        color: #DB7456;
    }

        .cont_guide_caption p:last-child {
            margin-bottom: 0;
        }

    .cont_guide_caption ul li {
        font-size: 1.125rem;
        font-weight: normal;
        color: #303030;
        padding-left: 1.125rem;
        padding-bottom: 10px;
    }

.cont_guide_link {
    width: calc(100% - 2rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
}

.pageLinkArea {
    width: calc((100% - 240px) / 5);
}

    .pageLinkArea a {
        width: 100%;
        display: block;
        font-size: 1.125rem;
        font-weight: bold;
        text-align: center;
        padding: 10px 20px;
        border-radius: 5px;
        background-color: #5D8E9F;
        border: 2px solid #5D8E9F;
        color: #ffffff;
        box-sizing: border-box;
    }

        .pageLinkArea a:hover, .pageLinkArea a:active {
            background-color: #ffffff;
            color: #303030;
        }

    .pageLinkArea .pageSubLink {
        /*padding: 10px 15px;*/
        background-color: #D1E6EB;
        margin-top: 5px;
        box-sizing: border-box;
    }

        .pageLinkArea .pageSubLink ul li a {
            background-color: transparent;
            border: none;
            color: #303030;
            font-weight: normal;
            text-align: left;
            padding: 10px 15px;
            transition: none;
            -webkit-transition: none;
        }

            .pageLinkArea .pageSubLink ul li a:hover, .pageLinkArea .pageSubLink ul li a:active {
                background-color: transparent;
                color: #5D8E9F;
                font-weight: bold;
                text-decoration: underline;
            }

/* 現地處理簡介 */

h2.overview::before {
    content: '\f5da';
}

.cont_overview h3::before {
    content: '\f02d';
}

.cont_overview .cont_ov_01 {
    width: calc(100% - 50px);
    border: 2px solid #5D8E9F;
    border-bottom-color: #D1E6EB;
    border-radius: 5px 5px 0 0;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    margin-top: 215px;
    margin-left: 50px;
}

    .cont_overview .cont_ov_01::before {
        width: 2px;
        height: 185px;
        background-color: #D1E6EB;
        content: "";
        display: block;
        left: -2px;
        bottom: -2px;
        position: absolute;
    }

    .cont_overview .cont_ov_01::after {
        width: 2px;
        height: 70px;
        background-color: #D1E6EB;
        content: "";
        display: block;
        right: -2px;
        bottom: -2px;
        position: absolute;
    }

    .cont_overview .cont_ov_01 .ov_img_01 {
        width: 595px;
        position: absolute;
        z-index: 2;
        top: -215px;
        left: -50px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, .2);
    }

    .cont_overview .cont_ov_01 p:first-child {
        margin-top: 30px;
    }

    .cont_overview .cont_ov_01 p:last-child {
        margin-bottom: 0;
    }

.cont_overview .cont_ov_imgArea {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

    .cont_overview .cont_ov_imgArea .ov_img {
        width: 300px;
    }

    .cont_overview .cont_ov_imgArea figcaption::before {
        content: '\f0da';
        font-family: 'Font Awesome 6 Free';
        font-size: 1rem;
        font-weight: bold;
        color: #5D8E9F;
        margin-right: 5px;
    }

.cont_overview .cont_ov_02 .cont_memory {
    display: flex;
}

    .cont_overview .cont_ov_02 .cont_memory div {
        width: calc(100% - 5rem);
        padding-left: 3rem;
        position: relative;
    }

        .cont_overview .cont_ov_02 .cont_memory div::before {
            content: "";
            width: 3px;
            height: 100%;
            background-color: #EEBFB1;
            position: absolute;
            top: 6px;
            left: 8px;
        }

p.year {
    width: 4.5rem;
    color: #E99177;
    font-size: 1.25rem;
    font-weight: bold;
    position: relative;
}

    p.year::after {
        content: "";
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 4px solid #fff;
        background-color: #EEBFB1;
        box-sizing: border-box;
        position: absolute;
        top: 4px;
        right: -20px;
        z-index: 10;
    }

.cont_overview .cont_ov_02 .cont_memory:last-child p {
    margin-bottom: 0;
}

/* 搜尋結果 */

.searchBlock {
    margin: 20px 15px;
}

    .searchBlock .gsc-search-button-v2 {
        border-radius: 5px;
        padding: 10px 30px;
        border: 2px solid #5D8E9F;
    }

        .searchBlock .gsc-search-button-v2 svg {
            width: 18px;
            height: 18px;
        }

        .searchBlock .gsc-search-button-v2:hover, .searchBlock .gsc-search-button-v2:active {
            background-color: #ffffff;
            border: 2px solid #5D8E9F;
            box-shadow: 0 3px 6px rgba(0, 0, 0, .2);
        }

            .searchBlock .gsc-search-button-v2:hover svg, .searchBlock .gsc-search-button-v2:active svg {
                fill: #303030;
            }

    .searchBlock .gsc-input {
        font-size: 1.125rem;
        min-height: 1.8em;
        box-sizing: border-box;
    }

/*-----------------RWD-----------------*/
@media only screen and (min-width: 76.25em) and (max-width: 86.1875em) { /*1220~1379*/
}

@media only screen and (min-width: 61.0525em) and (max-width: 76.1875em) { /*977~1219*/
    .pageLinkArea {
        width: calc((100% - 120px) / 5);
    }
}


@media only screen and (min-width: 48em) and (max-width:61em) { /*768~976*/
    .pageLinkArea {
        width: calc((100% - 120px) / 2);
        margin-bottom: 20px;
    }

    .cont_siteGuide {
        display: block;
    }

        .cont_siteGuide .cont_left {
            width: 100%;
        }

        .cont_siteGuide .cont_right {
            width: 100%;
            margin-top: 20px;
        }

    .cont_siteIntro .cont_left, .cont_siteLink .cont_left {
        top: 102px;
    }
}

@media only screen and (max-width: 47.9735em) { /*767↓*/
    .cont_siteIntro, .cont_siteLink {
        width: 100%;
        display: block;
    }

        .cont_siteIntro .cont_left, .cont_siteLink .cont_left {
            /*position: initial;*/
            overflow-x: scroll;
            overflow-y: hidden;
            flex-direction: initial;
            top: 82px;
        }

            .cont_siteIntro .cont_left a, .cont_siteLink .cont_left a {
                height: fit-content;
                margin: 0 5px;
            }

        .cont_siteIntro .cont_right, .cont_siteLink .cont_right {
            width: 100%;
            margin-left: 0;
            margin-top: 20px;
        }

    .cont_siteGuide {
        display: block;
    }

        .cont_siteGuide .cont_left {
            width: 100%;
        }

        .cont_siteGuide .cont_right {
            width: 100%;
            margin-top: 20px;
        }

    .cont_guide_caption {
        width: 100%;
    }

    .cont_guide_link {
        width: 100%;
    }

    .pageLinkArea {
        width: calc((100% - 80px) / 2);
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 43.75em) { /*700↓*/
    .cont_overview .cont_ov_01 {
        width: 100%;
        margin-top: 0;
        margin-left: 0;
    }

        .cont_overview .cont_ov_01 .ov_img_01 {
            width: 100%;
            position: initial;
            margin-bottom: 20px;
        }

        .cont_overview .cont_ov_01 p:first-child {
            margin-top: 0;
        }

    .btn.btn_switchCont {
        margin-bottom: 5px;
    }
}

@media only screen and (max-width: 31.25em) { /*500↓*/
    .cont_overview .cont_ov_imgArea {
        display: block;
    }

        .cont_overview .cont_ov_imgArea .ov_img {
            margin: 0 auto;
        }

    .cont_class .card_class {
        padding: 15px;
    }

    .cont_class .card_class {
        display: block;
    }

        .cont_class .card_class .card_img {
            width: 100%;
            margin-right: 0;
            margin-bottom: 20px;
        }

        .cont_class .card_class .cont_article {
            width: 100%;
        }

        .cont_class .card_class p.card_title {
            font-size: 1.375rem;
            margin-bottom: 10px;
        }

    .pageLinkArea {
        width: calc((100% - 20px) / 2);
    }
}
