﻿@charset "utf-8";
/*CSS Info ======================================================================
File Name: Index.css
Creator: Sharon
CreateDate: 2019/10/30
Version: 1.0
---------------------------
【 Table of Contents 】
	DIV XHTML頁面
	Free Style
	橫向Menu，頁面置中
【 Responsive Web Design 】
    寬度1024以上
=================================================================================*/

/*===============================================================================
                                    首頁排版設定
=================================================================================*/
#Content {
    background-image: url(../images/visual.png);
    background-position: right bottom+16px;
    background-repeat: no-repeat;
    background-size: 45vw auto;
    position: relative;
}

    #Content .accesskey {
        position: absolute;
        left: 1rem;
        top: 2px;
        z-index: 99;
    }

/*-----------------MyQueryArea 查詢條件-----------------*/
.MyQueryArea {
    border: none;
    padding: 0;
    position: relative;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    margin: 0;
}

    .MyQueryArea .selectTab {
        width: auto;
        padding: 0.5em;
        padding-left: 3rem;
        background-color: #FCD475;
        border-top-right-radius: 3rem;
        border-bottom-right-radius: 3rem;
        float: left;
        position: relative;
    }

        .MyQueryArea .selectTab: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: "\f3c5";
            font-size: 3rem;
            height: 3rem;
            line-height: 3rem;
            color: #FFF;
        }

        .MyQueryArea .selectTab label {
            line-height: 1rem;
            font-size: 0.75rem;
            position: absolute;
            left: 6.25rem;
            color: #4e2e0e;
        }

        .MyQueryArea .selectTab select {
            border: none;
            background: transparent;
            font-size: 1.5rem;
            padding-right: 1.5rem;
            padding-left: 0.5rem;
            padding-top: 0.5rem;
            height: 3rem;
            line-height: 3rem;
            vertical-align: top;
        }

    .MyQueryArea .right {
        float: right;
        text-align: right;
        padding: 0;
        margin-right: 1rem;
    }

        .MyQueryArea .right > * {
            height: 3rem;
            line-height: 3rem;
            display: inline-block;
            vertical-align: middle;
        }

        .MyQueryArea .right .MyInputField {
            width: auto;
            margin-left: 1rem;
        }

            .MyQueryArea .right .MyInputField label {
                font-size: 1.25rem;
                font-weight: bold;
                display: inline-block;
            }

                .MyQueryArea .right .MyInputField label: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;
                    color: #FCD475;
                }

                .MyQueryArea .right .MyInputField label.iconSite:before {content: "\f277";}
                .MyQueryArea .right .MyInputField label.iconTime:before {content: "\f073";}

            .MyQueryArea .right .MyInputField select {
                border: none;
                border-bottom: 2px solid #FCD475;
                font-size: 1rem;
                padding: 0.5rem 0.25rem;
                display: inline-block;
                width: auto;
            }

                .MyQueryArea .right .MyInputField select:focus, .MyQueryArea .right .MyInputField select:active {
                    border: 2px solid #FCD475;
                    outline: 2px solid #FCD475;
                }

            .MyQueryArea .right .btnQuery {
                position: relative;
            }

                .MyQueryArea .right .btnQuery input {
                    background: transparent;
                    border: none;
                    color: transparent;
                    position: absolute;
                    left: 0;
                    top: 0.25rem;
                    width: 2.5rem;
                    height: 2.5rem;
                    padding: 0;
                    line-height: 2.5rem;
                    /*margin: 0;*/
                }

                .MyQueryArea .right .btnQuery i {
                    width: 2.5rem;
                    height: 2.5rem;
                    background-color: #FCD475;
                    border-radius: 5px;
                    -moz-border-radius: 5px;
                    -webkit-border-radius: 5px;
                    line-height: 2.5rem;
                    text-align: center;
                }

@media screen and (max-width: 600px) {
    .MyQueryArea .selectTab {
        padding-left: 1rem;
    }

    .MyQueryArea .right {
        margin-right: 0;
        text-align: center;
        width: 100%;
    }

    .MyQueryArea .right .MyInputField {
        width: calc(100% - 1rem);
        text-align: left;
        margin-bottom: 0;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }

        .MyQueryArea .right .MyInputField label {
            width: 4rem;
        }

        .MyQueryArea .right .MyInputField select {
            width: calc(100% - 7rem);
        }

        .MyQueryArea .right .btnQuery, .MyQueryArea .right .btnQuery i {
            width: 95%;
            text-align: center;
            float: none;
        }
}

/*-----------------MyMapArea 地圖區塊-----------------*/
.MyMapArea {
    min-height: 600px;
    background-color: #FFF;
    overflow: hidden;
    position: relative;
}

    .MyMapArea img {
		max-width: calc(100% - 440px);
        max-height: calc(100vh - 10rem);
        margin-top: 50px;
    }

    .MyMapArea .right {
        position: absolute;
        right: 1rem;
        top: 1rem;
        z-index: 990;
        padding-bottom: 1rem;
    }

@media screen and (min-width: 1440px)  {
    .MyMapArea img {
        margin-top: 0;
    }
}

@media screen and (max-width: 1024px) {
    .MyMapArea img, .MyMapArea .right {
        max-width: 100%;
        position: static;
        margin-top: 0;
    }

    .MyMapArea .right {
        width: 95%;
        margin: 0 auto;
    }
}

/*自訂Tab*/
.MyTabArea {

}

    /*tab button list*/
    .MyTabArea ul li {
        display: inline-block;
    }

        .MyTabArea ul li > * {
            background: #EEE;
            color: #4F4F4F;
            margin: 0;
            border-radius: 5px 5px 0 0;
            -moz-border-radius: 5px 5px 0 0;
            -webkit-border-radius: 5px 5px 0 0;
            border: 2px solid #EEE;
            padding: 2px 14px;
            font-size: 1rem;
            line-height: 2rem;
        }

            .MyTabArea ul li > *:hover, .MyTabArea ul li > *.selected {
                background: #FFF;
                border: 2px solid #77aede;
                border-bottom: 4px solid #77aede;
                color: #000;
            }

    /*tab content*/ 
    .MyTabCont {
        background-color: #FFF;
        width: 480px;
        height: 420px;
        padding: 0.25rem 0.5rem;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        border-radius: 0 5px 5px 5px;
        -moz-border-radius: 0 5px 5px 5px;
        -webkit-border-radius: 0 5px 5px 5px;
        box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        position: relative;
    }

        .MyTabCont .MyCaption {
            text-align: left;
            font-weight: bold;
            font-size: 1.25rem;
            height: 2em;
            line-height: 2em;
            color: #000;
            display: inline-block;
        }

        .MyTabCont .MyCaption: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: "\f0c2";
            margin-right: 0.25rem;
            color: #77aede;
        }

            .MyTabCont .MyCaption select {
                border: none;
                font-size: 1rem;
                border-bottom: 2px solid #77aede;
				padding-bottom: 0.25rem;
            }
			
				.MyTabCont .MyCaption select option {
				
				}

        .MyTabCont .MyFixTableTitle {
            padding-right: 1rem;
            background-color: #77aede;
        }

            .MyTabCont .MyFixTableTitle th {
                background-color: #77aede;
                color: #000;
				border-bottom: none;
            }

        .MyTabCont .MyFixTableCont {
            height: 360px;
            overflow-y: auto;
        }

        .MyTabCont .MyBtn {
            position: absolute;
            right: 2px;
            top: 2px;
            border: 2px solid #77aede;
            border-radius: 3rem;
            -moz-border-radius: 3rem;
            -webkit-border-radius: 3rem;
            margin: 0.25rem;
        }
		
			.MyTabCont .MyBtn: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: 0 0.25rem;
                color: #FCD475;
				content: "\f35d";
			}

            .MyTabCont .MyBtn input {
                background: transparent;
                border: none;
                margin: 0;
                padding: 0;
                color: #3D7BB1;
                
                line-height: 1rem;
				z-index: 999;
				padding: 0.25rem 1rem;
            }

            .MyTabCont .MyBtn i {
				display: none;
                color: #3D7BB1;
				position: absolute;
                left: 0;
                top: 0;
				z-index: 998;
				height: 1.5rem;
				line-height: 1.5rem;
				margin: 0 0.5rem;
            }

            .MyTabCont .MyBtn:hover {
                background-color: #3D7BB1;
                border: 2px solid #3D7BB1;
            }

                .MyTabCont .MyBtn:hover i, .MyTabCont .MyBtn:hover input {
                    color: #FFF;
                }

.MyTxtArea {
    background-color: #FFF;
    margin-top: 0.5rem;
    width: 480px;
    height: 100px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    overflow-y: auto;
    border: 0.5rem solid #FFF;
}

    .MyTxtArea p {
        padding-left: 2rem;
        text-indent: -2rem;
        line-height: 1.25rem;
        font-size: 0.875rem;
    }

@media screen and (max-width: 1024px) {
    .MyTabCont, .MyTxtArea {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .MyTabCont .MyCaption {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

@media screen and (max-width: 425px) {
    .MyTabArea ul li > * {
        padding: 2px 4px;
    }

    .MyTabCont .MyBtn:before {display:none;}
}

@media screen and (max-width: 375px) {
    .MyTabArea ul li > * {
        font-size: 0.875rem;
    }

    .MyTabCont .MyCaption:before {
        display: none;
    }

    .MyTabCont .MyBtn input {
        padding: 0.25rem;
        font-size: 0.75rem;
    }
}

/*-----------------Sections 連結區塊-----------------*/
#areaAir, #areaInfo {
    margin: 2rem auto;
    text-align: center;
}

section h2 {
    display: inline-block;
    width: auto;
    font-weight: bold;
    color: #2e5380;
    padding: 0 1rem 0.25rem;
    border-bottom: 4px solid #77aede;
    margin-bottom: 2rem;
}

#areaAir {
    text-align: center;
}

    #areaAir ul li {
        display: inline-block;
        width: 300px;
    }

        #areaAir ul li a {
            display: block;
            padding-top: 150px;
            cursor: pointer;
            background-position: top center;
            background-repeat: no-repeat;
            background-size: 150px auto;
        }

         #areaAir ul li:nth-of-type(1) a {
             background-image: url(../images/icons_AQ1.png);
         }

         #areaAir ul li:nth-of-type(2) a {
             background-image: url(../images/icons_AQ2.png);
         }

         #areaAir ul li:nth-of-type(3) a {
             background-image: url(../images/icons_AQ3.png);
         }

            #areaAir ul li p {
                font-size: 1.25rem;
                font-weight: bold;
                color: #333;
            }

                #areaAir ul li:nth-of-type(1):hover a {
                    background-image: url(../images/icons_AQ1_W.png);
                    transition: background-image linear 0.2s;
                }
          
                #areaAir ul li:nth-of-type(2):hover a {
                    background-image: url(../images/icons_AQ2_W.png);
                    transition: background-image linear 0.2s;
                }

                #areaAir ul li:nth-of-type(3):hover a {
                    background-image: url(../images/icons_AQ3_W.png);
                    transition: background-image linear 0.2s;
                }

#areaInfo {
    margin-top: 6rem;
	width: 50%;
	float: left;
}

    #areaInfo h2 {
        
    }

    #areaInfo ul {
        text-align: center;
    }

    #areaInfo ul li {
        display: inline-block;
        width: 250px;
    }

        #areaInfo ul li a {
            display: block;
            padding-top: 150px;
            cursor: pointer;
            background-position: top center;
            background-repeat: no-repeat;
            background-size: 150px auto;
        }

            #areaInfo ul li a p {
                font-size: 1.25rem;
                font-weight: bold;
                color: #333;
            }

            #areaInfo ul li:nth-of-type(1) a {
                 background-image: url(../images/icons_AI1.png);
             }

             #areaInfo ul li:nth-of-type(2) a {
                 background-image: url(../images/icons_AI2.png);
             }

                #areaInfo ul li:nth-of-type(1):hover a {
                    background-image: url(../images/icons_AI1_W.png);
                    transition: background-image linear 0.3s;
                }
          
                #areaInfo ul li:nth-of-type(2):hover a {
                    background-image: url(../images/icons_AI2_W.png);
                    transition: background-image linear 0.3s;
                }

@media screen and (min-width: 1024px) and (max-width: 1280px) {
	#areaInfo ul li {
		width: 49%;
	}
}
	
@media screen and (max-width: 1023px) {
    #areaInfo h2 {
        margin-left: 0;
    }

    #areaInfo ul {
        float: right;
        width: auto;
    }

        #areaInfo ul li {
            float: left;
            width: 160px;
            margin: 0 1rem;
        }

         #areaAir ul li {
             width: 31%;
             vertical-align: top;
         }

            #areaAir ul li+li {
                margin-left: 2%;
            }
}

@media screen and (max-width: 768px) {
	#Content {
        background-image: none;
    }
	
	#areaInfo {width: 100%;}
	
	#areaInfo ul {float: none;}
	
	#areaInfo ul li {
		width: 250px;
		float: none;
		display: inline-block;
		text-align: center;
	}
}

@media screen and (max-width: 600px) {
    

    h2 {
        font-size: 1.75em;
    }

    #areaInfo {margin-top: 3rem}

    #areaInfo ul {
        float: none;
        margin: 0 auto;
    }

        #areaInfo ul li {
            float: none;
            width: 31%;
            vertical-align: top;
        }

             #areaInfo ul li a, #areaAir ul li a {
                 background-size: auto 100px;
                 padding-top: 100px;
             }

             #areaInfo ul li a p, #areaAir ul li a p {
                 font-size: 1em;
             }
			 
	.MyQueryArea .right .btnQuery input {
		width: 95%;
		left: 2.5%;
	}		 
}

@media screen and (max-width: 425px) {
    h2 {
        font-size: 1.5em;
    }   
}

@media screen and (max-width: 350px) {
    #areaInfo ul li a, #areaAir ul li a {
        background-size: 100% auto;
    }
}

/*-----------------MyNews 新聞公告-----------------*/
.MyNewsArea {
	margin: 0.5rem auto 1rem auto;
	background-image: url(../images/bg_news.png);
    background-position: right center;
    background-repeat: no-repeat;
	background-size: auto 120px;
}

	.MyNewsArea h2 {
		padding: 0;
		margin-bottom: 0.5rem;
		border: 0;
		font-size: 1.5rem;
		line-height: 2rem;
	}
	
		.MyNewsArea h2: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: "\f0a1";
			margin-right: 0.5rem;
		}

	.MyNews {
		height: 100px;
		overflow-y: auto;
		border: 2px solid #77aede;
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
	}
	
		.MyNews .Mytable {
			margin: 0 auto;
			width: 100%;
		}
		
		.Mytable .even, .Mytable .odd {
			background: transparent;;
		}
	
		.MyNews .Mytable td:first-child {
			width: 150px;
			background-color: #f2faff;
			font-size: 1rem;
            font-weight: bold;
            text-align: right;
		}

            .MyNews .Mytable td:first-child span {
                font-weight: bold;
            }

            .MyNews .Mytable td {
                font-size: 1rem;
                background-color: transparent;
            }

/*-----------------關鍵字-----------------*/
.keywords {
padding-left: 13px;
    text-align: left;
    font-size: .8125rem;
    margin-top: -16px;
    margin-bottom: 10px;
}
.keywords a {
    color:  #126cff;
}
.keywords a:hover {
     color:  #126cff;
     text-decoration: underline;   
}



