
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background-color: #466a5c;
    color: white;
    padding-top: 1em;
}

a,
a:visited {
    color: #e98782;
}

.app {
    margin: 1.5em;
}

.toolbar {
    overflow: hidden;
}

.toolbar button {
    float: right;
    font-size: 1em;
    background-color: rgba(225, 225, 225, .3);
    border: 0;
    color: white;
    padding: .5em;
    margin-left: 1em;
}

.toolbar button:hover {
    background-color: #e98782;
    cursor: pointer;
}

.feed-count {
    position: fixed;
    bottom: 0;
    left: calc(50% - 3em);
    margin-bottom: 1em;
}

.feed input {
    width: 100%;
    margin: 1em 0;
    padding: .25em;
    font-size: 14px;
}

.message {
    position: relative;
    background-color: rgba(225, 225, 225, .3);
    margin: 1em 0;
    padding: .5em;
}

.message:hover {
    background-color: #e98782;
    cursor: pointer;
}

.message:first-of-type {
    margin: 0;
}

.message h4 {
    margin: 0;
}

.message a.star {
    position: absolute;
    top: 0;
    right: 0;
    margin: 1em;
}

.message a.star:hover img {
    position: relative;
    top: -2px;
    left: 2px;
    width: 26px;
}

.message a.star img {
    width: 22px;
}

.dismiss {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.settings {
    position: absolute;
    background-color: white;
    color: #222222;
    border: 3px solid #e98782;
    border-radius: 3px;
    padding: 1em;
}

.settings:after,
.settings:before {
    bottom: 100%;
    left: 85%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.settings:after {
    border-bottom-color: white;
    border-width: 10px;
    margin-left: -10px;
}

.settings:before {
    border-bottom-color: #e98782;
    border-width: 14px;
    margin-left: -14px;
}

.settings div.submit {
    text-align: right;
    margin-top: .5em;
}

.undo {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 500;
    margin: 1em;
    font-size: 1.5em;
    border-radius: 5px;
    background-color: #f0f0f0;
}
