/**
 * prism.js default theme for JavaScript, CSS and HTML
 * Based on dabblet (http://dabblet.com)
 * @author Lea Verou
 */

code[class*="language-"],
pre[class*="language-"] {
	color: black;
	background: none;
	text-shadow: 0 1px white;
	font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
	font-size: 1em;
	text-align: left;
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	line-height: 1.5;

	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;

	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
}

pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
	text-shadow: none;
	background: #b3d4fc;
}

pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
code[class*="language-"]::selection, code[class*="language-"] ::selection {
	text-shadow: none;
	background: #b3d4fc;
}

@media print {
	code[class*="language-"],
	pre[class*="language-"] {
		text-shadow: none;
	}
}

/* Code blocks */
pre[class*="language-"] {
	padding: 1em;
	margin: .5em 0;
	overflow: auto;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
	background: #f5f2f0;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
	padding: .1em;
	border-radius: .3em;
	white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: slategray;
}

.token.punctuation {
	color: #999;
}

.token.namespace {
	opacity: .7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
	color: #905;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
	color: #690;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
	color: #9a6e3a;
	/* This background color was intended by the author of this theme. */
	background: hsla(0, 0%, 100%, .5);
}

.token.atrule,
.token.attr-value,
.token.keyword {
	color: #07a;
}

.token.function,
.token.class-name {
	color: #DD4A68;
}

.token.regex,
.token.important,
.token.variable {
	color: #e90;
}

.token.important,
.token.bold {
	font-weight: bold;
}
.token.italic {
	font-style: italic;
}

.token.entity {
	cursor: help;
}

/* for extra features should include this */

.vimeo,
.youtube,
.momentumhubsurveys {
    position: relative;
    cursor: pointer;
    display: table;
    width: 100%;
    text-align: center;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: black;
    overflow: hidden;
    min-height: 250px;
}

.momentumhubsurveys {
    display: block;
    background-color: white;
    overflow-y: scroll;
    text-align: left;
}

.ui-view-area .momentumhubsurveys {
    background-color: black;
}

/* youtube always use 16:9 aspect ratio video */
.youtube {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}
.vimeo img {
    width: 100%;
    /* min-height: 200px; */
    object-fit: contain;
    z-index: 0;
}
.youtube img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.vimeo iframe,
.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    z-index: 1;
}
.vimeo .icon,
.youtube .icon,
.momentumhubsurveys .icon {
    position: absolute;
    height: auto;
    width: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    opacity: 0.3;
    -webkit-transition: opacity 0.2s; /* Safari */
    transition: opacity 0.2s;
    z-index: 0;
}
.vimeo:hover .icon,
.youtube:hover .icon {
    opacity: 0.6;
    -webkit-transition: opacity 0.2s; /* Safari */
    transition: opacity 0.2s;
}

.slideshare .inner,
.speakerdeck .inner {
    position: relative;
    width: 100%;
}
.slideshare .inner iframe,
.speakerdeck .inner iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.MJX_Assistive_MathML {
    display: none;
}


/*infobar changes*/
/*allow to be seen in admin interface but not in user view*/
.ui-infobar {
    position: relative;
    z-index: 2;
    max-width: 758px;
    margin-top: 25px;
    margin-bottom: -25px;
    color: #777;
    display: none;
}

.ui-view-area .ui-infobar {
    display: block;
}



.toc .invisable-node {
  list-style-type: none;
}

.ui-toc {
    position: fixed;
    bottom: 20px;
    z-index: 10000;
}

.ui-toc-label {
    opacity: 0.3;
    background-color: #ccc;
    border: none;
    -webkit-transition: opacity 0.2s; /* Safari */
    transition: opacity 0.2s;
}

.ui-toc .open .ui-toc-label {
    opacity: 1;
    color: white;
    -webkit-transition: opacity 0.2s; /* Safari */
    transition: opacity 0.2s;
}

.ui-toc-label:focus {
    opacity: 0.3;
    background-color: #ccc;
    color: black;
}

.ui-toc-label:hover {
    opacity: 1;
    background-color: #ccc;
    -webkit-transition: opacity 0.2s; /* Safari */
    transition: opacity 0.2s;
}

.ui-toc-dropdown {
    margin-top: 23px;
    margin-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 45vw;
    width: 25vw;
    max-height: 70vh;
    overflow: auto;
    text-align: inherit;
}

.ui-toc-dropdown > .toc {
    max-height: calc(70vh - 100px);
    overflow: auto;
}

.ui-toc-dropdown[dir='rtl'] .nav {
    padding-right: 0;
    letter-spacing: 0.0029em;
}

.ui-toc-dropdown a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre;
}

.ui-toc-dropdown .nav>li>a {
    display: block;
    padding: 4px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #767676;
}

.ui-toc-dropdown .toc.expand ul {
    display: block;
}

.ui-toc-dropdown .nav > li:first-child:nth-last-child(1) > ul {
    display: block;
}

.ui-toc-dropdown .nav>li>a:focus,.ui-toc-dropdown .nav>li>a:hover {
    padding-left: 19px;
    color: black;
    text-decoration: none;
    background-color: transparent;
    border-left: 1px solid black;
}

.night .ui-toc-dropdown .nav>li>a:focus, .night .ui-toc-dropdown .nav>li>a:hover{
    color: white;
    border-left-color: white;
}

.ui-toc-dropdown[dir='rtl'] .nav>li>a:focus,.ui-toc-dropdown[dir='rtl'] .nav>li>a:hover {
    padding-right: 19px;
    border-left: none;
    border-right: 1px solid black;
}

.ui-toc-dropdown .nav>.active:focus>a,.ui-toc-dropdown .nav>.active:hover>a,.ui-toc-dropdown .nav>.active>a {
    padding-left: 18px;
    font-weight: 700;
    color: black;
    background-color: transparent;
    border-left: 2px solid black;
}
.night .ui-toc-dropdown .nav>.active:focus>a,.night .ui-toc-dropdown .nav>.active:hover>a,.night .ui-toc-dropdown .nav>.active>a {
    color: white;
    border-left: 2px solid white;
}

.ui-toc-dropdown[dir='rtl'] .nav>.active:focus>a,.ui-toc-dropdown[dir='rtl'] .nav>.active:hover>a,.ui-toc-dropdown[dir='rtl'] .nav>.active>a {
    padding-right: 18px;
    border-left: none;
    border-right: 2px solid black;
}

.ui-toc-dropdown .nav .nav {
    display: none;
    padding-bottom: 10px;
}

.ui-toc-dropdown .nav>.active>ul {
    display: block;
}

.ui-toc-dropdown .nav .nav>li>a {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 30px;
    font-size: 12px;
    font-weight: 400;
}

.night .ui-toc-dropdown .nav > li > a{
    color: #aaa;
}

.ui-toc-dropdown[dir='rtl'] .nav .nav>li>a {
    padding-right: 30px;
}

.ui-toc-dropdown .nav .nav>li>ul>li>a {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 40px;
    font-size: 12px;
    font-weight: 400;
}

.ui-toc-dropdown[dir='rtl'] .nav .nav>li>ul>li>a {
    padding-right: 40px;
}

.ui-toc-dropdown .nav .nav>li>a:focus,.ui-toc-dropdown .nav .nav>li>a:hover {
    padding-left: 29px;
}

.ui-toc-dropdown[dir='rtl'] .nav .nav>li>a:focus,.ui-toc-dropdown[dir='rtl'] .nav .nav>li>a:hover {
    padding-right: 29px;
}

.ui-toc-dropdown .nav .nav>li>ul>li>a:focus,.ui-toc-dropdown .nav .nav>li>ul>li>a:hover {
    padding-left: 39px;
}

.ui-toc-dropdown[dir='rtl'] .nav .nav>li>ul>li>a:focus,.ui-toc-dropdown[dir='rtl'] .nav .nav>li>ul>li>a:hover {
    padding-right: 39px;
}

.ui-toc-dropdown .nav .nav>.active:focus>a,.ui-toc-dropdown .nav .nav>.active:hover>a,.ui-toc-dropdown .nav .nav>.active>a {
    padding-left: 28px;
    font-weight: 500;
}

.ui-toc-dropdown[dir='rtl'] .nav .nav>.active:focus>a,.ui-toc-dropdown[dir='rtl'] .nav .nav>.active:hover>a,.ui-toc-dropdown[dir='rtl'] .nav .nav>.active>a {
    padding-right: 28px;
}

.ui-toc-dropdown .nav .nav>.active>.nav>.active:focus>a,.ui-toc-dropdown .nav .nav>.active>.nav>.active:hover>a,.ui-toc-dropdown .nav .nav>.active>.nav>.active>a {
    padding-left: 38px;
    font-weight: 500;
}

.ui-toc-dropdown[dir='rtl'] .nav .nav>.active>.nav>.active:focus>a,.ui-toc-dropdown[dir='rtl'] .nav .nav>.active>.nav>.active:hover>a,.ui-toc-dropdown[dir='rtl'] .nav .nav>.active>.nav>.active>a {
    padding-right: 38px;
}

/* support japanese font */
.markdown-body[lang^="ja"] {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Osaka, Meiryo, "メイリオ", "MS Gothic", "ＭＳ ゴシック", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.ui-toc-dropdown[lang^="ja"] {
    font-family: "Source Sans Pro", Helvetica, Arial, "Meiryo UI", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
}

/* support zh-tw font */
.markdown-body[lang="zh-tw"] {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "PingFang TC", "Microsoft JhengHei", "微軟正黑", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.ui-toc-dropdown[lang="zh-tw"] {
    font-family: "Source Sans Pro", Helvetica, Arial, "Microsoft JhengHei UI", "微軟正黑UI", sans-serif;
}

/* support zh-cn font */
.markdown-body[lang="zh-cn"] {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", "微软雅黑", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.ui-toc-dropdown[lang="zh-cn"] {
    font-family: "Source Sans Pro", Helvetica, Arial, "Microsoft YaHei UI", "微软雅黑UI", sans-serif;
}

.ui-affix-toc {
    position: fixed;
    top: 110px;
    max-width: 15vw;
    max-height: 70vh;
    overflow: auto;
}

.expand-toggle, .back-to-top, .go-to-bottom {
    display: block;
    padding: 4px 10px;
    margin-top: 10px;
    margin-left: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #999;
}

.expand-toggle:hover, .expand-toggle:focus, .back-to-top:hover, .back-to-top:focus, .go-to-bottom:hover, .go-to-bottom:focus {
    color: #563d7c;
    text-decoration: none;
}

.back-to-top, .go-to-bottom {
    margin-top: 0;
}

.ui-user-icon {
    width: 20px;
    height: 20px;
    display: block;
    border-radius: 3px;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-right: 5px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.ui-user-icon.small {
	width: 18px;
	height: 18px;
	display: inline-block;
	vertical-align: middle;
	margin: 0 0 0.2em 0;
}

small span {
    line-height: 22px;
}

small .dropdown {
    display: inline-block;
}

small .dropdown a:focus, small .dropdown a:hover {
    text-decoration: none;
}

.unselectable {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.night .navbar{
    background: #333;
    border-bottom-color: #333;
    color: #eee;
}

.night .navbar a{
    color: #eee;
}


/* Prevent linked heading from being hidden underneath navbar.
 * Example: http://localhost:3000/features#Editor-Modes would open and
 * hide the headline "Editor Modes" underneath the navbar without this CSS rule.
 */
.markdown-body h1[id]:before,
.markdown-body h2[id]:before,
.markdown-body h3[id]:before,
.markdown-body h4[id]:before,
.markdown-body h5[id]:before,
.markdown-body h6[id]:before {
  display: block;
  content: " ";
  margin-top: -55px;
  height: 55px;
  visibility: hidden;
}

@media print {
    div, table, img, pre, blockquote {
        page-break-inside: avoid !important;
    }
    a[href]:after {
        font-size: 12px !important;
    }
}



/* Survey response */
.survey_response_copy{
    padding: 40px 20px;
}
.sv-completedpage{
    height: auto !important;
}
.sv-completedpage::before{
    display: none;
}

.colcontainer > .col{
    flex: auto !important;
}

/* @import url(/custom/slide-preview-tweaks.css); */
/* this preview css is augmented by the `/custom/slide-preview-tweaks.css` file.  However, we have added it in to the required js files rather than linkin here */

.markdown-body.slides {
  position: relative;
  z-index: 1;
  color: #222;
}

.markdown-body.slides::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-color: currentColor;
  box-shadow: 0 0 0 50vw;
}

.markdown-body.slides section[data-markdown] {
  position: relative;
  margin-bottom: 1.5em;
  background-color: #fff;
  text-align: center;
}

.markdown-body.slides section[data-markdown] code {
  text-align: left;
}

.markdown-body.slides section[data-markdown]::before {
  content: '';
  display: block;
  padding-bottom: 56.23%;
}

.markdown-body.slides section[data-markdown] > div:first-child {
  position: absolute;
  top: 50%;
  left: 1em;
  right: 1em;
  transform: translateY(-50%);
  max-height: 100%;
  overflow: auto;
}

.markdown-body.slides section[data-markdown] > ul {
  display: inline-block;
}

.markdown-body.slides > section > section + section::after {
  content: '';
  position: absolute;
  top: -1.5em;
  right: 1em;
  height: 1.5em;
  border: 3px solid #777;
}

.markdown-body.slides aside.notes {
  display: none;
}

.markdown-body.slides ul, .markdown-body.slides ol {
  display: inline-block;
  text-align: left;
  margin: 0 0 0 1em;
  padding: 0;
}

.markdown-body.slides table {
  width: 50%;
  margin: 0 auto;
  border-collapse: collapse;
  border-spacing: 0;
  display: table;
}

.markdown-body.slides table th, .markdown-body.slides table td {
  text-align: left;
  padding: 0.2em 0.5em 0.2em 0.5em;
  border:none;
  border-bottom: 1px solid;
}

.markdown-body.slides table tr {
  border-top: 0;
  background-color: #fff;
}

.markdown-body.slides table tr:nth-child(2n) {
  background-color: inherit;
}

.markdown-body.slides table tbody tr:last-child th, .markdown-body.slides table tbody tr:last-child td {
  border-bottom: none;
}

.markdown-body.slides h1, .markdown-body.slides h2 {
    border-bottom: 0;
}

.night .markdown-body.slides h1,
.night .markdown-body.slides h2,
.night .markdown-body.slides h3,
.night .markdown-body.slides h4,
.night .markdown-body.slides h5,
.night .markdown-body.slides h6 {
    color: black;
}

.markdown-body section > section:last-child {
	margin-bottom: 1.5em !important;
}

/* slides previews get a black background, controlled by js */
.ui-view-area.black {
  background-color: black !important;;
}

/* images */

/* moved to slide-preview_tweaks.css (to avoid duplication) */

/* object-fit not working, probably need wrapping div */
/* .markdown-body.slides img {
  object-fit: scale-down;
  max-width: 40%;
} */

/* hide Lumi header*/
#lumi {
    display: none;
}


/* hidden table*/
.hidden_table table thead, .hidden_table table tr, .hidden_table table td, .hidden_table table th {
    border-style: dashed !important;
    font-weight: normal !important;
    font-style: normal !important;
    border-width: 2px !important;
}
@charset "UTF-8";

/*********************************************
 * Custom
 *********************************************/

/* module buttons styling */

.module_button {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: solid 1px #20538D;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    background: #4479BA;
    color: #FFF;
    padding: 8px 12px;
    text-decoration: none;
}

/* video sizing */
.vimeo {
  margin: auto;
  width: 75%;
}

.vimeo .img {
	object-fit: scale-down !important;
	width: 100%;
  /* override extra.css or else small height videos get a big black box*/
  background-color: transparent;
  min-height: 0 !important; 
}


/* apply scaling for better fit of images */

.markdown-body img {
  -webkit-transform: scale(0.7);
}

/* adjust text alignment */

.markdown-body p {
    text-align: left;
}


/* adjust font sizes */
.markdown-body.slides li, .markdown-body.slides ol, .markdown-body.slides ul {
	font-size: 80% !important;
}

/* fix for checkboxes */
/* not sure where the float left came from, maybe survey styles? */

.task-list-item {
	font-size: 80% !important;
}

.task-list-item-checkbox {
    float: none;
    transform: scale(0.7, 0.7);
    margin: 0.11em 0 0.2em -1.3em !important;
}

/* iframes */
/* a little bit of a hack to ensure scroll bars are hidden */

iframe{
  overflow: hidden;
  border: none;
  display: block;
  height: 60vh;
  width: calc(100% + 17px);
}

/*Reveal.initialize({
    width: '100%',
    height: '100%'
})*/

/*fill vertically 100% - see https://github.com/hakimel/reveal.js/issues/180*/
.reveal .slides {
  height: 100%;
  width: 100%;
  top: 0;
  margin-top: 0;
}

.reveal .slides>section {
  min-height: 90%;
  min-width:90%;
  top: auto;
}

.reveal .slides>section>section {
  min-height: 100%;
  min-width: 100%;
}

/* images */
/* removed as interfering with video image size */
/* .markdown-body.slides img {
    object-fit: scale-down;
    max-width: 30%;
} */


.reveal table img {
margin-bottom: 0.2em;
}

.flow-chart {
  max-height: 65vh;
  overflow-y: scroll;
  padding-right: 170px;
}


.leftside {
  max-width: 500px;
  float: left;
  }

.reference{
 font-size: 40%;
 font-style: italic;
 float: right;
 position:absolute;
 margin-top: 0px;
 bottom:10px;
 right:0;
 max-width: 300px;
}


/* modified to work with print view */
.refx {
 float: right;
 display: block;
 position:fixed; /* previously: relative */
 margin-top: 0px;
 bottom:0px;
 right:0;
 min-width: 200px;
 max-width: 400px;
 line-height: 0.4 !important;
 background-color: #34373ba3;
 }

.refx br {
display:block;
line-height: 2px;
}
.pdf-page a {
 font-size: 70%;
/* font-style: italic; */
 pointer-events: auto;
 -webkit-transition: color .15s ease;
 -moz-transition: color .15s ease;
 transition: color .15s ease;
 z-index: 10;
}

.refx a {
 font-size: 30% !important; /* override font size */
 font-style: italic;
 pointer-events: auto;
 -webkit-transition: color .15s ease;
 -moz-transition: color .15s ease;
 transition: color .15s ease;
 z-index: 10;
}


.refx a:active {
 outline: 0;
}

.refx a:hover {
 outline: 0;
 color: #71e9f4;
 text-shadow: none;
 border: none;
}

/*add dash before ref -- not working*/
reference:before {
    content:"\2014";
}

div.category {
text-align:center;
padding:150;
   }

.image-right {
  max-width:calc(18vw + 100px); /* changed from width to max-width */
  float:right;
  max-height: 95%;
  margin-left: 0.3em;
  margin-right: 0em;
  margin-top: 0.2em;
  margin-bottom: 0.3em;
  vertical-align: middle;
  background-color: inherit;
}

.image-right img {
  border: 0px;
 }


.image-high {
  /*height:calc(60vh); */
    width: auto      !important;
    height: 70vh     !important;
    max-width: none  !important;
    max-height: 100% !important;
  background-color: inherit;
}

/* for two column layout
see http://stackoverflow.com/questions/30861845/how-to-use-two-column-layout-with-reveal-js */

/* columns */

.colcontainer{
  display: flex;
}

/* have changed to .colcontainer .col to specify use more clearly */
/* padding added  */

.colcontainer .col {
  flex: 1;
 	padding-left: 2.5%;
	padding-right: 2.5%;
  /* show columns as dotted outline in editor*/
  border-color: #464db9;
  border-width: 3px;
  border-style: dotted;
}


/* #left {
  left:-8.33%;
  text-align: left;
  float: left;
  width:50%;
  z-index:-10;
}

#right {
  left:31.25%;
  top: 75px;
  float: right;
  text-align: right;
  z-index:-10;
  width:50%;
} */


#image-centre img {
  height:20vh;
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  background-color:white;
  border:0;
  box-shadow:none
}
/*image classes*/
/*see http://stackoverflow.com/questions/2570877/how-do-i-stick-an-image-to-the-bottom-of-the-visible-screen-and-be-centered*/

.fix{
    position:fixed;
    bottom:0px;
    left:50%;
    }

/* Restyle the title part of the title slide: */

/*<style type="text/css">*/
/*.reveal .slides .title {*/
  /* Ugly ...
  /*text-shadow: 0px 0px 25px rgb(100,256,0); */
  /*font-size: 300%;*/
/*}*/
/*</style>*/

.reveal iframe {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

/*Blockquotes*/

/* testing to get scrollbox */
.markdown-body blockquote {
    font-size: inherit;
    padding: 0 1em;
    color: #000;
    border-left: 0;
    display: block;
    overflow: scroll;
    width: 100%;
    height: 180px;
    position: relative;
}

/* these other blockquote styles may not be needed */
/* .reveal blockquote p:first-child, .reveal blockquote p:last-child {
    display: inline-block;
    font-size: 0.6em;
    text-align: left;
    margin-left: 20px;
    line-spacing: 1.2 !important;
} */


/* .reveal blockquote {
    display: block;
    text-align: left;
    width: 80%;
    margin: 10px auto;
    padding: 5px;
    font-style: italic;
    background: rgba(80, 255, 255, 0.05);
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
} */

/*iframe resize added by Frank*/
/*see https://stackoverflow.com/questions/11122249/scale-iframe-css-width-100-like-an-image*/

.wrapper         {width:100%; max-width: 800px; height:100%; margin:0 auto; background:#CCC}
.h_iframe        {position:relative; padding-top: 76%;}
.h_iframe iframe {position:absolute;top:0;left:0;width:100%; height:100%;}

/*fonts*/
.markdown-body.slides h1,
.markdown-body.slides h2,
.markdown-body.slides h3,
.markdown-body.slides h4,
.markdown-body.slides h5,
.markdown-body.slides h6  {
  font-size: 1em;
  line-height: 1;
/*
  font-size: 140% !important;
  margin: 0 0 20px 0;
  color: #fff;
  font-family: fantasy, "Source Sans Pro", Helvetica, sans-serif;
  text-transform: initial;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: uppercase;
  text-shadow: none;
*/
  word-wrap: break-word;
}
/*
raw. h2{
font-size: 80%;
}
*/

.markdown-body.slides h1 {
  font-size: 140%;
}

.markdown-body.slides h2 {
  font-size: 115%;
  color: #2d7171;
}

/*be careful with these markdown-body is also used in the single-page modules*/
.markdown-body.slides p {
  font-size: 70%;
}

/* lists */
.markdown-body.slides li,
.markdown-body.slides ol,
.markdown-body.slides ul {
  font-size: 70%;
}


/*fix text-alignment for lists*/
.markdown-body.slides section[data-markdown] {
  text-align: left;
}

.markdown-body.slides section[data-markdown] ul,
.markdown-body.slides section[data-markdown] ol,
.markdown-body.slides section[data-markdown] li {
    text-align: left;
}

/*quotes*/

em {
   color: #4b383b;
}

sup {
vertical-align: text-top;
line-height: 0;
font-size:65% !important;
position: relative; top: 0.1em;
padding-left:5px !important;
}

/* iframe */

.iframeW {
  width: 95%;
  float: left;
  margin: auto;
  vertical-align: middle;
  background-color: inherit;
}
.image-right iframe {
        width: 100%;
        height: 100%;
}

/* background */

/* fix for slide background - was not parsing properly */

.reveal .slide-background-content {
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

/* code formatting (pre) */

.markdown-body pre {
	border: inherit !important;
	font-size: 70%;
	text-align: left;
	line-height: 0.9em;
}

/* MathJax */

.MathJax span {
    display: inline;
    position: static;
    border: 0;
    padding: 0;
    margin: 0;
    vertical-align: 0;
    line-height: normal;
    text-decoration: none;
    box-sizing: content-box;
    font-size: x-large;
    background-color: #3e5b75;
}

.MathJax_Display {
    min-width: 20em;
}

/* these tweaks apply styling to fonts in single-page modules */
/* note that the colour is inherited from the parent frame */
/* see `public/views/shared/inherit-mm-themes.ejs` */

/* the color varied for child/teen theme */

.markdown-body h1 {
  font-size: 54px;
  font-family: 'OpenSans';
  color: var(--primary-color-1);
}


.markdown-body h2 {
  font-size: 44px;
  font-family: 'OpenSans';
  color: var(--primary-color-1);
}


.markdown-body h3 {
  font-size: 32px;
  font-family: 'OpenSans';
  color: #000;
}


.markdown-body h4 {
  font-size: 32px;
  font-family: 'OpenSans';
  color: #000;
}


.markdown-body h5 {
  font-size: 22px;
  font-family: 'OpenSans';
  color: #000;
}


.markdown-body h6 {
  font-size: 26px;
  font-family: 'OpenSans';
  color: #000;
}

/* for all pages should include this */
body {
    font-smoothing: subpixel-antialiased !important;
    -webkit-font-smoothing: subpixel-antialiased !important;
    -moz-osx-font-smoothing: auto !important;
    text-shadow: 0 0 1em transparent, 1px 1px 1.2px rgba(0, 0, 0, 0.004);
    /*text-rendering: optimizeLegibility;*/
    -webkit-overflow-scrolling: touch;
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    letter-spacing: 0.025em;
}
:focus, .focus {
    outline: none !important;
}
::-moz-focus-inner {
    border: 0 !important;
}

/* manual fix for bootstrap issue 14040, there is an unnecessary padding-right on modal open */
body.modal-open {
    overflow-y: auto;
    padding-right: 0 !important;
}

/**
 * GitHub Gist Theme
 * Author : Anthony Attard - https://github.com/AnthonyAttard
 * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro
 */

.hljs {
  display: block;
  background: white;
  padding: 0.5em;
  color: #333333;
  overflow-x: auto;
}

.hljs-comment,
.hljs-meta {
  color: #969896;
}

.hljs-variable,
.hljs-template-variable,
.hljs-strong,
.hljs-emphasis,
.hljs-quote {
  color: #df5000;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-type {
  color: #d73a49;
}

.hljs-literal,
.hljs-symbol,
.hljs-bullet,
.hljs-attribute {
  color: #0086b3;
}

.hljs-section,
.hljs-name {
  color: #63a35c;
}

.hljs-tag {
  color: #333333;
}

.hljs-title,
.hljs-attr,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo {
  color: #6f42c1;
}

.hljs-addition {
  color: #55a532;
  background-color: #eaffea;
}

.hljs-deletion {
  color: #bd2c00;
  background-color: #ffecec;
}

.hljs-link {
  text-decoration: underline;
}

.hljs-number {
  color: #005cc5;
}

.hljs-string {
  color: #032f62;
}

