/* =========================================================
	THIS IS THE CSS FOR THE DETAILED FORECAST TABLE 
   ========================================================= */



/* =========================================================
   DETAILED FORECAST PAGE
   ========================================================= */

body.forecast-page {
    margin: 0;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background: #121a23;
    color: #ffffff;

    font-family: 'Oswald', Helvetica, sans-serif;
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.forecast-container {
    width: min(1100px, 94%);
    margin: 35px auto 55px;
    flex: 1;
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.forecast-header {
    text-align: center;
    margin-bottom: 35px;
}

.forecast-header h1 {
    font-size: 32px;
    font-weight: 500;

    color: #ffffff;

    margin: 0 0 22px;
}

.forecast-header p {
    font-size: 16px;
    line-height: 1.7;

    color: #b8c5d3;

    margin: 5px 0;
}

.forecast-header strong {
    color: #ffffff;
    font-weight: 500;
}

.forecast-header .forecast-updated {
    margin-top: 16px;
    color: #8dbdff;
}


/* =========================================================
   MAIN FORECAST CARD
   ========================================================= */

.detail-forecast-card {
    width: 100%;

    box-sizing: border-box;

    background:
        linear-gradient(
            145deg,
            #252b32 0%,
            #171b20 100%
        );

    border: 1px solid #3b444d;
    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35);
}


/* =========================================================
   CARD HEADING
   ========================================================= */

.detail-forecast-heading {
    padding: 17px 24px;

    background:
        linear-gradient(
            180deg,
            #3a434d 0%,
            #292f36 100%
        );

    border-bottom: 1px solid #414a54;

    text-align: center;
}

.detail-forecast-heading h2 {
    margin: 0;

    font-size: 22px;
    font-weight: 500;

    color: #ffffff;
}


/* =========================================================
   FORECAST PERIODS
   ========================================================= */

.forecast-period {
    padding: 21px 26px;

    border-bottom:
        1px solid #343d47;

    transition:
        background 0.2s ease;
}

.forecast-period:last-child {
    border-bottom: none;
}

.forecast-period:hover {
    background: rgba(
        120, 160, 205, 0.07
    );
}


/* =========================================================
   PERIOD TITLES
   ========================================================= */

.forecast-period-title {
    font-size: 19px;
    font-weight: 500;

    color: #79b8ff;

    margin: 0 0 10px;

    padding-left: 12px;

    border-left:
        3px solid #0f6be9;
}


/* =========================================================
   FORECAST DESCRIPTION
   ========================================================= */

.forecast-description {
    font-size: 16px;
    font-weight: 400;

    line-height: 1.8;

    color: #d6dde5;

    margin: 0;
}


/* =========================================================
   UNAVAILABLE FORECAST
   ========================================================= */

.forecast-unavailable {
    padding: 35px;

    text-align: center;

    color: #aeb9c5;
}




/* =========================================================
   MOBILE / IPAD
   ========================================================= */

@media (max-width: 768px) {

    .forecast-container {
        width: 94%;
        margin: 25px auto 40px;
    }

    .forecast-header h1 {
        font-size: 27px;
    }

    .forecast-header p {
        font-size: 14px;
    }

    .detail-forecast-heading h2 {
        font-size: 20px;
    }

    .forecast-period {
        padding: 18px;
    }

    .forecast-period-title {
        font-size: 18px;
    }

    .forecast-description {
        font-size: 15px;
        line-height: 1.7;
    }
}

.forecast-page .forecast-period-title {
    text-align: left !important;
}
