
/* fonts */

body, h1, h2, h3, h4, h5, h6  {
	font-family: Roboto, sans-serif;
}

code, pre {
	font-family: "Roboto Mono", "Source Code Pro", monospace;
	font-weight: 500;
	color: #aa0000;
}

body {
	font-size: 20px;
	/* text-align: justify; */
	hyphens: auto;
	-ms-hyphens: auto;
	-webkit-hyphens: auto;
}

/* character styles (but only in the main text) */

.w3-main b {
	font-weight: 700;
	color: #400;
}

.w3-main b.brightred {
	font-weight: 700;
	color: #d00;
}

.w3-main b.dammit {
	color: #800;
	background-color: #ffd;
	font-weight: bolder;
}

.w3-main a:link {
	color: #008;
	background-color: #f8f8ff;
	text-decoration: none;
/*	border-bottom: 1px dotted #88a;*/
}

.w3-main a:visited {
	color: #606;
	background-color: #fff8ff;
	text-decoration: none;
/*	border-bottom: 1px dotted #b8b;*/
}

.w3-main a:hover {
	color: #800;
	background-color: #fee;
	border: 1px dotted #400;
/*	text-decoration: none;*/
}

.w3-main a:active {
	color: #800;
}

h4 {
	font-weight: bolder;
}

/* margins */

div.w3-main {
	max-width: 50em;
	margin: 0 auto !important;
}

/* header formatting */

h1 {
	margin-top: 1em;
	margin-bottom: 0.5em;
	text-align: center;
	font-weight: bold;
	color: #800;
	text-shadow: 3px 3px 5px #ccc
}

h2 {
	margin-top: 1em;
	text-align: center;
	font-weight: bold;
	font-size:125%
	text-shadow: 2px 2px 3px #ccc
}

h3 {
	margin-top: 1em;
	text-align: center;
	font-weight: bold;
	text-shadow: 2px 2px 3px #ccc
}

h4 {
	margin: 2ex 0ex;
	text-shadow: 1px 1px 2px #ccc
}

/* unordered lists */

ul {
	margin: 2ex 0ex;
	padding-left: 2em;
}

ul ul {
	list-style-type: "▹";
}

ul ul li {
	padding-left: 0.4em;
}

ol ul {
	list-style-type: disc;
}

ol ul ul {
	list-style-type: "▹";
}

ol ul ul li {
	padding-left: 0.4em;
}

/* used in <dd>; align first line of text with <dt>; less indentation */
ul.announce {
	margin-top: -1ex;
	margin-bottom: -1ex;
	padding-left: 1em;
}

ul.announce-tight {
	padding-left: 1em;
}

/* smaller top and bottom margins; less space between items */
ul.compact {
	margin: 1ex 0ex;
	padding-left: 2em;
}

/* zero top and bottom margins; less indentation */
ul.tight {
	margin: 0ex 0ex;
	padding-left: 1em;
}

ul li {
	margin: 1ex 0ex;
	padding-top: 0;
	padding-bottom: 0;
	/* text-align: justify; */
	hyphens: auto;
}

ul li.lookitme {
	margin: 1ex 0ex;
	padding-top: 0;
	padding-bottom: 0;
	background-color: #ffd;
	/* text-align: justify; */
	hyphens: auto;
}

ul.compact li {
	margin: 0ex 0ex;
	padding-top: 0;
	padding-bottom: 0;
	/* text-align: justify; */
	hyphens: auto;
}

ul.tight li {
	margin: 0ex 0ex;
	padding-top: 0;
	padding-bottom: 0;
	/* text-align: justify; */
	hyphens: auto;
}


/* description lists (for announcements, schedule, etc.)  */

dt {
	display: block;
	float: left;
	clear: left;
	width: 6.5em;					/* width of “Wed May 24” */ 
	padding: 0.5ex 0.5em 0 0.5em;
	text-align: right;
	font-weight: bold;
	hyphens: auto;
}

dl.calendar dt {
	font-weight: normal;
	color: #888
}

dl.wide dt {
	padding: 0.5ex 0.5em 0 0.5em;
	width: 8em; 
}

dt.today {
	background-color: #fdd;
}

dd {
	display: block;
	margin: 0 0 0 6.75em;
	padding: 0.5ex 0.5em;
	border-left: 1px solid #008;
	/* text-align: justify; */
	hyphens: auto;
}

dl.wide dd {
	margin: 0 0 0 8.25em;
}

dd.today {
	background-color: #fdd;
}


@media screen and (max-width: 600px) {
	dt {
		width: 100%; 
		padding-top: 0.5ex;
		padding-left: 0em;
		float: none;
		clear: none;
		text-align: left;
	}
	dl.wide dt {
		width: 100%; 
		padding-top: 1ex;
		padding-left: 0em;
		float: none;
		clear: none;
		text-align: left;
	}
	dd {
		margin-left: 2em;
	}
	dl.wide dd {
		margin-left: 2em;
	}
}


/* tables */

td {
	hyphens: none
}

/* horizontal rule (from https://css-tricks.com/examples/hrs/) */

hr {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

/* tooltip-style "footnotes" */

.tooltip {
	position: relative;
	display: inline-block;
	border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
	visibility: hidden;
	width: max-content; 
	max-width: 25em;
  	color: black;
	font-size: 90%;
  	text-align: center;
  	border-radius: 9px;
  	padding: 5px 5px;
  	
  	/* Position the tooltip */
	position: absolute;
	z-index: 1;
  	top: 100%;
  	left: 10%;
}

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

