﻿@font-face {
    font-family: 'Open Sans Semibold';
    font-style: normal;
    font-weight: 600;
    src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://themes.googleusercontent.com/static/fonts/opensans/v6/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}

#weather {
    transition: all 1s cubic-bezier(0.43, -0.14, 0.31, 1.14);
    margin: 0;
    width: 0;
    height: 0;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.weather-active #weather {
    min-width: 24rem;
    height: 17rem;
    margin: 2rem 4rem 2rem 0;
    border-right: solid 1px #a4a7a9;
    padding-right: 4rem;
    box-sizing: border-box;
}

#weatherXY1 {
    width: 290px;
    height: 292px;
    position: relative;
}

@media only screen and (max-width: 768px) {
    #weatherXY1 {
        margin: 0 auto;
    }
}

.weather {
    background: url(../images/weather/spacer.gif);
    width: 290px;
    color: #686868;
    border-radius: 5px;
    padding: 0 0 10px 0;
    margin: 0 0 0 0;
    text-align: left;
}

#changeloc {
    position: absolute;
    top: 150px;
}

.conditionImage {
    position: absolute;
    top: 27px;
    left: 150px;
    z-index: 20;
    width: 180px;
    height: 125px;
    background: url(../images/weather/weather-sprite01.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    margin: 0 0 0 0;
}

#forecast .conditionImage {
    width: 140px;
    height: 85px;
}
/*.weather:hover .conditionImage {
	-webkit-transform: translate(0,-5px);
}*/
/* Conditions */
.weather .conditionImage.Clear {
    background-position: 0 0;
}

.weather .conditionImage.PartlyCloudy {
    background-position: -200px 0;
}

.weather .conditionImage.Cloudy {
    background-position: -400px 0;
}

.weather .conditionImage.LightRain {
    background-position: -600px 0;
}

.weather .conditionImage.Rain {
    background: url(../images/weather/weather-sprite02.png);
    background-position: 0 0;
}

.weather .conditionImage.HeavyRain {
    background: url(../images/weather/weather-sprite02.png);
    background-position: -200px 0;
}

.weather .conditionImage.LightSnow {
    background: url(../images/weather/weather-sprite02.png);
    background-position: -400px 0;
}

.weather .conditionImage.Snow {
    background: url(../images/weather/weather-sprite02.png);
    background-position: -600px 0;
}

.weather .conditionImage.HeavySnow {
    background: url(../images/weather/weather-sprite03.png);
    background-position: 0 0;
}

.weather .conditionImage.Fog {
    background: url(../images/weather/weather-sprite03.png);
    background-position: -200px 0;
}

.weather .conditionImage.Tstorms {
    background: url(../images/weather/weather-sprite03.png);
    background-position: -400px 0;
}

.weather .conditionImage.LightIce {
    background: url(../images/weather/weather-sprite03.png);
    background-position: -600px 0;
}

.weather .conditionImage.Ice {
    background: url(../images/weather/weather-sprite03.png);
    background-position: -800px 0;
}

#forecast .conditionImage {
    top: -3px;
    left: 5px;
    background-size: 150% 35% !important;
    background-repeat: no-repeat;
}
/* Forecast Conditions */
.weather #forecast .conditionImage.Clear {
    background-position: 11px 0;
}

.weather #forecast .conditionImage.PartlyCloudy {
    background-position: -38px 0;
}

.weather #forecast .conditionImage.Cloudy {
    background-position: -89px 0;
}

.weather #forecast .conditionImage.LightRain {
    background-position: -145px 0;
}

.weather #forecast .conditionImage.Rain {
    background-position: 11px 0;
}

.weather #forecast .conditionImage.HeavyRain {
    background-position: -38px 0;
}

.weather #forecast .conditionImage.LightSnow {
    background-position: -87px 0;
}

.weather #forecast .conditionImage.Snow {
    background-position: -144px 0;
}

.weather #forecast .conditionImage.HeavySnow {
    background-position: 20px 0;
}

.weather #forecast .conditionImage.Fog {
    background-position: -23px 0;
}

.weather #forecast .conditionImage.Tstorms {
    background-position: -68px 0;
}

.weather #forecast .conditionImage.LightIce {
    background-position: -110px 0;
}

.weather #forecast .conditionImage.Ice {
    background-position: -151px 0;
}

/* Disables */
.locationTitle label, .tempFaenheit, .tempFaenheit label, .tempCelcius, .condition, .condition label, .wind, .precipitation, .humidity, .visibility, .atmosphericPressure, .cloudCover, #forecast, #forecastLinkXY, .weatherLocation, .weatherLocation1, .tempCelciusHigh, .tempCelciusLow {
    display: none;
}

.weather > .wind, .precipitation, .humidity, .visibility, .atmosphericPressure, .cloudCover {
    padding: 3px 10px;
    background: rgba(255,255,255,0.5);
    margin-bottom: 1px;
    -moz-box-shadow: 0 0 5px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.2);
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    text-shadow: 1px 1px rgba(255,255,255,0.7);
}

.weather:hover #forecast, .weather:hover #poweredBy {
    display: block !important;
}

.weather:hover .wind:hover, .weather:hover .precipitation:hover, .weather:hover .humidity:hover, .weather:hover .visibility:hover, .weather:hover .atmosphericPressure:hover, .weather:hover .cloudCover:hover {
    background: rgba(0,0,0,.66);
    color: #333;
    text-shadow: none;
}

.weather:hover .wind:hover label, .weather:hover .precipitation:hover label, .weather:hover .humidity:hover label, .weather:hover .visibility:hover label, .weather:hover .atmosphericPressure:hover label, .weather:hover .cloudCover:hover label {
    color: #ccc;
}

.tempFaenheit, .condition {
    display: block;
}

.weather > .locationTitle, .weather > .tempFaenheit, .weather > .condition, .weather > #forecastLinkXY {
    /* margin-left: 139px; */
}

#forecastLinkXY {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.wind {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.cloudCover {
    margin-bottom: 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.weatherLocation1 {
    margin: 10px 0 0 0;
}

.locationTitle {
    width: 60%;
    min-height: 41px;
    max-height: 51px;
    overflow: hidden;
    padding-bottom: 5px;
    font-size: 24px;
    line-height: 26px;
    font-family: 'Open Sans Semibold', sans-serif;
    color: #333;
}

.dayOfWeek {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 9px;
    line-height: 12px;
    color: #333;
    text-align: center;
}

.tempFaenheit {
    font-size: 55px;
    line-height: 56px;
    font-weight: 400;
    color: #343741;
}

.weather > .tempFaenheit .unit {
    position: absolute;
    top: 124px;
    left: 108px;
    font-size: 20px;
    line-height: 20px;
    color: #c5c5c5;
    display: none;
}

.condition {
    color: #343741;
    font-size: 18px;
    line-height: 19px;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 0px 0 0 0;
    width: 53%;
    height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#forecast .condition {
    display: none;
    font-size: 10px;
    line-height: 14px;
    width: 86px !important;
    height: auto !important;
    /*overflow: visible;
	white-space: normal;*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#forecast {
    display: block;
    width: 285px;
    position: absolute;
    top: 210px;
    left: 0;
    border-radius: 5px;
    background: #eee;
    z-index: 250;
}

.forecastDay {
    width: 46px;
    height: 100%;
    float: left;
    position: relative;
    padding: 5px;
    border-left: 1px #777 dashed;
    border-radius: 5px;
    overflow: hidden;
}

.forecastDay .condition {
    margin-top: 0px;
}

.forecastDay:nth-child(odd) {
    /*background: #f8fef6; /* Old browsers */
    /*background: -moz-linear-gradient(top, #f8fef6 0%, #ffffff 100%); /* FF3.6+ */
    /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8fef6), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
    /*background: -webkit-linear-gradient(top, #f8fef6 0%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
    /*background: -o-linear-gradient(top, #f8fef6 0%,#ffffff 100%); /* Opera11.10+ */
    /*background: -ms-linear-gradient(top, #f8fef6 0%,#ffffff 100%); /* IE10+ */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8fef6', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
    /*background: linear-gradient(top, #f8fef6 0%,#ffffff 100%); /* W3C */
}

.forecastDay:first-child {
    border-left: none;
}

.forecastDay .conditionImage {
    position: relative;
    top: 0;
    margin: 0 0px -70px -20px;
}

.tempFarenheitHigh {
    font-size: 13px;
    font-weight: 400;
    color: #666;
    /*text-shadow: 1px 1px rgba(255,255,255,1);*/
    letter-spacing: -2px;
    float: left;
}

.tempFarenheitLow {
    font-size: 13px;
    font-weight: 400;
    color: #adadad;
    /* text-shadow: 1px 1px rgba(255,255,255,1); */
    letter-spacing: -2px;
    margin-left: 10px;
    display: inline-block;
}

.dayOfWeek {
}

.weatherLocation {
    height: 22px;
    padding: 5px 0 0 0;
    margin: 0px;
}

.weatherLocation input {
    display: inline-block;
    width: 160px;
    height: 28px;
    margin: 0px;
    padding: 1px 0px 0px 5px;
    font-style: italic;
    background-color: #707070;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 17px;
    color: #dcdcdc;
    border-width: 0px;
    border: 1px #434343 solid;
    background-image: url(../images/weather/icon_return.png);
    background-repeat: no-repeat;
    background-position: right center;
}

.weatherLocation #weatherZipSubmit {
    display: none;
    float: left;
    width: 25px;
    height: 22px;
    margin: 0px;
    padding: 0px;
    color: #333;
    cursor: pointer;
}

.weatherLocation #weatherZipSubmit:hover {
    background-position: 0px -22px;
}

.forecastLink {
    text-decoration: none;
}

.forecastLink:hover {
    text-decoration: underline;
}

#poweredBy {
    display: none;
    position: absolute;
    left: 0;
    top: 188px;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 25px;
    text-align: left;
    font-size: 10px;
    z-index: 1000;
    color: #343741;
}

#poweredBy a {
    font-size: 10px;
    color: #343741;
}

#poweredBy a:hover {
    color: #d91e34;
}

@media only screen and (max-width:1280px) {
    .stocks-active.weather-active #weather {
        width: 24rem;
        min-width: 24rem;
        margin-right: 0;
    }
}

@media only screen and (max-width:1024px) {
    .stocks-active.weather-active #weather {
        width: 20rem;
        min-width: 20rem;
        margin-right: 0;
    }
}

@media only screen and (max-width:768px) {
    .stocks-active.weather-active #weather {
        min-height: 14rem;
        height: 14rem;
        width: 50%;
        min-width: 50%;
    }

    .weather-active:not(.stocks-active) #weather {
        width: 100%;
        min-width: 100%;
        margin-right: 0;
        padding-right: 0;
        border: none;
    }
}

@media only screen and (max-width:640px) {
    .stocks-active.weather-active #weather,
    .weather-active #weather {
        width: 100%;
        min-width: 100%;
        border-right: none;
        padding: 0;
        height: auto;
    }
}
