@font-face
{
	font-family: unused;
	src: url('../fonts/Retrofunks.otf');
}
@font-face
{
	font-family: unused1;
	src: url('../fonts/Quadranta.otf');
}
@font-face
{
	font-family: unused2;
	src: url('../fonts/Streamster.ttf');
}
@font-face
{
	font-family: mainNews;
	src: url('../fonts/AdamPro.otf');
}
@font-face
{
	font-family: unused4;
	src: url('../fonts/WildWordsRoman.ttf');
}
@font-face
{
	font-family: navTitle;
	src: url('../fonts/FallingSky.otf');
}
@font-face
{
	font-family: mainTitle;
	src: url('../fonts/Komikax.ttf');
}
@font-face
{
	font-family: General;
	src: url('../fonts/Letters for Learners.ttf');
}
body {
    margin:0px;
    background-image:url("../pics/cover.png");
    background-attachment: fixed;
    background-size:cover;
    background-position: center;
}
* {
    font-size:30px;
	font-family : General;
}
a {
    color: #A82727;
    font-weight:bold;
    text-decoration:unset;
}
a:hover {
    color:#8829AA;
}
.loadingBox {
    border: 6px #8829aa double;
    padding: 2%;
    text-align: center;
    background-color: rgba(136, 41, 170, 0.2);
}

.signupSection {
    color:white;
    width:40%;
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    border:3px solid purple;
    background-color:rgba(0,0,0,0.7);
    text-align:center;
    padding:1%;
}
.error {
    color: white;
    padding:1%;
    background-color:#A82727;
    border: white 3px double;
}
.header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: stretch;
}
.header .brand, .header .nav {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
}
.nav a {
    margin-left:10px;
    background-color: #8829AA;
    border:white 2px double;
    color:white;
    padding-left:1%;
    padding-right:1%;
}
.nav a:hover {
    color:#8829AA;
    background-color: white;
    border:#8829AA 2px double;
}
.nav p {
    margin-top:10px;
    margin-bottom:10px;
}
select {
    text-align: center;
    background-color: #8829AA;
    border:white 2px double;
    color:white;
}

.wikiSearch {    
    width: 80%;
    padding-left: 1%;
    padding-right: 1%;
    margin: auto;
    display: inline-block;
    background-color: rgba(136, 41, 170, 0.2);
    color: white;
    border: 2px solid #c0025b;
}
.wikiSearchSubmit {
    background-color: #8829AA;
    color: white;
    border:white 2px double;
    width: 15%;
    display:inline-block;
    cursor:pointer;
}
.wikiSearchSubmit:hover {
    color:#8829AA;
    background-color: white;
    color:#8829aa;
    border:#8829AA 2px double;

}
.wikiSearchSubmit:active {
    background-color:#c0025b;
    color: white;
    border:white 2px double;
}

.wikiFetch ul li {
    background-color: #8829AA;
    color: white;
    border-bottom:#c0025b 2px solid;
    width: 100%;
    cursor:pointer;
    padding-right:1%;
    padding-left:1%;
    border-left:#c0025b 2px solid;
    border-right:#c0025b 2px solid;
}
.wikiFetch ul li:hover {
    color:#8829AA;
    background-color: white;
    border-bottom:#c0025b 2px solid;
}

.wikiFetch ul{
    padding-left:0px;
    list-style:none;
    margin-top: 0px;
    width: 80.4%;
}

.flexList {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    align-content: normal;
}

.flexElement {
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
}
.articleList {
    width:90%; 
    margin:auto;
    border:#c0025b 2px solid;
    border-radius:25px;
    overflow:auto;
    max-height: 400px;
}
.articleList div {
    background-color: #8829AA;
    width:200px;
    border:white 2px solid;
    margin:1%;
    padding:1%;
    text-align:center;
    cursor:pointer;
}

.articleList div:hover {
    background-color: white;
    width:200px;
    color: #8829AA;
    border:#8829AA 2px solid;
    margin:1%;
    padding:1%;
    text-align:center;
    cursor:pointer;
}

#galleryList {
    width:90%; 
    margin:auto;
    border:#c0025b 2px solid;
    border-radius:25px;
    overflow:auto;
    max-height: 400px;
    padding-bottom:25px;
}

sup {
    top: -.5em;
    position: relative;
    font-size: .75em;
    line-height: 0;
    vertical-align: baseline;
}

.warning {
    background-color: #c0025b;
    color:white;
    padding:1%;
    border-radius:5px;
    border: white 2px double;
    margin-bottom:15px;
}

/*
=====================
=                   =
=    Wiki Style     =
=                   =
=====================
*/

#wikiInfoSection{
    border:#8829AA solid 2px;
}
.wikiTable {
    width: 90%;
    margin:auto;
}
.wikiTable th{
    border-bottom: white 2px solid;
    border-right: white 2px solid;
    background-color: #c0025b;
}
.wikiTable th:first-child{
    border-left: white 2px solid;
}
.wikiTable tr:first-child th {
    border-top: white 2px solid;
}
.wikiTable td{
    border-bottom: #c0025b 2px solid;
    border-right: #c0025b 2px solid;
}
.wikiTable td:first-child{
    border-left: #c0025b 2px solid;
}

.wikiH1, .wikiH2, .wikiH3, .wikiH4 {
    border-bottom: solid #C0025B 2px;
}
.wikiH3, .wikiH4{
    width:fit-content;
    margin-top:10px;
    margin-bottom:10px;
}
.wikiH1 {
    font-size: 45px;
    margin-bottom:15px;
}
.wikiH2 {
    font-size: 40px;
    width: 50%;
}
.wikiH3 {
    font-size: 32px;
}
.wikiH4 {
    font-size: 30px;
}
.wikiStat {
    width:47%; 
    margin:auto;
    text-align:center;
    border:1px #8829AA solid;
}
.wikiStat:first-child{
    margin-bottom:5px;
}
.wikiStatTh {
    font-weight:bold;
    background-color:#C0025B;
    color:white;
    font-size: 25px;
}
.wikiStatTd {
    background-color:white;
    color:black;
}
.ArtworkReelElementOn, .ArtworkReelElementOff {
    font-weight:bold;
    display:inline-block;
    width:fit-content;
    padding:2%;
    cursor:pointer
}
.ArtworkReelElementOn {
    border-bottom : #8829AA 3px solid;
    color:#8829AA;
}
#wikiContentEditButton, #wikiInfoEditButton, #wikiInfoEditPlaceButton {
    position:relative;
    top:-50px;
    margin:auto;
    margin-right:0px;
    width:fit-content;
    font-weight: bold;
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
}
#wikiInfoEditButton, #wikiInfoEditPlaceButton {
    top : 40px;
    right:10px;
    background-color: #c0025b;
    border:white 2px double;
}
#wikiContentEditButton {
    background-color: #8829AA;
    border:white 2px double;
}
#wikiContentEditButton:hover {
    color:#8829AA;
    background-color: white;
    border:#8829AA 2px double;
}
#wikiInfoEditButton:hover, #wikiInfoEditPlaceButton:hover {
    color:#c0025b;
    background-color: white;
    border:#c0025b 2px double;
}
.wikiTextarea {    
    width: 90%;
    height: 800px;
    padding: 2%;
    margin: auto;
    display: block;
    background-color: rgba(136, 41, 170, 0.2);
    color: white;
    border: 3px solid #c0025b;
}
.wikiContentSave {
    margin: auto;
    width: 94%;
    display: block;
    background-color: #8829aa;
    border: white 2px solid;
    color: white;
    font-weight: bold;
    margin-top: 5px;
    cursor: pointer;
}
.wikiContentSave:hover {
    border: #8829aa 2px solid;
    background-color: white;
    color: #8829aa;
}

.characterModuleTitle{
    text-align:center;
    background-color:#8829AA;
    color:white;
    padding-top:25px;
    padding-bottom:25px;
    margin-top: unset;
    margin-bottom:0px;
}
.charModInfo {
    display: table;
    width:100%;
    padding-bottom: 15px;
}
.charModInfoRow {
    display: table-row;
    width: 100%;
}
.charModInfoRow div {
    display: table-cell;
}
.charModInfo .charModInfoRow {
    border-bottom:#8829AA solid 1px;
    padding:1%;
}
.charModInfo .charModInfoRow:last-child{
    border-bottom:unset;
}
.charModInfoTitle {
    padding:1%;
    overflow-wrap: anywhere;
    width:35%;
    font-weight:bold;
    vertical-align:top;
    padding-left:3%;
}
.charModInfoContent {
    padding:1%;
    vertical-align:top;
}
.charModInfoContent ul {
    list-style-type: circle;
    padding-left: 0px;
    margin-top:0px;
}
.wiki {
    width:80%;
    margin:auto;
    margin-top:20px;
    padding:2%;
    background-color: rgba(0,0,0,0.95);
    border: 2px solid #8829AA;
    color:white;
}

.charModuleInfoTextarea {
    resize:both;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: 3px solid #c0025b;
    height:100px;
}