﻿#forecastNoLocationsMessage {
    margin-top: 20px;
    border-radius: 4px;
    border: #666 1px solid;
    padding: 20px;
    background-color: #FFD;
    display: none;
}

ul.locationTabs {
    padding: 0;
    list-style-type: none;
}

ul.locationTabs li {
    border: #666 1px solid;
    border-radius: 4px;
    margin: 5px 0 0;
    padding: 5px;
    background-color: #FFD;
}

ul.locationTabs li.selected {
    font-weight: bold;
    background-color: #DDB;
}

ul.locationList {
    padding: 0;
    list-style-type: none;
}

ul.locationList li {
    padding: 5px;
}

ul.locationList button {
    float: right;
    min-width: 60px;
}

ul.locationList span {
    float: right;
    margin-right: 20px;
}

.forecastSelect {
    cursor: pointer;
    padding: 5px;
}

/* grid */

#forecastGridBanner {
    display: none;
}

#forecast {
    display: none;
    margin-bottom: 50px;
}

.forecastBanner {
    background-color: #333;
}

.locationHeader {
    text-align: center;
    color: white;
}

.row {
    position: relative;
    height: 100px;
}

.forecastLink {
    display: inline;
    cursor: pointer;
}

.dateHeader {
    background-color: #333;
    width: 20%;
    float: left;
    text-align: center;
    color: white;
    font-size: 16px;
    line-height: 20px;
}

.listRow {
    position: relative;
    height: 120px;
    border-bottom: black 1px solid;
}

.na {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    background: #BBBBBB;
    color: #fff;
    width: 100%;
    height: 100%;
}

.red {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    background: #970101;
    color: #fff;
    width: 100%;
    height: 100%;
    color: white;
}

.amber {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    background: #eca100;
    color: #fff;
    width: 100%;
    height: 100%;
    color: black;
}

.green {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    background: #6bc12d;
    color: #fff;
    width: 100%;
    height: 100%;
    color: black;
}

#forecastListBanner {
    display: none;
}

#forecastListView {
    margin: 36px 0 50px 0;
    display: none;
}

.listSection {
    width: 33.3%;
    height: 100%;
    float: left;
    overflow: hidden;
    text-align: center;
}

.listSectionCenter {
    width: 33.3%;
    height: 100%;
    float: left;
    text-align: center;
}

.listSectionCenterLeft {
    width: 50%;
    height: 100%;
    float: left;
    text-align: center;
}

.listSectionCenterRight {
    width: 50%;
    height: 100%;
    float: left;
    text-align: center;
}

.listSectionRight {
    width: 33.3%;
    height: 100%;
    float: left;
    overflow: hidden;
    margin: auto;
    text-align: center;
}

.imageContainer {
    max-width: 80px;
    max-height: 80px;
    margin: auto;
    margin-top: 20px;
    text-align: center;
    position: relative;
}

.windDriectionTextDark {
    font-weight: bold;
    color: black;
    margin-top: 29px;
    margin-left: 25px;
    z-index: 99 !important;
    font-size: 20px;
    position: absolute;
    width: 30px;
    text-align: center;
}

.windDriectionTextWhite {
    font-weight: bold;
    color: white;
    margin-top: 29px;
    margin-left: 25px;
    z-index: 99 !important;
    font-size: 20px;
    position: absolute;
    width: 30px;
    text-align: center;
}

.windDirectionImageNorth {
    width: 100%;
    z-index: 10 !important;
}

.windDirectionImageNorthNorthEast {
    width: 100%;
    -webkit-transform: rotate(22.5deg);
    -moz-transform: rotate(22.5deg);
    -ms-transform: rotate(22.5deg);
    -o-transform: rotate(22.5deg);
    z-index: 10 !important;
}

.windDirectionImageNorthEast {
    width: 100%;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    z-index: 10 !important;
}

.windDirectionImageEastNorthEast {
    width: 100%;
    -webkit-transform: rotate(67.5deg);
    -moz-transform: rotate(67.5deg);
    -ms-transform: rotate(67.5deg);
    -o-transform: rotate(67.5deg);
    z-index: 10 !important;
}

.windDirectionImageEast {
    width: 100%;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    z-index: 10 !important;
}

.windDirectionImageEastSouthEast {
    width: 100%;
    -webkit-transform: rotate(112.5deg);
    -moz-transform: rotate(112.5deg);
    -ms-transform: rotate(112.5deg);
    -o-transform: rotate(112.5deg);
    z-index: 10 !important;
}

.windDirectionImageSouthEast {
    width: 100%;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    z-index: 10 !important;
}

.windDirectionImageSouthSouthEast {
    width: 100%;
    -webkit-transform: rotate(157.5deg);
    -moz-transform: rotate(157.5deg);
    -ms-transform: rotate(157.5deg);
    -o-transform: rotate(157.5deg);
    z-index: 10 !important;
}

.windDirectionImageSouth {
    width: 100%;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    z-index: 10 !important;
}

.windDirectionImageSouthSouthWset {
    width: 100%;
    -webkit-transform: rotate(202.5deg);
    -moz-transform: rotate(202.5deg);
    -ms-transform: rotate(202.5deg);
    -o-transform: rotate(202.5deg);
    z-index: 10 !important;
}

.windDirectionImageSouthWest {
    width: 100%;
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    z-index: 10 !important;
}

.windDirectionImageWestSouthWest {
    width: 100%;
    -webkit-transform: rotate(247.5deg);
    -moz-transform: rotate(247.5deg);
    -ms-transform: rotate(247.5deg);
    -o-transform: rotate(247.5deg);
    z-index: 10 !important;
}

.windDirectionImageWest {
    width: 100%;
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    z-index: 10 !important;
}

.windDirectionImageWestNorthWest {
    width: 100%;
    -webkit-transform: rotate(292.5deg);
    -moz-transform: rotate(292.5deg);
    -ms-transform: rotate(292.5deg);
    -o-transform: rotate(292.5deg);
    z-index: 10 !important;
}

.windDirectionImageNorthWest {
    width: 100%;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -ms-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    z-index: 10 !important;
}

.windDirectionImageNorthNorthWest {
    width: 100%;
    -webkit-transform: rotate(337.5deg);
    -moz-transform: rotate(337.5deg);
    -ms-transform: rotate(337.5deg);
    -o-transform: rotate(337.5deg);
    z-index: 10 !important;
}

.listSection p {
    font-size: xx-large;
    font-weight: 400;
}

.listSectionCenter .listSectionCenterLeft p {
    font-weight: 600;
    font-size: xx-large;
}

.green .listSection p {
    margin-top: 45px;
    margin-left: 15px;
    color: black;
}

.red .listSection p {
    margin-top: 45px;
    margin-left: 15px;
    color: white;
}

.amber .listSection p {
    margin-top: 45px;
    margin-left: 15px;
    color: black;
}

.na .listSection p {
    margin-top: 45px;
    margin-left: 15px;
    color: black;
}

.green .listSectionCenter .listSectionCenterLeft p {
    margin-top: 45px;
    margin-left: 15px;
    color: black;
}

.red .listSectionCenter .listSectionCenterLeft p {
    margin-top: 45px;
    margin-left: 15px;
    color: white;
}

.amber .listSectionCenter .listSectionCenterLeft p {
    margin-top: 45px;
    margin-left: 15px;
    color: black;
}

.na .listSectionCenter .listSectionCenterLeft p {
    margin-top: 45px;
    margin-left: 15px;
    color: white;
}



.weatherTypeImage {
    max-height: 120px;
    margin: auto;
}

.locationRow {
    display: none;
}

.locationRow p {
    color: white !important;
    font-size: 0.8em;
}

.slot {
    width: 20%;
    height: 100%;
    float: left;
}

.slot:nth-child(n+2) {
    margin-left: -1px;
}

.slot div {
    height: 100%;
    border-color: #ccc;
    text-align: center;
}

.slot .red {
    border: 1px solid;
    background: #970101;
    color: #fff;
}

.slot .amber {
    border: 1px solid;
    background: #eca100;
    color: #fff;
}

.slot .green {
    border: 1px solid;
    background: #6bc12d;
    color: #fff;
}

.forecast .na {
    border: 1px solid;
    background: #BBBBBB;
    color: #fff;
}

.forecast .alert {
    margin: 2px;
}

.forecast .red .alert {
    color: #970101;
}

.forecast .amber .alert {
    color: #eca100;
}

.forecast .green .alert {
    color: #6bc12d;
}

.forecast .grid .time {
    position: absolute;
    float: none !important;
    background-color: #FFF;
    padding: 3px 8px;
    bottom: -12%;
    font-size: 12px;
    font-weight: bold;
    z-index: 100;
    text-align: center;
}

.forecast .grid .time.left {
    left: 0;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
}

.forecast .grid .time.right {
    right: 0;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    margin-right: -1px;
}

#forecastGrid {
    /* note panel already has padding-top of 7px*/
    margin: 20px 1px 0 -1px;
}

/* pop up info */

ul.weatherInfoList {
    padding: 0;
    list-style-type: none;
}

ul.weatherInfoList li {
    padding: 5px;
}

/* key */

.forecastKeyRow {
    padding-bottom: 7px;
    width: 100%;
}

.greenKey {
    border: 1px solid black;
    background: #6bc12d;
    width: 32px;
    height: 32px;
}

.amberKey {
    border: 1px solid black;
    background: #eca100;
    width: 32px;
    height: 32px;
}

.redKey {
    border: 1px solid black;
    background: #970101;
    width: 32px;
    height: 32px;
}

.forecastKeyRow {
    color: black;
    padding-bottom: 7px;
    width: 100%;
    line-height: 32px;
}

.forecastKeyRow img {
    vertical-align: middle;
    margin-right: 7px;
}

.forecastKeyRow span {
    float: left;
    vertical-align: middle;
    margin-right: 7px;
}


@media only screen and (max-width: 800px) {
    .listSection p {
        font-size: 20px;
    }

    .listSectionCenter .listSectionCenterLeft p {
        font-size: 20px;
    }
}

@media only screen and (max-width: 550px) {
    .listRow {
        height: 80px;
    }
    .listSection p {
        font-size: 12px;
    }
    .listSectionCenter .listSectionCenterLeft p {
        font-size: 14px;
    }
    img.weatherTypeImage {
        height: 80px;
    }
    .imageContainer {
        max-width: 60px;
        max-height: 60px;
        margin: 20px 0 0 0;
        text-align: center;
        position: relative;
    }
    .windDriectionTextWhite, .windDriectionTextDark {
        margin-top: 16px;
        margin-left: 10px;
        font-size: 16px;
    }
}