// static responsive css.
// mobile device css.
@media only screen and (max-width: 599px) {
    .sp-location-weather-block-wrapper {
        width: 100%;
        margin: 0 auto !important;

    }

    // weather search block css.
    .sp-location-weather-block-wrapper .spl-weather-card-location-name .spl-weather-search-block {
        left: 10px;
    }

    // forecast table layout overflow.
    .spl-weather-forecast-table-layout {
        overflow-x: auto;
    }

    .spl-weather-forecast-tabs {
        flex-wrap: wrap;
    }

    // horizontal one.
    .spl-weather-horizontal-one-wrapper {
        .spl-weather-horizontal-top {
            flex-direction: column;
        }

        .spl-weather-current-weather-icon-wrapper {
            width: 40%;
        }

        .spl-weather-header-info-wrapper {
            justify-content: space-between;
        }
    }

    // sun orbit css.
    .spl-weather-tabs-card,
    .spl-weather-table-card {
        .spl-weather-sun-orbit {
            width: 100%;
            height: 100px;
        }

        .spl-weather-sun-orbit-sky {
            zoom: 0.7;
        }
    }

    // tabs block responsive css.
    .spl-weather-tabs-card {

        .spl-weather-card-current-weather,
        .spl-weather-header-info-wrapper {
            width: 100%;
            align-items: center;
        }

        .spl-weather-tab-navs,
        .spl-weather-current-data {
            flex-direction: column;
        }

        // tabs one.
        .spl-weather-tabs-one-block-wrapper {

            .spl-weather-sun-orbit {
                width: 100%;
                height: 100px;
            }

            .spl-weather-sun-orbit-sky {
                zoom: 0.7;
            }
        }

    }
}

// tablet css.
@media only screen and (min-width: 600px) and (max-width: 1023px) {
    .sp-location-weather-block-wrapper {
        width: 100%;
        margin: 0 auto !important;
    }
    // forecast table layout overflow.
    .spl-weather-forecast-table-layout {
        overflow-x: auto;
    }
}