/* reset browser styles */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, 
acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,small, strike, 
strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, 
legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, 
embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.2;
}
ol { 
  padding-left: 1.4em;
  list-style: decimal;
}
ul {
  padding-left: 1.4em;
  list-style: square;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
} 
/* ----- end reset ----- */

body {
  line-height: 1.2;
  background-color: white;
  font-family: Arial, sans-serif;
  color: black;
  margin-left: 5em; 
  margin-right: 5em;
  margin-top: 1em;
}

a:link {color: red; text-decoration: none;}
a:visited {color: purple; text-decoration: none;}
a:hover {color: darkorange;}
a:active {color : orange;}

p {
	font-family: Garamond, Palatino, Times, serif;
	font-size: 1em;
	max-width: 560px;
	margin: auto;
	text-align: center;
}

h1 {
	font-family: Garamond, Palatino, Times, serif;
	font-size: 2.5em;
	text-align: center;
}

h2 {
	font-family: Arial, sans-serif;
	font-weight: normal;
	font-size: .9em;
	max-width: 560px;
	margin: auto;
	margin-top: 1em;
	text-align: center;
}

q, blockquote { quotes: "\201C" "\201D" "\2018" "\2019"; }

cite { font-style: italic; color: lightslategray;}

div { padding: 10px  }

.controls {
	display: flex;
	justify-content: center;
	/* width: 80%;
	margin: auto; */
	padding: 10px;
}

button {
	font-size: 1em;
	font-weight: normal;
}

.lie {
  background: #ee3333;
  font-weight: normal;
  color: #fff;
}

.fib {
  background: #F39019;
  font-weight: normal;
  color: #fff;
}

.golf {
  background: yellow;
  font-weight: normal;
  color: slategray;
}

.playback {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

#play-button {
  background: lime;
  padding-left: 1em;
  padding-right: 1em;
  margin-left: 15px;
  font-weight: bold;
}

#stop-button {
/* background: slategray;
  color: slategray; */
  padding-left: 1em;
  padding-right: 1em;
  margin-left: 15px;
  margin-right: 15px;
  font-weight: normal;
}

#sliderBox { 
  color: slategray;
  font-size: .9em;
  //vertical-align: bottom;
  /* margin-right: 15px; */
}

footer {
	font-family: Arial, sans-serif;
	font-weight: normal;
	font-size: .9em;
	margin-top: 3em;
	text-align: center;
	max-width: 500px;
	margin: auto;
}

.footer { font-family: Arial, sans-serif; }

/*
adapted from jsfiddle.net, by Shajeer Marakkar
*/
a.tooltip {outline:none; }
a.tooltip strong {line-height:30px;}
a.tooltip:hover {text-decoration:none;} 
a.tooltip span {
    z-index:10;display:none; padding:10px 16px;
    margin-top:-30px; margin-left:15px;
    width:300px; line-height:16px;
    text-align: left;
}
a.tooltip span-high {
    z-index:10;display:none; padding:10px 16px;
    margin-top:-150px; margin-left:15px;
    width:300px; line-height:16px;
    text-align: left;
}
a.tooltip span-xtrahigh {
    z-index:10;display:none; padding:10px 16px;
    margin-top:-450px; margin-left:15px;
    width:300px; line-height:16px;
    text-align: left;
}
a.tooltip:hover span{
    display:inline; position:absolute; color:#111;
    border:1px solid #DCA; background:#fffAF0;}
.callout {z-index:20;position:absolute;top:30px;border:0;left:-2px;}
   
/*CSS3 extras*/
a.tooltip span
{
    border-radius:4px;
    box-shadow: 5px 5px 8px #CCC;
}

td .spnTooltip {
    z-index:10;display:none; padding:10px 16px;
    margin-top:-20px; margin-left:20px;
    width:300px; line-height:16px;
}
td:hover .spnTooltip{
    display:inline; position:absolute; color:#111;
    border:1px solid #DCA; background:#fffAF0;}
.callout {z-index:20;position:absolute;top:30px;border:0;left:-12px;}

/* 
stylesheet adapted from calendar, a pen by Miro Karilahti 
*/
#calendar {
  max-width: 760px;
  width: 85%;
  margin: 0 auto;
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;
}

#calendar caption {
  background: white;
  padding: 10px;
  margin-top: 15px;
  font-size: 100%;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: black;
  cursor: default;	/* regular arrow cursor */
}

#calendar table {
  display: inline; 
  width: 220px; 
  margin: 15px;
}

#calendar td {
  width: 15px;
  height: 15px;
  background: #fff;
  font-size: .9em;
  border: 2px solid #ddd;
  padding: 3px;
  cursor: pointer;  /* finger pointing cursor*/
  transition: background .3s;
  -webkit-transition: background .3s;
}

#calendar .lastmonth, #calendar .nextmonth, #calendar .nextmonth ~ *{
  background: white;
  color: white;	
  border-color: white;		/* #999 */
  cursor: default;
}

#calendar .preterm {
  background: white;
  font-weight: normal;
  color: white;
  cursor: default;
}

#calendar .lie {
  background: #ee3333;
  font-weight: normal;
  color: #ee3333;
}

#calendar .lie2 {
  background: #ee3333;
  font-weight: normal;
  color: #ee3333;
}

#calendar .lie3 {
  background: #ee3333;
  font-weight: normal;
  color: #ee3333;
}

#calendar .lie4 {
  background: #ee3333;
  font-weight: normal;
  color: #ee3333;
}

#calendar .lie:hover { color: #fff; }
#calendar .lie2:hover { color: #fff; }
#calendar .lie3:hover { color: #fff; }
#calendar .lie4:hover { color: #fff; }

#calendar .fib {
  background: #F39019;
  font-weight: normal;
  color: #F39019;
}

#calendar .fib:hover { color: #fff; }

#calendar .golf {
  background: yellow;
  font-weight: normal;
  color: yellow;
}

#calendar .golf:hover { color: gray; }

#calendar .clean {
  background: #eee;
  font-weight: normal;
  color: #eee;
}

#calendar .clean:hover { color: gray; }

#currentDate {   /* hmmm top & left border-color not working */
/* 
  background: chartreuse; */
  color: lightgreen !important;
  font-weight: bold !important;
  /* text-shadow:0 0 10px rgba(0,0,0,.5); 
  border-bottom-color: white !important;
  border-top-color: white !important;
  border-left-color: white !important;
  border-right-color: white !important; */
}

#currentDate:hover {
  color: #fff;
  font-weight: bold;
  text-shadow:0 0 10px rgba(0,0,0,.5);
}

/* 
#calendar tr: last-of-type td: first-of-type {border-radius: 0 0 0 5px;}
#calendar tr: last-of-type td: last-of-type {border-radius: 0 0 5px 0;}
 */