/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * 1. Show the overflow in Edge and IE.
 */

hr {
  overflow: visible; /* 1 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b, strong {
  font-weight: bolder;
}

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button, input, select, textarea {
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/* Color->black because iOS 15 pulled a sneaky and changed the default to blue */
button, select {
  color: black;
}

button:disabled {
  color: rgba(0,0,0,0.4);
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button, input {
  overflow: visible;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
  height: auto;
}

html {
  font-family: Fira Sans, Georgia;
}

html, body {
  margin: 0;
}

body.wait {
  opacity: 0.5 !important;
  cursor: wait !important;
}

body.wait * {
  pointer-events: none !important;
  user-select: none !important;
}

* {
  box-sizing: border-box;
}

input, select,  textarea, button {
  font-family: inherit;
}

input[type="checkbox"], input[type="radio"] {
  vertical-align: middle;
}

input:invalid {
  box-shadow: none;
}

button:enabled {
  cursor: pointer;
}

button:disabled {
  pointer-events: none;
}

label {
  vertical-align: middle;
}

h1, h2, h3, h4, h5 {
  margin: 10px 0;
  text-align: center;
}

hr {
  clear: left;
}

a {
  outline: none;
}

table {
  border-collapse: collapse;
}

.content {
  max-width: 800px;
  margin: auto;
  padding: 4px;
}

.content .segment {
  border: 1px solid darkgrey;
  margin: 3px 0;
  padding: 7px;
}

.icon {
  position: absolute;
  font-size: 32px;
  border: none;
}

.icon:enabled {
  cursor: pointer;
}

.split {
  display: inline-block;
  width: 50%;
}

.notify {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 210px;
  border-radius: 5px;
  z-index: 11;
  overflow: hidden;
}

.notify .good {
  background-color: lime;
}

.notify .bad {
  background-color: red;
}

.notify .warn {;
  background-color: #fecc00;
}

.notify p {
  display: none;
  color: #555555;
  margin: 0;
  padding: 5px 5px 6px;
}

.notify hr {
  visibility: hidden;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  width: 100%;
  transition: none;
  border-radius: 4px;
  border: 2px solid black;
  opacity: 0.15;
}

.notify .visible {
  display: block;
}

.notify .visible ~ hr {
  visibility: visible;
  transition: 7s linear;
  width: 4px;
}

.tooltip {
  visibility: hidden;
  position: relative;
}

.tooltiptext {
  display: block;
  width: max-content;
  visibility: hidden;
  background-color: grey;
  text-align: center;
  border-radius: 6px;
  padding: 5px 20px;

  position: absolute;
  z-index: 2;
  top: -4px;
  margin: 0;
  right: 26px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.tooltiptext:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border: 5px solid;
  border-color: transparent transparent transparent grey;
}

