* {
    box-sizing: border-box;
}

body {
	/*position: relative;*/
	top:0;
	left: 0;
	width: calc(100% - 10em);
	min-width: 1024px;
	padding: 2em 3em;
	background-color: #e9d8fd;
	font-size: 17px;
	line-height: 1.3;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
}

a {
	color:magenta;
}
a:visited {
	color:magenta;
}
a[href^="../"] {
	visibility: hidden;
}
a[href^="../"]::before {
	visibility: visible;
	content: "← BACK";
	font-size: 12pt;
	color: white;
	font-family: monospace;
	position: fixed;
	background-color: magenta;
	width: 100%;
	top: 0;
	left: 0;
	padding: 0.35em;
}
.dir > a {
	color:#ff1a75;
}
.dir > a:visited {
	color:#ff1a75;
}

/* MAIN THINGS */
.footnotes {
	font-size:14px;
	color:#222;
}
.filename,
figcaption{
	display: block;
	font-size: 13px;
	margin-top:1em;
}
div.html {
	width:50%;
	margin-bottom: 5em;
	margin-right:5%;
}
pre{
	white-space: pre-wrap;
}

div.pdf{
	width:40%;
	margin-right:5%;
	height: 800px;
}
div.pdf object.pdf{
		width:100%;
		height: 90%;
}
img{
	width:90%;
}

/*PLAIN DIV*/
.plain::before {
	display: block;
	width: 150px;
	content:"Other files: ";
	padding-bottom:1em;

}

.plain > a {
	color:magenta;
	display:block;
	word-wrap:break-word;

}
.plain{
	position: absolute;
    top:10em;
    right:2em;
    width:255px;
    padding-left:7%;
    font-size:13px;
    color:#333;
}

/* MENU*/
div.dir{
	background-color: white;
	border-top: 3px solid black;
	border-bottom: 3px solid #ff1a75;
	border-radius: 14px;
	float: left;
	display: block;
	margin: calc(1em - 3px) 0;
	padding:1em;
	color:#ff1a75;
	font-size:16px;
}
#menuBar {
	margin-bottom:5%;
	width:95%;
	min-width: 900px;
}
img.logo{
	width: 100px;
	height: auto;
}
em.moddate{
	font-size: 8pt;
	margin-top:3em;
}
h2#colophon{
	page-break-before: always;
}

/* HOME PAGE */
#WELCOME.html{
	color:magenta;
}

/* BIBLIOTECHA */
.bibliotecha {
	background-color: lemonchiffon !important;
}

/*HOMEBREWSERVER.CLUB*/
.homebrewserver {
	background-color: peachpuff !important;
}

.homebrewserver .toc, .homebrewserver #forkongithub, header#banner {display:none;}

.homebrewserver .entry-title{
	font-size:27px;
	font-weight: bold;
}

.homebrewserver h2{
	font-size:20px;
}

/* RELEARN */
.relearn {
	background-color: powderblue !important;
}
.relearn .printimg{
	display: none;
}
.pad {
	position: relative;
	display: block;
	margin-top: 5em;
}
.pad + hr{
	display: none;
}
#nooo\.relearn\.call\.for\.tracks a:after{
	content: "";
}
#nooo\.relearn\.call\.for\.tracks a.footnote{
	display: none;
}
.relearn iframe{
	display: block;
	width: 100%;
	height: 500px;
	margin:1em 0;
	background-color: white;
	border:0;
}

@media (max-width: 767px) {

  body {
    min-width: 100%;
    padding: 1em;
    margin: 0;
  }

  #menuBar {
    width: 100%;
    min-width: auto;
    float: none;
  }

  #folder {
    width: 100%;
    margin: 0.2em 0;
  }

  .plain {
    display: none;
  }

  div.html {
    width: 100%;
    margin-right: 0;
    margin-bottom: 2em;
  }

  div.pdf {
    display: none;
  }

  img {
    width: 100%;
  }

}
