﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
* {
    font-family: 'Comfortaa', sans-serif;
}

.align-right {
    text-align: right;
}

.btn.btn-light {
    background-color: #fff;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.landing-heading {
    margin-left: -8px;
    margin-right: -8px;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* main content */

.jumbotron {
    position: relative;
    background-color: #2196f3;
    color: #fff;
    padding-bottom: 2rem;
}

    .jumbotron .card-title {
        margin-bottom: 0;
    }

    .jumbotron #tonight {
        color: #002a4d !important;
    }

.emphasis {
    color: #0E3F66;
}

#change-location {
    position: absolute;
    top: 12px;
    right: 12px;
}

.jumbotron a:hover, .jumbotron a:focus, .jumbotron a:active {
    text-decoration: none;
    background-color: #80C6FF;
}

.jumbotron .wb-nav {
    color: #071F33;
    display: inline-block;
    padding: 8px 4px;
    letter-spacing: 0;
}

.jumbotron #defaultList {
    margin-left: -12px;
    margin-right: -12px;
}

.jumbotron .nav-link {
    color: #071F33;
}

.jumbotron .low {
    color: #002a4d;
    margin-bottom: 16px;
}

.jumbotron .high {
    color: rgba(255, 255, 255, 0.8);
}

.jumbotron hr {
    border-top: 1px solid #14568C;
}

#filterInput {
    margin-top: 8px;
    margin-bottom: 8px;
}

.forecast-card {
    display: flex;
    background-color: unset;
    border-width: 2px;
    padding-top: 16px;
    display: flex;
    margin-top: 6px;
    margin-bottom: 6px;
}

.currentForecast .forecast-card {
    flex-direction: row;
    justify-content: center;
    align-self: stretch;
}

    .currentForecast .forecast-card .fc-item {
        flex-basis: 100%;
        max-width: 300px;
    }


#forecastCards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

    #forecastCards .forecast-card {
        flex-direction: column;
        align-content: space-between;
        align-self: stretch;
        width: 175px;
        min-height: 100%;
    }

        #forecastCards .forecast-card .fc-item {
            width: 100%;
            height: 50%;
            min-height: 50%;
        }

.card-condition {
    position: relative;
    display: inline-block;
}

    .card-condition.has-pop {
        padding-left: 21px;
    }

.pop {
    position: absolute;
    top: -5px;
    left: 0;
    display: inline-block;
    font-size: 75%;
}

.degree {
    font-size: 65%;
}

.hourly-icon {
    height: 50px;
}

.hourly-card {
    border-width: 2px;
    background-color: unset;
}

.hourly-item {
    display: flex;
    align-items: center;
}

    .hourly-item:nth-child(even) {
        color: #002a4d;
    }

.hour-icon {
    height: 32px;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0;
}

.hour-time {
    text-align: right;
    padding-right: 12px;
    white-space: nowrap;
}

.hour-temp {
    text-align: right;
    letter-spacing: -0px;
    white-space: nowrap;
}

.hour-condition {
    text-align: left;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    text-align: center;
}

@media screen and (min-width: 1201px) {
    .pop {
        top: 6px;
    }
}

@media screen and (max-width: 450px) {
    .pop {
        top: 6px;
    }
}

@media screen and (max-width: 1200px) {
    #forecastCards .forecast-card {
        flex-direction: row;
        width: 100%;
    }
}

@media screen and (max-width: 750px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .jumbotron {
        padding-bottom: 1rem;
    }

    #weatherbird-logo {
        width: 36px;
    }

    #weather-bird-mascot {
        width: 125px;
    }

    .wb-nav.edmonton,
    .wb-nav.quebec,
    .wb-nav.winnipeg {
        display: none;
    }
}

@media screen and (min-width: 576px) {
    #nav-toggle {
        display: none;
    }
}
