@import url('https://api.fonts.coollabs.io/css2?family=Pirata+One&display=swap');
@import url('https://api.fonts.coollabs.io/css2?family=UnifrakturCook:wght@700&display=swap');
@import url('https://api.fonts.coollabs.io/css2?family=Uncial+Antiqua&display=swap');

/* HEADER */

#header {
    height: 21rem;
    position: relative;
    z-index: 10;
    background-image: none;
    padding-bottom: 25px;
    width: 100%;
    margin: 0 auto;
}

#header-extra-div-1 {
    position: relative;
    background-image: url('/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Flogo%2520color.png');
    background-repeat: no-repeat;
    background-size: 25rem;
    background-position: 0% 50%;
    width: 100%;
    margin-left: 0;
    padding: 0;
    height: 21rem;
    z-index: -6;
    left: -18%;
}

div#extrac-div-3 {
    background-image: url('/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Fespada.png');
    background-repeat: no-repeat;
    background-size: 10rem;
    background-position: 94% 93%;
    width: 100%;
    margin-right: 0;
    padding: 0;
    height: 21rem;
    z-index: -10;
    left: -14%;
    top: 3%;
    display: block;
    position: absolute;
}

@media (max-width: 767px) {
    #header-extra-div-1 {
        left: 0;
        margin: 0 auto;
        background-position: 50% 50%;
        background-size: contain;
        filter: brightness(60%);
    }

    #header-extra-div-2 {
        display: none;
    }

    div#extrac-div-3 {
        display: none;
    }
}

div#extrac-div-1 {
    background-image: url(/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Fcielo.webp);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 400px;
    width: 100%;
    z-index: -13;
}

div#extrac-div-2 {
    background-image: url(/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Fcastillo.webp);
    background-position: top center;
    background-repeat: repeat-x;
    height: 6rem;
    display: block;
    position: absolute;
    top: 275px;
    left: 0;
    height: 300px;
    width: 100%;
    z-index: -7;
}

div#extra-div-3 {
    background-image: url(/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Ffondo.png);
    background-position: center center;
    background-repeat: repeat;
    height: 100%;
    display: block;
    position: absolute;
    top: 400px;
    left: 0;
    width: 100%;
    z-index: -9;
}

div#container-wrap {
    background: none;
}

/* BODY */

body {
    background: none;
    color: #000;
}

#container-wrap-wrap {
    overflow: hidden;
}

#content-wrap {
    margin: 6.9em auto 0;
}

/* TOP BAR */

#top-bar {
    top: 23.6rem;
    right: 0;
    height: 3rem;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

#top-bar a {
    color: #FFF;
}

#top-bar ul li.sfhover a, #top-bar ul li:hover a {
    background: #E3D9BA;
    border-left: solid 1px black;
    border-right: solid 1px black;
}

#top-bar ul li.sfhover ul li a, #top-bar ul li:hover ul li a {
    border-top: solid 1px #CFC299;
}

#top-bar ul li.sfhover a:hover, #top-bar ul li:hover a:hover {
    background: #7a0001;
    color: #FFF;
}

/* MOBILE TOP BAR */

@media (max-width: 767px) {
    .mobile-top-bar {
        right: 0;
        display: flex;
        justify-content: center;
        height: 3rem;
        line-height: 3rem;
        padding-top: 6px;
    }
}

/* HEADER TITLE */
 
#header h1 {
    margin-left: 0;
    float: none;
    text-align: center;
    position: absolute;
    width: 100%;
    filter: none;
    content: "";
}

#header h2 {
    margin-left: 0;
    float: none;
    text-align: center;
    position: absolute;
    width: 100%;
    filter: none;
    content: "";
}
 
#header h1 a {
    content: "";
    max-height: initial;
    display: block;
    height: 17rem;
    width: auto;
    margin: auto;
    margin-top: 1.3rem;
    padding: 0;
    color: transparent;
    text-shadow: none;
    filter: none;
}
 
#header h1 a::before {
    content: "神圣基金会";
    font-family: "Pirata One", system-ui;
    font-weight: 400;
    font-style: normal;
    color: transparent;
    background-image: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    background-clip: text;
    font-size: 73px;
    position: relative;
    text-shadow: none;
    paint-order: stroke fill;
    -webkit-text-stroke: 2px #552901;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 18rem;
}
 
@media (max-width: 767px) {
    #header h1 a::before {
        content: "神圣基金会";
        font-size: 53px;
        -webkit-text-stroke: 1px #552901;
    }
}

@media (max-width: 430px) {
    #header h1 a::before {
        font-size: 3rem;
    }
}
 
/* HEADER SUBTITLE */
 
#header h2 span {
    position: relative;
    display: block;
    line-height: 0px;
    font-weight: bold;
    color: transparent;
    text-shadow: none;
    filter: none;
    padding: 0;
    max-height: initial;
    display: block;
    height: 17rem;
    width: auto;
    margin: auto;
    margin-top: 1.3rem;
    z-index: -5;
}
 
#header h2 span::before {
    content: "奴役，骑士道，虔信";
    text-shadow: none;
    font-family: "Uncial Antiqua", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 23px;
    position: relative;
    color: #e9d995;
    paint-order: stroke fill;
    -webkit-text-stroke: 3px #552901;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 25rem;
}
 
@media (max-width: 767px) {

    #header h2 span::before {
        content: "奴役，骑士道，虔信";
        font-size: 15px;
        height: 22rem;
    }
}

/* HEADER TITLE ON MOBILE */

@media (max-width: 380px) {
    #header h1 a::before {
        font-size: 45px;
    }
    #header h2 span::before {
        font-size: 14px;
    }
}

/* SIDE BAR */

#side-bar {
    background-image: url('/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Fropes.png');
    background-repeat: repeat-y;
    background-position: center center;
    background-size: contain;
}

#side-bar .side-block {
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Fmadera.png");
    background-repeat: repeat-y;
    background-size: contain;
    background-color: rgba(0,0,0,0);
    border: none;
    border-radius: 13px;
    box-shadow: none;
}

#side-bar .side-block.resources {
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Fmadera.png");
    background-repeat: repeat-y;
    background-size: 100%;
    background-color: rgba(0,0,0,0);
    border: none;
    border-radius: 13px;
    box-shadow: none;
}

#side-bar .side-block.media {
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Fmadera.png");
    background-repeat: repeat-y;
    background-size: cover;
    background-color: rgba(0,0,0,0);
    border: none;
    border-radius: 13px;
    box-shadow: none;
}

#side-bar,
#side-bar:is(:hover,:active,:focus-within)  {
    scrollbar-color: #7a0001 #e3d9ba;
}

#side-bar a {
    color: #7a0001;
}

#side-bar a.newpage {
    color: #7a0001;
    text-decoration: none;
}

/* SIDE BAR MENU */
 
@media (max-width: 767px) {
    #side-bar {
        opacity: 1;
        background-color: rgba(227, 217, 186, 0.5);
        border-top: none;
        border-left: none;
        border-bottom: none;
        border-right:  solid 1px #000;
    }
}
 
.open-menu a,
#top-bar .open-menu a {
    border: 0.2em solid #7a0001;
    background-color: #e3d9ba;
    color: #000;
}
 
.open-menu a:hover,
#top-bar .open-menu a:hover {
    border: solid 0.2em #7a0001;
    background-color: #7a0001;
    color: #e3d9ba;
    box-shadow: none;
}

/* PAGE TITLE */

.meta-title,
#page-title {
    text-align: center;
    font-family: "Uncial Antiqua", system-ui;
    font-weight: 400;
    font-style: normal;
    margin-top: -3.5rem;
    text-transform: uppercase;
    background-image: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    background-clip: text;
    border-bottom: none;
    color: transparent;
}

@media (max-width: 767px) {
    #page-title {
        paint-order: stroke fill;
        -webkit-text-stroke: 1px #552901;
    }
}

@media (max-width: 380px) {
    #page-title {
    margin-top: -2rem;
        paint-order: stroke fill;
        -webkit-text-stroke: 1px #552901;
    }
}

/* LINKS */

a {
    color: #7a0001;
}

a.newpage {
    color: #000e7a;
    text-decoration: underline;
}


/* BODY TITLES */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #7a0001;
    font-weight: 700;
}

/* TOC */

#toc {
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Ffondo-weas.png");
    background-repeat: repeat;
    background-color: rgba(255, 255, 255, 0.1);
    border: solid 1px #552901;
}

/* BLOCKQUOTE */

div.blockquote,
blockquote {
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Ffondo-weas.png");
    background-repeat: repeat;
    background-color: rgba(255, 255, 255, 0.1);
    border: solid 1px #552901;
}

/* ACCOUNT */

#login-status {
    color: #F4E69F;
}

#login-status a {
    color: #F4E69F;
}

#login-status #account-topbutton {
    background-color: #7f000a;
    border: none;
}

#account-options {
    background: #E3D9BA;
}

/* SEARCH */

#search-top-box-form input[type=submit] {
    box-shadow: none;
    border: solid 1px #000;
    color: #FFF;
    background: linear-gradient(to bottom, #7a0001, #8E1010, #760000);
}

#search-top-box-form input[type=submit]:hover,
#search-top-box-form input[type=submit]:focus {
    border: solid 1px black;
    text-shadow: none;
    box-shadow: none;
    background: linear-gradient(to bottom, #a43a3a, #9d3232, #8c2727);
}

/* IMAGE CAPTION */

.scp-image-block {
    border: solid 1px black;
    box-shadow: none;
}

.scp-image-block .scp-image-caption {
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Ffondo-weas.png");
    background-repeat: repeat;
    border-top: solid 1px black;
}

/* RATING */
 
.page-rate-widget-box {
    margin-right: 0px;
    border: solid 2px #7a0001;
}
 
.creditRate.creditRate {
    margin-right: 0px;
}
 
.page-rate-widget-box .rate-points,
.page-rate-widget-box .rateup,
.page-rate-widget-box .ratedown,
.page-rate-widget-box .rateup a,
.page-rate-widget-box .ratedown a,
.page-rate-widget-box .cancel a {
  background-color: transparent;
  border: 0;
  text-transform: capitalize;
  font-weight: bold;
    color: #FFF;
}
.page-rate-widget-box .rateup a,
.page-rate-widget-box .ratedown a {
    margin-right: 0px;
    margin-left: 0px;
}
div.page-rate-widget-box {
    background-color: #7a0001;
    border: solid #7a0001 1px!;
    border-radius: 0px;
    box-shadow: none;
}
div.page-rate-widget-box span.rate-points,
div.page-rate-widget-box span.cancel {
    background-color: #7a0001;
    border: 1px #7a0001;
}
div.page-rate-widget-box span.rateup,
div.page-rate-widget-box span.ratedown {
    background-color: #fff7ea;
    margin-right: 0px;
    margin-left: 0px;
    color: #7a0001;
}
div.page-rate-widget-box span.rateup a,
div.page-rate-widget-box span.ratedown a {
    color: #7a0001;
}
div.page-rate-widget-box span.rateup a:hover {
    background: -webkit-linear-gradient(top, #DF9F28, #FDE08D, #8f6B29);
    background: linear-gradient(top, #DF9F28, #FDE08D, #8f6B29);
    color: #000;
}
div.page-rate-widget-box span.ratedown a:hover {
    background: #7a0001;
    color: #fff7ea;
}
div.page-rate-widget-box span.cancel a {
    color: #fff7ea;
}
div.page-rate-widget-box span.cancel a:hover {
    background: #7a0001;
    color: #fff7ea;
    border-radius: 0px;
}
 
/* RATING WITH INFO */
 
#page-content .rate-box-with-credit-button {
    background-color: #7a0001;
    border: 1px solid #7a0001;
    box-shadow: 1px 1px 3px rgba(0,0,0,.5);
    border-radius: 0px;
    box-shadow: none;
}
 
#page-content .rate-box-with-credit-button .creditButton p a {
    border-left-color: #ffffff;
}
 
#page-content .rate-box-with-credit-button .fa-info {
     border-color: #ffffff;
     color: #ffffff;
}
#page-content .rate-box-with-credit-button .fa-info:hover a {
     color: red;
}

.creditButton p a:hover {
     color: #fff77f;
}
 
.close-credits,
.credit-back {
    filter: hue-rotate(0deg);
}
 
#page-content .modalbox {
    box-shadow: 0 2px 6px rgba(0,30,0,.5);
}

/* TABS */

.yui-navset .yui-content {
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Ffondo-weas.png");
    background-repeat: repeat;
    border: solid 1px black;
}

.yui-navset .yui-nav a,
.yui-navset .yui-navset-top .yui-nav a {
    background: #e3d9ba;
    color: #7a0001;
    border-top: solid 1px #000;
    border-left: solid 1px #000;
    border-right: solid 1px #000;
}

.yui-navset .yui-nav .selected a,
.yui-navset .yui-nav .selected a:focus,
.yui-navset .yui-nav .selected a:hover {
    background: #7a0001;
    color: #FFF;
    border: solid 1px #7a0001;
    font-weight: bold;
}

.yui-navset .yui-nav a:focus,
.yui-navset .yui-nav a:hover {
    background: #f9dd4d;
    color: #000;
    border: none;
}

.yui-navset .yui-nav a:active {
    background: #3853a4;
    color: #ffe150;
    border: none;
}

.yui-navset .yui-nav a em,
.yui-navset .yui-navset-top .yui-nav a em {
    border: none;
}

.yui-navset .yui-nav,
.yui-navset .yui-navset-top .yui-nav {
    border-color: #7a0001;
}

.yui-navset .yui-nav,
.yui-navset .yui-navset-top .yui-nav {
     display: flex;
     flex-wrap: wrap;
     width: 100%;
     margin: 0 auto;
     box-shadow: none;
}

 .yui-navset .yui-nav a,
 .yui-navset .yui-navset-top .yui-nav a {
     border: unset;
     box-shadow: none;
}

.yui-navset .yui-nav a em,
.yui-navset .yui-navset-top .yui-nav a em {
     border: 0px;
     padding: .35em .75em;
     text-overflow: ellipsis;
     overflow: hidden;
     white-space: nowrap;
}
 
.yui-navset .yui-nav .selected a,
.yui-navset .yui-nav .selected a em {
     display: flex;
     flex-grow: 2;
     max-width: 100%;
     align-items: center;
     justify-content: center;
}
 
.yui-navset .yui-nav .selected, .yui-navset .yui-navset-top .yui-nav .selected {
    margin: 0;
}
 
 .yui-navset .yui-nav li,
 .yui-navset .yui-navset-top .yui-nav li {
     position: relative;
     display: flex;
     flex-grow: 2;
     max-width: 100%;
     margin: 0;
     padding: 0;
}
 .yui-navset .yui-nav li a,
 .yui-navset-top .yui-nav li a,
 .yui-navset-bottom .yui-nav li a {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 100%;
}
 .yui-navset .yui-nav li em{
     border: unset;
}

/* MODALBOX */

.modalbox {
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Ffondo-weas.png");
    background-repeat: repeat;
    background-color: rgba(255, 255, 255, 0.1);
    border: solid 1px #552901;
}

.modalbox h2 {
    color: #7a0001;
}

.modalbox hr {
    background-color: none;
    background-image: none;
}

.modalbox hr::before {
    background-image: none;
}
 
.modalbox hr::after {
    background-image: none;
    background-color: none;
}

/* SELECTION */
 
::selection {
    background: #7a0001;
    color: #FFF;
}

/* SCROLLBAR */
 
::-webkit-scrollbar {
    width: 13px;
}

::-webkit-scrollbar-thumb {
    background: #7a0001;
}
 
::-webkit-scrollbar-thumb:active {
    background: -webkit-linear-gradient(top, #DF9F28, #FDE08D, #8f6B29);
    background: linear-gradient(top, #DF9F28, #FDE08D, #8f6B29);
}
 
::-webkit-scrollbar-track {
    background-color: #e3d9ba;
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Ffondo-weas.png");
}

/* OWINDOW */

.owindow {
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Ffondo-weas.png");
    border-top: solid 0px #000;
    border-right: solid 0px #000;
    border-left: solid 0px #000;
    border-bottom: solid 0px #000;
}
 
.owindow h1 {
    color: #7a0001;
}
 
.owindow .title {
    background-color: #7a0001;
    color: #FFF;
}
 
.owindow img {
    background-color: #e3d9ba;
}
 
.owindow .button-bar a {
    background-color: #e3d9ba;
    color: #000;
    border-top: solid 1px #000;
    border-left: solid 1px #000;
    border-right: solid 1px #000;
    border-bottom: solid 1px #000;
}
 
.owindow .button-bar a:hover {
    color: #FFF;
    background-color: #7a0001;
}
 
.owindow.owait {
    border: solid 2px black;
}
 
.owindow.owait .content{
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Fdoctors%2Fsanto_loader.gif");
    background-position: center center;
    background-size: contain;
}

/* CODE */

.code {
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Ffondo-weas.png");
    background-repeat: repeat;
    border: solid 1px black;
}

/* FOOTNOTE */

.hovertip {
    background-color: #E3D9BA !important;
}

.footnotes-footer .title {
    color: #7a0001;
}

/* HORIZONTAL LINE */

hr  {
    background-color: black;
}

/* TAGS */

.page-tags span {
    border-top: solid 1px black;
}

table.wiki-content-table th {
    color: #FFF;
    border: solid 1px black;
    background-color: #7a0001;
}

table.wiki-content-table td {
    border: solid 1px black;
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Ffondo-weas.png");
    background-repeat: repeat;
    background-color: rgba(255, 255, 255, 0.1);
}

/* FOOTER */

#footer {
    background-color: #7a0001;
}

/* LINCESE AREA */

#license-area {
    color: #000;
}

#extra-div-1 {
    background-image: url('/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Fdoctors%2Fsie7e_provincias.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 20px;
    margin: 0 auto;
    padding-top: 2px;
    padding-bottom: 2px;
    background-color: #7a0001;
}

/* TEXT BELOW THE CHANGES' DESCRIPTION BOX */

table.form td div.sub, form div.sub {
    color: #000
}

/* SCROLLS OF WISDOM */

.wisdom-top {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    background-image: url(/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2FWisdom%2520Wea.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 1 / 0.20;
    z-index: 3;
}

.wisdom-text {
    min-height: 5em;
    background-image: url(/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wikidot.com%2Flocal--files%2Ftheme%3Aholy-theme%2Fwisdom-paper.webp);
    background-size: 100%;
    background-position: top center;
    background-repeat: repeat-y;
    width: 65%;
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 5em;
    padding-bottom: 4em;
}

.wisdom-bottom {
    position: absolute;
    bottom: 0;
    transform: translateY(50%);
    background-image: url(/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2FWisdom%2520Wea.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 1 / 0.2;
    z-index: 3;
}

.wisdom {
    width: 100%;
    display: block;
    position: relative;
    margin-top: 5em;
    margin-bottom: 5em;
}

/* INTERWIKI */

#interwiki .side-block {
    background-image: url("/api/css-proxy?url=https%3A%2F%2Fscp-wiki.wdfiles.com%2Flocal--files%2Ftheme%3Aholy-theme%2Fmadera.png");
    background-repeat: repeat-y;
    background-size: contain;
    background-color: rgba(0,0,0,0);
    border: none;
    border-radius: 0px;
    box-shadow: none;
}

/* PAGER */

.pager a {
    border: none;
}

.pager .current {
    background-color: #7a3600;
}

.pager .target {
    background-color: #e1d5b8;
    border: solid 1px #000;
    margin-right: 3px;
    margin-left: 3px;
}

table.page-history td.optionstd a {
    border: none;
    background-color: #e1d5b8;
    padding: 0 3px;
    text-decoration: none;
}
