﻿body {
    font-size: 16px;
    font-family: Microsoft JhengHei;
}

h1, h2, h3, h4, h5, h6, .navbar .navbar-nav {
    font-family: 'Raleway', 'Microsoft JhengHei', sans-serif;
    text-transform: none;
}

form {
    margin: 0px;
}

/* Common */
.text-gray {
    color: #aaaaaa;
}

.text-blue {
    color: #0033CC;
}

.text-red {
    color: #ff0000;
}

.text-green {
    color: #006600;
}

.text-orange {
    color: #E86F00;
}

h1, h2, h3 {
    color: #000000;
    font-weight: bold;
}

.btn i {
    margin-right: 3px;
}

section p {
    line-height: 2;
}

.flex {
    display: -webkit-flex;
    display: flex;
}

/* 防止電話號碼在iphone會自動變色 */
a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}

/* Copyright's dot */
.copyright a {
    text-decoration: none;
    color: inherit;
}

/* Style of Scroll To Top */
.scrollToTop {
    background-color: #198099;
    border-radius: 3px;
}

    .scrollToTop:hover {
        background-color: #0e4958;
    }

        .scrollToTop:hover i {
            color: #ffffff;
            -webkit-transition: all 0.2s ease-in-out;
            -o-transition: all 0.2s ease-in-out;
            transition: all 0.2s ease-in-out;
        }

    .scrollToTop > div {
        background-color: #198099;
        width: 40px;
        height: 40px;
    }

    .scrollToTop i {
        font-size: 20px;
    }

/* Header */
.logo a,
.logo a img {
    display: inline-block;
}

.header {
    border-top: 0;
    border-bottom: 0;
}

    .header.fixed-customer {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1006;
    }

.header-first {
    background-image: url(/IMG/banner_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    transition: all ease 2s;
    animation: headerBg 10s ease infinite;
    padding: 0;
    height: 74px;
}

@keyframes headerBg {
    0% {
        background-image: url('/IMG/banner_bg.png');
    }

    50% {
        background-image: url('/IMG/banner_bg2.png');
    }

    100% {
        background-image: url('/IMG/banner_bg.png');
    }
}

.header-first .logo {
    margin-left: 40px;
    margin-top: 12px;
}

.header-dropdown-buttons .btn-group > .btn, .header-dropdown-buttons .btn-group.open > .btn, .header-dropdown-buttons .btn-group > .btn:hover {
    background-color: transparent;
    border: none;
    color: #fff;
    width: auto;
    height: auto;
}

.header-first .header-dropdown-buttons {
    top: 19px;
    right: 23px;
}

.header-dropdown-buttons .btn-group .dropdown-menu {
    margin-top: 16px;
    padding: 0px;
    min-width: 200px;
    border-radius: 0px;
    border: 1px solid rgba(0,0,0,.15);
}

    .header-dropdown-buttons .btn-group .dropdown-menu a:hover {
        background-color: #fafafa;
        color: #000;
    }

.header .menu {
    background-color: #198099;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.3);
}

.main-navigation .dropdown > a:before {
    content: "";
}

.main-navigation .dropdown-menu {
    background-color: #0e4958;
    border: none;
    border-top: 1px solid #0e4958;
    border-bottom: 1px solid #0e4958;
}

    .main-navigation .dropdown-menu > li > a {
        color: #ffffff;
        border: none;
    }

        .main-navigation .dropdown-menu > li > a:hover {
            background-color: #198099;
        }

.main-navigation .navbar-nav > li > a {
    color: #ffffff;
}

.main-navigation .nav > li > a:hover,
.main-navigation .nav > li > a:focus,
.main-navigation .nav > li.active > a {
    background-color: #0e4958;
}

.fixed-header-on .header .logo img {
    max-height: none;
}

/* 首頁 */
.home-page .section-news ul {
    list-style: none;
    padding-left: 0;
}

    .home-page .section-news ul .date {
        padding-right: 0.5em;
        color: #00b0f0;
        font-weight: bold;
    }

    .home-page .section-news ul .title {
        color: #333333;
    }

    .home-page .section-news ul > li {
        border-bottom: 1px solid #cccccc;
        padding: 0.5em;
    }

        .home-page .section-news ul > li:hover {
            background-color: #f2f2f2;
        }

        .home-page .section-news ul > li > a:hover {
            text-decoration: none;
        }

/* Section */
/* 關於平台 */
.section-list {
    padding: 70px 0;
}

.dark-bg {
    background-color: #262626;
}

.gray-bg {
    background-color: #f2f2f2;
}

.title-bg {
    display: inline-block;
    border-radius: 10px;
    font-weight: bold;
    background-color: #333333;
    color: #ffffff;
    padding: 0.5em;
}

    .title-bg.blue {
        background-color: #00b0f0;
    }

    .title-bg.red {
        background-color: #D1004E;
    }

    .title-bg.black {
        background-color: #000000;
    }

.title-frame {
    display: inline-block;
    border-radius: 10px;
    border: 1px solid #00b0f0;
    color: #00b0f0;
    font-weight: bold;
    line-height: 1.3;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

    .title-frame .top {
        background-color: #00b0f0;
        color: #ffffff;
        padding: 0.5em;
        font-weight: bold;
        font-size: 20px;
    }

    .title-frame .bottom {
        background-color: #ffffff;
        color: #333;
        padding: 0.5em;
        font-size: 36px;
    }

/* FAQ */
.section-faq .isotope-item {
    width: 100%;
}

.section-faq .filter-center.filters {
    margin: 0 auto;
    text-align: center;
}

    .section-faq .filter-center.filters li {
        display: inline-block;
        float: none;
    }


.section-list.about-title,
.section-list.manual-title {
    letter-spacing: 1em;
}

    .section-list.about-title h1,
    .section-list.manual-title h1 {
        color: #2bb4eb;
    }

    .section-list.about-title h2,
    .section-list.manual-title h2 {
        color: #ffffff;
    }

        .section-list.about-title h2 img,
        .section-list.manual-title h2 img {
            display: inline-block;
            vertical-align: bottom;
            margin-left: 0.5em;
        }

.section-list span.highlight {
    position: relative;
    z-index: 0;
}

    .section-list span.highlight::before {
        content: " ";
        display: inline-block;
        background-color: #a2ddf6;
        width: 100%;
        height: 0.7em;
        border-radius: 0.7em;
        position: absolute;
        bottom: -0.1em;
        z-index: -1;
    }

.section-list.functions .row.flex {
    justify-content: space-between;
}

.section-list.functions .image-box {
    flex-grow: 1;
    flex-basis: 0%;
    padding: 10px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

    .section-list.functions .image-box:last-child {
        border-right: 0;
    }

.section-list.function-2 .row.flex {
    justify-content: center;
    align-items: center;
}

.section-list.function-2 p {
    line-height: 1.3;
}

.section-list.function-2 .image-box {
    padding: 0 15px;
}

    .section-list.function-2 .image-box.arrow img {
        margin-bottom: 30px;
    }

.section-list.notify p {
    line-height: 1;
}

.section-list.notify ul > li {
    position: relative;
    list-style: none;
}

    .section-list.notify ul > li:before {
        content: " ";
        display: inline-block;
        width: 8px;
        height: 8px;
        background-color: #00b0f0;
        border: 2px solid #404040;
        border-radius: 100%;
        position: absolute;
        left: -1em;
        top: 0.5em;
    }

.section-list.why .row.three-col {
    border-bottom: 5px dashed #cccccc;
    padding-bottom: 30px;
}

    .section-list.why .row.three-col .image-box {
        position: relative;
        height: 126px;
        background-color: #fff;
        border-radius: 5px;
        padding: 10px 0;
        box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    }

        .section-list.why .row.three-col .image-box:before {
            content: " ";
            position: absolute;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 10px 10px 0 10px;
            border-color: #ffffff transparent transparent transparent;
            left: 50%;
            margin-left: -10px;
            bottom: -10px;
        }

        .section-list.why .row.three-col .image-box:after {
            content: " ";
            display: inline-block;
            width: 18px;
            height: 18px;
            background-color: #00b0f0;
            border: 4px solid #404040;
            border-radius: 100%;
            position: absolute;
            left: 50%;
            margin-left: -9px;
            bottom: -40px;
        }

.section-pipe {
    background-color: #f2f2f2;
    overflow: hidden;
}

    .section-pipe .pipe-container {
        background-color: #7f7f7f;
        margin: 120px -15px;
    }

    .section-pipe .pipe {
        background-color: #7f7f7f;
        height: 120px;
        position: relative;
        color: #ffffff;
    }

        .section-pipe .pipe:after {
            content: " ";
            background-image: url(/IMG/pipe-head.png);
            background-size: contain;
            background-repeat: no-repeat;
            display: block;
            position: absolute;
            width: 75px;
            height: 175px;
            left: 100%;
            top: -27px;
        }

        .section-pipe .pipe:before {
            content: " ";
            background-image: url(/IMG/pipe-head.png);
            background-size: contain;
            background-repeat: no-repeat;
            display: block;
            position: absolute;
            width: 75px;
            height: 175px;
            right: 100%;
            top: -27px;
        }

        .section-pipe .pipe .water-drop {
            display: inline-block;
        }

        .section-pipe .pipe .man {
            position: absolute;
            height: 350px;
            top: -50%;
            margin-top: -50px;
            right: 0;
        }

        .section-pipe .pipe .row.flex {
            flex-wrap: wrap;
            height: 120px;
            align-items: center;
            justify-content: space-between;
        }

/* 水權人須知 */
.section-rule {
    background-color: #f2f2f2;
    overflow: hidden;
}

    .section-rule .isotope-filters {
        justify-content: center;
        border-bottom: 5px dashed #ccc;
    }

        .section-rule .isotope-filters .image-box {
            padding: 10px 15px;
            background-color: #ffffff;
            border-radius: 3px;
            border: 1px solid #cccccc;
            margin: 0 10px;
            cursor: pointer;
            box-shadow: 0 3px 6px rgba(0,0,0,0.23);
            -webkit-transition: all 0.3s ease-in-out;
            -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
        }

            .section-rule .isotope-filters .image-box:hover,
            .section-rule .isotope-filters .image-box.active {
                background-color: #e6f8ff;
                border-color: #00a8e6;
                box-shadow: none;
            }

    .section-rule .listing-item {
        background-color: #ffffff;
        border-radius: 3px;
        border: 1px solid #cccccc;
        font-weight: bold;
    }

        .section-rule .listing-item .title-pipe {
            position: relative;
            display: inline-block;
            background-color: #7f7f7f;
            font-weight: bold;
            color: #ffffff;
            margin-top: 30px;
            margin-right: 20px;
            padding: 10px 15px;
        }

            .section-rule .listing-item .title-pipe:after {
                content: " ";
                background-image: url(/IMG/pipe-tale.png);
                background-size: contain;
                background-repeat: no-repeat;
                display: block;
                position: absolute;
                width: 75px;
                height: 59px;
                left: calc(100% - 2px);
                top: -10px;
            }

.section-list.setting .listing-item {
    background-color: #f2f2f2;
    padding: 10px;
    border-radius: 5px;
    position: relative;
}

.section-list.setting .row > div::after {
    font-family: 'FontAwesome';
    content: "\f061";
    position: absolute;
    top: 14px;
    right: -10px;
    line-height: 1;
    color: #d1d1d1;
    font-size: 20px;
}

.section-list.setting .row > div:last-child:after {
    content: "";
}

.section-list.setting ul {
    list-style-image: url('/IMG/water-droplet.png');
    line-height: 1.5;
    padding-left: 25px;
}

/* Footer */
#footer ul {
    list-style: none;
    padding-left: 0;
}

.subfooter {
    color: #555555;
    background-color: #ececec;
}


@media (max-width:767px) {

    /* Mobile Navbar */
    .navbar {
        display: none;
    }

    .navbar-toggle {
        left: 5px;
        top: 12px;
        border: none;
        z-index: 1007;
        position: fixed;
        background-color: transparent;
        transition: all ease .5s;
    }

    .fixed-header-on .navbar-default .navbar-toggle {
        margin-top: -47px;
    }

    .fixed-header-on .navbar-toggle {
        top: 3px;
    }

    .navbar-toggle .icon-bar {
        background-color: #FFFFFF;
        -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
        transform: matrix(1, 0, 0, 1, 0, 0);
    }

        .navbar-toggle .icon-bar:nth-child(2) {
            -webkit-transition: all .8s cubic-bezier(.19, 1, .22, 1);
            transition: all .8s cubic-bezier(.19, 1, .22, 1);
            -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
            transform: matrix(1, 0, 0, 1, 0, 0);
        }

        .navbar-toggle .icon-bar:nth-child(3) {
            -webkit-transition: all .8s cubic-bezier(.19, 1, .22, 1);
            transition: all .8s cubic-bezier(.19, 1, .22, 1);
        }

        .navbar-toggle .icon-bar:nth-child(4) {
            transition: all .8s cubic-bezier(.19, 1, .22, 1);
            -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
            transform: matrix(1, 0, 0, 1, 0, 0);
        }

    .navbar-toggle.open .icon-bar:nth-child(2) {
        transition: all .8s cubic-bezier(.19, 1, .22, 1);
        -webkit-transform: matrix(.8, -.8, .8, .8, 0, 6);
        transform: matrix(.8, -.8, .8, .8, 0, 6);
        background-color: #FFFFFF;
    }

    .navbar-toggle.open .icon-bar:nth-child(3) {
        -webkit-transition: all .8s cubic-bezier(.19, 1, .22, 1);
        transition: all .8s cubic-bezier(.19, 1, .22, 1);
        -webkit-transform: translateX(-60px);
        opacity: 0;
    }

    .navbar-toggle.open .icon-bar:nth-child(4) {
        -webkit-transition: all .8s cubic-bezier(.19, 1, .22, 1);
        transition: all .8s cubic-bezier(.19, 1, .22, 1);
        -webkit-transform: matrix(.8, .8, -.8, .8, 0, -6);
        transform: matrix(.8, .8, -.8, .8, 0, -6);
        background-color: #FFFFFF;
    }

    .nav-mobile {
        display: none;
        position: fixed;
        top: 74px;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1006;
        background: #198099;
        overflow-x: hidden;
        overflow-y: auto;
        outline: 0;
    }

        .nav-mobile .menu a {
            color: #ffffff;
            border-bottom: 1px solid rgba(255,255,255,0.3);
            text-decoration: none;
        }

            .nav-mobile .menu a:hover,
            .nav-mobile .menu a:focus,
            .nav-mobile .menu .dropdown.open > a,
            .nav-mobile .menu .dropdown.active > a {
                background-color: #0e4958;
                color: #ffffff;
                border-bottom: 1px solid rgba(255,255,255,0.7);
            }

    .dropdown > a:before, .header.centered .dropdown > a:before {
        color: #ffffff;
        right: 15px;
    }

    .nav-mobile .navbar-nav .dropdown.open .dropdown a {
        padding: 10px 40px;
    }

        .nav-mobile .navbar-nav .dropdown.open .dropdown a::before {
            display: block;
            font-family: "FontAwesome";
            content: "\f105";
            color: #ffffff;
            left: 25px;
        }

    /* Header */
    .header-container {
        padding-bottom: 74px;
    }

    .header-first .logo {
        margin-top: 24px;
    }

        .header-first .logo img {
            max-height: 20px;
        }

    .header-first .header-dropdown-buttons {
        right: 0px;
    }

        .header-first .header-dropdown-buttons .name {
            display: none;
        }

    /* Common */
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }

    /* Section */
    .section-list.about-title,
    .section-list.manual-title {
        letter-spacing: 0.3em;
    }

    .section-list.functions h4 {
        font-size: 12px;
    }

    .section-list.function-2 .row.flex {
        align-items: baseline;
    }

    .section-list.why .row.three-col {
        border-bottom: 0;
        border-left: 5px dashed #cccccc;
        margin-left: 10px;
    }

        .section-list.why .row.three-col .image-box {
            margin-bottom: 30px;
            margin-left: 20px;
        }

            .section-list.why .row.three-col .image-box:before {
                border-width: 10px 20px 10px 0;
                border-color: transparent #ffffff transparent transparent;
                left: -20px;
                top: 50%;
                margin-top: -10px;
                margin-left: 0;
            }

            .section-list.why .row.three-col .image-box:after {
                left: -46px;
                top: 50%;
                margin-top: -9px;
                margin-left: 0;
            }

    .section-list.setting .row > div::after {
        content: "\f063";
        top: auto;
        bottom: -20px;
        right: calc(50% - 10px);
    }

    .home-page .section-news ul .date {
        display: block;
    }
}

@media (min-width:768px) {

    /* Header */
    .header-container {
        padding-bottom: 124px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    body:not(.fixed-header-on) .header:not(.dark) .main-navigation .navbar-nav > .open > a,
    body:not(.fixed-header-on) .header:not(.dark) .main-navigation .navbar-nav > .open > a:hover,
    body:not(.fixed-header-on) .header:not(.dark) .main-navigation .navbar-nav > .open > a:focus,
    body:not(.fixed-header-on) .header:not(.dark) .main-navigation .navbar-nav > .dropdown > a:focus {
        border-top: 0;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    .main-navigation.with-dropdown-buttons .navbar-default .navbar-collapse {
        padding-right: 0;
    }
}

@media (min-width:992px) {
}

@media (min-width:1200px) {
}
