.forecast {
    text-align: center;
}

.forecast-now {
    clear: left;
}

.forecast-now .city-name {}

.forecast-now .forecast-a-day {}

.forecast-now .forecast-a-day .weather-day {}

.forecast-now .forecast-a-day .weather-wrapper {
    height: 4em;
    position: relative;
    font-size: 1.2em;
}

.forecast-now .forecast-a-day .weather-wrapper span {
    position: absolute;
    bottom: 1em;
    width: 50%;
}

.forecast-now .forecast-a-day .weather-wrapper span.weather-description {
    display: none;
}

.forecast-now .forecast-a-day .weather-wrapper span.weather-icon {
    display: none;
}

.forecast-daily {
    clear: left;
}

.forecast-daily .forecast-a-day {
    float: left;
    padding-top: 16px;
}

.forecast-daily .forecast-a-day .weather-day {}

.forecast-daily .forecast-a-day .weather-wrapper {
    height: 5em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-size: auto 100%;
    position: relative;
    font-size: 0.8em;
}

.forecast-daily .forecast-a-day .weather-wrapper span {
    position: absolute;
    bottom: -0.8em;
    width: 45%;
}

.forecast-daily .forecast-a-day .weather-wrapper span.weather-main {
    display: none;
}

.forecast-daily .forecast-a-day .weather-wrapper span.weather-description {
    display: none;
}

.forecast-daily .forecast-a-day .weather-wrapper span.main-temp-max {
    left: 0px;
    text-align: right;
    color: red;
}

.forecast-daily .forecast-a-day .weather-wrapper span.main-temp-min {
    right: 0px;
    text-align: left;
    color: blue;
}

#forecast_result {
    overflow: hidden;
    padding-top: 0px;
    padding-left: 15px;
    padding-right: 15px;
    height: 320px;
}

#forecast_result2 {
    padding-bottom: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding-top: 20px;
    min-height: 360px;
}

.forecast-daily>.forecast-a-day>.weather-wrapper>span.main-temp-min {
    padding-top: 70px;
    top: 0px;
}

.forecast-daily>.forecast-a-day>.weather-wrapper>span.main-temp-max {
    padding-top: 70px;
    top: 0px;
}

.forecast-now>.forecast-a-day>.weather-day {
    display: none;
}


/*==========  Mobile First Method  ==========*/


/* Custom, iPhone Retina */

@media only screen and (min-width: 320px) {
    .forecast-now>.city-name {
        margin-bottom: 30px;
        display: none;
    }
    .forecast-now .forecast-a-day .weather-wrapper span.weather-main {
        left: 0px;
        text-align: right;
        background-position: right center;
        background-repeat: no-repeat;
        background-size: cover;
        background-size: auto 100%;
        height: 4em;
        top: 0px;
    }
    .forecast-now .forecast-a-day .weather-wrapper {
        width: 100%;
        float: left;
        height: 160px;
    }
    .wind-deg {
        left: 0%;
        font-size: 1em;
        line-height: 1em;
        left: 50%;
        width: 50%!important;
        top: 130px;
        overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
        height: 30PX;
    }
    .wind-deg:before {
        content: url(../img/i_deg.png);
        margin-right: 10px;
    }
    .wind-speed {
        left: 0%;
        font-size: 1em;
        line-height: 1em;
        width: 50%!important;
        top: 130px;
    }
    .wind-speed:before {
        content: url(../img/i_wind.png);
        margin-right: 10px;
    }
    .sys-sunset {
        left: 50%;
        font-size: 1em;
        line-height: 1em;
        width: 50%!important;
        top: 90px;
    }
    .sys-sunset:before {
        content: url(../img/i_ss.png);
        margin-right: 10px;
    }
    .sys-sunrise {
        float: left;
        left: 0%;
        font-size: 1em;
        line-height: 1em;
        width: 50%!important;
        top: 90px;
    }
    .sys-sunrise:before {
        content: url(../img/i_sr.png);
        margin-right: 10px;
    }
    .forecast-daily .forecast-a-day {
        width: 33.3333333%!important;
        margin-top: 10px;
    }
    .forecast-now .forecast-a-day .weather-wrapper span.main-temp {
        right: 0px;
        text-align: left;
        font-size: 1.4em;
        top: 0.7em;
        padding-left: 10px;
    }
}


/* Extra Small Devices, Phones */

@media only screen and (min-width: 480px) {
    .forecast-now>.city-name {
        display: block;
        display: none;
    }
    .forecast-now .forecast-a-day .weather-wrapper span.weather-main {
        left: 0px;
        text-align: right;
        background-position: right center;
        background-repeat: no-repeat;
        background-size: cover;
        background-size: auto 100%;
        height: 4em;
        top: 0px;
    }
    .forecast-now .forecast-a-day .weather-wrapper {
        width: 100%;
        float: left;
        height: 160px;
    }
    .wind-deg {
        left: 0%;
        font-size: 1em;
        line-height: 1em;
        left: 50%;
        width: 50%!important;
        top: 130px;
    }
    .wind-deg:before {
        content: url(../img/i_deg.png);
        margin-right: 10px;
    }
    .wind-speed {
        left: 0%;
        font-size: 1em;
        line-height: 1em;
        width: 50%!important;
        top: 130px;
    }
    .wind-speed:before {
        content: url(../img/i_wind.png);
        margin-right: 10px;
    }
    .sys-sunset {
        left: 50%;
        font-size: 1em;
        line-height: 1em;
        width: 50%!important;
        top: 90px;
    }
    .sys-sunset:before {
        content: url(../img/i_ss.png);
        margin-right: 10px;
    }
    .sys-sunrise {
        float: left;
        left: 0%;
        font-size: 1em;
        line-height: 1em;
        width: 50%!important;
        top: 90px;
    }
    .sys-sunrise:before {
        content: url(../img/i_sr.png);
        margin-right: 10px;
    }
    .forecast-daily .forecast-a-day {
        width: 33.3333333%!important;
        margin-top: 10px;
    }
    .forecast-now .forecast-a-day .weather-wrapper span.main-temp {
        right: 0px;
        text-align: left;
        font-size: 1.4em;
        top: 0.7em;
        padding-left: 10px;
    }
}
