/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

@import url("http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic");
@font-face {
    font-family: 'Mission-Script';
    src: url('Mission-Script.otf') format('opentype');
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html,
body {
    height: 100%;
    line-height: 1.5;
}

html {
    box-sizing: border-box;
}

body,
input,
select,
textarea,
input {
    color: #333;
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-weight: 400;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.wrap {
    height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: box;
    display: flex;
}

main {
    -webkit-box-flex: 1;
    -o-box-flex: 1;
    box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: box;
    display: flex;
}

@media (max-width: 800px) {
    main {
        -webkit-box-orient: vertical;
        -o-box-orient: vertical;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    aside {
        background: url(../images/banner-2.jpg) no-repeat 0 -150px fixed !important;
        background-size: cover !important;
    }
}

aside,
article {
    overflow-y: scroll;
    padding: 2em;
}

aside {
    -webkit-box-flex: 0.8;
    -o-box-flex: 0.8;
    box-flex: 0.8;
    -webkit-flex: 0.8;
    -ms-flex: 0.8;
    flex: 0.8;
    background-color: #1f1815;
    background: url(../images/banner-2.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    text-align: center;
    color: #dedede;
    padding: 2em 0;
}

aside .title {
    color: #fff;
    font-size: 5em;
    line-height: 1em;
    margin-bottom: 0.5em;
    font-family: 'Mission-Script';
    text-shadow: 0 2px 1px rgba(0, 0, 0, 0.5);
}

aside a {
    color: #dedede;
}

.trending a:hover {
    color: #49bf9d;
}

.title a {
    text-decoration: none;
}

.title a:hover {
    text-shadow: 0 0 0 #dd6149, 0.0025em 0.0025em 0 #dd6149, 0.005em 0.005em 0 #dd6149, 0.0075em 0.0075em 0 #dd6149, 0.01em 0.01em 0 #dd6149, 0.0125em 0.0125em 0 #dd6149, 0.015em 0.015em 0 #dd6149, 0.0175em 0.0175em 0 #dd6149, 0.02em 0.02em 0 #dd6149, 0.0225em 0.0225em 0 #dd6149, 0.025em 0.025em 0 #dd6149, 0.0275em 0.0275em 0 #dd6149, 0.03em 0.03em 0 #dd6149, 0.0325em 0.0325em 0 #dd6149, 0.035em 0.035em 0 #dd6149, 0.0375em 0.0375em 0 #dd6149, 0.04em 0.04em 0 #dd6149, 0.0425em 0.0425em 0 #dd6149, 0.045em 0.045em 0 #dd6149, 0.0475em 0.0475em 0 #dd6149, 0.05em 0.05em 0 #dd6149, 0.0525em 0.0525em 0 #dd6149, 0.055em 0.055em 0 #dd6149, 0.0575em 0.0575em 0 #dd6149, 0.06em 0.06em 0 #dd6149, 0.0625em 0.0625em 0 #dd6149, 0.065em 0.065em 0 #dd6149, 0.0675em 0.0675em 0 #dd6149, 0.07em 0.07em 0 #dd6149, 0.0725em 0.0725em 0 #dd6149, 0.075em 0.075em 0 #dd6149, 0.0775em 0.0775em 0 #dd6149, 0.08em 0.08em 0 #dd6149, 0.0825em 0.0825em 0 #dd6149, 0.085em 0.085em 0 #dd6149, 0.0875em 0.0875em 0 #dd6149, 0.09em 0.09em 0 #dd6149, 0.0925em 0.0925em 0 #dd6149, 0.095em 0.095em 0 #dd6149, 0.0975em 0.0975em 0 #dd6149, 0.1em 0.1em 0 #dd6149;
}

article {
    -webkit-box-flex: 2;
    -o-box-flex: 2;
    box-flex: 2;
    -webkit-flex: 2;
    -ms-flex: 2;
    flex: 2;
    background: url(http://subtlepatterns.com/patterns/stardust.png);
}

h1 {
    margin-top: 0;
}

.content {
    margin-bottom: 1em;
    margin-left: 5em;
    background: #fff;
    padding: 0.5em;
    border-radius: 0.35em;
}

.content:hover {
    background: #dedede;
}

.avatar {
    float: left;
    margin-left: -5.5em;
    margin-top: -0.5em;
    width: 64px;
    height: 64px;
    border-radius: 64px;
    background: #fff;
}

.post-box {
    width: 100%;
    height: 4em;
    resize: none;
    padding: 0.25em;
    background-image: url("../images/textarea-bg.png");
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: auto;
}

.post-header a {
    color: inherit;
    text-decoration: none;
    font-weight: bold;
}

.post-header a:hover > span {
    color: #49bf9d;
    text-decoration: underline
}

.post-header a:hover > .avatar {
    background: #dedede;
}

.post-footer {
    display: inline-block;
    width: 100%;
}

.psst-button {
    float: right;
    margin-top: 0.5em;
    margin-bottom: -0.35em;
}

input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background: #f7f7f7;
    border-radius: 0.35em;
    border: solid 1px #aaa;
    color: #333;
    display: block;
    outline: 0;
    text-decoration: none;
    width: 100%;
}

input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
select:invalid,
textarea:invalid {
    box-shadow: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: #49bf9d;
}

input[type="submit"],
input[type="reset"],
input[type="button"],
.button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background-color: #26ae90;
    border: 0;
    border-radius: 3px;
    color: #FFF;
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    height: 3.15em;
    height: calc(2.75em + 6px);
    line-height: 2.75em;
    min-width: 10em;
    padding: 0 1.5em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:hover {
    background: #49bf9d;
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
.button:active {
    background: #49bf9d;
}

.message {
    background: rgba(0, 0, 0, 0.5);
    color: #dedede;
    width: 100%;
    height: 0px;
    padding: 0;
    transition: height 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
    overflow: hidden;
    box-sizing: border-box;
    margin: 1.5em 0;
}

.message h1 {
    color: #FFF;
}

#toggle {
    position: absolute;
    appearance: none;
    cursor: pointer;
    left: -100%;
    top: -100%;
}

#toggle + label {
    cursor: pointer;
    padding: 10px;
    background: #26ae90;
    width: 100px;
    border-radius: 3px;
    padding: 8px 10px;
    color: #FFF;
    line-height: 30px;
    font-size: 12px;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    margin: 0;
    transition: all 500ms ease;
}

#toggle + label:hover {
    background: #49bf9d;
}

#toggle + label:after {
    content: "Login \25BE"
}

#toggle:checked ~ .message {
    padding: 1em;
    height: 270px;
}

#toggle:checked + label {
    background: #dd6149;
}

#toggle:checked + label:hover {
    background: #d9715f;
}

#toggle:checked + label:after {
    content: "Login \25B4"
}

.login-form {
    height: 2em;
    margin-bottom: 1em;
    padding: 0.25em;
    color: #dedede;
}

.login-help {
    margin-top: 1em;
}

.timestamp {
    color: rgba(0, 0, 0, 0.25);
}