body {
    margin: 0;
    display: grid;
    width: 100%;
    height: 100vh;
    grid-template-rows: auto 1fr auto;
    font-family: "-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

#container {
    width: 100%;
    height: 100%;
    font-family: "微软雅黑";
    font-size: 100%;
}

header {
    background: teal;
    font-size: 1.5em;
    width: 100%;
    vertical-align: middle;
}

footer {
    background: teal;
    font-size: 1em;
    width: 100%;
    height: 3em;
}

span.a {
    display: inline;
    /* the default for span */
    padding: 0.2em;
    border: 0px;
    font-weight: bold;
    text-indent: 0.1em
}

.BMap_bubble_title {
    border-bottom-style: double;
}
.BMap_Marker {
    cursor: pointer;
}
.BMap_bubble_content {
    padding-bottom: 6px;
    display: flex;
    flex-direction: column;
}
.BMap_bubble_content>a>div {
    width: 304px;
    background: center / cover no-repeat;
}
.BMap_bubble_content>a>div:hover, .BMap_bubble_content>a>div:active {
    background-size: contain;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.right {
    float: right;
    padding: 0 0.1em 0 0;
}

.left {
    float: left;
    padding: 0 0 0 0.1em;
}

.greys {
    filter: grayscale(100%);
}

.w3-modal {
    z-index: 33;
    display: none;
    padding-top: 0px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4)
}

.w3-modal-content {
    margin: auto;
    background-color: #fff;
    position: relative;
    padding: 0;
    outline: 0
}

.w3-animate-zoom {
    animation: animatezoom 0.6s
}

@keyframes animatezoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.w3-animate-fading {
    animation: fading 10s infinite
}

@keyframes fading {
    0% {
        opacity: 0
    }

    50% {
        opacity: 1
    }

    100% {
        opacity: 0
    }
}

.w3-animate-opacity {
    animation: opac 1s
}

@keyframes opac {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.w3-input {
    margin: 0 12px 0 0;
    display: inline;
    border: none;
    border-bottom: 2px solid #ccc;
    width: 15%;
    vertical-align: 12em;
}

.w3-cell-row {
    display: table;
    width: 100%
}

.w3-cell {
    display: table-cell;
    vertical-align: middle;
}

.w3-display-middle {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%);
    -ms-transform: translate(-50%);
}

.w3-container,.w3-panel {
    padding: 0.01em 4px;
}

.w3-panel {
    margin-top: 4px;
    margin-bottom: 4px
}

.w3-teal,.w3-hover-teal:hover {
    color: #fff!important;
    background-color: #009688!important
}

.w3-left {
    float: left!important
}

.w3-right {
    float: right!important
}

.ayg-btn {
    border: none;
    display: inline-block;
    padding: 0px 0px;
    overflow: hidden;
    text-decoration: underline;
    color: teal;
    background-color: inherit;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
}
.ayg-btn:focus::after {
    content: attr(title);
    position: absolute;
    top: 2em;
    right: 0;
    background: #333;
    color: #eee;
    border: 1px solid grey;
    padding: 5px;
}

.ayg-head {
    font-size: 24px
}

.ayg-img {
    width: 80%
}

@media (max-width: 600px) {
    .ayg-head {
        font-size:18px
    }

    .ayg-img {
        width: 40%
    }
}

@media (max-width: 440px) {
    .ayg-head {
        font-size:17px
    }

    .ayg-img {
        width: 20%
    }
}

.navbar {
    display: grid;
    grid-template-columns: repeat(2,fit-content(10%)) auto repeat(2,fit-content(10%));
    align-items: center;
    justify-items: center;
}

.searchbar {
    display: flex;
    align-items: center;
}

.mobile {
    display: none;
    grid-column-start: 1;
    grid-column-end: 6;
}

.ico-btn {
    cursor: pointer;
    width: 9vw;
    min-width: 20px;
    max-width: 39px;
}

.findLoc {
    margin: 0 .5em 0 .5em;
}

.mobile .findLoc {
    flex: 1;
}

@media (max-width: 480px) {
    .mobile {
        display: flex;
        width: 100%;
    }

    .searchbar:not(.mobile)>:not(#locNum) {
        display: none;
    }
}

#doFilter {
    align-self: center;
    align-self: center;
    display: none;
    grid-template-rows: 5fr 1fr;
    width: 480px;
    padding: 2vh 2vw;
    height: 96%;
}

#doFilter * {
    border-radius: 1vh;
}

#filters {
    display: flex;
}

@media (max-width: 480px) {
    #doFilter {
        width: 96%;
    }
}

.filter {
    flex: 1;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    margin-right: 5px;
}

.filter>label {
    width: 100%;
    background: #e0f6e8 left/contain no-repeat;
    border: 1px solid #004638;
    border-right: 3px solid #004638;
    border-bottom: 3px solid #004638;
    margin: 0 0 1px 0;
    opacity: .8;
}

.filter>label:hover, .filter>label:focus, .filter>label:active {
    opacity: 1;
    font-size: 1.5em;
}

.filter>label.checked {
    background-color: teal;
    color: white;
}
.filter>label.checked>p::before {
    content: "√";
}

.filter p {
    padding: 5vh 2vw;
    margin: 0;
    text-align: right;
}

.filter input {
    display: none;
}

.filterBtns {
    display: flex;
}

.filterBtns>button {
    font-size: 1.2em;
    flex: 1;
    background: #a0e6d8;
    border: 1px solid #004638;
    border-right: 3px solid #004638;
    border-bottom: 3px solid #004638;
    margin: 1px 8px;
}
