﻿@charset "utf-8";
/*CSS Info ======================================================================
File Name: Layout.css
Create Editor: Sharon
Create Date: 2019/12/16
Version: 1.2
---------------------------
【 Table of Contents 】
	DIV XHTML頁面
	Free Style
	橫向Menu，頁面置中
【 Responsive Web Design 】
    寬度1024以上
================================================================================*/
/*-----------------Article-----------------*/
h3 {
    color: #2e5380;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 2.5rem;
}

p.strong {
	font-size: 1rem;
	line-height: 1.5rem;
	color: #2e5380;
}

article {
    margin-bottom: 2.5rem;
}

article p {
    line-height: 1.5rem;
    font-size: 1rem;
}

article ul {
    margin: 0.5rem 0;
}

    article ul li {
        line-height: 1.5rem;
    }

/*-----------------網站地圖-----------------*/
.mySitemap>li {
    display: inline-block;
    width: 24%;
    vertical-align: top;
    border: 1px solid #CCC;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

    .mySitemap li a {
        display: block;
        padding: 0.5rem;
        background-color: #cce7ff;
        color: #000;
        font-weight: bold;
    }

        .mySitemap li a:hover {
            background-color: #9dd1ff;
        }

    article ul.subMap {
        margin: 0;
    }

        .mySitemap li .subMap li+li {
            border-top: 1px solid #CCC;
        }

            .mySitemap li .subMap li a {
                display: block;
                background-color: #FFF;
                font-size: 1rem;
                font-weight: normal;
                padding-left: 1.5rem;
            }

                .mySitemap li .subMap li a:hover {
                    background-color: #f9f9f9;
                }

        .mySitemap li a:focus {
            outline: 2px dashed #ffa221; 
        }

@media screen and (min-width: 600px) and (max-width: 1024px) {
    .mySitemap>li {
        width: 49%;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 599px) {
    .mySitemap>li {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/*-----------------查詢Query-----------------*/
.MyQueryArea .MyAccordion {
    width: 99%;
    margin-bottom: 1rem;
}

    .MyQueryArea .MyAccordion input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin-right: 2px;
		vertical-align: middle;
    }
	
	.MyQueryArea .MyAccordion span.BtnAll {
		display: block;
		margin-bottom: .25em;
	}

    .MyQueryArea .MyAccordion span label {
        display: inline-block;
        width: 8rem;
        margin: 4px 0 4px 2px;
    }

/*-----------------訊息區MyMsg-----------------*/
.MyMsg {
    margin-bottom: 1rem;
    max-height: 100px;
    overflow-y: auto;
}

    .MyMsg .Mytable {
        margin: 0;
    }

        .MyMsg .Mytable th, .MyMsg .Mytable td:first-child {
            background-color: #FFF;
            vertical-align: top;
            padding-right: 1rem;
            text-align: center;
            width: 100px;
            padding: 4px;
        }

            .MyMsg .Mytable th span, .MyMsg .Mytable td span {
                display: inline-block;
                width: 100%;
                height: 2rem;
                line-height: 2rem;
                background-color: #f1faff;
                font-size: 1rem;
                padding: 0 0.25rem;
                border-left: 0.25rem solid #77aede;
            }

    .MyMsg .Mytable td {
        line-height: 2rem;
		font-size: 1rem;
		padding: 4px;
    }

@media screen and (max-width: 600px) {
    .MyMsg .Mytable {
        display: block;
        padding: 0;
    }

    .MyMsg .Mytable th, .MyMsg .Mytable td {
        display: block;
        width: 100%;
        padding: 0;
    }

    .MyMsg .Mytable th span {
        padding: 0;
        width: calc(100% - 0.25rem);
    }
}

/*-----------------備註區MyNoteMsg-----------------*/
.MyNoteMsg {
    padding: 1rem;
    background-color: #f1faff;
    margin-top: 1rem;
}

    .MyNoteMsg ul {
        padding-left: 2rem;
    }

    .MyNoteMsg ul li {
        list-style: disc;
        line-height: 1.5rem;
    }

/*-----------------測站資訊siteInfo-----------------*/
.siteInfo {
    padding: 2rem 0;
}

    .siteInfo .leftArea {
        float: left;
        width: calc(100% - 450px);
    }

    .siteInfo .leftArea figure {
        padding: 1rem 0;
    }

        .siteInfo .leftArea figure img {
            width: 100%;
        }

            .siteInfo .leftArea figure figcaption {
                display: none;
            }

    .siteInfo .rightArea {
        float: left;
        width: 450px;
    }

        .siteInfo .rightArea .Mytable caption {
            border-bottom: 0.25rem solid #9dd1ff;
        }

        .siteInfo .rightArea .Mytable th {
            width: 150px;
            background-color: #f1faff;
            font-size: 1rem;
            font-weight: bold;
        }

        .siteInfo .rightArea .Mytable td {
            font-size: 1rem;
            color: #000;
            line-height: 1.5rem;
        }

    .siteInfo .MyAccordion {
        float: left;
        width: 100%;
    }

        .siteInfo .MyAccordion p {
            color: #2e5380;
            font-size: 1.125rem;
            font-weight: bold;
            height: 2rem;
            line-height: 2rem;
            border-bottom: 2px solid #9dd1ff;
            background-color: #f1faff;
        }

        .siteInfo .MyAccordion.ui-accordion .ui-accordion-header {
            padding: 2px;
        }

        .siteInfo .MyAccordion div {
            padding: 1rem;
            font-size: 1rem;
            line-height: 1.5rem;
        }  

			.ui-accordion .ui-accordion-header:focus {
                outline: 2px dashed #ffa221;
            }		

@media screen and (max-width: 1079px) {
    .siteInfo .leftArea, .siteInfo .rightArea {
        width: 100%;
    }
}

/*-----------------icon設定-----------------*/
.icon:before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 0.25rem; 
}

    .iconSite:before {content: "\f3c5";}
    .iconMap:before {content: "\f279";}
    .iconItem:before {content: "\f46d";}
    .iconDate:before {content: "\f073";}
    .iconTime:before {content: "\f017";}

/*----------------文章MyArticle-----------------*/
.MyArticle {
    padding-bottom: 2rem;
}

    .MyArticle h3 {
        padding-left: 0.5rem;
        border-left: 0.5rem solid #abd0f1;
        margin: 0.5rem 0;
    }

    .MyArticle h4 {
        font-size: 1.125rem;
        color: #2e5380;
        margin-bottom: 0.5rem;
    }

        .MyArticle h4:before {
            display: inline-block;
            font-style: normal;
            font-variant: normal;
            text-rendering: auto;
            -webkit-font-smoothing: antialiased;
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            content: "\f058";
            font-size: 1rem;
            color: #abd0f1;
            vertical-align: top;
            margin-right: 0.5rem;
        }

        .MyArticle *+h3, .MyArticle *+h4 {
            margin-top: 1.5rem;
        }

    .MyArticle p {
        font-size: 1rem;
        line-height: 1.5rem;
        color: #333;
    }

    .MyArticle .Mytable {
        margin: 0.5rem 0;
    }

        .MyArticle .Mytable thead th {
            background-color: #cce7ff;
            font-weight: bold;
            color: #000;
        }

        .MyArticle .Mytable th {
            text-align: center;
            font-size: 1rem;
        }

        .MyArticle .Mytable td {
            font-size: 1rem;
        }

    .MyArticle .MyCaption {
        margin-top: 2rem;
        padding: 0.25rem 0;
        font-size: 1.125rem;
    }

    .MyArticle ul {
        margin-left: 3rem;
    }

        .MyArticle ul li {
            padding: 0.5rem 0;
            line-height: 1.5rem;
            text-indent: -1rem;
        }

            .MyArticle ul li:before {
                display: inline-block;
                font-style: normal;
                font-variant: normal;
                text-rendering: auto;
                -webkit-font-smoothing: antialiased;
                font-family: "Font Awesome 5 Free";
                font-weight: 900;
                content: "\f111";
                font-size: 1rem;
                color: #cce7ff;
                vertical-align: top;
                font-size: 0.25rem;
                width: 1rem;
                text-align: center;
            }

    .Mytable.border td {
        border: 1px dashed #CCC;
    }

    .Mytable.td-center td {
        text-align: center;
    }

    .Mytable.td-first td:first-of-type {
        background-color: #f7f7f7;
        text-align: center;
    }

/*Grid Sys*/
.cols {
    float: left;
}

    .cols.half {
        width: 50%;
    }

@media screen and (max-width: 1023px) {
    .cols.half {
        width: 100%;
    }

    .MyArticle .cols.half .Mytable {
        margin: 0;
    }

    .MyArticle .Mytable.rwdSetting thead {
        display: none;
    }
}

/*----------------相關網站連結 MyLinkAlbum-----------------*/
.MyLinkAlbum li {
    display: block;
    width: 19%;
    float: left;
    margin: 0 0.5% 2rem 0.5%;
}
.mp_en .MyLinkAlbum li {
    width: 24%;
}

        .MyLinkAlbum li a {
            width: 100%;
            background-color: #f1f8fe;
            display: table;
            vertical-align: middle;
            height: 100px;
            text-align: center;
            color: #333;
			box-sizing: border-box;
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
            transition: all 0.3s;
            position: relative;
            border: 1px solid rgba(255,255,255,0.5);
            overflow: hidden;
            padding: 0.5rem 1rem;
        }
		
			
		
			.MyLinkAlbum li a span {
				display: table-cell;
				vertical-align: middle;
			}
			
				.MyLinkAlbum li a span strong {
					display: block;
					height: 80px;
					width: 100%;
					text-align: center;
					font-size: 1.125rem;
					line-height: 1.75rem;
				}

               .mp_en .MyLinkAlbum li a span strong {
                	font-size: .9375rem;
					line-height: 1.25rem;
               }
			
			.MyLinkAlbum li a span:before {
				display: block;
				height: 100px;
				line-height: 100px;
				font-size: 3rem;
				font-style: normal;
				font-variant: normal;
				text-rendering: auto;
				-webkit-font-smoothing: antialiased;
				font-family: "Font Awesome 5 Free"; 
				font-weight: 900; 
				content: "\f0c2";
				color: #abd0f1;
			}

            .MyLinkAlbum li a:before {
                content: '';
                position: absolute; 
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 1;
                background-color: rgba(255,255,255,0.1);
                transition: all 0.3s;
                transform: translate(35%,190%) rotate(-30deg);
                transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
                transition-delay: 0.2s;
            }

            .MyLinkAlbum li a:after{
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 1;
                background-color: rgba(255,255,255,0.1);
                transition: all 0.3s;
                transform: translate(-35%,-190%) rotate(-30deg);
                transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
            }

            .MyLinkAlbum li a:hover {
                background-color: #3d8cc7;
                color: #FFF;
            }
			
				.MyLinkAlbum li a:hover span {
					font-weight: bold;
				}
				
					.MyLinkAlbum li a:hover span:before {
						color: #245682;
					}
				
            .MyLinkAlbum li:nth-child(2n) a:hover {
                background-color: #74b19a;
            }
			
				.MyLinkAlbum li:nth-child(2n) a:hover span:before {
					color: #417f68;
				}

            .MyLinkAlbum li:nth-child(3n) a:hover {
                background-color: #907f72;
            }
			
				.MyLinkAlbum li:nth-child(3n) a:hover span:before {
					color: #6f5a4b;
				}

                .MyLinkAlbum li a:hover::before, .MyLinkAlbum li a:hover::after{
					transform: translate(0,0);  
                }			

@media screen and (max-width: 1279px) {
    .MyLinkAlbum li div span {
        position: static;
    }
}

@media screen and (max-width: 1024px) {
	.MyLinkAlbum li {
        width: 32%;
        margin-bottom: 1rem;
    }
		
    .MyLinkAlbum li div {
        padding: 1.5rem;
    }
    .MyLinkAlbum li div span {
        font-size: 1rem;
    }
}

@media screen and (max-width: 620px) {
    .MyLinkAlbum li, .MyLinkAlbum li:nth-of-type(3n+1) {
        width: 100%;
        margin-left: 0;
    }
}

/*----------------響應式表格-----------------*/
.MyRwdTable {

}

    .MyRwdTable div {
        float: left;
    }

    .MyRwdTable .MyTableTitle {
        width: 120px;
        display: none;
    }

    .MyRwdTable .MyTableCont {
        width: 100%;
    }

@media screen and (max-width: 767px) {
    .MyRwdTable .MyTableTitle {
        display: block;
    }

    .MyRwdTable .MyTableCont {
        width: calc(100% - 120px);
        overflow-x: auto;
    }

        .MyRwdTable .MyTableCont .Mytable {
            width: 1000px;
        }

        .MyRwdTable .MyTableCont .Mytable tr th:nth-of-type(1) {
            display: none;
        }
}

/*----------------圖片 Figure-----------------*/
.MyFigure {}

    .MyFigure img {
        display: block;
        width: 800px;
        max-width: 100%;
        margin: 0 auto;
    }

    .MyFigure figcaption {
        margin-bottom: 1rem;
        font-size: 1.125rem;
        color: #333;
        line-height: 1.5rem;
        font-weight: bold;
        text-align: center;
    }
	
	.MyFigure p {
		text-align: center;
	}

/*----------------表格內列表-----------------*/
.Mytable ul {
    margin-left: 1.5rem;
}

.infoTable {

}

.infoTable .td-left td {
    text-align: left;
}