@import "forms/form.css";

body {
    --noticeable-lightbox-theme-color: var(--accent-color, #0a7de0);
    --swiper-theme-color: var(--noticeable-lightbox-theme-color, #0a7de0);
}

a {
    color: #666;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button, input[type="submit"] {
    line-height: 14px;
}

form#form-search {
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    margin-bottom: 16px;
    position: relative;
}

form#form-search button, form#form-search input[type="submit"] {
    background-color: transparent;
    border: none;
    border-radius: 0.25rem;
    display: flex;
    outline: none;
    padding: 12px 16px;
    margin: 0;
    place-items: center;
    z-index: 1;
}

form#form-search button svg, form#form-search input[type="submit"] svg {
    color: #666;
    fill: #666;
}

form#form-search button svg:hover, form#form-search input[type="submit"] svg:hover {
    color: var(--accent-color, #666);
    cursor: pointer;
    fill: var(--accent-color, #666);
}

form#form-search input {
    background-color: transparent;
    border: none;
    border-radius: 0.25rem;
    display: flex;
    flex-grow: 1;
    font-size: 15px;
    margin: 0;
    outline: none;
    padding: 12px 16px;
    width: 100%;
    z-index: 1;
}

.listing a {
    color: #222;
    text-decoration: none;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

body {
    box-sizing: border-box;
    color: #000;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    min-height: 100%;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body, textarea {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    font-optical-sizing: auto;
    font-size: 16px;
    font-style: normal;
    line-height: 24px;
}

html {
    color: #212121;
    height: 100%;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

i {
    vertical-align: middle;
}

[dir="rtl"] i {
    transform: rotate(180deg);
}

img {
    max-width: 100%;
}

img.emoji {
    height: 1em;
    margin: 0 .05em 0 .1em;
    vertical-align: -0.1em;
    width: 1em;
}

[dir="rtl"] img.emoji {
    margin: 0 .1em 0 .05em;
}

svg.dots {
    overflow: visible;
}

svg.dots circle {
    animation: dots-dot-pulse .5s ease-in-out alternate infinite;
}

svg.dots circle:nth-child(1) {
    animation-delay: 0s;
}

svg.dots circle:nth-child(2) {
    animation-delay: .16667s;
}

svg.dots circle:nth-child(3) {
    animation-delay: .33333s;
}

textarea {
    resize: vertical;
}

#no-publications {
    margin-bottom: 64px;
}

#no-publications p {
    max-width: 500px;
}

.browserupgrade {
    background: #ccc;
    color: #000;
    margin: 0.2em 0;
    padding: 0.2em 0;
}

.fab.spacer {
    margin-right: 20px;
}

[dir="rtl"] .fab.spacer {
    margin-left: 20px;
    margin-right: unset;
}

.fas.fa-rss {
    font-size: 21px !important;
}

.feedbackbar {
    margin-top: 12px;
    text-align: center;
}

.feedbackbar-separator {
    border-top: 1px solid #e7e7e7;
    margin: 0 auto;
    width: 50%;
}

.feedbackbar-content {
    margin: 12px 0;
    padding: 10px 16px;
}

.feedbackbar a {
    color: #222;
    text-decoration: none;
}

.feedbackbar a:hover {
    text-decoration: underline;
}

.footer-container footer {
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 16px 0 48px 0;
}

.footer-container footer a {
    color: #666;
    text-decoration: none;
}

.footer-container footer a:hover {
    color: #666;
    text-decoration: underline;
}

.footer-container footer p {
    text-align: center;
    width: 100%;
}

.footer-share .fab {
    font-size: 24px;
}

.footer-share .fab:hover, .footer-share .fas:hover {
    opacity: 0.5;
}

.feed-label {
    font-size: 22px;
    margin-left: 8px;
}

[dir="rtl"] .feed-label {
    margin-left: unset;
    margin-right: 8px;
}

.feed-label:hover {
    text-decoration: none;
}

.header-spacer {
    height: 48px;
}

.ie7 .title {
    padding-top: 20px;
}

.invisible {
    display: none !important;
    visibility: hidden;
}

.label {
    background-color: #f1f1f1;
    border-radius: 12px;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 4px;
    margin-right: 4px;
    padding: 0 10px;
    text-transform: uppercase;
}

[dir="rtl"] .label {
    margin-left: 4px;
    margin-right: unset;
}

.labels {
    color: #333;
    font-size: 15px;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
}

.labels h2 {
    margin: 24px 0 12px 0;
    padding: 0;
    font-size: 14px;
    text-transform: uppercase;
}

.labels-group {
    border: 1px solid #e9e9e9;
    border-radius: 4px;
}

[dir="rtl"] .labels {
    text-align: right;
}

.labels ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.labels ul li:not(:last-child) {
    border-bottom: 1px dashed #f1f1f1;
}

.labels ul a {
    color: #666;
    display: block;
    padding: 9px 16px;
    text-decoration: none;
}

.labels ul a:hover {
    background-color: #f1f1f1;
    display: block;
}

.labels ul a:not(:last-child) {
    border-bottom: 1px solid #e9e9e9;
    display: block;
}

.listing article footer {
    display: flex;
    flex-wrap: wrap;
    margin: 12px 0 0 0;
    padding: 0;
}

.listing article header p {
    margin: 0 0 2px 0;
    padding: 0;
}

.listing article section {
    -webkit-box-orient: vertical;
    color: #666;
    display: -moz-box;
    display: -webkit-box;
    font-size: 15px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    line-height: 1.42em;
    margin: 8px 0;
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing .post-content {
    margin-top: 16px;
}

.listing-post {
    display: flex;
    margin: 0 auto;
    max-width: 662px;
    position: relative;
}

.listing-post > .listing-post-summary > .post-content-feedback,
.listing-post > .listing-post-summary > .post-content-reactions {
    display: none !important;
}

.listing-post:hover > .listing-post-summary > .post-content-feedback,
.listing-post:hover > .listing-post-summary > .post-content-reactions {
    animation: fadeIn 0.3s ease-out;
    display: block !important;
}

.listing-post-metadata {
    flex-basis: 110px;
    flex-grow: 0;
    flex-shrink: 0;
    margin-right: 32px;
    margin-top: 14px;
    max-width: 110px;
    text-align: right;
}

[dir="rtl"] .listing-post-metadata {
    margin-left: 32px;
    margin-right: unset;
    text-align: left;
}

.listing-post-summary {
    flex: 0 1 100%;
    min-width: 0;
    padding-bottom: 32px;
    padding-left: 32px;
}

[dir="rtl"] .listing-post-summary {
    padding-left: unset;
    padding-right: 32px;
}

.listing-post-summary-title {
    color: #111111;
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 6px;
    margin-top: 12px;
}

.listing-post-summary figure {
    border-radius: 4px;
    margin: 12px 0 0 0;
    overflow: hidden;
    padding: 0;
}

.contentful .listing-post-summary figure {
    margin: 1em 0 1.3em;
}

.contentful .listing-post-summary figure:hover {
    border-color: var(--accent-color, #e9e9e9);
    cursor: pointer;
}

.listing-post-summary figure {
    border: 1px solid #e9e9e9;
}

.listing-post-summary figure:hover img {
    border-radius: 4px;
    opacity: 0.8;
    transform: var(--image-transform, none);
}

.listing-post-summary header {
    display: flex;
    flex-wrap: wrap;
    margin: 12px 0 8px 0;
}

.listing-post-summary img {
    border-radius: inherit;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
}

.listing-post-summary section {
    margin-bottom: 8px;
}

.listing-post-summary-author {
    margin-bottom: 4px;
}

.listing-post-summary-author img {
    border-radius: 50%;
    margin-right: 8px;
}

[dir="rtl"] .listing-post-summary-author img {
    margin-left: 8px;
    margin-right: unset;
}

.listing-post-timeline {
    background-color: #e9e9e9;
    flex-basis: 2px;
    flex-grow: 0;
    flex-shrink: 0;
}

.listing-post-timeline.end {
    background: linear-gradient(#e9e9e9 85%, white);
}

.listing-post-timeline-bullet {
    align-items: center;
    background: white;
    border: 5px solid #222;
    border-radius: 50%;
    box-sizing: border-box;
    display: flex;
    height: 20px;
    justify-content: center;
    left: 133px;
    position: absolute;
    top: 16px;
    width: 20px;
}

[dir="rtl"] .listing-post-timeline-bullet {
    left: unset;
    right: 133px;
}

.main {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    padding: 30px 0;
}

.main aside {
    flex-basis: 226px;
    flex-grow: 0;
    flex-shrink: 0;
    margin-left: 52px;
    text-align: center;
}

[dir="rtl"] .main aside {
    margin-left: unset;
    margin-right: 52px;
}

.metadata {
    font-size: 16px;
}

.metadata .publicationTime {
    color: #666;
    font-size: 15px;
}

.move-back {
    margin-bottom: 12px;
}

.move-back a {
    color: #222 !important;
    font-size: 16px;
}

.move-back img {
    margin-right: 8px;
    vertical-align: top;
}

[dir="rtl"] .move-back img {
    margin-left: 8px;
    margin-right: unset;
}

.page {
    flex-grow: 1;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-left: 142px;
    margin-top: 16px;
    text-align: center;
}

[dir="rtl"] .pagination {
    margin-left: unset;
    margin-right: 142px;
}

.pagination .button {
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    display: table;
    font-size: 15px;
}

.pagination .button a {
    color: #424242;
    text-decoration: none;
}

.pagination .left {
    border-right: 1px solid #e9e9e9;
    display: table-cell;
    padding: 6px 16px;
}

.pagination .right {
    display: table-cell;
    padding: 6px 16px;
}

.pagination .button .active:hover {
    background-color: #f1f1f1;
}

.pagination .button .inactive {
    background-color: #f6f6f6;
    color: #b3b3b3;
}

.post {
    max-width: 520px;
    min-width: 0;
    width: 100%;
}

.post .label {
    color: white;
}

.post-author {
    display: flex;
    margin-bottom: 32px;
    margin-top: 32px;
}

.post-author .description {
    color: #525252;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 16px;
}

[dir="rtl"] .post-author .description {
    margin-left: unset;
    margin-right: 16px;
}

.post-author .full-name, .full-name a {
    color: #000000;
    font-weight: 500;
}

.post-author .full-name a.highlight {
    font-style: italic;
    opacity: 0.8;
    text-decoration: underline;
}

.post-author .full-name a.highlight:hover {
    text-decoration: none;
}

.post-author .full-name span.highlight {
    font-style: italic;
    opacity: 0.8;
}

.post-author .full-name-with-job-title, .full-name-with-job-title a {
    color: #000000;
    font-weight: 500;
}

.post-author img {
    border-radius: 50%;
}

.post-author .jobTitle {
    font-style: italic;
}

.post-back-action a {
    color: #000;
    text-decoration: underline;
}

.post-back-action a:hover {
    text-decoration: none;
}

.post-back-action i {
    margin-right: 8px;
}

[dir="rtl"] .post-back-action i {
    margin-left: 8px;
    margin-right: unset;
}

.post-content {
    color: #414141;
    line-height: 24px;
    text-justify: inter-word;
    word-break: break-word;
}

.post-content figure {
    border: 1px solid #e9e9e9;
    border-radius: 4px;
    margin: 1em 0 1.33em 0;
    overflow: hidden;
    transition: all 0.3s;
    width: fit-content;
}

.post-content figure:hover {
    border-color: var(--accent-color, #e9e9e9);
}

.post-content-feedback {
    display: none;
    margin-bottom: 42px;
    margin-top: 12px;
    position: relative;
}

.post-content-feedback textarea {
    border: 2px solid #dddfe6;
    border-radius: 4px;
    box-sizing: border-box;
    color: #414141;
    display: block;
    margin: 0 auto;
    min-height: 8em;
    padding: 12px;
    transition: border .2s linear;
    width: 100%;
}

.post-content-feedback-comment, .post-content-feedback-comment > .btn-continue, .post-content-feedback-error, .post-content-feedback-user-details {
    display: none;
}

.post-content-feedback-sent {
    color: #414141;
    display: none;
    font-style: italic;
    padding: 8px 16px 24px 16px;
    text-align: center;
}

.post-content-feedback-comment, .post-content-feedback-user-details {
    margin-top: 8px;
}

.post-content-feedback-user-details p {
    margin: 0 0 16px 0;
}

.post-content-reactions {
    color: #414141;
    display: none;
    padding: 0 16px 8px 16px;
    text-align: center;
    user-select: none;
}

.post-content-reactions img {
    background: #ebca78;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 350ms cubic-bezier(0.175, 0.885, 0.25, 1.5) 0s;
    width: 32px;
}

.post-content-reactions img[selected=false] {
    filter: grayscale(100%);
}

.post-content-reactions img[selected=true] {
    cursor: initial !important;
    transform: scale(1.2);
}

.post-content-reactions img:hover {
    cursor: pointer;
    transform: scale(1.2);
}

.post-content-reactions-title {
    font-weight: 600;
}

.post-cta {
    margin: 2em 0;
}

.post-cta a {
    background: linear-gradient(to left, transparent 50%, var(--accent-color, #0a7de0) 50%) right;
    background-size: 200%;
    border: 1px solid var(--accent-color, #0a7de0);
    border-radius: 4px;
    box-sizing: border-box;
    color: var(--accent-color, #0a7de0);
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    padding: 9px 16px;
    text-decoration: none;
    transition: .3s ease-out;
}

.post-cta a:hover {
    background-position: left;
    color: var(--accent-color-foreground, #0a7de0);
    text-decoration: none;
}

.post-featured-image {
    margin-bottom: 20px;
}

.post-header h1 {
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
    margin-bottom: 8px;
}

.post-header .labels {
    border: 0;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.post-header .publication-time {
    margin: 0 0 12px 0;
}

.powered-by {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 20px;
    color: rgb(119, 118, 120);
    display: flex;
    font-size: 16px;
    justify-content: center;
    margin-top: 24px;
    padding: 6px 20px;
    text-decoration: none;
    transition: all 80ms ease 0s;
    width: fit-content !important;
}

.powered-by:hover {
    border: 1px dotted rgb(119, 118, 120);
    box-sizing: content-box;
    text-decoration: none !important;
}

.powered-by:hover > svg {
    animation: rotation 1s ease-in-out 1;
}

.powered-by svg {
    color: #666;
    height: 20px;
    margin-right: 10px;
    width: 20px;
}

[dir="rtl"] .powered-by svg {
    margin-left: 10px;
    margin-right: unset;
}

.privacy-statement {
    margin: 24px 0 28px 0;
}

.publication-time {
    visibility: hidden;
}

.selected {
    border-left: 2px solid #666;
    color: #000 !important;
}

[dir="rtl"] .selected {
    border-left: unset;
    border-right: 2px solid #666;
}

.share-button {
    margin-bottom: 16px;
}

.share-button svg {
    height: 38px;
    width: 38px;
}

.subscribe-form .form-error {
    color: #cc0000;
    font-size: 15px;
    margin-bottom: 24px;
}

.subscribe-form-description {
    margin: 24px 0 32px 0;
    text-align: center;
}

.subscribe-form-group .subscribe-email {
    line-height: 22px;
}

.subscribe-form-group {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.subscribe-form-title {
    color: #222;
    font-size: 26px;
    line-height: 28px;
    margin-top: 0;
    text-align: center;
}

.subscribe-form .btn-submit {
    width: 100%;
}

.subscribe-page {
    background-color: #2b98ed0d;
    border-radius: 8px;
    margin: 0 auto;
    max-width: 640px;
    padding: 56px 86px;
}

.subscribe-page .post-back-action {
    margin-left: -16px;
    margin-top: 24px;
    text-align: center;
}

[dir="rtl"] .subscribe-page .post-back-action {
    margin-left: unset;
    margin-right: -16px;
    margin-top: 24px;
}

.subscribe-page .post-back-action i {
    margin-right: 6px !important;
}

[dir="rtl"] .subscribe-page .post-back-action i {
    margin-left: 6px !important;
    margin-right: unset !important;
}

.subscribe-page .description, .subscribe-page .thanks {
    margin-top: 0;
    text-align: center;
}

.subscribe-page .title {
    margin-bottom: 28px;
    margin-top: 0;
    text-align: center;
}

.timeline-header {
    padding: 96px 0 48px 0;
}

.timeline-header > a {
    display: block;
    margin: 0 auto;
    user-select: none;
    width: auto;
}

.timeline-header h1.title {
    line-height: 42px;
    margin: 23px 0;
}

.timeline-header h2.subtitle {
    color: #666;
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
    margin: 0 auto;
    max-width: 440px;
    word-break: break-word;
}

.timeline-header .subscribe {
    background-color: #2b98ed;
    border-radius: 38px;
    box-sizing: border-box;
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 37px;
    position: absolute;
    right: 0;
    text-transform: uppercase;
    top: 32px;
}

[dir="rtl"] .timeline-header .subscribe {
    left: 0;
    right: unset;
}

.timeline-header .subscribe:hover {
    text-decoration: none;
}

.timeline-header.wrapper {
    text-align: center;
}

.timeline-header.wrapper img {
    height: auto;
    margin-bottom: 8px;
    max-height: 64px;
    width: auto;
}

.timeline-header.wrapper .project {
    align-items: center;
    align-self: center;
    justify-content: center;
}

.timeline-header-description {
    margin: 0 auto;
    width: fit-content;
}

.timeline-header-description a {
    color: #666;
    text-decoration: none;
}

.timeline-header-description a:hover {
    text-decoration: underline;
}

.timeline-header-description a.title {
    text-decoration: none;
}

.timeline-header-description em {
    color: #525252;
    font-style: normal;
    font-weight: normal;
}

.timeline-header-description h1 {
    color: #222;
    font-size: 38px;
    font-weight: 400;
    line-height: 42px;
    margin: 16px 0;
}

.timeline-header-description p {
    margin: 0;
    padding: 0;
}

.timeline-post {
    display: flex;
    flex-grow: 1;
    margin: 0 auto;
    max-width: 600px;
}

.timeline-post-share-bar {
    display: flex;
    flex-direction: column;
    margin-top: 112px;
    width: 100px;
}

.wrapper {
    margin: 0 auto;
    position: relative;
    width: 940px;
}

/*
 * Lightbox
 */
#lightbox {
    background: #000000c9;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9999;
}

#lightbox .swiper {
    height: 100vh;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoom {
    from {
        transform: scale(0.3)
    }
    to {
        transform: scale(1)
    }
}

/**
 * Media Queries
 */

@media all and (max-width: 980px) {

    .main aside {
        flex-basis: auto !important;
    }

    .subscribe {
        display: block;
    }

    .wrapper {
        margin: 0 5%;
        width: auto;
    }

}

@media all and (max-width: 880px) {

    aside {
        margin-bottom: 56px;
        width: calc(100% - 96px);
    }

    .main {
        flex-direction: column;
    }

    .pagination {
        margin-left: 0;
        margin-top: 32px;
    }

    .post-back-action {
        margin-top: 16px;
    }

    [dir="rtl"] .pagination {
        margin-right: 0;
    }

    .post {
        margin: 0 auto;
        max-width: calc(100% - 148px);
    }

    .post-back-action a {
        color: #666;
    }

    .post-back-action i {
        display: none;
    }

    .timeline-header .subscribe {
        display: inline-block;
        margin: 16px auto 0 auto;
        position: relative;
    }

    .timeline-post {
        margin: 0;
        max-width: 100%;
    }

    [dir="rtl"] .timeline-post {
        margin-left: unset;
        margin-right: 0;
    }

    .timeline-post-share-bar {
        display: none;
    }

}

@media all and (max-width: 690px) {

    aside {
        margin-bottom: 32px;
        margin-left: 0 !important;
        width: auto;
    }

    [dir="rtl"] aside {
        margin-left: unset !important;
        margin-right: 0 !important;
    }

    .footer-container footer {
        padding: 0 0 64px 0;
    }

    .listing {
        margin-top: 0;
    }

    .listing-post {
        flex-direction: column;
    }

    .listing-post-metadata {
        color: #666;
        flex-basis: auto;
        flex-grow: inherit;
        flex-shrink: inherit;
        font-size: 14px;
        margin: 0;
        max-width: none;
        text-align: left;
        text-transform: uppercase;
        width: fit-content;
    }

    .listing-post-summary {
        padding-bottom: 48px;
        padding-left: 0;
    }

    [dir="rtl"] .listing-post-summary {
        padding-left: unset;
        padding-right: 0;
    }

    .listing-post-summary-title {
        margin-top: 8px !important;
    }

    .listing-post-timeline, .listing-post-timeline-bullet {
        display: none;
    }

    .listing {
        padding: 16px 0;
    }

    .pagination {
        margin: 8px 0 16px 0;
    }

    .post {
        margin: 0 auto;
        max-width: 95%;
    }

    .post-content-feedback {
        width: 100% !important;
    }

    .subscribe-form-group {
        flex-direction: column;
    }

    .subscribe-form-group .subscribe-email {
        border-bottom: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top-right-radius: 4px;
        text-align: center;
        width: auto;
    }

    .subscribe-page {
        padding: 42px;
    }

    .wrapper {
        margin: 0 8%;
    }

}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        box-shadow: none !important;
        color: #000 !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    /*a[href]:after {*/
    /*content: " (" attr(href) ")";*/
    /*}*/
    /*abbr[title]:after {*/
    /*content: " (" attr(title) ")";*/
    /*}*/
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    .timeline-header .subscribe {
        margin: 16px auto 0 auto;
        position: relative;
    }

    .main {
        flex-direction: column;
    }

    .pagination {
        display: none;
    }

}

/* ==========================================================================
   Markdown styles
   ========================================================================== */

/*
  Atom One Dark by Daniel Gamage
  Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax/tree/master/styles/syntax
*/

.hljs-comment,
.hljs-quote {
    color: #5c6370;
    font-style: italic;
}

.hljs-doctag,
.hljs-keyword,
.hljs-formula {
    color: #c678dd;
}

.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
    color: #e06c75;
}

.hljs-literal {
    color: #56b6c2;
}

.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta-string {
    color: #98c379;
}

.hljs-built_in,
.hljs-class .hljs-title {
    color: #e6c07b;
}

.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
    color: #d19a66;
}

.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
    color: #61aeee;
}

.hljs-emphasis {
    font-style: italic;
}

.hljs-strong {
    font-weight: bold;
}

.hljs-link {
    text-decoration: underline;
}

.post-content {
    margin-top: 24px;
}

.post-content blockquote {
    background: var(--accent-color-background, #f1f1f1);
    border-left: 4px solid var(--accent-color, #f1f1f1);
    font-style: italic;
    margin: 1.3rem 0 0 0;
    padding: 16px 20px;
}

[dir="rtl"] .post-content blockquote {
    border-left: unset;
    border-right: 4px solid var(--accent-color, #f1f1f1);
}

.post-content blockquote > p {
    margin: 0;
}

.post-content hr {
    background-color: rgba(9, 30, 66, 0.08);
    border-radius: 1px;
    border-color: initial;
    border-image: initial;
    border-style: none;
    border-width: initial;
    height: 2px;
    margin: 1.714em 0;
    transition: background-color 0.3s;
}

.post-content img {
    border-radius: 4px;
    box-sizing: border-box;
    display: block;
    height: auto;
    margin: 0;
    max-width: 100%;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.post-content img:hover {
    cursor: pointer;
}

.post-content .img-container {
    display: inline-block;
    overflow: hidden;
    position: relative;
}

.post-content li:not(:first-of-type) {
    margin: 0.6em 0 0 0;
    position: relative;
}

.post-content li p {
    margin: 0;
}

.post-content ol, .post-content ul {
    margin: 1.2em 0 0 0;
    padding-left: 30px;
}

[dir="rtl"] .post-content ol, [dir="rtl"] .post-content ul {
    padding-left: unset;
    padding-right: 30px;
}

.post-content li > ol, .post-content li > ul {
    margin: 0.6em 0 0 0 !important;
}

.post-content li ul li:last-of-type {
    margin-bottom: 1.2em !important;
}

.post-content p {
    margin: 1.3rem 0 0 0;
}

.post-content pre {
    background: #1d2531;
    border-radius: 4px;
    color: #fff;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    font-weight: 500;
    overflow-x: auto;
    margin: 1em 0 1.3em;
    padding: 16px 20px;
    white-space: pre;
}

.post-content pre code {
    background-color: transparent !important;
    color: #dee1e5;
    padding: 0;
}

.post-content :not(pre) > code {
    background: #ffecf1;
    border-radius: 4px;
    color: #c01741;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    overflow-x: auto;
    margin: 0 1px;
    padding: 2px 6px;
    white-space: pre-wrap;
}

.post-content h1, h2, h3, h4, h5, h6 {
    line-height: 24px;
    margin-top: 26px;
}

.post-content h1 {
    color: #111;
    font-size: 20px;
    font-weight: bold;
}

.post-content h2 {
    color: #111;
    font-size: 18px;
    font-weight: bold;
}

.post-content h3 {
    color: #111;
    font-size: 16px;
    font-weight: bold;
}

.post-content h4 {
    color: #212121;
    font-size: 15px;
}

.post-content h5 {
    color: #414141;
    font-size: 14px;
}

.post-content h6 {
    color: #717171;
    font-size: 14px;
}

.post-content mark {
    background-color: #fdffb6;
}

.post-content table {
    border-collapse: collapse;
    border-radius: 4px;
    margin: 1.73em 0 0 0;
    overflow-x: auto;
    table-layout: fixed;
    width: 100%;
}

.post-content table td, .post-content table th {
    box-sizing: border-box;
    border: 2px solid #ebedf0;
    min-width: 1em;
    padding: 12px;
    position: relative;
    vertical-align: top;
}

.post-content table td > *, .post-content table th > * {
    margin: 0;
}

.post-content table th {
    background-color: #f5f5f5;
    font-weight: bold;
    text-align: left;
}

/*
 * Styles with custom properties
 */

a {
    color: var(--accent-color, #0a7de0);
}

.listing-post:hover > .listing-post-timeline-bullet {
    border: 5px solid var(--accent-color, #0a7de0);
}

#feedback-send-button:hover {
    color: var(--accent-color, #0a7de0);
    fill: var(--accent-color, #0a7de0);
}

.post-content a {
    color: var(--accent-color, #0a7de0);
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
    text-decoration-skip-ink: all;
}

.post-content .iframe {
    left: 0;
    height: 0;
    margin: 1.3rem 0 0 0;
    padding-bottom: 56.25%;
    position: relative;
    width: 100%;
}

[dir="rtl"] .post-content .iframe {
    left: unset;
    right: 0;
}

.post-content .iframe.supademo {
    padding-bottom: calc(52.10344827586207% + 36px);
}

.post-content .iframe.videopress {
    padding-bottom: 56.2493%;
}

.post-content .iframe.vimeo {
    padding-bottom: 56.338%;
}

.post-content iframe {
    border: 0;
    border-radius: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}

.post-content video {
    border: 0;
    border-radius: 4px;
    margin: 1.3rem 0 0 0;
    width: 100%;
}

.post-content-feedback {
    margin: 0 auto;
    width: 384px;
}

.post-content-feedback button, .post-content-feedback input[type="submit"] {
    align-content: center;
    background: #1f1f1f;
    border: 0;
    border-radius: 4px;
    box-shadow: none;
    box-sizing: border-box;
    color: white;
    cursor: pointer;
    display: block;
    flex-grow: 1;
    font-size: 13px;
    font-weight: bold;
    justify-content: center;
    margin-top: 12px;
    padding: 14px 24px;
    text-transform: uppercase;
    transition-delay: 0s, 0s;
    transition-duration: 0.2s, 0.2s;
    transition-property: box-shadow, background;
    transition-timing-function: ease, ease;
    user-select: none;
    width: 100%;
}

.post-content-feedback button:hover, .post-content-feedback input[type="submit"]:hover {
    background: #747474;
}

.post-content-feedback input {
    border: 2px solid #dddfe6;
    border-radius: 4px;
    box-sizing: border-box;
    display: block;
    margin-top: 8px;
    padding: 12px;
    transition: border .2s linear;
    width: 100%;
}

.post-content-feedback input.error, .post-content-feedback input:invalid, .post-content-feedback input:focus:invalid {
    border-color: #dd2c01;
    box-shadow: none;
}

.post-content-feedback input:focus, .post-content-feedback input:hover:not(:disabled), .post-content-feedback textarea:focus, .post-content-feedback textarea:hover:not(:disabled) {
    border-color: var(--accent-color, #0a7de0) !important;
    box-shadow: none !important;
    outline: none !important;
}

.post-content-feedback input::placeholder, .post-content-feedback textarea::placeholder {
    color: #a3a4aa;
}

.post-content-feedback-error {
    color: #cc0000;
    margin: 1em 0 1em 0;
    text-align: center;
}

.share-button:hover > svg {
    fill: var(--accent-color, #0a7de0);
}

.timeline-header .subscribe {
    background-color: var(--accent-color, #0a7de0);
}

.timeline-header .subscribe:hover {
    background-color: var(--accent-color-dark, #0a7de0);
}

.selected {
    border-left: 2px solid var(--accent-color, #0a7de0);
}

[dir="rtl"] .selected {
    border-left: unset;
    border-right: 2px solid var(--accent-color, #0a7de0);
}

.subscribe-page {
    background-color: var(--accent-color-background, #0a7de0);
}

@media all and (max-width: 690px) {
    .subscribe-form-group .subscribe-email {
        border-right: 2px solid var(--accent-color-border, #0a7de0);
    }

    [dir="rtl"] .subscribe-form-group .subscribe-email {
        border-bottom-right-radius: 0;
        border-left: 2px solid var(--accent-color-border, #0a7de0);
        border-right: 2px solid var(--accent-color-border, #0a7de0);
        border-top-left-radius: 4px;
    }

    .subscribe-page {
        max-width: unset;
    }
}

@keyframes dots-dot-pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0.7);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}


#subscription-management-page #personal-details-form form {
    display: flex;
    flex-direction: column;
}

#subscription-management-page .status {
    display: inline-block;

    font-weight: bold;
}

#subscription-management-page #subscription-status h3 {
    margin-bottom: 12px;
}

#subscription-management-page .status.active {
    background: linear-gradient(180deg, transparent 60%, rgba(87, 251, 50, 0.32) 0);
    color: #014701;
}

#subscription-management-page .status.inactive {
    background: linear-gradient(180deg, transparent 60%, rgba(255, 6, 0, 0.11) 0);
    color: #b61000;
}
