body {
  font-size: 100%;
  font-family: Roboto, "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  background-color: white;
  margin: 0;
  padding: 0;
}



.page:not(.open) {
  display: none;
}



body > .template {
  display: none;
}



/* ------------------------------- Menü ---------------------------------- */

.menubar {
  position: relative;
  z-index: 2;
  display: block;
  color: white;
  background-color: black;
  height: 40px;
}

.menubar .select[open] {
  outline: 5000px solid rgba(0,0,0,0.2);
}

.menubar .select a,
.menubar .select button,
.menubar .select summary {
  padding: 11px 15px;
}

.menubar .select[open] summary {
  outline: none;
}

.menubar .select[open] div {
  border: 1px solid black;
  border-top: 0;
}

.menubar .select a,
.menubar .select button {
  color: black;
}

.menubar .select a:hover,
.menubar .select button:hover,
.menubar .select a:focus,
.menubar .select button:focus {
  background-color: silver;
}

.menubar .select .separator {
  border-top: 1px solid silver;
}



.menubar > button {
  font: inherit;
  color: white;
  background-color: transparent;
  text-align: left;
  padding: 11px 15px; 
  border: 0;
  margin: 0;
  cursor: pointer;
}



/* ------------------------------- Editor ---------------------------------- */

.editor {
  font-size: 0.9em;
  font-family: Consolas, Monaco, Menlo, Courier, serif;
  line-height: 1.4;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 40px;
  width: 100%;
  height: 94%;
  height: -webkit-calc(100% - 40px);
  height: calc(100% - 40px);
  box-sizing: border-box;
  padding: 15px;
  border: none;
  resize: none;
  margin: 0;
}
.editor:focus {
  outline: none;
}


/* ------------------------------- Preview ---------------------------------- */

.preview {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 40px;
  width: 100%;
  height: 94%;
  height: -webkit-calc(100% - 40px);
  height: calc(100% - 40px);
  box-sizing: border-box;
  padding: 0;
  border: none;
  margin: 0;
}


/* --------------------------- Element-Menüs -------------------------------- */

[data-filetype] .element-select {
  display: none;
}

[data-filetype="htm-txt"] .element-select.htm-txt-select,
[data-filetype="css-txt"] .element-select.htm-txt-select,
[data-filetype="htm"] .element-select.htm-select,
[data-filetype="js"] .element-select.js-select,
[data-filetype="css"] .element-select.css-select {
  display: inline-block;
}


.element-select div {
  font-family: Consolas, Monaco, Menlo, Courier, serif;
}


/* ---------------------------- Blitz-Message ---------------------------------- */


.blitz-message {
  font-family: Roboto, "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  font-size: 5em;
  font-weight: bold;
  text-align: center;
  text-shadow: 5px 5px 15px black;
  color: white;
  background-color: rgba(0,0,0,0.5);
  position: fixed;
  z-index: 3;
  top: 45%;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  box-sizing: border-box;
  outline: 5000px solid rgba(0,0,0,0.5);
  opacity: 0;
  -webkit-transition: opacity 250ms;
  transition: opacity 250ms;
}
.blitz-message.fade-in {
  opacity: 1;
}




/* ---------------------------- Normalizer ---------------------------------- */

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  -webkit-font-variant-ligatures: no-common-ligatures; /* verhindert im Safari Fehler bei bedingten Trennstrichen nach Ligaturen, z.B. ft in Gemeinschafts-praxis */
  font-variant-ligatures: no-common-ligatures; /* neuerdings funktioniert nur noch die prefixlose Variante */
}

button { overflow: visible; } /* `overflow` set to `hidden` in MSIE 8-11 */

button::-moz-focus-inner, /* Remove inner padding and border in Firefox 4+ */
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea { overflow: auto; } /* Remove default vertical scrollbar in MSIE 8-11. */

[hidden] { display: none; }



