@import url(https://fonts.googleapis.com/css?family=Montserrat:700);


html {
    height  : 100%;
    overflow: hidden;
}
div.scrollable {
	overflow: visible;
	overflow-y: scroll;
	overflow-x: visible;
	scrollbar-color: red;
	-moz-scrollbar-color: red;
	scroll-behavior: smooth;
}
div.scrollable::-webkit-scrollbar {
	display: none;
}
div.scrollable pre code table {
	border-bottom: 6em solid rgba(255,255,255,0);
}
body {
    height  : 100%;
    overflow: auto;
	background: url(wave.svg);
	background-size: 100%;
	background-position: bottom right;
	background-repeat: no-repeat;
}
html.todo body {
	border: 5px solid red;
}
.controls {
	position: fixed;
	left: 30px !important;
	bottom: 30px !important;
}
.slide-number {
	border-radius: 5px;
	font-size: 14px;
	position: absolute !important;
	bottom: 8px !important;
	right: 8px !important;
}
.slide-number .slide-number-a {
	color: #2a76dd;
}
.slide-number .slide-number-b {
	color: #666;
}
.slide-number .slide-number-delimiter {
	color: black;
}
.slide-number a {
	color: #333 !important;
}
.reveal pre {
	box-shadow: none !important;
	tab-size: 2 !important;
	 -moz-tab-size: 2 !important;
}
.reveal pre code {
	box-shadow: none !important;
	tab-size: 2 !important;
}
.reveal .footer {
	position: absolute;
	bottom: 12px;
	left: 8px;
	font-size: 18px;
	z-index: 4;
	font-family: Monaco, Courier;
	color: #2a76dd !important;
}
.reveal .footer a {
	color: black !important;
}
.reveal .white-shadow {
	-webkit-text-stroke: 1px black;
	text-shadow: 0px 0px 50px rgba(255,255,255,2);
	color: #CCC;
}
.reveal pre.big {
	font-size: 30px;
}

/* highlighting */
.reveal .slides section .fragment.highlight-code, .reveal .slides section .mark.fragment {
	opacity: 1 !important;
	visibility: visible !important;
}

.reveal .slides section .fragment.highlight-code.current-fragment, .reveal .slides section .mark.fragment.current-fragment {
	background: #ffec81 !important;
}
.noborder, .no-border {
	border: none !important;
	box-shadow: none !important;
	background: none;
}



input.big-input {
	font-size: 24px;
	font-family: Monaco, Courier;
}

.desc {
	font-size: 0.8em;
}
.small-desc {
	font-size: 0.6em;
}
.emph {
	font-style: italic;
}
ul.no-marker {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul.small-marker {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.small-marker ul.small-marker {
	list-style: none;
	margin: 0;
	padding: 0;	
	margin-left: 1em;
}
ul.small-marker li:before, ul.small-marker ul.small-marker li:before {
	content: "\2022" !important;
	color: #2a76dd;
	font-weight: bold; /* If you want it to be bold */
	display: inline-block; /* Needed to add space between the bullet and the text */ 
	width: 1em; /* Also needed for space (tweak if needed) */
	margin-left: -1em; /* Also needed for space (tweak if needed) */
}
.important {
	color: #2a76dd !important;
}
ul.small-marker li {
	font-size: 0.8em;
}
ul.small-marker li div {
	padding-left: 50px;
}

input[type=text].big-input {
	border: none;
	border-bottom: 2px solid rgba(128,128,128,0.3);
	background: rgba(128,128,128,0.05);
	text-align: center;
}

input[type=text].big-input:focus {
	border-bottom: 2px solid rgba(42,118,221,0.3);
	caret-color: rgba(42,118,221,0.3);
	background: rgba(42,118,221,0.05);
	outline:none;
}
svg {
	/*background: rgba(42,118,221,0.05);*/
	/*box-shadow: 0 0px 30px rgba(42,118,221,0.1);*/
}
.parse_output {
	height: 30px;
	font-size: 20px;
	font-weight: bold;
}

.reveal .slides section .fragment.step-fade-in-then-out {
	opacity: 0;
	display: none; }
.reveal .slides section .fragment.step-fade-in-then-out.current-fragment {
	opacity: 1;
	display: inline; }
	
.columns{
	display: flex;
}
.columns > div{
	flex: 1;
}
.img.inline {
	margin: 0;
	padding: 0;
}
.index_list .notdone {
	color: red !important;
}
.index_list .willreuse {
	color: orange !important;
}
.error {
	color: #ff4040;
}
.inline-block {
	display: inline-block;
	width: 200px;
}
.italic {
	font-style: italic !important;
}
.small {
	font-size: 28px;
}

.reveal .slides section .fragment.highlight-orange,
.reveal .slides section .fragment.highlight-current-orange {
  opacity: 1;
  visibility: inherit; }

.reveal .slides section .fragment.highlight-orange.visible {
  color: #ff9540 !important;
}

.reveal .slides section .fragment.highlight-current-orange.visible {
  color: #ff9540 !important;
}

.reveal .slides section .fragment.highlight-underscore,
.reveal .slides section .fragment.highlight-current-underscore {
  opacity: 1;
  visibility: inherit; }

.reveal .slides section .fragment.highlight-underscore.visible {
  text-decoration: underline;
}

.reveal .slides section .fragment.highlight-current-underscore.visible {
  text-decoration: underline;
}

.reveal .slides section .fragment.highlight-red.visible {
  color: #ff4040 !important;
}

.reveal .slides section .fragment.highlight-green.visible {
  color: #448100 !important;
}
.green {
	color: #448100;
}
.red {
	color: #ff4040;
}
table.noborder tr, table.noborder td, table.noborder th {
	border: none;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 0;
}
table.noborder th {
	text-align: right;
	font-weight: normal;
	padding-top: 0;
	padding-bottom: 0;
	padding-right: 0.5em;
}
.nocase {
	text-transform: none !important;
}
pre {
	overflow: visible !important;
}
code {
	overflow: visible !important;
}
svg {
	overflow: visible !important;
}
.invisible-frag.fragment:not(.current-fragment) {
	display: none !important;
}


.reveal .slides section .fragment.highlight-current-code {
	opacity: 1;
	visibility: inherit;
}

.grammar_table {
	border: 1px solid rgba(0,0,0,0.1) !important;
}
.grammar_table th {
	align: center;
}
.grammar_table td {
	background-color: rgba(230,230,230,0.25) !important;
	border-right: 1px solid rgba(0,0,0,0.1) !important;
	border-bottom: 1px solid rgba(0,0,0,0.1) !important;
}
.grammar_table th {
	border-right: 1px solid rgba(0,0,0,0.1) !important;
	border-bottom: 1px solid rgba(0,0,0,0.1) !important;
	background-color: rgba(230,230,230,0.5);
}
.grammar_table th.vlevo {
	border-right: 1px solid rgba(0,0,0,0.1) !important;
	background-color: rgba(230,230,230,0.5);
}
.grammar_table th.vlevo span.nonterm, .grammar_table span.nonterm {
	color: blue;
	font-style: italic;
}
.grammar_table span.term {
	font-family: "Monaco", "Fira Code", "Courier New";
}
.grammar_table td.current-fragment {
	color: black !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}
.grammar_table th.current-fragment {
	color: black !important;
	box-shadow: none !important;
	border-radius: 0 !important;
}
.grammar_table th.current-fragment span.nonterm, .grammar_table td.current-fragment span.nonterm {
	color: black !important;
}	
.grammar_table th.vlevo.current-fragment span.nonterm, .grammar_table td.current-fragment span.nonterm {
	color: black !important;
}	
.grammar_table .current-fragment span.nonterm {
	color: black !important;
}
.grammar_table th.current-fragment.vlevo span.nonterm {
	color: black !important;
}
.grammar_table td.accept, .grammar_table td.pop, .grammar_table td.epsilon {
	text-decoration: underline;
}
.ll_tree text {
	text-anchor: middle;
	alignment-baseline: central;
}
.ll_tree rect.grammar_se_char {
	fill: #ffec81;
}
.ll_tree text.grammar_se_char {
	fill: black;
}


.ll_tree rect.grammar_se_opt {
	fill: #e3bf80;
}
.ll_tree text.grammar_se_opt {
	fill: black;
	font-size: 5px;
}

.ll_tree rect.grammar_se_cat {
	fill: #2aa0dd;
}
.ll_tree text.grammar_se_cat {
	fill: black;
	font-size: 5px;
}

.ll_tree rect.grammar_se_star {
	fill: #7cb6db;
}
.ll_tree text.grammar_se_star {
	fill: black;
	font-size: 4px;
}

.ll_tree rect.grammar_se_alt {
	fill: #83e07e;
}
.ll_tree text.grammar_se_alt {
	fill: black;
	font-size: 5px;
}

.ll_tree rect.grammar_se_plus {
	fill: #be7ddd;
}
.ll_tree text.grammar_se_plus {
	fill: black;
	font-size: 4px;
}
.machine_return {
	font-size: 19px;
}
.machine_return .ok_entry {
	color: #448100;
}
.machine_return .bad_entry {
	color: #830c00;
}


.photo {
	transform: rotate(8deg);
	border: 20px solid #EEE !important;
	box-shadow: 0px 9px 37px 0px rgba(0,0,0,0.75) !important;
}

.photo2 {
	transform: rotate(-4deg);
	border: 20px solid #EEE !important;
	box-shadow: 0px 9px 50px 0px rgba(0,0,0,0.75) !important;
}

pre.make-smaller code {
	font-size: 0.6em !important;
	overflow-wrap: break-word;
	overflow: hidden !important;
}

.benchmark {
	font-family: "Source Sans Pro", Helvetica, sans-serif;
}
.benchmark rect.bar {
	stroke: rgba(0, 0, 0, .2);
	stroke-width: 1px;
	fill-opacity: 0.75;
}
.benchmark text.info {
	font-size: 25px;
}
.benchmark .tick text {
	font-size: 20px;
}
.benchmark .axis.y .tick text {
	font-size: 25px;
}
.benchmark text.value {
	font-size: 25px;
}
.benchmark text.label {
	font-size: 25px;
}
.fragment.invisible {
	display: none !important;
}
.godbolt {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100px;
	opacity: 0.2;
	padding-left: 20px;
	padding-bottom: 20px;
	border: none !important;
	box-shadow: none !important;
	transition: visibility 0s 2s, opacity 2s linear;
}
