@page {margin: 0.4cm}

/* Progress meter on bottom instead of top */
p.progress {top: auto; bottom: 0; color: #468; font-size: 35%}
p.progress a {vertical-align: middle}
p.progress a.part {font-size: 140%}

.illustration, .illustration2 {width: 30%}
.illustration {float: right; margin: 0 0 0.2em 1em; text-align: right}
.illustration2 {float: left; margin: 0 1em 0.2em 0}

img, object {max-width: 100%}

.figure {text-align: center; margin: 1.2em 1em; font-style: italic}
.figure img {max-height: 11em}
.figure object {height: 11em}
.figure em {font-style: normal}
.figure p {margin: 0}

table {border-collapse: collapse; font-size: smaller}
td, th {border: 2px solid silver; text-align: center; padding: 0 0.2em}
th:empty {border: none}
/* tr {vertical-align: baseline} */

/*
table.description {font-size; inherit; border: hidden}
table.description td, table.description th {text-align: left; border: none;
  vertical-align: baseline; padding: 0.25em 0 0.25em 1em}
table.description td:first-child,
table.description th:first-child {padding-left: 0}
table.description tr {border-bottom: 2px solid silver}
table.description thead {display: none}
*/

/*
table.comparison td, table.comparison th {border: none; padding: 0.3em 0;
  text-align: right}
table.comparison td + td, table.comparison th + th {text-align: left}
table.comparison td:nth-child(2),
table.comparison th:nth-child(2) {color: #005A9C; text-align: center;
  padding: 0.3em 1em}
*/

/*
table.extensive {font-size: 70%}
*/

/*
table.bare td, table.bare th {border: none; padding: 0; text-align: left}
*/

.me {font-family: "Handwriting - Dakota", Brush Script Std,
  Brush Script MT, cursive;
  background: url(highlighter.png) 100% 50% repeat-x}

/*
.incomplete {margin-left: 0}
.incomplete li {display: inline; margin: 0; padding: 0}
.incomplete li:before {content: " • "}
.incomplete > *:nth-child(1) {font-size: 1em}
.incomplete > *:nth-child(2) {font-size: .9em}
.incomplete > *:nth-child(3) {font-size: .81em}
.incomplete > *:nth-child(4) {font-size: .729em}
.incomplete > *:nth-child(5) {font-size: .6561em}
.incomplete > *:nth-child(6) {font-size: .59049em}
.incomplete > *:nth-child(7) {font-size: .531441em}
.incomplete > *:nth-child(8),
.incomplete > *:nth-child(8) ~ * {font-size: .4782969em}
.incomplete > *:nth-child(9) {opacity: .9}
.incomplete > *:nth-child(10) {opacity: .81}
.incomplete > *:nth-child(11) {opacity: .729}
.incomplete > *:nth-child(12) {opacity: .6561}
.incomplete > *:nth-child(13) {opacity: .59049}
.incomplete > *:nth-child(14) {opacity: .531441}
.incomplete > *:nth-child(15) {opacity: .4782969}
.incomplete > *:nth-child(16) {opacity: .43046721}
.incomplete > *:nth-child(17) {opacity: .387420489}
.incomplete > *:nth-child(18) {opacity: .3486784401}
.incomplete > *:nth-child(19) {opacity: .3138105960}
.incomplete > *:nth-child(20) {opacity: .2824295364}
.incomplete > *:nth-child(21) {opacity: .2541865827}
.incomplete > *:nth-child(22),
.incomplete > *:nth-child(22) ~ * {opacity: .2287679244}
*/

/*
.toggle > *:first-child + * {display: none}
.toggle:hover > *:first-child {display: none}
.toggle:hover > *:first-child + * {display: inline}
*/

/*
img.genie {vertical-align: middle; max-width: 4em; max-height: 4em}
img.icon {vertical-align: bottom; height: 1.2em}
img {max-width: 100%}
*/

/*
img.deco {height: 4em; position: absolute; bottom: 1.5em; right: 1.5em}
*/

/*
ul.container, ul.container ul {display: table; border-spacing: 0.2em;
  background: rgba(114,164,200,0.2); border-radius: 0.4em}
ul.container {margin: 0.5em auto 0 auto}
ul.container ul {table-layout: fixed; width: 100%;
  margin: 0; font-size: 90%}
ul.container li {display: table-cell; padding: 0.3em;
  border: 0.15em #005A9C solid; border-radius: 0.4em}
*/

/*
.absent {background: hsl(0,70%,90%)}
.bad {background: hsl(30,70%,90%)}
.medium {background: hsl(60,70%,90%)}
.good {background: hsl(120,70%,90%)}
.neutral {background: hsl(0,0%,90%)}
*/

.venn, .venn div {text-align: center; border: 0.15em #005A9C solid;
  background: rgba(114,164,200,0.2); padding: 0.5em}
.venn div div div div {border-radius: 1.707em; min-height: 2.414em}
.venn div div div {border-radius: 2.207em; min-height: 3.414em}
.venn div div {border-radius: 2.707em; min-height: 4.414em}
.venn div {border-radius: 3.207em; min-height: 5.414em}
.venn {border-radius: 4.207em; min-height: 6.414em}
.venn * {margin: 0; text-shadow: -1px -1px white, 1px 1px white}
.venn * + * {margin-top: 0.5em}
.venn ul {list-style: none; padding: 0}
.venn li {margin: 0}

.geo {font-size: 50%; display: inline-block; vertical-align: middle}
.geo span:first-child:after {content: "\A"; white-space: pre}

code {font-family: Caflisch Script Pro, monospace}
/* pre {font-family: Caflisch Script Pro, monospace}
/* font-family: "1942 report", Prestige Elite Std, Courier,
  Courier New, monospace; letter-spacing: -0.15em */
pre b, code b {background: url(highlighter.png) 100% 50% repeat-x;
  background-size: 100% 100%}

/* For advertisement on last slide */
.join {background: center right no-repeat url(MMI-dotpattern-rl-500.png);
  background-size: auto 100%; margin: 0.2em 0; padding: 0.3em 2%}
.join div {position: relative; background: rgba(243,249,251,0.8);
   border: solid 1px; border-radius: 1em; padding: 0.5em;
   box-shadow: 0.12em 0.12em 0.36em rgba(0,0,0,0.7);
   color: #005A9C; text-align: center; line-height: 1.5; font-size: 80%;
   -o-transform: rotate(-2deg); -khtml-transform: rotate(-2deg);
   -moz-transform: rotate(-2deg); transform: rotate(-2deg)}
.join img {float: left; height: 9em; margin-right: 0.5em}
.join p {margin: 0}

/* A "correction" pasted on top of the box */
/*
.join span {position: absolute; background: rgba(230,210,200,0.9);
  padding: 0.1em 0.5em; box-shadow: 0.06em 0.06em 0.18em rgba(0,0,0,0.7);
  margin-top: -0.1em; x-border-radius: 0.5em; -o-transform: rotate(2deg);
  -khtml-transform: rotate(2deg); -moz-transform: rotate(2deg);
  transform: rotate(2deg); -o-transition: 0.5s; -khtml-transition: 0.5s;
  -moz-transition: 0.5s; transition: 0.5s}
.join span:hover {margin-top: 1.4em}
*/

a:link:after, a:visited:after {content: "\2191"; font-size: 50%;
  vertical-align: 0.5em; line-height: 0.5}

/* Some demos reguire an experimental viewer */
/*
a.o:after, a.moz:after, a.webkit:after, a.pdf:after {border-radius: 50%;
  background: #ADC4D5; color: #005A9C; line-height: 1; font-size: 40%;
  padding: 0.2em; vertical-align: top; margin-left: 0.3em; height: 0.9em}
a.o:after {content: "o"; font-size: 50%; height: 0.8em}
a.moz:after {content: "moz"}
a.webkit:after {content: "webkit"; font-size: 30%}
a.pdf:after {content: "pdf"}
*/

/*
.skip {color: silver}
*/

/*
table.schedule td, table.schedule th {border: none; text-align: left;
  vertical-align: baseline}
table.schedule td:first-child {color: silver}
table.schedule thead {display: none}
*/

/* A subtly blinking background behind div.callout */
@-o-keyframes flash {
  from {background-position: -50% 0}
  8% {background-position: 150% 0}
  to {background-position: 150% 0}
}
@-moz-keyframes flash {
  from {background-position: -50% 0}
  8% {background-position: 150% 0}
  to {background-position: 150% 0}
}
@-webkit-keyframes flash {
  from {background-position: -50% 0}
  8% {background-position: 150% 0}
  to {background-position: 150% 0}
}
@keyframes flash {
  from {background-position: -50% 0}
  8% {background-position: 150% 0}
  to {background-position: 150% 0}
}
div.callout {
  -o-animation: flash 10s 5s infinite;
  -moz-animation: flash 10s 5s infinite;
  -webkit-animation: flash 10s 5s infinite;
  animation: flash 10s 5s infinite;
  background-position: -50% 0;
  background-repeat: no-repeat;
  background-size: 25% 100%;
  background-image: -o-linear-gradient(0deg, hsla(0,0%,100%,0),
    white, hsla(0,0%,100%,0));
  background-image: -moz-linear-gradient(0deg, hsla(0,0%,100%,0),
    white, hsla(0,0%,100%,0));
  background-image: -webkit-linear-gradient(0deg, hsla(0,0%,100%,0),
    white, hsla(0,0%,100%,0));
  background-image: linear-gradient(0deg, hsla(0,0%,100%,0),
    white, hsla(0,0%,100%,0))}

/* Highlight W3C technologies */
/*
.w3c {background: url(highlighter.png) 100% 50% repeat-x}
*/

ul ul {list-style: square}
ul ul ul {list-style: circle}
ul ul ul ul {list-style: disc}

.callout.demo {
  -o-animation-delay: 0s;
  -moz-animation-delay: 0s;
  -webkit-animation-delay: 0s;
  animation-delay: 0s}

.trans-demo {-o-transform: rotate(3deg); transform: rotate(3deg);
  -o-transition: 0.5s; transition: 0.5s;
  width: 10em; margin-left: auto; margin-right: auto; text-align: center}
.trans-demo:hover {-o-transform: rotate(-3deg); transform: rotate(-3deg)}
