﻿.themed,
.themed .caption,
.themed figcaption {
  color: #971f2c;
}
.themed img,
img.themed {
  outline: 1px solid #ddd;
  border-radius: 0;
  margin-top: 1rem;
}
#tinymce,
.rtecontent,
.archive {
  color: #555;
  /* Moved to generic style
    .themed {
        color: @color-sintercast-red !important;
    }

    .themed .caption, .themed figcaption {
        color: @color-sintercast-red !important;
    }

    .themed img, img.themed {
        outline: 1px solid #ddd !important;
        border-radius: 0;
        margin-top: 1rem;
    }
    */
}
#tinymce a:link:read-write,
.rtecontent a:link:read-write,
.archive a:link:read-write {
  color: #555;
}
#tinymce b,
.rtecontent b,
.archive b,
#tinymce strong,
.rtecontent strong,
.archive strong,
#tinymce .font-weight-bold,
.rtecontent .font-weight-bold,
.archive .font-weight-bold {
  color: #333;
}
#tinymce blockquote,
.rtecontent blockquote,
.archive blockquote {
  padding-block: 7px;
  padding-left: 25px;
  border-left: 6px solid #971f2c;
  color: #555;
  text-align: justify;
  line-height: 1.625rem;
  margin-block: 1.375rem;
}
#tinymce iframe,
.rtecontent iframe,
.archive iframe {
  max-width: 100%;
}
#tinymce :where(img),
.rtecontent :where(img),
.archive :where(img) {
  display: block;
  margin-block: 1rem;
}
#tinymce h1,
.rtecontent h1,
.archive h1 {
  display: none;
}
#tinymce :where(h2),
.rtecontent :where(h2),
.archive :where(h2) {
  font-size: 1.625rem;
  color: #333;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.375rem;
  margin-top: 2rem;
}
#tinymce :where(h3),
.rtecontent :where(h3),
.archive :where(h3) {
  font-weight: 600;
}
#tinymce :where(h3):not(.caption),
.rtecontent :where(h3):not(.caption),
.archive :where(h3):not(.caption) {
  font-size: 1.25rem;
  color: #333;
  line-height: 1.3;
  margin-bottom: 0.375rem;
  margin-top: 2rem;
}
#tinymce :where(h4),
.rtecontent :where(h4),
.archive :where(h4) {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.375rem;
}
#tinymce :where(h5),
.rtecontent :where(h5),
.archive :where(h5) {
  font-size: 0.875rem;
  color: #333;
  font-weight: bolder;
  line-height: 1.3;
  margin-bottom: 0;
}
#tinymce p,
.rtecontent p,
.archive p {
  color: #555;
  line-height: 1.625rem;
  text-align: justify;
}
#tinymce p.intro,
.rtecontent p.intro,
.archive p.intro {
  line-height: 1.5;
  color: #971f2c !important;
  font-family: Arial;
  font-size: 18px;
  text-align: justify !important;
}
#tinymce.pagecontent p,
.rtecontent.pagecontent p,
.archive.pagecontent p {
  text-align: justify;
}
#tinymce.pagecontent p.caption,
.rtecontent.pagecontent p.caption,
.archive.pagecontent p.caption {
  text-align: center;
}
#tinymce.pagecontent p.subheaderlink,
.rtecontent.pagecontent p.subheaderlink,
.archive.pagecontent p.subheaderlink {
  text-align: center;
  margin-top: 0.5rem;
}
#tinymce.pagecontent p.card-text,
.rtecontent.pagecontent p.card-text,
.archive.pagecontent p.card-text {
  text-align: left;
}
#tinymce.pagecontent p .caption,
.rtecontent.pagecontent p .caption,
.archive.pagecontent p .caption {
  text-align: center;
}
#tinymce li,
.rtecontent li,
.archive li {
  padding-bottom: 4px;
}
#tinymce ul:not(.naked,.flat),
.rtecontent ul:not(.naked,.flat),
.archive ul:not(.naked,.flat) {
  padding-left: 1rem;
  list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALBAMAAABbgmoVAAAALVBMVEX////z//+1z/+HAAD//8+HR6eFAB+1HwD3r0/zp0f/98fFh6+LV6/vlz+EACfPp5XTAAAAK0lEQVQI12OAg9UCYKo5EExxmkK4kyFcXhsw5f4IRLKUKYA5SWCxNgW4EQDopgYd8/VAWgAAAABJRU5ErkJggg==');
}
#tinymce ul:not(.naked,.flat) li,
.rtecontent ul:not(.naked,.flat) li,
.archive ul:not(.naked,.flat) li {
  padding-left: 4px;
}
#tinymce ul:not(.naked,.flat) li,
.rtecontent ul:not(.naked,.flat) li,
.archive ul:not(.naked,.flat) li {
  padding-left: 4px;
  line-height: 1.625rem;
  text-align: justify;
}
#tinymce ul:not(.naked,.flat) li ul,
.rtecontent ul:not(.naked,.flat) li ul,
.archive ul:not(.naked,.flat) li ul {
  margin-left: 1em;
  list-style-image: none;
  list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALAgMAAADUwp+1AAAADFBMVEX///+EAADLqqrDnJwX//FPAAABAWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iPz48cjpSREYgeG1sbnM6cj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+PHI6RGVzY3JpcHRpb24geG1sbnM6eD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyI+PHg6Q3JlYXRlRGF0ZT4yMDIwLTA0LTI3VDExOjU0OjA5KzAyOjAwPC94OkNyZWF0ZURhdGU+PC9yOkRlc2NyaXB0aW9uPjwvcjpSREY+PD94cGFja2V0IGVuZD0iciI/PjnoA9cAAAAQSURBVAjXY8AGmEMTsAkDAA+fALl6JMJ/AAAAAElFTkSuQmCC');
}
#tinymce .smalltext,
.rtecontent .smalltext,
.archive .smalltext,
#tinymce .boilerplate,
.rtecontent .boilerplate,
.archive .boilerplate {
  font-size: 12px;
  line-height: 1.5;
}
#tinymce .onlyificonsarewanted a[target]:not(:is([target='_self'])),
.rtecontent .onlyificonsarewanted a[target]:not(:is([target='_self'])),
.archive .onlyificonsarewanted a[target]:not(:is([target='_self'])) {
  background-repeat: no-repeat;
}
#tinymce .onlyificonsarewanted a[target]:not(:is([target='_self']))[href^=http],
.rtecontent .onlyificonsarewanted a[target]:not(:is([target='_self']))[href^=http],
.archive .onlyificonsarewanted a[target]:not(:is([target='_self']))[href^=http] {
  padding-right: 15px;
  background-position: right 3px;
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtODI2LjQyOSAtNjk4Ljc5MSkiPjxyZWN0IHdpZHRoPSI1Ljk4MiIgaGVpZ2h0PSI1Ljk4MiIgeD0iODI2LjkyOSIgeT0iNzAyLjMwOSIgZmlsbD0iI2ZmZiIgc3Ryb2tlPSIjMDZjIi8+PGc+PHBhdGggZD0iTTgzMS4xOTQgNjk4Ljc5MWg1LjIzNHY1LjM5MWwtMS41NzEgMS41NDUtMS4zMS0xLjMxLTIuNzI1IDIuNzI1LTIuNjg5LTIuNjg5IDIuODA4LTIuODA4LTEuMzExLTEuMzExeiIgZmlsbD0iIzA2ZiIvPjxwYXRoIGQ9Ik04MzUuNDI0IDY5OS43OTVsLjAyMiA0Ljg4NS0xLjgxNy0xLjgxNy0yLjg4MSAyLjg4MS0xLjIyOC0xLjIyOCAyLjg4MS0yLjg4MS0xLjg1MS0xLjg1MXoiIGZpbGw9IiNmZmYiLz48L2c+PC9nPjwvc3ZnPg==);
}
#tinymce .onlyificonsarewanted a[href$=pdf],
.rtecontent .onlyificonsarewanted a[href$=pdf],
.archive .onlyificonsarewanted a[href$=pdf] {
  background-repeat: no-repeat;
  padding-right: 20px;
  background-position: right top;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABBVBMVEUAAADExMStra2LAAElJSXl5eWvr6/g4OD09PTt7e3q6urc3NzY2NjR0dHBwcHx8fLn5+fe3t7a2trT09PNzc3/BAj7+/vHx8e6urrqqqv/EBTi4uLs29zV1dW7u8Gzs7apqauJiY1+foNwcHLjWlvnRkf/Q0c/Pz//NTj9LjL/IybsAAL////w///39/f29vbp7fHk7fDv4uXr09bDw8u+vsbqvL7YtrmxsbHomp3mj5DljY+MjI7bhIb+e37qe3pzc3b/c3Xlb2/hbm//aWvTY2f/YGL/UlXtUVHTUFHfTUzpSkv/PD7dOjkeHh7/GR3bGBzXGBuBAwWrAAP6AAL1AALbAAI6QHEVAAAAAXRSTlMAQObYZgAAAMhJREFUGNMtylV2wzAARFHHqSLJTDGEGduGmZkZ9r+UKLLf39wzDEnosrQA4yU1W7FYPJFU2e8aLze53LFQLF5TppogMCuUQqFg8FV+pE3z+1mXLmQ/y29/cppODaPMze91B4bPtiSG5NMNUd3xUBAtwaYAozzahzHQDBinADQcOfUQBroSoKBANKn2nYqicS5grnFwnGx2O5JdkFGmHZH/ap2V96hnBohTANQM3oXFXAaQF0RR0ilIv/+YA2Eils5SyP94nfP2Bzg6FUCuBwztAAAAAElFTkSuQmCC');
}
#tinymce .onlyificonsarewanted li a[href$=pdf],
.rtecontent .onlyificonsarewanted li a[href$=pdf],
.archive .onlyificonsarewanted li a[href$=pdf] {
  padding-left: 25px;
  background-position: left top;
}
#tinymce .onlyificonsarewanted a[href$=m4a],
.rtecontent .onlyificonsarewanted a[href$=m4a],
.archive .onlyificonsarewanted a[href$=m4a] {
  /*background-repeat: no-repeat;
        padding-right: 20px;
        background-position: right top;
        background-image: ;*/
}
#tinymce .onlyificonsarewanted a[href$=m4a]::after,
.rtecontent .onlyificonsarewanted a[href$=m4a]::after,
.archive .onlyificonsarewanted a[href$=m4a]::after {
  content: ' (Audio file)';
}