﻿@charset "utf-8";
/*CSS Info ======================================================================
File Name: EPAiframe.css
Creator: Sharon
CreateDate:2018/05/25
Editer: Sharon
LastEditDate:2018/08/22
Version: 1.0
---------------------------
【 Table of Contents 】
	DIV XHTML頁面
	Free Style
    iframe for EPA
    新增英文版設定
=================================================================================*/

/*===============================================================================
                               Browser-CSS Reset
=================================================================================*/
@import "Reset.css";

/*===============================================================================
                                     全域設定
=================================================================================*/
body {
    font-family: "\5FAE\8EDF\6B63\9ED1\9AD4", Arial;
    background-color: #FFF;
}

#Wrap {
}

.wrapper {
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

h1 {
    position: absolute;
    top: -100%;
}
/*-----------------Content-----------------*/
#Content {
    font-family:"微軟正黑體",Arial;
}
	
#Main {  
}

iframe {
    border: none;
}

h6, span, figcaption {
    color: #28ACB0;
    font-size: 1.5em;
    text-align: left;
    font-weight: bold;
    /*padding-left: 15px;*/
    margin: 0;
    line-height: 3em;
}

.en h6, .en span, .en figcaption {
    line-height: 1.5em;
    padding-bottom: 0.625em;
}

.en .map figure {
    height:340px;
} 

p.time, p.tw_time {
    /*padding-left: 1.5em;*/
    margin-top: -0.5em;
}

/*===============================================================================
                               以下是內容頁版面設定 
=================================================================================*/
/* AQI地圖 */
.map {
    height: 350px;
    position: absolute;
    top: 5em;
    left: 0;
}

    .en .map {
        top: 6em;
        height: 340px;
    }

/* 等濃度圖 */
#imTW, #imDensity, #imTWLine {
    background-repeat: no-repeat;
    background-position: top right;
    background-size: auto 380px;
    width: 300px;
    height: 380px;
    position: absolute;
    top: 50px;
    right: 20px;
}
#imTW {
    background-image: url(../images/AQindexV2-BG.png);
    z-index: 0;
}
#imDensity {
    z-index: 1;
}
#imTWLine {
    background-image: url(../images/AQindexV3-Line.png);
    z-index: 2;
    right: 18px;
}
#island {
    position: absolute;
    top: 120px;
    left: 30px;
}
#island p {
   font-size: 1em;
    margin-top: 55px;
    margin-right: 5px;
}
#imDensity_Z, #imDensity_W, #imDensity_X {
    width: 90px;
    height: 90px;
    border-radius: 15px;
    border: 2px dotted #33b7a6;
    margin-bottom: 5px;
    text-align: right;
    background-repeat: no-repeat;
}
/* MATZU */
.Z-green {
    background-image: url(../images/matzu-green.png);
}
.Z-yellow {
    background-image: url(../images/matzu-yellow.png);
}
.Z-orange {
    background-image: url(../images/matzu-orange.png);
}
.Z-red {
    background-image: url(../images/matzu-red.png);
}
.Z-purple {
    background-image: url(../images/matzu-purple.png);
}
.Z-wine {
    background-image: url(../images/matzu-wine.png);
}
/* KINMEN */
.W-green {
    background-image: url(../images/kinmen-green.png);
}
.W-yellow {
    background-image: url(../images/kinmen-yellow.png);
}
.W-orange {
    background-image: url(../images/kinmen-orange.png);
}
.W-red {
    background-image: url(../images/kinmen-red.png);
}
.W-purple {
    background-image: url(../images/kinmen-purple.png);
}
.W-wine {
    background-image: url(../images/kinmen-wine.png);
}
/* PENGHU */
.X-green {
    background-image: url(../images/penghu-green.png);
}
.X-yellow {
    background-image: url(../images/penghu-yellow.png);
}
.X-orange {
    background-image: url(../images/penghu-orange.png);
}
.X-red {
    background-image: url(../images/penghu-red.png);
}
.X-purple {
    background-image: url(../images/penghu-purple.png);
}
.X-wine {
    background-image: url(../images/penghu-wine.png);
}

/*統計圖表*/

.chart {
    height: 310px;
    width: 310px;
    margin: 0 auto;
}

.en .chart {
    margin-top: 20px;
}

.cycle-prev, .cycle-next {
    position: absolute;
    top: 30%;
    width: 30px;
    height: 30px;
    /*height: 430px;*/
    z-index: 999;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30px auto;
    opacity: 0.5;
}

    .cycle-prev i, .cycle-next i {
        color: #444;
    }

.cycle-prev {
    left: 0;
    background-image: url(../images/left.png);
}

.cycle-next {
    right: 0;
    background-image: url(../images/right.png);
}

/*Modal*/
.modal-openbtn {
    z-index: 9999;
}
    .modal-openbtn img {
        max-width: 24px;
        height: auto;
        vertical-align: unset;
    }
#modalContent {
    display: none;
}
.modal {
    background-color: transparent !important;
}
    .modal__content {
        padding: 45px 20px;
        color: #fff;
    }
        .modal__content p {
            line-height: 1.5rem;
        }
    .modal__button-close::before,
    .modal__button-close::after {
        background-color: #fff;
    }
	
	
	
	.overlay {
		z-index: 9999!important;
	}

/* linkbtn */
p.gray {
    font-size: .75rem;
    color: #888;
    padding: 0;
    margin: 0
}

.linkBtn {
    float: right;
    border: 2px solid #6CB8EE;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    color: #6CB8EE;
    padding: 2px 20px;
    text-decoration: none;
    margin: .5rem
}

    .linkBtn:hover {
        background-color: #6CB8EE;
        color: #FFF
    }

