﻿html {
    
}
body {
    font-family: 微软雅黑,"HelveticaNeue", Arial, HelveticaNeue, "Helvetica-Neue", Helvetica, "BBAlphaSans", sans-serif;
    max-width: 1024px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-box-align: center;
    -webkit-transition: opacity 800ms ease-out;
    -webkit-font-smoothing: subpixel-antialiased;
    background-color: #FFF;
    margin: 0 auto;
}
a {
    text-decoration: none;
    transition: all 1s;
    color: #4a8bf5;
}
    a:hover {
        color: #ff6a00;
    }
ul li {
    list-style: none;
}
img{
    border:0;
}


header{
    width:100%;
}
header h2 {
    font-size: 18px;
}
footer {
    width: 100%;
    text-align:center;
}
    footer a{
        margin:auto 10px;
    }


    .main {
        width: 100%;
        padding: 0 3%;
    }

    .main .point {
        margin-left:  20px;
    }

.province {
    margin: 0;
}
    .province h3 {
        margin: 8px 0;
        font-size: 15px;
    }

    .province .city {
        margin: 8px 2px;
    }
        .province .city span {
            margin: 10px 10px 10px 2px;
            font-size: 14px;
        }
        .province .city a {
            margin: 0px 7px;
            font-size: 14px;
            color: #4a8bf5;
        }

article {
    width: 100%;
}
    article .tide_tile{
        text-align:center;
    }
        article .tide_tile h1 {
            font-size: 36px;
            color: #666;
            margin: 10px 0;
        }
        article .tide_tile h1 img {
            height: 40px;
            vertical-align: bottom;
            border: solid 1px #FFF;
        }
        article .tide_tile h1 a {
            padding-left: 3px;
            color: #cc181e;
        }
            article .tide_tile h1 a:hover {
                text-decoration: underline;
            }
        article .tide_tile h1 span {
            font-size: 22px;
        }
        article .tide_tile h2 span {
            color: #cc181e;
        }
    article #tooltip{
        text-align:center;
    }
article .tide_date{
    text-align:center;
}
    article .tide_date a {
        margin: 0 10px;
        font-size: 22px;
        cursor: pointer;
        background: #009494;
        color: #FFF;
        padding: 5px 15px;
        border-radius: 5px;
        
    }
        article .tide_date a:hover {
            background: #122b3a;
        }

    article .enhance{
        text-align:center;
        margin:10px 0;
        font-size:20px;
    }
        article .enhance a {
            font-size: 22px;
            font-weight:bold;
        }
        article .enhance span {
            color: #cc181e;
        }
    article .chart_tb {
        width: 100%;
        max-width: 630px;
        margin: 20px auto;
    }
        article .chart_tb .td1 {
            width: 30%;
            text-align: right;
        }
            article .chart_tb .td1 img {
                width: 140px;
                margin-right: 10px;
            }
        article .chart_tb .today {
            width: 70%;
        }
    .position {
        display: none;
        position: absolute;
        width: 100%;
        padding: 10px;
        /* height: 100%; */
        background-color: rgba(0,0,0,0.9);
        z-index: 99;
    }


    #tides {
        height: 350px;
    }
.position .area {
}

    .position .area .select {
        display: block;
    }

.position .province {
    color: #ff6a00;
    font-size: 15px;
    padding: 5px 10px;
    background-color: #FFF;
    margin-top: 5px;
    position: relative;
    cursor: pointer;
}

    .position .province a {
        position: absolute;
        right: 5px;
        top: 5px;
        font-size: 15px;
    }
    
    .position .city {
        font-size: 18px;
        border-bottom: 0.01rem dotted rgba(255,255,255,0.5);
        margin-top: 5px;
    }
        .position .city .tile {
            font-weight: bold;
        }
    .position .city a {
        color: #aaa;
        font-size: 5px;
        margin: 0 5px;
    }

        .position .city a:hover {
            color: #ff6a00;
        }
        
    .position .city tile .column {
        font-weight: bold;
    }

        .position .city .hour .column {
            display: inline-block;
            width: 16%;
            text-align: center;
            color: #3e3e3e;
            font-size: 16px;
        }

#ghdesc {
    text-align: center;
    color: #cc181e;
    font-size: 16px;
    margin: 5px 0;
}
.tides_desc {
    text-align: center;
}

    .tides_desc a {
        border-radius: 20px;
        padding: 0px 10px;
        margin: 15px;
    }


.today {
    text-align: center;
}

    .today .title {
        width: 100%;
        line-height: 100%;
        margin: 10px 0;
    }

        .today .title .column {
            display: inline-block;
            width: 48%;
            font-size: 20px;
            font-weight: bold;
        }

    .today .value {
        width: 100%;
        line-height: 100%;
        margin: 5px 0;
    }

        .today .value .column {
            display: inline-block;
            width: 48%;
        }

@media (max-width:450px) {

     h1 {
        font-size: 20px;
    }
     h2 {
        font-size: 12px;
        font-weight:100;
    }
    .main {
        padding: 0 ;
    }
        .main .point {
            margin-left: 15px;
            line-height: 190%;
        }
    h3 {
        font-size: 15px;
    }
    .province .city a {
        line-height: 190%;
    }
    footer {
        font-size: 12px;
    }
        footer a {
            margin: auto 5px;
        }

    article .tide_tile h1 {
        font-size: 23px;
    }
        article .tide_tile h1 img {
            height: 30px;
        }
    #tides{
        height:250px;
    }
    article #tooltip {
        font-size: 12px;
    }
    .tides_desc {
        font-size: 12px;
    }
        .tides_desc a {
            border-radius: 18px;
            padding: 0px 8px;
            margin: 5px;
        }
    .position .city .hour .column {
        width: 15%;
        font-size: 12px;
    }
    .position .city .tile {
        font-size: 14px;
    }
    article .tide_date a {
        margin: 0px 7px;
        font-size: 13px;
        padding: 5px 13px;
    }
    article .chart_tb .td1 img{
        width:98%;
    }

    article .chart_tb .today {
        
    }
    .today .title .column {
        width: 23%;
        font-size: 13px;
    }
    .today .value .column {
        width: 23%;
        font-size: 12px;
    }
    article .enhance {
        font-size: 13px;
    }
        article .enhance a {
            font-size: 18px;
        }
}