@charset "UTF-8";
/* CSS Document */

/* global colors */
:root {
	--bg-color: rgba(100,100,100,0.15);
	--text-color: rgba(48,70,0,1.00);
	--title-color: rgba(166,87,0,1.00);
	--def-color: rgba(237,61,0,1.00);
	--pro-color: rgba(80,56,105,1.00);
}

body {
	padding: 0em 2em 2em 2em;
	background-color: var(--bg-color);
}

h1, h2 {
	font-weight: normal;
	font-size: 3em;
	text-align: center;
	color: var(--title-color);
}

h2 {
	font-weight: normal;
	font-size: 2em;
	text-align: left;
	color: var(--title-color);
}

p.hwDir {
	padding-top: 18px;
	color: var(--title-color);
}
p.hwDirYear {
  padding-top: 36px;
  font-weight: bold;
  color: var(--title-color);
  border-bottom: 2px dotted var(--title-color);
}
p.hwFile {
	color: var(--text-color);
  margin-bottom: 0;
	padding: 0px 0px 0px 12px;
}

p {
	font-size: 1.8em;
	line-height: 1.8em;
	color: var(--text-color);
}

p.sub1 {
	color: var(--title-color);
}

/* add underline to show word has a popup definition */
div.thai > p > strong {
  font-weight: normal;
  position: relative;
  display: inline-block;
  border-bottom: 2px dotted var(--title-color);
  line-height: 1.3em;
}

div.thai > p.sub1 > strong {
	border-bottom: 2px dotted var(--text-color);
}

/* definition bubble for text in em tag */
div.thai > p > strong > em {
  font-size: .6em;
  font-style: normal;
  font-weight: normal;
  line-height: 1em;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s;
  background-color: var(--def-color);
  color: #fff;
  text-align: center;
  border-radius: 12px;
  padding: 6px 8px 8px 8px;
  position: absolute;
  z-index: 1;
  top: 100%;
  width: calc(100% - 15px);
	left: 50%;
  margin-left: -50%;
	display: table; /* force width to fit content */
}

/* definition bubble arrow */
div.thai > p > strong > em:after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent var(--def-color) transparent;
}

div.thai > p > strong:hover {
  border-bottom: none;
}

div.thai > p > strong:hover > em {
	visibility: visible;
	opacity: 1;
}

/* pronunciation bubble for text within u tag */
div.thai > p > strong > u {
  font-size: .6em;
  text-decoration: none;
  line-height: 1em;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.5s;
  background-color: var(--pro-color);
  color: #fff;
  text-align: center;
  border-radius: 12px;
  padding: 8px 6px 7px 6px;
  position: absolute;
  z-index: 2;
  bottom: 100%;
  width: calc(100% - 15px);
	left: 50%;
  margin-left: -50%;
	display: table; /* force width to fit content */
}

/* pronunciation bubble arrow */
div.thai > p > strong > u:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--pro-color) transparent transparent transparent;
}
div.thai > p > strong:active > u {
	visibility: visible;
	opacity: 1;
}

p.bullet {
	line-height: 1.4em;
}

p.bullet s {
	text-decoration: none;
	color: var(--title-color);
}

div.fileList p {
	margin: 0px;
}

div.fileList p a {
	text-decoration: none;
	color: var(--text-color);
}

p.essay b {
	font-weight: normal;
	color: #ff3714;
}