﻿@charset "utf-8";
/*CSS Info ======================================================================
File Name: Layout.css
Editor: Sophia
CreateDate:2010/12/06
Last Editor: Sophia
LastDate: 2015/04/02
Version: 3.1
---------------------------
【 Table of Contents 】
	DIV XHTML頁面
	Free Style
	使用jQuery
    Responsive Design
=================================================================================*/

/*===============================================================================
                         以下是內頁版面設定
=================================================================================*/

#Wrap {
}

/*-----------------Content-----------------*/
#Content {
}
.mapArea {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 0;
    /*background-color: #aaa;*/
}
#Map {
    height: calc(var(--vh, 1vh) * 100 - 70px);
    position: relative;
}

.itemBar{
    margin-bottom:0.5rem;
}
.itemBar:last-child{
    margin-bottom:0;
}

.myInfo {
    background: #fff;
    position: absolute;
    bottom: 0;
    right: 0;
    height: calc(var(--vh, 1vh) * 100 - 70px);
    width: 400px;
    z-index: 9999;
    padding: 0.8rem 0;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}

.scrollArea {
    overflow: auto;
    padding: 0.5rem 1rem 1rem 1rem;
}

.infoHeader {
    display: flex;
    position: relative;
    padding: 0 0.8rem 0.8rem 0.8rem;
}

.infoBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.5rem;
    width: 1.5rem;
    text-align: center;
    vertical-align: bottom;
    border-radius: 0.3rem;
    background: #9BE7FA;
    color: #fff;
    margin-right: 0.5rem;
}

    .infoBtn:hover {
        color: #fff;
        background: #05A3B8;
    }

    .location {
        width: 84.5%;
    }

    .location span {
        display: block;
        font-weight: bold;
        line-height: 1.5rem;
        font-size: 0.9rem;
        margin-right: 0.5rem;
    }

.collapseBtnArea {
    display: none;
}

    .collapseBtnArea .infoBtn:last-child {
        margin-right: 0;
    }

.infoCard {
    background: #fff;
    position: relative;
    border-radius: 0.6rem;
    box-shadow: 0px 2px 10px #00000033;
    overflow: hidden;
    margin: 0 0 1.6rem 0;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 0.8rem 1rem;
    background-size: 100% auto;
}

.scrollArea .infoCard:last-child{
    margin-bottom:0;
}

.cardTitle {
    font-weight: bold;
}


.moreBtn {
    display: block;
    width: 100px;
    line-height: 36px;
    border-radius: 0.3rem;
    border: 1px solid #066C7A;
    background: rgba(255,255,255,0.8);
    text-align: center;
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
}



.infoSummary {
    padding: 0.2rem 0.8rem 0.4rem 0.8rem;
    position: relative;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.infoTitle {
    color: var(--GreenDark3);
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.subInfoTitle {
    margin-bottom: 0.5rem;
    font-weight: bold
}

.scrollArea .noData {
    display:block;
    text-align: center;
}

    .scrollArea .noData p {
        margin: 0.8rem 0;
        font-size: 1.2rem;
        font-weight: bold;
        color: rgba(0,0,0,0.5);
        text-align: center;
    }

    .scrollArea .noData img {
        width: 40%
    }

.infoSubTitle {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
}

/*.cardHint {
    margin-top: 10px;
}

.cardHint ul {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
}

.cardHint ul li {
    margin-bottom: 5px;
}

.cardHint ul li::after {
    content: '|';
    display: inline-block;
    margin-right: 10px;
}

    .cardHint ul li:last-child::after {
        display: none;
    }*/


@media only screen and (min-width: 1220px) and (max-width: 1379px) {
    #Map {
        height: calc(var(--vh, 1vh) * 100 - 54px);
    }

    .myInfo {
        height: calc(var(--vh, 1vh) * 100 - 54px);
    }
}

@media only screen and (min-width: 977px) and (max-width: 1219px) {


}

@media only screen and (min-width: 768px) and (max-width:976px) {
    #Map {
        height: calc(var(--vh, 1vh) * 100 - 66px);
    }
    .myInfo.full {
        height: calc(var(--vh, 1vh) * 100 - 66px);
        border-radius: unset;
        box-shadow: unset;
    }

    .myInfo {
        height: calc(var(--vh, 1vh) * 47 - 66px);
        border-radius: 16px 16px 0 0;
        box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
        width: 100%;
    }

        .myInfo.bottom {
            height: calc(var(--vh, 1vh) * 15 - 66px);
            border-radius: 16px 16px 0 0;
            box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
        }

    .infoSummary {
        width: unset;
    }


    .location {
        width: 76%;
    }

    .infoCard {
        width: 48%;
        display: block;
        height: unset;
        box-sizing: unset;
        margin:auto;
        margin-bottom:1.6rem;
    }

    .collapseBtnArea {
        display: flex;
        position: absolute;
        top: 0;
        right: 0.8rem;
    }

    .aqiSummary {
        width:48%;
        margin:auto;
    }
}


@media only screen and (max-width: 767px) {
    #Map {
        height: calc(var(--vh, 1vh) * 100 - 66px);
    }

    .myInfo.full {
        height: calc(var(--vh, 1vh) * 100 - 66px);
        border-radius: unset;
        box-shadow: unset;
    }
    .myInfo {
        height: calc(var(--vh, 1vh) * 47 - 66px);
        border-radius: 16px 16px 0 0;
        box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
        width: 100%;
    }

        .myInfo.bottom {
            height: calc(var(--vh, 1vh) * 17 - 66px);
            border-radius: 16px 16px 0 0;
            box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
        }

    .infoSummary {
        width: unset;
    }

   
    .location {
        width: 76%;
    }

    .infoCard {
        width:unset;
        display:block;
        height:unset;
        box-sizing:unset;
    }

    .collapseBtnArea {
        display: flex;
        position: absolute;
        top: 0;
        right: 0.8rem;
    }

}

@media only screen and (max-width: 533px) {
}

@media only screen and (max-width: 443px) {
}

@media only screen and (max-width: 360px) {

    .infoTitle {
        font-size: 1.5rem;
    }
}