$background: #fff;
$titleBackground: #3D6AA2;
$titleFontColor: #fff;

:host {

    // @import './../../../node_modules/weather-icons/sass/weather-icons.scss';

    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    display: block;
    background: $background;

    .card-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow-y: scroll;

        .card-list-item {
            display: block;
            padding: 10px;

            h2 {
                text-align: left;
                font-weight: bold;
                font-size: .9em;
                margin-top: 0;
            }

            .card-content {
                display: flex;
                flex-direction: row;
                border-bottom: 1px solid #ababab;

                .description {
                    width: 50%;
                    font-size: .8em;

                    .wind {
                        .wind-icon {
                            padding-right: 5px;
                        }
                    }

                    .temperature {
                        font-size: 2em;
                        font-weight: 100;
                        margin-top: .5em;
                        margin-bottom: .5em;
                        display: block;
                        line-height: 1em;
                    }
                }

                .weather-icon {
                    width: 50%;
                    text-align: center;
                    // font-size: 50px;
                    padding: 10px 5px;
                }
            }
        }
    }

    .title {
        height: 30px;
        line-height: 30px;
        display: block;
        // text-align: center;
        font-size: 18px;
        font-weight: bold;
        padding: 10px;
        background: $titleBackground;
        color: $titleFontColor;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;

    }
}
