:root {
    --background: #f9f9f9;
    --text: #3e3d41;
    --post-background: #fff;
    --post-border: #E6E3E1;
    --link: #5d4f84;
    --link-hover: #4d54d1;
    --mastodon-links: #e9e9f5
}

/* @media (prefers-color-scheme:dark) {
    :root {
        --background: #1c1c1c;
        --text: #ffffff;
        --post-background: #282c37;
        --post-border: #282c37;
        --link-hover: #c2c3ff;
        --link: #8c8dff;
        --mastodon-links: #1b1f3d;
    }
}

input {
    color: #000 !important;
} */

@media (max-width: 750px) {
    .icon,
    .auth .username {
        display: none;
    }

    .tagline {
        font-size: 20px;
    }

    h3.tagline span {
        top: -.7em;
    }

    .info {
        display: none;
    }
}

.tagline {
    display: flex;
    height: 100%;
    text-align: center;
}

.tagline span {
    margin: auto;
    top: -.5em;
    position: relative;
}

body {
    background-color: var(--background);
    color: var(--text);
    text-align: left;
    justify-content: center;
}

nav {
    background: #fff;
    -webkit-box-shadow: 0 1px 2px rgba(99, 114, 130, 0.06),
        0 3px 6px rgba(27, 39, 51, 0.08);
    box-shadow: 0 1px 2px rgba(99, 114, 130, 0.06),
        0 3px 6px rgba(27, 39, 51, 0.08);
    height: auto;
    width: 100%;
}

nav ul {
    padding-bottom: 8px;
    padding-top: 8px;
    margin: 0;
    display: flex;
}

nav li {
    display: inline;
    padding-left: 16px;
    margin-top: .4em;
    padding-top: .2em;
}

nav .brand {
    font-size: 1.5rem;
    text-align: center;
    color: #4a4a4a;
    margin-top: 0;
    padding-top: .1em;
    padding-left: 0;
}

nav .brand a,
nav a.active {
    color: #4a4a4a;
}

nav li.auth {
    flex-grow: 1;
    margin-right: 2em;
    margin-top: 0;
}

.icon {
    color: grey;
}

label {
    font-variant-caps: all-small-caps;
    color: #737373;
}

h1, h2, h3, h4, h5, h6 {
    color: #4a4a4a;
}

#render-description,
#scorer,
#threshold,
#timeline {
    opacity: .8;
    font-size: .9em;
}

#render-description span,
#scorer span,
#threshold span,
#timeline span {
    font-weight: bold;
}

#container {
    width: 100%;
    max-width: 900px;
    flex-direction: column;
    margin: 1em;
    line-height: 1.6;
}

.post {
    background-color: var(--post-background);
    padding: 18px 20px;
    border: 1px solid var(--post-border);
    border-radius: 10px;
    display: flex;
    margin: 1.5em 0px;
    box-shadow: 0.2px 0.4px 0.8px -10px rgba(0, 0, 0, 0.03), 0.4px 0.9px 2px -10px rgba(0, 0, 0, 0.030), 0.8px 1.8px 3.8px -10px rgba(0, 0, 0, 0.038), 1.3px 3.1px 6.7px -10px rgba(0, 0, 0, 0.045), 2.5px 5.8px 12.5px -10px rgba(0, 0, 0, 0.06), 6px 14px 30px -10px rgba(0, 0, 0, 0.08);
}

.post a {
    text-decoration: none;
}

.link {
    background-color: var(--post-background);
    padding: 18px 20px;
    border: 1px solid var(--post-border);
    border-radius: 10px;
    margin: 1.5em 0px;
    box-shadow: 0.2px 0.4px 0.8px -10px rgba(0, 0, 0, 0.03), 0.4px 0.9px 2px -10px rgba(0, 0, 0, 0.030), 0.8px 1.8px 3.8px -10px rgba(0, 0, 0, 0.038), 1.3px 3.1px 6.7px -10px rgba(0, 0, 0, 0.045), 2.5px 5.8px 12.5px -10px rgba(0, 0, 0, 0.06), 6px 14px 30px -10px rgba(0, 0, 0, 0.08);
}

.link a {
    text-decoration: none;
}

.link .header {
    margin-bottom: var(--md-pad);
}

.link .title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0;
}

.link .accounts {
    margin: 1em 0 0 0;
    padding: 0;
}

.link .accounts li {
    list-style: none;
}

.link .image {
    text-align: center;
}

.avatar {
    max-width: 56px;
    min-width: 56px;
    height: 56px;
}

.avatar img {
    max-width: 100%;
    border-radius: 50%;
    border: 1px solid var(--post-border);
}

.status {
    margin-left: 2em;
    width: 100%;
}

.user {
    display: flex;
}

.user a {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column
}

.user .name {
    flex: 1 0 auto;
}

.username {
    font-size: .85em;
}

.displayname {
    font-weight: bold;
    font-size: 1.2em;
}

.displayname img {
    height: 1.5em;
    width: 1.5em;
    vertical-align: middle;
    object-fit: contain;
}

.content {
    color: var(--text);
    font-size: 14px;
    padding: .5em 1.5em .5em 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.medias {
    padding-bottom: 1.5em;
    display: flex;
    gap: .5em;
}

.content p {
    max-width: none;
    margin: 1.5em 0px;
}

.post a {
    color: var(--link);
}

a.info:hover {
    text-decoration: none;
}

.content a:hover,
.footer a:hover,
.user a:hover {
    color: var(--link-hover);
}

.ellipsis::after {
    content: "…";
}


.content .invisible {
    display: none;
}

.status a:not(.hashtag):not(.mention) span:not(.invisible) {
    font-weight: bold
}

.home-link,
.original-link,
a.hashtag,
a.mention,
.footer .links a {
    text-decoration: none;
    opacity: .8;
    background-color: var(--mastodon-links);
    padding: 0 .5em .1em .5em;
    border-radius: .5em;
}

.recommended {
    float: right;
    text-decoration: none;
    opacity: .8;
    background-color: #ffd960;
    padding: 0 .5em 0 .5em;
    border-radius: .5em;
}

.media img,
.media video {
    max-width: 100%;
    max-height: 15em;
    border-radius: .5em;
}

.post .footer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    font-size: .8em;
    opacity: .7;
}

footer {
    margin-top: 2em;
    border-top: black 1px dashed !important;
}

footer table {
    border-top: 0;
}

footer table tr td {
    width: 33%;
    text-align: left;
    vertical-align: top;
}

footer table tr td ul {
    margin-top: .5em;
}

section.posts  {
    padding-top: 1em;
}

section.boosts  {
    padding-top: 1em;
}

.results {
    margin-top: 2em;
}

.tabs {
    text-align: center;
}

td {
    border-bottom: 0;
}

div.errors {
    text-align: center;
    color: var(--red-600);
    border: 1px solid black;
    border-radius: 4px;
    background-color: white;
}

div.errors ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--lg-pad);
    margin-top: var(--lg-pad);
}

div.errors li a {
    color: var(--red-600);
}

div.date {
    flex: 1 0 auto;
}

div.reactions {
    flex: 1 0 auto; text-align: right;
}

p.help {
    font-size: smaller;
    color: #737373;
}

#hours {
    margin-top: 0px;
}

#hoursLabel {
    padding-left: 2px;
    padding-right: 10px;
    top: -5px;
    position: relative;
}

#hoursValue {
    padding-left: 6px;
    top: -5px;
    position: relative;
    color: #4a4a4a;
}

table.config {
    width: 100%;
    border-top: 0;
}

td.hours {
    padding-top: 0;
    width: 300px;
}

.footer-header {
    padding-left: 1em;
    font-variant-caps: all-small-caps;
}

code {
    word-break: break-word;
}

button.tab {
    background-color: var(--background);
    border: 1px solid #E6E3E1;
    color: var(--black);
}

a.active button {
    border: 1px solid var(--primary);
}

.tabs a:hover {
    text-decoration: none;
}

/* bulma */

.tabs {
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
    display: flex;
    font-size: 1rem;
    justify-content: space-between;
    overflow: hidden;
      overflow-x: hidden;
    overflow-x: auto;
    white-space: nowrap;
}

.tabs.is-centered ul {
    justify-content: center;
}

.tabs ul {
    align-items: center;
    border-bottom-color: #dbdbdb;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
    /*justify-content: flex-start;*/
    justify-content: center;
}

.tabs li {
    display: block;
    padding-left: 1em;
    padding-right: 1em;
}

.tabs li.active {
    font-weight: bold;
}

.tabs li a {
    border-bottom-color: var(--link-color);
    color: var(--link-color);
}

.tabs a {
    align-items: center;
    border-bottom-color: #dbdbdb;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    color: #4a4a4a;
    display: flex;
    justify-content: center;
    margin-bottom: -1px;
    padding: .5em 1em;
    vertical-align: top;
    text-decoration: none;
}

.tabs a:hover {
    border-bottom-color: #363636;
    color: #363636;
}

body.changelog li img {
    background-color: var(--post-background);
    padding: 18px 20px;
    border: 1px solid var(--post-border);
    border-radius: 10px;
    display: flex;
    margin: 1.5em 0px;
    box-shadow: 0.2px 0.4px 0.8px -10px rgba(0, 0, 0, 0.03), 0.4px 0.9px 2px -10px rgba(0, 0, 0, 0.030), 0.8px 1.8px 3.8px -10px rgba(0, 0, 0, 0.038), 1.3px 3.1px 6.7px -10px rgba(0, 0, 0, 0.045), 2.5px 5.8px 12.5px -10px rgba(0, 0, 0, 0.06), 6px 14px 30px -10px rgba(0, 0, 0, 0.08);
}

summary {
    margin-bottom: 0;
}

.callout {
    background-color: #f5fffd;
    padding: 25px;
    text-align: center;
    border: 2px solid var(--accent);
    border-radius: 10px;
    margin-bottom: 2em;
}

.danger {
    background-color: var(--red);
}

.danger:hover {
    background-color: var(--red-600);
    border-color: var(--red-600);
}

.box {
    max-width: 160px;
    max-height: 160px;
    background-color: var(--yellow);
    color: white;
    padding: 1em;
    border-radius: 4px;
    margin-right: .4em;
    display: inline-block;
    margin-bottom: .4em;
}

.center {
    text-align: center;
}

.box .title {
    font-size: x-large;
    font-weight: bolder;
}

.box .subtitle {
    font-variant: all-small-caps;
}

button.utility {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}

button.utility:hover {
    background-color: var(--post-border);
}

#footer-links {
    display: flex;
    flex-flow: wrap;
}

footer div.links {
    text-align: left;
    max-width: 200px;
}

/* .post.additional .avatar {
    display: none;
}

.post.additional .user {
    display: none;
}

.post.additional .medias {
    display: none;
}

.post.additional {
    margin-top: 0;
} */

[unicorn\:error\:invalid] {
    border: 1px solid var(--red-600) !important;
}

[unicorn\:error\:required] {
    border: 1px solid var(--red-600) !important;
}