/* Layout */
body.hasky {
    display: flex;
    flex-direction: column;
    background: black;
    color: white;
    font-family: DejaVuSans;
    margin: 0px;
    min-height: 100vh;
}

.hasky header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hasky main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: middle;
    margin-bottom: auto;
}

.hasky footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid #666;
    margin-top: 1em;
    padding-top: 1em;
}

/* Default Elements */
.hasky h1 *,
.hasky h1 a:visited {
    font-family: BubblegumSans;
    color: #fff;
    text-decoration: none;
}
.hasky h1 i {
	/* smaller text to the right of the original text */
	font-size: 0.5em;
	position: absolute;
	margin-top: 0.5em;

	font-family: DejaVuSans;
	opacity: 50%;
}

.hasky a {
    color: #87ABE1;
}

.hasky a:hover {
    color: #487DC8;
}

.hasky a:visited {
    color: #AD99A7;
}

.hasky a:visited:hover {
    color: #87ABE1;
}

.hasky h3 a {
	color: #fff;
	text-decoration: none;
}.hasky h3 a:visited {
	color: #fff;
}.hasky h3 a:hover {
	color: #87ABE1;
}

.hasky ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em 1em;
    width: 100%;
}

.hasky ul li a,
.hasky ul li a:visited {
    display: block;
    padding: 0.25em 1em;
    color: #fff;
    background: #487DC8;
    border: 2px solid #fff;
    border-radius: 0.5em;
    font-family: BubblegumSans;
    font-size: 2em;
    text-decoration: none;
}

.hasky ul li a:hover,
.hasky ul li a:hover:visited {
    background: #000;
    color: #87ABE1;
}

.hasky sub {
    color: #999;
}

.hasky main {
    height: 100%;
}

.hasky form {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.hasky form input {
    width: 80%;
    height: 10vh;
    font-size: 2em;
    padding: 0em 2em;
}

.hasky .hidden {
	visibility: hidden;
}

/* Table Element */
.hasky table .show-more {
	display: none;
}
.hasky table .show-less {
	display: revert;
	cursor: pointer;
	color: #87ABE1;
	text-decoration: underline;
	text-align: center;
}.hasky table .show-less td {
	border: none!important;
}.hasky table .show-less:hover {
	color: #487DC8;
}
.hasky table .dataRow:last-child() td {
	border-bottom: none!important;
}

/* Table Collapsed */
.hasky table.collapsed tbody .dataRow {
	display: none;
}.hasky table.collapsed tbody .dataRow:nth-child(1) {
	display: revert;
}.hasky table.collapsed tbody .dataRow:nth-child(2) {
	display: revert;
}.hasky table.collapsed tbody .dataRow:nth-child(3) {
	display: revert;
}.hasky table.collapsed tbody .dataRow:nth-child(4) {
	display: revert;
}.hasky table.collapsed tbody .dataRow:nth-child(5) {
	display: revert;
}.hasky table.collapsed tbody .dataRow:nth-child(6) {
	display: revert;
}.hasky table.collapsed .show-more {
	display: revert;
	cursor: pointer;
	color: #87ABE1;
	text-decoration: underline;
	text-align: center;
}.hasky table.collapsed .show-more td {
	border: none!important;
}.hasky table.collapsed .show-more:hover {
	color: #487DC8;
}.hasky table.collapsed .show-less {
	display: none;
}

/* Special Elements */
.hasky .dialogue {
    display: inline-flex;
    border: 1px solid #fff;
    max-width: 900px;
    flex-basis: max-content;
}

.hasky .dialogue .message {
    padding: 0em 0em;
}

.hasky .dialogue .speaker {
    display: block;
    font-family: BubblegumSans;
    font-weight: bold;
    font-size: 1.25em;
    padding: 0.25em 0.55em;
    border-bottom: 1px solid #999;
    text-decoration: none;
}

.hasky .dialogue .speech {
    padding: 0.25em 0.75em;
}

.hasky .dialogue .speech>div {
    padding-bottom: 0.5em;
}

.hasky .slideshow {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    min-height: 100vh;
}

.hasky .slideshow #img_slide {
    margin: auto;
    display: block;
    max-width: 100%;
}

.hasky .slideshow .slide-actions {
    background: #000;
    display: flex;
    justify-content: space-evenly;
}

.hasky .slideshow .side-button {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    padding: 1em;
    background: #fff2;
    color: white;
    text-decoration: none;
    font-weight: bolder;
    cursor: pointer;
}

.hasky .slideshow .side-button:hover {
    background: #fff4;
}

.hasky .slideshow .side-button.disabled {
    cursor: not-allowed;
    opacity: 25%;
    background: #fff2;
}

.hasky .slideshow .page-number {
    text-align: center;
    padding: 0.5em;
    font-weight: bold;
}

.hasky .PagesPage {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Start: Pages / Page Data */
.hasky .PagesPage .pageData {
	max-width: 54em;
	width: 100%;
	background: #fff1;
	margin: 2em 0em;
	display: flex;
	flex-direction: column;
	align-items: center;
}.hasky .PagesPage .pageData > * {
	padding: 0em 2em 0em 2em;
}
.hasky .PagesPage .pageData table {
	margin: 1em 0em;
	table-layout: fixed;
	width: 100%;
}.hasky .PagesPage .pageData table td {
	width: 100%;
	overflow-x: clip;
	text-wrap: balance;
	overflow-wrap: break-word;
}
.hasky .PagesPage .pageData table * tr td:nth-child(1) {
	border-right: 1px solid white;
}
.hasky .PagesPage .pageData table * tr * {
	border-bottom: 1px solid grey;
}

/* End: Pages / Page Data */
.hasky .PagesPage .pageSections {
    max-width: 54em;
    width: 100%;
}

.hasky .PagesPage .pageSections .pageSectionFile {
    background: #fff1;
    padding: 0.1em 2em 2em 2em;
    margin: 1em 0em;
}

.hasky .PagesPage .pageSectionFile .folderPageIcon {
	width: 12em;
	max-height: 12em;
	margin: auto;
	display: block;
	padding-top: 1em;
}

.hasky .PagesPage .folderNavigation .folderListItem .folderLink .folderPageIcon {
	font-size: 0em;
	color: transparent;
}

.hasky .PagesPage .pageSections .pageSectionFile .pageSectionHeader {
    border-bottom-style: dotted;
    border-bottom-width: 1px;
    border-bottom-color: #fff7;
}

.hasky .PagesPage .pageSections .pageSectionFile .pageSectionContents {
	white-space: pre-line;
    white-space: break-spaces;
}

.hasky .PagesPage .pageSections .pageSectionFile .pageSectionContents h3 {
	margin: 0em;
}

.hasky .PagesPage .imageGallery {
    display: flex;
    flex-direction: row;
    align-items: center;
	max-width: 75vw;
	overflow-x: auto;
	overflow-y: auto;
}

.hasky .PagesPage .imageGallery .galleryImage {
    max-width: 250px;
    max-height: 250px;
}

.hasky .fileContents {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hasky .tableOfContents {
	text-align: center;
	max-width: 64em;
}
.tableOfContents a::after {
  content: " | ";
  text-decoration: none;
  color: #fff;
}

.hasky .PagesPage #searchForm {
	max-width: 32em;
	height: 4em;
}.hasky .PagesPage #searchForm input {
	font-size: 16px;
	touch-action: none;
}

.hasky .PagesPage #searchForm * {
	font-size: 1em;
	text-align: center;
	background: #111;
  	color: #fff;
}

.hasky form input:placeholder-shown {
   font-style: italic;
}

.hasky .PagesPage .folderNavigation .folderListItem .folderLink {
    display: table;
    width: 6em;
    height: 6em;
    overflow: clip;
    text-align: center;
}

.hasky .PagesPage .folderNavigation .folderListItem .folderLink * {
    /*background: red; todo*/
}

.hasky .PagesPage .folderNavigation .folderListItem .folderLink .folderPageIcon {
    vertical-align: middle;
    height: inherit;
}

.hasky .PagesPage .folderNavigation .folderListItem.no-icon .folderLink {
    height: fit-content;
    width: fit-content;
}

.hasky .PagesPage #folderNavigation {
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
}

.hasky .PagesPage .breadcrumbs {
	flex-wrap: nowrap;
	display: inline-flex;
	gap: revert;
}

.hasky .PagesPage .breadcrumbs .breadcrumb * {
  background-color: #fff0;
  border: none;
  border-right: 1px solid #ffff;
  color: #87ABE1;
  font-size: 1.5em;
}

.hasky .PagesPage .breadcrumbs .breadcrumb a:hover {
  color: #ffff;
  background-color: #fff2;
}

@media screen and (max-device-height: 56em) {
    .hasky .PagesPage #searchForm {
		height: 2em;
    }
	.hasky .PagesPage h1 {
		margin: 0.25em;
	}
	.hasky ul {
		margin: 0em;
	}
	.hasky ul li a {
		font-size: 1.5em;
	}
	.hasky .PagesPage .folderNavigation .folderListItem .folderLink {
		width: 4em;
		height: 5em;
	}
}

.hasky .pause {
	opacity: 90%;
}

/* Landing Page */
.hasky main > div.changelog {
    max-width: 640px;
}.hasky main>div.changelog h2 {
    text-align: center;
}

/* Fonts */
@font-face {
    font-family: BubblegumSans;
    src: url("/static/fonts/BubblegumSans-Regular.otf");
}

@font-face {
    font-family: DejaVuSans;
    src: url("/static/fonts/DejaVuSans.ttf");
}

/* Color */
/*
Main #fff
MainHighlight #ddd
Primary Blue #487DC8
PrimaryLighter Blue #87ABE1
Secondary Pink #DD39AC
SecondaryLighter Pink #AD99A7
Background Black #000
*/