textarea {
  width: 600px;
  height: 50px;
}

/* Use a font that displays IPA phonetic symbols well. */
@font-face {
  font-family: ArielUnicodeMS;
  /* src: url(Arial-Unicode-MS.ttf) format(truetype); */
}

body {
  font-family: ArielUnicodeMS;
  /* background-color: #636362; */
  /* background-color: #70706f; */
  background-color: lightgrey;
  max-width: 100%;
  overflow-x: hidden;
}

.phonetic {
  font-family: ArielUnicodeMS;
}

.debug-hyphen {
  color: #ff0000;
  /* background-color: #fc0; */
}

th, td {
  text-align: center;
}

th, td {
  padding-left: 1em;
  padding-right: 1em;
}

.wordtable {
  border-collapse: collapse;
  width: 100%;
}

.wordtable th, .wordtable td {
  border-bottom: 1px solid black;
}

/* Navigation Bar */
/* Add a black background color to the top navigation */
.navbar {
  background-color: #333;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  background-color: #333;
}

.navbar.submenu a {
  padding: 10px 12px;
  font-size: 12px;
  color: #f2f2f2;
  background-color: #333;
}

/* Change the color of links on hover */
.navbar a:hover {
/* .navbar a:hover, .navbar.submenu a:hover { */
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.navbar a.active {
/* .navbar a.active, .navbar.submenu a.active { */
  background-color: #04AA6D;
  color: white;
}

/* Hide the link that should open and close the navbar on small screens */
.navbar .icon {
  display: none;
}

.navbar .debug_status {
  float: right;
  color: #04AA6D;
  font-size: 18px;
  padding: 14px 16px;
}

/* Coloured Status Boxes */
.error {
	color: #000000;
	/* background: #ffe4e3 url(style/error.png) center no-repeat; */
  background: #ffe4e3 url(icon-error.png) center no-repeat;
	background-position: 15px 50%; /* x-pos y-pos */
	text-align: left;
	padding: 10px 20px 10px 60px;
	border: 2px solid #e37e79;
	width: 50%;
	margin: auto;	/* this centers the whole box	*/
}

.warning {
	color: #000000;
	/* background: #fff6bf url(style/warning.png) center no-repeat; */
  background: #fff6bf url(icon-warning.png) center no-repeat;
	background-position: 15px 50%; /* x-pos y-pos */
	text-align: left;
	padding: 10px 20px 10px 60px;
	border: 2px solid #ffd324;
	width: 50%;
	margin: auto;
}

.success {
	color: #000000;
	/* background: #e0ffd3 url(style/success.png) center no-repeat; */
  background: #e0ffd3 url(icon-success.png) center no-repeat;
	background-position: 15px 50%; /* x-pos y-pos */
	text-align: left;
	padding: 10px 20px 10px 60px;
	border: 2px solid #88d66b;
	width: 50%;
	margin: auto;
}

.information {
	color: #000000;
	/* background: #e3f1ff url(style/information.png) center no-repeat; */
  background: #e3f1ff url(icon-information.png) center no-repeat;
	background-position: 15px 50%; /* x-pos y-pos */
	text-align: left;
  padding: 10px 20px 10px 60px;
	border: 2px solid #79a6d3;
	width: 50%;
	margin: auto;
}

.debug {
	color: #000000;
	/* background: #e3f1ff url(style/information.png) center no-repeat; */
  background: #e3f1ff url(icon-debug.png) center no-repeat;
  background-position: 15px 5px; /* x-pos y-pos */
	text-align: left;
  padding: 10px 20px 10px 60px;
	border: 2px solid #79a6d3;
  width: 80%;
	margin: auto;
}


/* Collapsible Elements */
/* input[type='checkbox'][name='collapsible'] { */
input[type='checkbox'][class='collapse-toggle'] {
/* wrap-collabsible input[type='checkbox'] { */
  display: none;
}

.lbl-toggle {
  display: block;

  font-weight: bold;
  font-family: monospace;
  font-size: 1.2rem;
  text-transform: uppercase;
  text-align: center;

  padding: 1rem;

  /* inherit the colour of the debug box we get wrapped in */
  /* color: #A77B0E;
  background: #FAE042; */


  cursor: pointer;

  border-radius: 7px;
  transition: all 0.25s ease-out;
}

.lbl-toggle:hover {
  color: #7C5A0B;
}

.lbl-toggle::before {
  content: ' ';
  display: inline-block;

  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid currentColor;

  vertical-align: middle;
  margin-right: .7rem;
  transform: translateY(-2px);

  transition: transform .2s ease-out;
}

.collapsible-content .content-inner {
  /* background: rgba(250, 224, 66, .2); */
  /* border-bottom: 1px solid rgba(250, 224, 66, .45); */

  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  padding: .5rem 1rem;
}

.collapsible-content {
  max-height: 0px;
  overflow: hidden;

  transition: max-height .25s ease-in-out;
  --scrollbar-color: #79a6d3
}

.collapse-toggle:checked + .lbl-toggle + .collapsible-content {
  max-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.collapsible-content::-webkit-scrollbar {
  background-color: #e3f1ff;
}

.collapsible-content::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-color);
}

.collapse-toggle:checked + .lbl-toggle::before {
  transform: rotate(90deg) translateX(-3px);
}

.collapse-toggle:checked + .lbl-toggle {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}


/* General Layout */
.clear {
	font-size: 1px;
	height: 1px;
	clear: both;
}
