@font-face {
    font-family: 'Cinzel';
    font-display: swap;
    src: url(/font/cinzel/static/Cinzel-Medium.ttf) format('truetype');
}

@font-face {
    font-family: 'Nunito';
    font-display: swap;
    src: url(/font/nunito/static/Nunito-Regular.ttf) format('truetype');
}

body {
    background-color: #040404;
    background-image: url(/img/bg.png);
    font-family: 'Nunito', sans-serif;
}

* {
    color: rgb(215, 197, 182);
    box-sizing: border-box;

    --title-link-color: #eee;

    --bs-secondary-color: #616161;

    /* TODO: orangered for better contrast */
    --special-text-color: #ff4217;
    --footer-text-color: #777;

    --stand-out-text-color: #efefef;

    --bs-info-text: #ffffff;
    --bs-info-bg-subtle: #1367af;
    --bs-info-border-subtle: #00d5ff;
    --bs-success-text: #ffffff;
    --bs-success-bg-subtle: #41af2c;
    --bs-success-border-subtle: #00ff94;
    --bs-warning-text: #ffffff;
    --bs-warning-bg-subtle: #cd8e00;
    --bs-warning-border-subtle: #ff8100;
    --bs-danger-rgb: 147, 9, 22;
    --bs-danger-bg-subtle: #930916;
    --bs-danger-border-subtle: #ff001b;
    --bs-danger-text: #ffffff;

    --bs-popover-border-color: rgb(50, 48, 47) !important;
    --bs-popover-bg: #090909 !important;
    --bs-popover-body-color: #fff;
    --bs-popover-border-radius: 0 !important;

    --bs-alert-color: #fff !important;

    --bs-table-bg: transparent;
    --bs-table-color: rgb(215, 197, 182);

    --bd-color: #1c1c1c;
}

ul {
    margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cinzel', serif;
}

@media(max-width:497px) {
    .container {
        margin-bottom: 15px;
    }
}

hr {
    background-color: #333;
    height: 2px;
    border: none;
    opacity: 1;
}

.pull-right {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    flex-direction: row;
}

.force-wordwrap {
    /* white-space: pre-line; */
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.display-flex {
    display: flex;
}

ul+p {
    margin-top: 1rem;
}

.popover {
    border: 1px solid var(--bs-popover-border-color);
}

.monospace {
    font-family: monospace;
}

.hover-bright:hover {
    filter: brightness(120%);
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.text-special {
    color: var(--special-text-color);
}

.text-stand-out {
    color: var(--stand-out-text-color);
    font-weight: 600;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

a {
    color: var(--special-text-color);
    text-decoration: none;
}

a:hover:not(a:has(button)) {
    text-decoration: underline;
}

ion-icon[name=open-outline].outgoing {
    color: var(--bs-secondary-color);
    position: relative;
    top: -2px;
    left: -1px;
    font-size: 13px;
}

a.title-link {
    color: var(--title-link-color);
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.bg-keeper {
    background: url(../img/bg-gray.png) repeat;

    /* background-color: rgba(11, 11, 11, 0.65); */
    background-color: rgba(11, 11, 11, 0.52);
    background-blend-mode: darken;

}

.bd-keeper {
    /* border: 3px solid var(--bd-color); */
    border: 2px solid var(--bd-color);
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.header {
    font-size: 18px;
    font-family: 'Cinzel', serif;
    padding: 12px 20px;
}

.header a,
.dropdown-keeper a {
    color: rgb(215, 197, 182);
    margin: 0 12px;
    /* margin: 0 40px; */
}

.header a:hover,
.dropdown-keeper a:hover {
    text-decoration: none;
    color: var(--special-text-color);
}

.header-separator {
    color: rgb(122, 103, 93);
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

nav {
    margin-bottom: 30px;
}

#nav-top a.active {
    color: #fff3d0;
    font-weight: 600;
    /* text-decoration: underline; */
    /* text-underline-offset: 7px; */
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.content-box+.content-box {
    margin-top: 30px;
}

.content-header {
    border-bottom: 2px solid var(--bd-color);
    margin: 0px 20px;
    padding: 20px 0px 5px 0px;
}

.content-header-box {
    padding: 15px 20px 8px 20px;
}

.content-header h2,
.content-header-box h2 {
    font-size: 22px;
}

.content-body {
    padding: 20px;
}

.content-body p+h1,
.content-body p+h2,
.content-body p+h3,
.content-body p+h4,
.content-body p+h5,
.content-body p+h6 {
    margin-top: 60px;
}

.content-body h1+p,
.content-body h2+p,
.content-body h3+p,
.content-body h4+p,
.content-body h5+p,
.content-body h6+p {
    margin-top: 30px;
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
    color: #efefef;
    border-bottom: 2px solid var(--bd-color);
}

.content-body pre+h1,
.content-body pre+h2,
.content-body pre+h3,
.content-body pre+h4,
.content-body pre+h5,
.content-body pre+h6 {
    margin-top: 60px;
}

.content-body p {
    padding-left: 15px;
    padding-right: 15px;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.wiki-menu a {
    color: #efefef;
}

.wiki-menu>h4 {
    margin-bottom: 1rem;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.news {
    padding: 20px;
    background-color: rgba(6, 6, 6, 0.666);
    border: 2px solid var(--bd-color);
}

.news+.news {
    margin-top: 15px;
}

.news-title {
    font-size: 20px;
    display: inline-block;
    font-family: 'Cinzel', serif;
    border-bottom: 0 !important;
    margin-top: 8px;
}

.news-date {
    color: var(--special-text-color);
    font-family: 'Cinzel', serif;
    float: right;
}

.news-item-text p {
    margin-left: 0;
    padding-left: 0;
}

.news-item-text p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

#screenshots {
    display: flex;
    flex-wrap: wrap;
}

.screenshot {
    padding: 20px;
    text-align: center;
    align-items: center;

    width: 250px;
    height: 250px;

    margin-bottom: 40px;
}


@media(max-width:497px) {
    .screenshot {
        width: 300px;
        height: 300px;
    }
}

.screenshot img {
    width: 100%;
    height: 100%;
    padding: 1px;
    object-fit: cover;

    aspect-ratio: 1;

    box-shadow:
        0 0 0 2px #362c2c,
        0 0 0 3px #232427,
        rgba(0, 0, 0, 0.3) 0px 25px 50px -12px;
}

.screenshot-title {
    font-family: 'Cinzel', serif;
    display: block;
    font-size: 16px;
    margin-top: 15px;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.dk-button {
    background: url(/img/button.png);
    width: 300px;
    height: 60px;
    display: block;
    padding-top: 10px;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 26px;
    color: rgb(215, 197, 182);
}

.dk-button {
    text-decoration: none;
}

.dk-button:hover {
    text-decoration: none !important;
    filter: brightness(1.5);
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.table thead {
    background-color: rgba(0, 0, 0, 0.65);
}

.table tbody {
    background-color: rgba(0, 0, 0, 0.4);
}

.table th {
    font-family: 'Cinzel', serif;
    border: 0;
}

.table td {
    border: 0;
}

.table {
    border: 2px solid rgba(0, 0, 0, 0.8);
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.latest-release td {
    font-weight: bold;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.login-title {
    text-align: center;
    margin-bottom: 30px;
}

.login-box {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

textarea:focus,
input:focus {
    outline: none;
}

.form-control {
    /* background-color: rgba(30, 30, 30, 0.7); */
    /* background-color: #1f1d1e; */
    background-color: #151515;
    border: 1px solid #424242;
    /* border: 1px solid #000000; */
    color: #d7c5b6;
    padding: 10px;
}

.form-control:focus {
    /* background-color: rgba(30, 30, 30, 0.7); */
    /* background-color: #1f1d1e; */
    background-color: #151515;
    border: 1px solid rgb(172, 144, 124);
    color: #ffdec4;
    box-shadow: none;
}

.form-control::file-selector-button {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    height: 44px;
    margin-bottom: -10px;
    margin-top: -10px;
    margin-right: 15px;
    color: #fff;
    background-color: #121212 !important;
    border-right: 1px solid #424242;
    padding-left: 15px;
    padding-right: 15px;
}

.form-control:hover::file-selector-button {
    filter: brightness(1.3);
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

code,
.markdown-body code,
.markdown-body pre>code {
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(50, 50, 50, 1);
    padding: 4px;
    padding-bottom: 3px;
    color: rgb(238, 231, 224);
    border-radius: 0;
    font-family: monospace;
    font-size: initial;
}

pre>code,
.markdown-body pre>code {
    display: block;
    padding: 5px;
}

.markdown-body pre {
    background: transparent;
    padding: 10px;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

footer {
    padding-top: 30px;
    font-size: 14px;
    text-align: center;
    color: var(--footer-text-color);
    padding-bottom: 15px;
}

.text-footer {
    color: var(--footer-text-color);
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.btn-medieval,
.form-group .btn-medieval {
    /* border: 0 !important; */
    border-radius: 0px;
    background-color: #1c1c1c;
    color: rgb(238, 231, 224);
    /* box-shadow: inset 0 0 5px rgba(247, 219, 219, 0.5); */
    box-shadow: inset 0 0 3px rgba(247, 219, 219, 0.25);
    background: url(../img/bg-button-red.png) repeat;
    text-shadow: 2px 2px 4px black;
    font-family: 'Cinzel', serif;
}

.btn-medieval:hover,
.form-group .btn-medieval:hover {
    background-color: inherit;
    filter: brightness(1.3);
    color: rgb(238, 231, 224) !important;
    text-decoration: none;
}

.btn-medieval-gray,
.form-group .btn-medieval-gray {
    box-shadow: inset 0 0 5px rgba(255, 241, 241, 0.2);
    background: url(../img/bg-button.png) repeat;
}

.btn-medieval-blue,
.form-group .btn-medieval-blue {
    box-shadow: inset 0 0 3px rgba(255, 241, 241, 0.2);
    background: url(../img/bg-button-blue.png) repeat;
}

.btn-medieval-black,
.form-group .btn-medieval-gray {
    box-shadow: inset 0 0 3px rgba(255, 241, 241, 0.2);
    background: url(../img/bg-black.png) repeat;
}

.btn-medieval.disabled {
    border-color: transparent !important;
}

.btn-disabled {
    cursor: default;
    opacity: 0.5;
}

.btn-disabled:hover {
    cursor: default;
    color: inherit;
    background-color: inherit;
}

.btn-grayscale {
    background-color: #fff;
    background-blend-mode: luminosity;
}

.btn-grayscale:hover {
    background-color: #fff;
    background-blend-mode: luminosity;
}

.btn-medieval ion-icon {
    font-size: 18px;
    margin: 0;
    padding: 0;
    line-height: 16px;
    margin-top: 3px;
    margin-bottom: -3px;
    color: #e1e1e1;
    margin-left: 1px;
    margin-right: 1px;
}

button.btn-medieval ion-icon {
    margin-top: 4px;
    margin-right: 6px;
    font-weight: 600;
}

.btn-medieval:focus {
    border: 1px solid #ddd;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.form-group+.form-group {
    margin-top: 25px;
}

.form-group label {
    font-size: 18px;
    margin-bottom: 5px;
}

.form-check-input {
    background-color: #1c1c1c;
    border: 1px solid #000000;
}

.form-check-input:checked {
    background-color: inherit;
    border-color: inherit;
    color: orangered;
}

.label {
    font-size: 18px;
    margin-bottom: 5px;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.alert {
    border-radius: 0;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.workshop-item-title {
    font-family: inherit;
    border-bottom: 0 !important;
}

.workshop-info-box {
    background-color: rgba(6, 6, 6, 0.666);
    border: 2px solid var(--bd-color);
}

.workshop-info-box+.workshop-info-box,
.workshop-file-list-box+.workshop-info-box {
    margin-top: 30px;
}

.workshop-item-comment {
    display: flex;
    background-color: rgba(6, 6, 6, 0.666);
    border: 1px solid var(--bd-color);
    padding: 15px;
    padding-bottom: 7px;
    margin: 15px 0;
    padding-right: 20px;
    min-height: 60px;
}

.workshop-item-comment:first-child {
    margin-top: 0;
}

.workshop-item-comment-content p {
    margin-left: 0;
    padding-left: 0;
}

.workshop-item-comment .workshop-item-comment {
    background-color: transparent;
    border-left: 2px solid var(--bd-color);
    border-top: 0;
    border-bottom: 0;
    border-right: 0;

    padding-left: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 0;

    margin-bottom: 0;
    min-height: auto;
}

.workshop-item-comment .workshop-item-comment .workshop-item-comment-edit,
.workshop-item-comment .workshop-item-comment form {
    margin-right: 15px;
}

.workshop-item-comments>.workshop-item-comment>div>.workshop-item-comment:last-of-type {
    margin-bottom: 15px;
}

.workshop-item-comment .workshop-item-comment .user-avatar-big {
    width: 20px;
    height: 20px;
}

.workshop-item-comment-content {
    margin-bottom: 15px;
    margin-top: 3px;
    padding-right: 10px;
}

.workshop-comment-report {
    border: 1px dashed rgba(200, 20, 30, 0.5);
    padding: 5px;
}

.workshop-item-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.workshop-item-image {
    background-image: url(/img/bg-black.png);
    aspect-ratio: 1;
}

.workshop-item-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    user-select: none;
}

.workshop-item-image:first-child {
    grid-column: 1 / 4;
    grid-row: 1 / 4;
}

#difficulty-rating-info .rating-remove,
#quality-rating-info .rating-remove {
    margin-left: 3px;
    display: none;
}

#difficulty-rating-info:hover .rating-remove,
#quality-rating-info:hover .rating-remove {
    display: inline-block;
}

.btn-download-filename {
    display: block;
    position: relative;
    top: -3px;
    font-size: 14px;
    font-family: 'Nunito';
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.workshop-item-comment .badge+time {
    margin-left: 6px;
}

.workshop-item-comment button {
    margin-right: 3px;
}

.workshop-item-comment button ion-icon {
    font-size: 17px;
    vertical-align: middle !important;
}

.workshop-item-comment button:hover ion-icon {
    color: var(--special-text-color);
}

.workshop-item-comment .workshop-item-comment .comment-buttons {
    padding-bottom: 2px;
}

.workshop-item-move-box,
.workshop-item-move-cancel-box {
    padding-bottom: 20px;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.workshop-info-box img,
.workshop-item-comment-content img,
.modal-body img {
    max-height: 100%;
    max-width: 100%;
    max-width: 250px;
    aspect-ratio: 1;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.workshop-grid {
    /* display: flex;
    gap: 15px;
    flex-direction: row;
    flex-wrap: wrap; */
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.workshop-grid-item {
    padding: 5px;
    /* background-image: url(/img/bg-gray.png); */
    /* background-image: url(/img/bg-gray2.png); */
    /* background-color: #161616; */
    background-color: rgba(6, 6, 6, 0.666);
    border: 2px solid var(--bd-color);
    display: flex;
    flex-direction: row;
    position: relative;
}

.workshop-grid-item-image-container {
    width: 110px;
    height: 110px;
    flex-grow: 0;
    flex-shrink: 0;
    background-image: url(/img/bg-black.png);
    border: 2px solid var(--bd-color);
}

.workshop-grid-item-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

.workshop-grid-item-info {
    padding: 7px 12px 0 15px;
    width: 100%;
    overflow: hidden;
}

.workshop-grid-item-title {
    width: 100%;
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;

    font-weight: bold;
}

.workshop-grid-item-title a {
    color: var(--title-link-color);
}

.workshop-grid-item-user {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.workshop-grid-notice-icon {
    position: absolute;
    top: 8px;
    font-size: 22px;
}

.workshop-grid-notice-icon:hover {
    color: white;
    cursor: default;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

#toast-container>div {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;

    opacity: 1;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    filter: alpha(opacity=100);
}

#toast-container>div:hover {
    -moz-box-shadow: 0 0 12px #000000;
    -webkit-box-shadow: 0 0 12px #000000;
    box-shadow: 0 0 12px #000000;

    opacity: 0.6;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60);
    filter: alpha(opacity=60);

    cursor: pointer;
}

.toast-message {
    color: #fff;
}

.toast-info {
    background-color: var(--bs-info-bg-subtle);
}

.toast-success {
    background-color: var(--bs-success-bg-subtle);
}

.toast-warning {
    background-color: #F89406;
}

.toast-error {
    background-color: #BD362F;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.nav-link,
.nav-link:focus {
    color: #eee;
    text-decoration: none;
    background-color: rgba(50, 48, 47, 0.57);
    padding: 8px 14px;
}

.nav-link:hover {
    color: var(--special-text-color);
    text-decoration: none;
    background-color: rgba(50, 48, 47, 0.69);
}

.nav-link.active {
    background-color: rgba(150, 150, 150, 0.4);
}

.nav-link+.nav-link {
    margin-top: 5px;
}

.nav-link ion-icon {
    font-size: 20px;
    position: relative;
    top: 5px;
    margin-right: 7px;
}

.ion-icon-raw-top-nav-bar svg {
    filter: invert(75%) sepia(40%);
    height: 23px;
    width: 23px;
    position: relative;
    top: 1px;
}

.ion-icon-raw-top-nav-bar svg:hover {
    /* Figure out correct filter: https://codepen.io/sosuke/pen/Pjoqqp */
    filter: invert(43%) sepia(54%) saturate(6071%) hue-rotate(349deg) brightness(99%) contrast(106%);
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.account-settings-avatar {
    width: 256px;
    height: 256px;
    margin-right: 30px;
    border: 1px solid var(--bd-color);
    border-radius: 50%;
}

.account-settings-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1;
    border-radius: 50%;
}

.user-avatar {
    border-radius: 50%;
    width: 19px;
    height: 19px;
    /* border: 1px solid var(--bd-color); */
    padding: 0px;
    bottom: 1px;
    position: relative;
    margin-right: 2px;
}

.user-avatar-big {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    /* border: 1px solid var(--bd-color); */
    padding: 0px;
    bottom: 1px;
    position: relative;
}

nav .user-avatar {
    width: 26px;
    height: 26px;
    margin-right: 6px;
    bottom: 2px;
    position: relative;
    /* border: 1px solid var(--bd-color); */
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

a.dropdown-item {
    margin-left: 0px;
    margin-right: 0px;
    font-family: 'Nunito', sans-serif;
}

a.dropdown-item:active {
    background: inherit;
}

.dropdown-menu {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.dropdown-toggle.caret-off::after {
    display: none;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

a.user-link {
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    overflow: clip;
    text-overflow: ellipsis;
    max-width: 100%;
}

a.user-link:hover {
    text-decoration: none;
}

a.user-link span {
    color: orangered;
}

a.user-link:hover span {
    text-decoration: underline;
    /* color: red; */
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.content-menu {
    margin: 0px 30px;
    padding: 20px 0px 20px 0px;
}

.nav-sidebar-sub {
    margin: 5px 10px 0px 10px;
    /* margin: 5px 0px 0px 0px; */
    flex-direction: column;
}

.nav-sidebar-sub .nav-link {
    background-color: rgba(35, 35, 35, 0.5);
    padding: 5px 20px;
}

.nav-sidebar-sub .active {
    background-color: rgba(135, 135, 135, 0.3);
    font-weight: 600;
    color: white;
}

.nav-sidebar-sub-container+.nav-link {
    margin-top: 5px;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.pagination .page-item a.page-link {
    background-color: #151515;
    border: 1px solid #424242;
    color: #d7c5b6;
}

.pagination .page-item.disabled a.page-link {
    color: var(--bs-secondary-color);
}

.pagination .page-item.active a.page-link {
    background-color: #333;
}

.pagination .page-item:not(.disabled) a.page-link:hover {
    color: var(--special-text-color);
    text-decoration: none;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.username-link-org-author {
    /* color: rgb(215, 197, 182); */
    color: #e25130;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.form-separator {
    width: calc(100% - 20px);
    display: grid;
    grid-template-columns: 2fr 3fr 2fr;
    gap: 10px;
    color: #8B8E98;
    margin: 30px 10px;
}

.form-separator>span {
    word-break: keep-all;
    display: block;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    margin: auto;
}

.form-separator hr {
    display: inline-block;
    width: 100%;
    height: 1px;
    border: 0;
    background-color: #e8e8e8;
    margin: auto;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.btn-oauth {
    width: 100%;
}

.btn-oauth:hover {
    filter: brightness(1.3);
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.image-widget-container {
    min-height: 250px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    border: 2px solid transparent;
}

.image-widget-box {
    border: 2px dashed #777777;
    border-radius: 3px;
    aspect-ratio: 1;
    background-color: rgba(150, 150, 150, 0.05);
}

.image-widget-container .image-widget-box:not(.ui-sortable-helper):not(.image-widget-image-invisible):first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.image-widget-image {
    border: 1px solid #666;
    position: relative;
}

.image-widget-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    user-select: none;
}

.image-widget-image-invisible {}

.image-widget-upload-button {
    /* Plus icon */
    background: url('data:image/svg+xml,<svg color="hsl(0, 0%, 35%)" xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 112v288M400 256H112"/></svg>') 50% 50% no-repeat;
    background-size: 100px 100px;
    background-color: rgba(150, 150, 150, 0.05);
}

.image-widget-upload-button:hover {
    filter: brightness(1.5);
    cursor: pointer;
    background-color: rgba(150, 150, 150, 0.06);
}

.image-widget-container .ui-sortable-placeholder:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.image-widget-delete-button {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10;
    display: none;
    border: 0;
    width: 28px;
    height: 28px;
    fill: #ace63c;
    filter: drop-shadow(1px 1px 1px rgb(255, 255, 255, 0.5));
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") 50% 50% no-repeat;
}

.image-widget-image:hover .image-widget-delete-button {
    display: block;
}

.image-widget-drop {
    border: 2px dashed #777777;
    border-radius: 3px;
    background: url('data:image/svg+xml,<svg color="hsl(0, 0%, 35%)" xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 112v288M400 256H112"/></svg>') 50% 50% no-repeat;
    background-color: rgba(150, 150, 150, 0.05);
}

.image-widget-drop * {
    opacity: 0;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.hazard-background {
    /* https://www.reddit.com/r/css/comments/gwrx5j/comment/fswuz5e */
    height: 30px;
    color: white;
    background-image: repeating-linear-gradient(-55deg, #000, #000 20px, #ffb101 20px, #ffb101 40px);
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.accordion-collapse {
    color: #ccc;
    background-color: #0D0D0D !important;
    padding: 0;
    border: 0;
}

.accordion-item {
    border: 2px solid black;
    background-color: #0D0D0D !important;
}

.accordion-button {
    background-color: #111 !important;
    color: white !important;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
    border: 0;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion pre {
    margin: 0;
    padding: 10px;
    font-size: 11px;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.timeline {
    border-left: 1px solid hsl(0, 0%, 90%);
    position: relative;
    list-style: none;
}

.timeline h5 {
    border: 0;
    position: relative;
    top: -5px;
}

.timeline .timeline-item {
    position: relative;
}

.timeline .timeline-item:after {
    position: absolute;
    display: block;
    top: 0;
}

.timeline .timeline-item:after {
    background-color: hsl(0, 0%, 90%);
    left: -38px;
    border-radius: 50%;
    height: 11px;
    width: 11px;
    content: "";
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.notification-item-wide {
    display: block;
    padding: 8px;
    background-color: rgba(6, 6, 6, 0.666);
    border: 2px solid var(--bd-color);
}

.notification-item-wide:hover {
    text-decoration: none;
    background-color: rgba(6, 6, 6, 0.366);
}

.notification-item-wide+.notification-item-wide {
    margin-top: 10px;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.modal .bd-keeper .modal-footer {
    border-top: 2px solid var(--bd-color);
}

.modal .bd-keeper .modal-header {
    border-bottom: 2px solid var(--bd-color);
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

#commentModalArea p:last-child {
    margin-bottom: 0;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.spoiler {
    padding: 0px 1px;
    background-color: #333;
    color: transparent;
    user-select: none;
}

.spoiler-hover:hover {
    background-color: inherit;
    color: inherit;
    transition: 0.3s;
}

.spoiler-clickable {
    cursor: pointer;
}

.spoiler-clickable:hover {
    background-color: #3A3A3A;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

ul.horned-list {
    list-style: none;
}

ul.horned-list li::before {
    content: '';
    display: inline-block;
    height: 20px;
    width: 20px;
    background-image: url('/img/horned-list-star.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 5px;
    top: 3px;
    position: relative;
    margin-top: 5px;
}

ul.horned-list li {
    font-weight: 700;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

#instantclick-bar {
    display: none;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

div.emoji-drop-down {
    background-color: #333;
    padding: 3px;
}

div.emoji-drop-down div.emoji {
    font-size: 16px;
    height: 25px;
    width: 25px;
    padding: 3px;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

#homepage-screenshots {
    float: right;
    margin: 0 0 20px 30px;
}

#homepage-screenshots img {
    height: 100px;
    border: 4px solid rgba(0, 0, 0, 0.3);
    display: block;
    margin-bottom: 5px;
    opacity: 0.8
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

/* Hide the fake email field on the register page to catch spam bots */
#catch_them {
    margin: 0;
    width: 0;
    height: 0;
    position: relative;
    top: -9999px;
    left: -999999px;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.index-discord-button {
    display: block;
}

.index-discord-button>div {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 74px;
    background-color: #5865F2;
    border-radius: 5px;
    padding: 0 25px;
}

.index-discord-button:hover {
    text-decoration: none;
}

.index-discord-button:hover>div {
    background-color: #4552dc;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.markdown-body {
    background-color: transparent;
    font-family: 'Nunito';
}

.markdown-body a {
    color: var(--special-text-color);
}

.markdown-body table tr {
    background-color: rgba(30, 30, 30, 0.7);
}

.markdown-body table tr:nth-child(2n) {
    background-color: rgba(40, 40, 40, 0.7);
}

.markdown-body strong {
    font-weight: bolder;
}

.markdown-body li+li {
    margin-top: .1em;
}

.markdown-body hr {
    height: .1em;
}

.markdown-body img {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.markdown-body a.header-link {
    margin-left: 0.5rem;
    display: none;
    text-decoration: none;
}

.markdown-body h1:hover a.header-link,
.markdown-body h2:hover a.header-link,
.markdown-body h3:hover a.header-link,
.markdown-body h4:hover a.header-link,
.markdown-body h5:hover a.header-link,
.markdown-body h6:hover a.header-link {
    display: inline-block;
}

.markdown-body :target {
    scroll-margin-top: 25px;
}

/* .workshop-item-comment-content .markdown-body  */

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

mark {
    background: var(--special-text-color);
    color: black;
    padding: 1px 0px;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

a.phpdebugbar-restore-btn::after {
    background: none;
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/webp;base64,UklGRr4AAABXRUJQVlA4TLIAAAAvC8ACEK/AJgCANLi7v3SmJjdMgiiJJMlZfDl4OHpiX+B7ePpEUSNJyiwd88k4sSd4P/MfADAXvwZPhhgcOGlG/Yw884+TZlxnyoyzQkJ5M92HYUO3Idu177POB4cB2KaNFFZgSgr/H9sdEdH/BOC9vSY+X/fZaw0A9n2f7TUE2+dse/UUxFKWPUohyeflHHwaKb6kxJcMUiaLSMYAaczfiDVFAOpjzpQTPmUyJPxLKgAA");
    filter: contrast(1.1) saturate(1.1);
}

div.phpdebugbar-widgets-callgraph pre span {
    color: black;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.md-alert {
    border-left: 4px solid;
    padding: 0.75em 1em;
    margin: 1em 0;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.03);
    font-size: 0.95em;
}

.md-alert svg {
    margin-right: 1em;
    margin-top: -2px;
    transition: fill 0.3s ease;
}

.md-alert-note {
    border-color: #448aff;
    background-color: rgba(68, 138, 255, 0.2);
}

.md-alert-note svg {
    fill: #448aff;
}

.md-alert-tip {
    border-color: #00c853;
    background-color: rgba(0, 200, 83, 0.2);
}

.md-alert-tip svg {
    fill: #00c853;
}

.md-alert-important {
    border-color: #b300ff;
    background-color: rgba(165, 17, 251, 0.2);
}

.md-alert-important svg {
    fill: #8800ff;
}

.md-alert-warning {
    border-color: #ffab00;
    background-color: rgba(255, 171, 0, 0.2);
}

.md-alert-warning svg {
    fill: #ffab00;
}

.md-alert-caution {
    border-color: #ff5252;
    background-color: rgba(255, 82, 82, 0.2);
}

.md-alert-caution svg {
    fill: #ff5252;
}

.md-alert span {
    font-weight: bold;
}

.md-alert p {
    margin: 0.5em 0 0 16px;
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/