@charset "utf-8";

section.home-blank, section.home-spaced {
    margin-bottom: 10em !important;
}
section.home-blank {
    background: transparent !important;
    overflow: hidden !important;
}
section.home-blank > header {
    padding: 1em;
    border-radius: .5em .5em 0 0;
    background: #FFF;
}
section.home-blank > .footer {
    padding: 1em;
    font-size: 1em;
    border-radius: 0 0 .5em .5em;
    background: rgba(0, 0, 0, .4);
    color: rgba(255, 255, 255, .4);
    text-align: right;
    -webkit-transition: background 300ms ease;
    transition: background 300ms ease;
}
section.home-blank > .footer:hover {
    background: rgba(0, 0, 0, .6);
    color: rgba(255, 255, 255, .6);
}
section.home-blank > .footer a:hover {
    color: rgba(255, 255, 255, 1);
}

/*********
 * TRASH *
 *********/

#home-trash {
    background: transparent;
    overflow: hidden;
    margin-bottom: 10em;
}
#home-trash > header h2 {
    font-size: 1.25em;
}
#home-trash ul > li {
    display: inline-block;
    width: 25%;
    border-left: .25em solid #FFF;
    border-right: .25em solid #FFF;
    border-bottom: .5em solid #FFF;
}
@media (max-width: 600px) {
    #home-trash ul > li {
        width: 33.3%;
    }
    #home-trash ul > li:nth-child(2) {
        border-left-width: .5em;
    }
    #home-trash ul > li:first-of-type {
        display: block;
        width: 100%;
        border-right-width: .5em;
    }
}
#home-trash ul > li:first-of-type {
    border-left: .5em solid #FFF;
}
#home-trash ul > li:last-of-type {
    border-right: .5em solid #FFF;
}
#home-trash li > time {
    position: absolute;
    bottom: -.2em;
    left: .5em;
    padding: .8em;
    background: linear-gradient(to bottom, #E9E9E9, #FFF);
    border-radius: .5em .5em 0 0;
    border-top: .3em solid #FFF;
    font-size: 1.25em;
    -webkit-transition: padding 300ms ease;
    transition: padding 300ms ease;
}
@media (max-width: 600px) {
    #home-trash li > time {
        right: auto;
        left: 1em;
    }
}
#home-trash li:hover > time {
    padding-bottom: 1.6em;
}
#home-trash li > time > span {
    display: block;
    font-size: .8em;
}
#home-trash li > time > span:first-child {
    margin-bottom: .5em;
    color: #666;
}
#home-trash li > time > span:last-child {
    margin-top: .5em;
    color: #999;
}
#home-trash li > div {
    width: 100%;
    height: 10em;
    opacity: .7;
    box-shadow: inset 0 0 .3em rgba(0, 0, 0, .4);
    -webkit-transition: opacity 300ms ease;
    transition: opacity 300ms ease;
}
#home-trash li:hover > div {
    opacity: 1;
}
#home-trash li > .black {
    background: black;
}
#home-trash li > .blue {
    background: blue;
}
#home-trash li > .yellow {
    background: yellow;
}
#home-trash li > .green {
    background: green;
}

/***********
 * WEATHER *
 ***********/

#home-weather .now > img {
    position: absolute;
    top: 50%;
    left: 14em;
    margin-top: -2.5em;
}
#home-weather .now > div {
    position: absolute;
    top: 50%;
    left: 21em;
    margin-top: -3em;
}
#home-weather .now .temperature {
    font-size: 2em;
}
#home-weather .now .wind {
    display: block;
    margin: .5em 0;
}
#home-weather .now .wind > * {
    padding-right: .5em;
    margin-right: .5em;
    font-size: 1.2em;
    border-right: thin solid #CCC;
}
#home-weather .now .wind > *:last-child {
    padding-right: 0 !important;
    margin-right: 0 !important;
    border-right: 0 !important;
}
#home-weather .now .wind .direction {
    padding-right: 3em;
}
#home-weather .now .wind img {
    position: absolute;
    top: -25%;
    right: .5em;
    height: 2em;
}
#home-weather .row {
    border-top: thin solid #CCC;
    background: rgba(255, 255, 255, .8);
}
#home-weather .row .expandable-active-startup + *[data-expandable-child] {
    height: 100% !important;
}
#home-weather .row h3 {
    margin: 0;
    padding: 1em;
    font-size: 1em;
    font-weight: lighter;
}
#home-weather .row h3 time {
    position: absolute;
    left: 11em;
    font-size: 1.25em;
}
#home-weather .row li {
    text-align: center;
}
#home-weather .row li > * {
    display: block;
    margin: .4em .2em;
    padding: 1em;
    background: rgba(255, 255, 255, .7);
}
#home-weather .row li > time {
    background: rgba(255, 255, 255, .9);
}
#home-weather .row .description {
    min-height: 10em;
}
#home-weather .row .description > * {
    display: block;
}
#home-weather .row .description > img {
    margin: 0 auto;
}
#home-weather .row .temperature {
    margin: .25em .125em;
    font-size: 1.6em;
}
#home-weather .row .temperature > span {
    white-space: nowrap;
    z-index: 10;
}
#home-weather .row .temperature .scala {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /*right: 0;*/
    /*width: .3em;*/
    opacity: .2;
}
#home-weather .row .temperature .scala-red {
    background: red;
}
#home-weather .row .temperature .scala-blue {
    background: blue;
}
#home-weather .row .wind {
    min-height: 13em;
}
#home-weather .row .wind > * {
    display: block;
}
#home-weather .row .wind img {
    margin: 0 auto;
    height: 4em;
}
#home-weather .row .wind .bft {
    padding: .5em 0;
    margin: .5em 0;
    border-top: thin solid #CCC;
    border-bottom: thin solid #CCC;
    font-weight: bold;
}
#home-weather .empty {
    opacity: .5;
}
#home-weather .empty .bft {
    border-color: transparent !important;
}
@media (max-width: 600px) {
    #home-weather .empty {
        display: none;
    }
    #home-weather .row ul {
        margin: 0 .7em;
    }
    #home-weather .row li {
        margin-bottom: .7em;
        text-align: left;
    }
    #home-weather .row li > * {
        display: inline-block;
        vertical-align: top;
        height: 100%;
        width: 18.5%;
        text-align: center;
    }
    #home-weather .row li > time {
        text-align: left;
    }
    #home-weather .row .description {
        min-height: 0;
    }
    #home-weather .row .wind {
        min-height: 0;
    }
    #home-weather .row .wind img {
        display: none;
    }
}
@media (max-width: 479px) {
    #home-weather .row li > * {
        width: 18%;
    }
}

/**********+*
 * CALENDER *
 ************/

/* TODO */

/**********
 * EVENTS *
 **********/

#home-events {}

/********
 * NEWS *
 ********/

#home-news {
    padding-bottom: 1em !important;
}
#home-news > header {
    padding: 1em;
}
#home-news h2 + p {
    color: #999;
}
#home-news .news-menu {
    margin: .5em;
}
#home-news .news-menu > button {
    display: inline-block;
    padding: .5em;
    float: left;
    color: #333;
    background: #EFEFEF;
    border: .1em solid #FFF;
}
#home-news .news-menu > button:hover {
    color: #000;
    background: #CCC;
}
#home-news .news-menu > button.active {
    color: #228B22;
    border: .1em solid #228B22;
    background: #EFEFEF;
    text-shadow: 0 0 .1em #FFF;
}
#home-news *[data-async-receiver="news"] {
    width: 100%;
    max-height: 50em;
    border-top: thin solid #E9E9E9;
    border-bottom: thin solid #E9E9E9;
    overflow-y: scroll;
}
#home-news ul {
    width: 100%;
}
#home-news li {
    padding: 0;
    margin: 0;
    border-top: thin solid #F1F1F1;
    background: rgba(249, 249, 249, 0);

    -webkit-transition: background 300ms ease;
    transition: background 300ms ease;
}
#home-news li:hover {
    background: rgba(249, 249, 249, 1);
}
#home-news li div {
    display: inline-block;
    vertical-align: top;
}
#home-news li div:first-child {
    width: 14em;
}
#home-news li div:last-child {
    width: calc(100% - 14em);
}
#home-news li div > * {
    display: block;
}
#home-news .news-date, #home-news .news-title {
    margin: 0;
}
#home-news .news-title {
    padding: .625em;
    line-height: 1.5em;
}
#home-news .news-date {
    padding: 1em;
    color: #999;

    -webkit-transition: color 300ms ease;
    transition: color 300ms ease;
}
#home-news li:hover .news-date {
    color: #333;
}
#home-news .news-description {
    padding: 0 .8em;
    padding-bottom: .8em !important;
    font-size: 1.25em;
    line-height: 1.6em;
}
#home-news li img {
    width: 100%;
    opacity: .7;
    border: thin solid #E9E9E9;

    -webkit-transition: opacity 300ms ease;
    transition: opacity 300ms ease;
}
#home-news li:hover img {
    opacity: 1;
}
#home-news li h3 a {
    color: #228B22;
    border-bottom: thin solid rgba(34, 139, 34, 0);

    -webkit-transition: border-bottom 300ms ease;
    transition: border-bottom 300ms ease;
}
#home-news li h3 a:hover {
    border-bottom: thin solid rgba(34, 139, 34, 1);
}
#home-news .google {
    margin: 1em;
    margin-bottom: .5em !important;
}