﻿* {
    font-family: Microsoft JhengHei;
}

.body-bg {
    background: url('../Images/background.png') no-repeat;
    background-size: 100% 100%;
}

.body-bg2 {
    background: url('../Images/Home/bodyBackground.png') no-repeat;
    background-size: 100% 100%;
    min-height: 100%;
}

.bg-light {
    /*background-color: rgba(166, 214, 227, 0.65) !important;*/
    background-color: #1C578F !important;
    /*font-weight: bold;*/
}

.bg-lightReNew {
    /*background-color: rgba(166, 214, 227, 0.65) !important;*/
    background-color: #556fb5 !important;
    /*font-weight: bold;*/
}

    .bg-lightReNew li:hover {
        background-color: #b569b1 !important;
    }

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 50px;
}



/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}

/* header */
header {
    width: 100%;
    background-image: url('../images/bannerbg.png');
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
}

    header #logo {
        height: 100%;
        width: 100%;
        background-image: url('../images/bannerlogo.png');
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

@media screen and (min-width:601px) {
    header {
        height: 100px;
    }

        header #logo {
            background-size: auto 100%;
        }
}

@media screen and (max-width:600px) {
    header {
        height: 80px;
    }
}

.login-side {
    position: absolute;
    top: 15px;
    right: 20px;
}

    .login-side .login-side-account, .login-side .login-side-num {
        margin-top: 5px;
        background-color: rgba(255, 255, 255, 0.70);
        padding: 1px 8px;
    }

        .login-side .login-side-account a, .login-side .login-side-account font {
            color: #696969;
        }

    .login-side .login-side-num {
        text-align: right;
        color: #585858;
    }

@media (max-width: 748px) {
    .login-side {
        display: none;
    }
}

/* container */
.container {
    max-width: 95%;
    min-height: calc(100vh - 220px - 100px);
}

.pagination-container {
    text-align: center;
}

/* footer */
footer {
    width: 100%;
    text-align: center;
    /*background: rgba(147, 205, 221, 0.65) !important;*/
    background-color: #1C578F !important;
    /*color: rgba(0,0,0,0.9);*/
    color: #FFFFFF;
    padding: 8px 0;
    font-size: 1.3rem;
}

    footer a {
        color: rgba(0,0,0,0.9);
    }

.h2_title {
    border-left: 8px solid rgb(34, 34, 34);
    border-bottom: 1px solid rgb(34, 34, 34);
    padding: 2px 4px;
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.h2_index_title {
    font-weight: bolder;
    margin-bottom: 20px;
    font-size: xx-large;
}

.h2_index_1 {
    border-bottom: 1px solid rgb(74, 126, 187);
    padding: 15px 0;
}

.h2_index_2 {
    border-bottom: 10px solid rgb(75,172,198);
    padding: 15px 0;
}

.count {
    padding: 10px 0;
    font-weight: bold;
}

/* table */
.table thead th {
    background-color: #1c578f;
    color: white;
}

.table thead th, .table tbody td {
    /*text-align: center;*/
}

.table {
    background: #f0f8ff;
}

    .table tbody tr:nth-of-type(2n) {
        background: #fff;
    }

/* search-div */
.search {
    margin-bottom: 20px;
    padding-left: 15px;
    border-top-left-radius: 7px 7px;
    border-top-right-radius: 7px 7px;
    border-bottom-left-radius: 7px 7px;
    border-bottom-right-radius: 7px 7px;
    border: 1px solid #000000;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.5);
}

    .search > label {
        color: #1c578f;
        font-weight: bold;
    }

.form-control {
    display: initial;
    width: auto;
}

.about-in h5.card-title {
    font-size: 1.75rem;
    letter-spacing: 1px;
    padding: 0 10px;
}

.card-title {
    letter-spacing: 1px;
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.48);
}

.about-in .serv-cont-wthree {
    padding: 2.5em 2em;
}

@media(min-width: 573px) {
    .about-in .serv-cont-wthree {
        padding: 2.5em 0;
    }
}

/* Portfolio Filters */
#filters {
    margin-top: 10px;
    margin-bottom: 40px;
    text-align: center;
    display: block;
    float: none;
    z-index: 2;
    position: relative;
    text-align: center;
}

    #filters ul li {
        display: inline-block;
        margin: 0 5px;
    }

        #filters ul li a {
            display: block;
        }

            #filters ul li a h5 {
                /*background: none repeat scroll 0 0 #f7f7f7;*/
                background: none repeat scroll 0 0 #D0D0D0;
                border-radius: 4px;
                /*color: #222222;*/
                color: #4F4F4F;
                font-weight: bold;
                display: inline-block;
                font-family: 'LatoRegular',sans-serif;
                font-size: 12px;
                line-height: 20px;
                margin-bottom: 5px;
                padding: 10px 22px;
                text-transform: uppercase;
                transition: all 0.3s ease-in-out 0s;
            }

            #filters ul li a:hover h5, #filters ul li a.active h5 {
                /*background: orange !important;*/
                background: #0072E3 !important;
                /*color: #fff;*/
                color: #F0F0F0;
                font-weight: bold;
                text-decoration: none;
            }

            #filters ul li a h5 {
                font-size: 1.75rem !important;
            }

ul.tab-title {
    width: 90%;
    text-align: left;
    display: -webkit-inline-box;
}

    ul.tab-title li {
        width: 180px;
    }

        ul.tab-title li a h5 {
            width: 180px;
            text-align: center;
        }

/* index */
.index_div {
    display: none;
}


    .index_div a {
        /*color: rgb(49,133,156);*/
        color: black;
        font-size: x-large;
        font-weight: bolder;
        text-decoration: none;
    }

        .index_div a:hover {
            color: rgba(49, 133, 156, 0.5);
        }

@media (max-width: 748px) {
    .index_div {
        display: flex;
        padding-top: 20px;
    }
}

.index_div_title {
    font-size: x-large;
    font-weight: bold;
    color: white;
    background: rgb(75,172,198);
    padding: 10px;
}

.index_div_content {
    color: rgb(49,133,156);
    font-size: x-large;
    font-weight: bolder;
    text-decoration: none;
    background: rgba(217, 217, 217, 0.80);
    padding: 30px 0;
}

.index_div2_title {
    font-size: x-large;
    font-weight: bold;
    color: black;
    border-bottom: 2px solid rgb(74, 126, 187);
    padding: 15px 0;
}

.index_div2_content {
    font-size: large;
    font-weight: bold;
    color: rgb(64,64,64);
    border: 1px solid rgb(127, 127, 127);
    border-radius: 10px;
    padding: 40px 20px 20px 20px;
    box-shadow: 2px 2px rgba(155, 155, 155, 0.70);
    background: rgba(255, 255, 255, 0.80);
}

.index_div_titleReNew {
    font-size: x-large;
    font-weight: bold;
    padding: 10px;
}

.index_div2_contentReNew {
    font-size: large;
    font-weight: bold;
    border: 1px solid rgb(127, 127, 127);
    border-radius: 10px;
    padding: 40px 20px 20px 20px;
    box-shadow: 2px 2px rgba(155, 155, 155, 0.70);
}

.btn-go {
    color: white;
    background: rgb(75,172,198);
    width: 160px;
}

    .btn-go:hover {
        background: rgba(75, 172, 198, 0.60);
    }
.btn-go2 {
    color: white;
    background: rgb(75,172,198);
    width: 250px;
    font-size:28px;
    float:right;
    height:50px;
    padding:1px;
}

    .btn-go2:hover {
        background: rgba(75, 172, 198, 0.60);
    }
/* icon */
.monitor {
    background: url('../images/monitor.png');
    width: 38px;
    height: 35px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin: 0 auto;
}

.download {
    content: url('../images/download.png');
    height: 35px;
}

.logout {
    content: url('../Images/Home/logout.png');
    height: 35px;
}

.preview {
    content: url('../images/preview.png');
    height: 35px;
}
.calendar {
    content: url('../images/calendar.png');
    height: 35px;
}

.loc {
    background: url('../images/loc.png');
    height: 35px;
    width: 23px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    margin: 0 auto;
}

.more_monitor {
    content: url('../images/多元監測.png');
    width: 70%;
}

.ground_water {
    content: url('../images/地下水觀測井.png');
    width: 70%;
}

.map_search {
    content: url('../images/地圖查詢.png');
    width: 70%;
}

.info {
    content: url('../images/相關資訊.png');
    width: 70%;
}

.picture {
    background: url('../images/picture.png');
    height: 35px;
    width:45px;
    background-size:100% 100%;
    background-repeat:no-repeat;
    margin:0 auto;
}

@media (min-width:1380px) {
    .more_monitor {
        width: 50%;
    }

    .ground_water {
        width: 50%;
    }

    .map_search {
        width: 50%;
    }

    .info {
        width: 50%;
    }
}

.pre-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-all;
}

div.picStyle {
/*    padding: 20px;
    background-color: #DCEBF9;
    border-radius: 10px;*/
    margin: auto;
    margin-bottom: 20px;
}

    div.picStyle > img {
        background-color: #FFFFFF;
        width: expression(this.width > 1000 ? "1000px" : this.width);
        height: 100%;
        max-width: 1000px;
        max-height: 100%;
        cursor: pointer;
        border: 20px solid #DCEBF9;
        border-radius: 10px;
    }

/* 回到最上方 */
#gotop {
    display: block;
    position: fixed;
    right: 50px;
    bottom: 50px;
    cursor: pointer;
    z-index: 1000;
    display: none;
}

    #gotop > img {
        opacity: 0.5;
    }

    #gotop > img:hover {
        opacity: 1.0;
    }

/* 右方快捷鍵 */
#rightShortcut {
    display: block;
    position: fixed;
    top: 35%;
    right: 0px;
    cursor: pointer;
    z-index: 1000;
    width: 70px
}

    #rightShortcut > img {
        opacity: 0.75;
        width: 70px;
    }

        #rightShortcut > img:hover {
            opacity: 1.0;
        }