@import url("header-bar.css");
@import url("login.css");
@import url("https://fonts.googleapis.com/css?family=Ubuntu+Mono|Staatliches|Encode+Sans+Condensed:500|Muli:900");


html {
	min-height: 100%;
	position: relative;

	overflow-x: hidden;
}

body {
	background-color: #dedecd;
	font-family: 'Encode Sans Condensed', sans-serif;
	font-size: 1.3em;
	margin: 0;
}

.pageContainer {
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Muli', sans-serif;
	text-align: center;
	margin-block-start: 0;
	margin-block-end: 1rem;
}

a {
	color: #8a5959;
	text-decoration: underline;
	cursor: pointer;
}
a:hover {
	color: #730000;
}
a:active {
	color: #d28383;
}

p {
	word-break: break-word;
	margin-top: .3em;
	margin-bottom: .5em;
	margin-left: auto;
	margin-right: auto;
	max-width: 40em;
}
ul, ol {
	margin-left: auto;
	margin-right: auto;
	max-width: 40em;
}

#mainContent, .mainContent {
	margin-left: auto;
	margin-right: auto;
	width: fit-content;
	background-color: #d6d1c0;
	padding: 2em;
	padding-top: 2.5em;
	border-radius: 2em;
	box-shadow: 5px 5px 40px rgba(0, 0, 0, 0.16);
	border: .2em solid #ab9b8a;
	margin-bottom: 4rem;
	position: relative;
}

.pageContainer {
	margin-left: 5em;
	margin-right: 5em;
}

#editArticleFrame {
	position: relative;
}

.editArticleContainer {
	display: inline-block;
	position: absolute;
	left: 1em;
	z-index: 2;
	width: 800px !important;
}

#previewContent {
	display: inline-block;
	position: absolute;
	right: 1em;
	z-index: 1;
	margin-left: 15em;
}

#relativeContainer {
	position: relative;
	height: 100%;
}

table {
	border-collapse: collapse;
	width: 100%;
	max-width: 800px;
}

tr:nth-child(even) {
	background-color: #ccc5ae;
}

td {
	border-top: 1px solid #ab9b8a;
	border-bottom: 1px solid #ab9b8a;
	padding-left: 1em;
	padding-right: 1em;
}

th {
	text-align: left;
	padding-left: 1em;
	padding-right: 1em;
}

.code {
	background-color: #4c525f;
	color: #d6b38a;
	border-radius: 0.2em;
	font-family: 'Ubuntu Mono', monospace;
	display: inline-block;
	line-height: 1.25;
}

:not(.pre) > .code {
	padding-left: .2em;
	padding-right: .2em;
	padding-bottom: .1em;
}

.pre {
	white-space: pre-wrap;
	background-color: #4c525f;
	border-radius: 0.2em;
	padding: .4em;
	display: block;
	margin-top: .5em;
	margin-bottom: .5em;
	margin-left: auto;
	margin-right: auto;
	max-width: 40em;
}

.pre > .code > .number, .pre > .code > .boolean {
	color: #9292d0;
}

.pre > .code > .string {
	color: #b4c0e4;
}
.pre > .code > .functionName {
	color: #7caf7c;
}
.pre > .code > .comment {
	color: grey;
}
.pre > .code > .keyword {
	color: #d27a8e;
}
.pre > .code > .word {
	color: #b3b3b3;
}

.pre a {
	color: unset;
	text-decoration: none;
	border-bottom: .1em dashed;
	vertical-align: text-top;
    position: relative;
    top: -.02em;
}
.pre a:hover {
	border-bottom: .1em solid;
}

blockquote {
	font-style: italic;
	background-color: #a79e8d;
	color: #4c525f;
	padding-left: 1em;
	padding-right: 1em;
	padding-top: .25em;
	padding-bottom: .25em;
	border-radius: 0.5em;
	margin-left: auto;
	margin-right: auto;
	max-width: 40em;
}

blockquote .code, .foldoutHintContent .code {
	font-style: normal;
	margin-left: .05em;
}

blockquote p {
	margin: 0;
	padding: 0;
}

blockquote em {
	font-weight: bold;
}

em {
    margin-right: .1em;
    margin-left: -.05em;
}

hr {
	border: 1px solid rgba(0,0,0,.25);
	margin-left: auto;
	margin-right: auto;
	max-width: 40em;
}

.noDisplay {
	display: none !important;
}

.center {
	display: block;
	margin: 0 auto;
	width: fit-content;
	text-align: center;
}

.demoHolder iframe {
	border: none;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin: 0;
	padding: 0;
}

.demoHolder {
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	padding-top: 8px;
	width: 528px;
	height: 528px;
	background-color: #4c4235;
	text-align: center;
	color: #ffffff;
	position: relative;

	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	user-select: none;          /* Likely future */ 
}

.demoHolderPrelaunch:hover {
	background-color: #6f6251;
	cursor: pointer;
}

.loadingDemo {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: rgba(0,0,0,.5);
}

.demoContainer {
	background-color: #000000;
}

.slideshowHolder {
	background-color: #c3bba0;
    margin-left: auto;
    margin-right: auto;
    padding: .5em;
	border-radius: 1em;
	max-width: 1250px;
	vertical-align: top;
	display: table;
}

.slideshowTop {
	position: relative;
	display: table-cell;
	width: 700px;
}

.slideshowCaptions {
	color: #69553f;
	width: 500px;
	text-align: left;
	vertical-align: middle;
	display: table-cell;
	padding-left: 1em;
	padding-right: 1em;
	background-color: #d0cab6;
    border-radius: 1em;
}

.captionPlaceholder {
	color: #69553fa0;
}

@media (max-width: 1500px) {
	.slideshowCaptions {
		display: table-footer-group;
		background-color: unset;
		width: unset;
	}
}

.slideshowPrev, .slideshowNext {
	position: absolute;
	top: 45%;
	font-size: 3em;
	color: #fffedb;
	cursor: pointer;
	background-color: #4c4235;
	border-radius: .5em;
	padding: .2em;

	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	user-select: none;          /* Likely future */ 
}

.slideshowPrev:hover, .slideshowNext:hover {
	color: white;
	background-color: #6f6251;
}
.slideshowPrev:active, .slideshowNext:active {
	color: white;
	background-color: #c3bba0;
}

.slideshowPrev {
	left: 0.2em;
}

.slideshowNext {
	right: 0.2em;
}

.slideshowStatus {
	color: #69553f;
	font-size: 1.5em;
	text-align: center;
}

.slideshowNext, .slideshowPrev, .slideshowStatus {
	opacity: 0;
	transition: opacity 1s ease-out, padding 1s ease-out;
	-webkit-transition: opacity 1s ease-out, padding 1s ease-out;
	overflow: hidden;
	user-select: none;
}

.code .fas, .code .far, .code .fab, .code .fal {
	vertical-align: text-bottom;
}

.foldoutHint {
	display: table;
	margin-top: .3em;
	margin-bottom: .3em;
	margin-left: auto;
	margin-right: auto;
}

.foldoutHintButton {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	font-weight: bold;
	background-color: #b3a392;
	color: #5d5045;
	border-radius: .2em;
	word-break: initial;
	cursor: pointer;
	padding: .2em;

	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	user-select: none;          /* Likely future */ 
}
.foldoutHintButton:hover {
	background-color: #9c8770;
}
.foldoutHintButton:active {
    background-color: #efe6ca;
    color: #847b58;
}

.foldoutHintContent {
	display: none;
    padding: .5em;
    background-color: #cac4af;
    font-style: italic;
	color: #6b5e51;
	vertical-align: middle;
}

#donateContainer {
	width: 500px;
    background-color: #d0c6b1;
    border-radius: 2em;
    border: .2em solid #ab9b8a;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1em;
    padding-right: 1em;
    font-size: .9em;
}

#helpButton {
	text-align: center;
    position: absolute;
    top: 0px;
    right: -4.4em;
    width: 2em;
    background-color: #cac3ad;
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;
    border: .2em solid #ab9b8a;
	padding: 1em;
	margin-top: 2em;
	text-decoration: none;
}

#helpButton:hover {
	background-color: #d0b49c;
}
#helpButton:active {
	background-color: #ece4da;
}

#helpButton i {
	padding-right: .2em;
}

.backButton {
    position: absolute;
    top: .4em;
    left: .4em;
    font-size: 1.7em;
    text-decoration: none;
    color: #ab9b8a;
}

.donateButton {
    margin: .5em;
    font-size: 1.25em;
    padding: .5em;
    border-radius: .3em;
    cursor: pointer;
    background-color: #90b395;
    text-decoration: none;
    display: inline-block;
    color: #caefbf;
}

.donateButton:hover {
	background-color: #c6deaf;
}

.donateButton:active {
	background-color: white;
}