/**
  [ custom ]

  Based on robot lung theme: A hot pink theme for Reveal.js with Roboto fonts and a colorful border.
  By Josh Dzielak
*/

/* Import font */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");


/* Light background text color override */
section.has-light-background,
section.has-light-background h1,
section.has-light-background h2,
section.has-light-background h3,
section.has-light-background h4,
section.has-light-background h5,
section.has-light-background h6 {
  color: #141414;
}

/* Navigation controls position */
.reveal .controls {
  right: 50px;
  bottom: 50px;
}

/* Underlined links */
a.underline {
  text-decoration: underline;
}

/* Decorative border lines */
.line {
  content: '';
  position: fixed;
  background: #4081ff;
  z-index: 105;
}

.line.top {
  left: 0;
  top: 0;
  width: 100%;
  height: 30px;
}

@media (max-width: 840px) {
  .line.top {
    height: 15px;
  }
}

.line.bottom {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30px;
}

@media (max-width: 840px) {
  .line.bottom {
    height: 15px;
  }
}

.line.left {
  left: 0;
  top: 0;
  width: 30px;
  height: 200%;
}

@media (max-width: 840px) {
  .line.left {
    width: 15px;
  }
}

.line.right {
  right: 0;
  top: 0;
  width: 30px;
  height: 200%;
}

@media (max-width: 840px) {
  .line.right {
    width: 15px;
  }
}

.reveal.has-dark-background .line {
  display: none;
}

/*********************************************
 * GLOBAL STYLES
 *********************************************/
body {
  background: #fff;
}

.reveal {
  font-family: "Noto Sans", sans-serif;
  font-size: 32px;
  font-weight: normal;
  color: #363636;
}

::selection,
::-moz-selection {
  color: #fff;
  background: #c0d5ff;
  text-shadow: none;
}

.reveal .slides>section,
.reveal .slides>section>section {
  line-height: 1.3;
  font-weight: inherit;
}

/*********************************************
 * HEADERS
 *********************************************/
.reveal h1 {
  margin: 0 0 20px 0;
  color: #141414;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: uppercase;
  text-shadow: none;
  word-wrap: break-word;
}

.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  margin: 0 0 20px 0;
  color: #141414;
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
  word-wrap: break-word;
}

.reveal h1 {
  color: white;
  padding-top: 10px;
  font-weight: 800;
  font-size: 2.2em;
  text-shadow: none;
}

.reveal h2 {
  font-weight: 800;
  font-size: 1.3em;
  color: #43418a;
}

.reveal.smaller .slides h2,
.reveal .slides section.smaller h2 {
  font-size: 1.3em;
}

.reveal h3 {
  font-size: 1.2em;
}

.reveal h4 {
  font-size: 1.1em;
}

.reveal .quarto-title-author-name,
.reveal .title-slide,
.reveal .subtitle 
.date {
  color: rgba(252, 250, 250, 0.9) !important;
}

.reveal .quarto-title-author-name {
  font-size: 0.8em !important;
  /* italics */
  font-style: italic !important;
}

.reveal .date {
  font-size: 0.8em !important;
  color: rgba(252, 250, 250, 0.9) !important;
}


/*********************************************
 * FOOTER
 *********************************************/
.reveal .footer {
  color: #43418a !important;
  font-size: 0.5em !important;
}

/*********************************************
 * OTHER TEXT STYLES
 *********************************************/
.reveal p {
  font-weight: 500;
  margin: 20px 0;
  line-height: 1.2;
}

.reveal strong,
.reveal b {
  font-weight: bold;
}

.reveal em {
  font-style: italic;
}

.reveal ol,
.reveal dl,
.reveal ul {
  display: inline-block;
  text-align: left;
  margin: 0 0 0 1em;
}

.reveal ul li::marker {
  margin: 0 .5rem 0 0;
  color: #43418a;
}

.reveal ul ul li::marker {
  font-size: 0.9em;
}

.reveal ul ul ul li::marker {
  font-size: 0.8em;
}

.reveal ol {
  list-style-type: decimal;
}

.reveal ul {
  font-weight: 400;
  list-style-type: disc;
}

.reveal ul ul {
  font-weight: 300;
  font-size: 0.9em;
  list-style-type: circle;
}

.reveal ul ul ul {
  font-weight: 200;
  font-size: 0.8em;
  list-style-type: square;
}

.reveal ul ul,
.reveal ul ol,
.reveal ol ol,
.reveal ol ul {
  display: block;
  margin-left: 40px;
}

.reveal dt {
  font-weight: bold;
}

.reveal dd {
  margin-left: 40px;
}

.reveal blockquote {
  display: block;
  position: relative;
  width: 70%;
  margin: 20px auto;
  padding: 5px;
  font-style: italic;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}

.reveal blockquote p:first-child,
.reveal blockquote p:last-child {
  display: inline-block;
}

.reveal q {
  font-style: italic;
}

/*********************************************
 * CODE
 *********************************************/
.reveal pre {
  display: block;
  position: relative;
  width: 90%;
  margin: 20px auto;
  text-align: left;
  font-size: 0.55em;
  font-family: monospace;
  line-height: 1.2em;
  word-wrap: break-word;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3);
}

.reveal code {
  font-family: monospace;
  text-transform: none;
}

.reveal pre code {
  display: block;
  padding: 5px;
  overflow: auto;
  max-height: 400px;
  word-wrap: normal;
}

/*********************************************
 * TABLES
 *********************************************/
.reveal table {
  margin: auto;
  border-collapse: collapse;
  border-spacing: 0;
}

.reveal table th {
  font-weight: bold;
}

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

.reveal table th[align="center"],
.reveal table td[align="center"] {
  text-align: center;
}

.reveal table th[align="right"],
.reveal table td[align="right"] {
  text-align: right;
}

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

/*********************************************
 * SUP/SUB/SMALL
 *********************************************/
.reveal sup {
  vertical-align: super;
}

.reveal sub {
  vertical-align: sub;
}

.reveal small {
  display: inline-block;
  font-size: 0.6em;
  line-height: 1.2em;
  vertical-align: top;
}

.reveal small * {
  vertical-align: top;
}

/*********************************************
 * LINKS
 *********************************************/
.reveal a {
  color: #43418a;
  text-decoration: none;
  transition: color .15s ease;
}

.reveal a:hover {
  color: #43418a;
  text-shadow: none;
  border: none;
}

.reveal .roll span:after {
  color: #fff;
  background: #43418a;
}

/*********************************************
 * IMAGES
 *********************************************/

.reveal section img {
  border: none;
  box-shadow: none;
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.12);
}

.reveal section img.plain {
  border: 0;
  box-shadow: none;
}

.reveal a img {
  transition: all .15s linear;
}

.reveal a:hover img {
  background: rgba(255, 255, 255, 0.2);
  border-color: #43418a;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
}

/*********************************************
 * NAVIGATION CONTROLS
 *********************************************/
.reveal .controls {
  color: #43418a;
}

/*********************************************
 * PROGRESS BAR
 *********************************************/
.reveal .progress {
  background: rgba(0, 0, 0, 0.2);
  color: #43418a;
  z-index: 1000;
}

.reveal .progress span {
  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
}

/*********************************************
 * VERTICATOR STYLING
 *********************************************/
.reveal ul.verticator li a {
  color: #43418a !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: calc(18px * var(--verticator-scale));
  height: calc(18px * var(--verticator-scale));
}

/*********************************************
 * HIGHLIGHT CLASS
 *********************************************/
.hg {
  font-weight: bold;
  color: #43418a;
}

.hg_tomato {
  font-weight: bold;
  color: tomato;
}

.hg_sodium_purple {
  font-weight: bold;
  color: #a16fc5;
}

.hg_chloride_green {
  font-weight: bold;
  color: #3dbb3dff;
}

.hg_dark_green {
  font-weight: bold;
  color: #3e7c50ff;
}

.hg_blue {
  font-weight: bold;
  color: #4081ff;
}

.hg_white {
  font-weight: bold;
  color: white;
}

.hg_white_large {
  font-weight: bold;
  color: white;
  font-size: 1.4em;
}

/*********************************************
 * FROM OPEN SCIENCE PRESENTATION THEME
 *********************************************/

.highlight {
  color: #43418a;
  font-weight: bold;
}

.panel-tabset [role="tab"] {
  border-top-color: rgba(0, 0, 0, 0);
  display: inline-block;
  margin-bottom: -1px;
  color: #41648a;
  font-weight: bold;
}


.slide-number,
.reveal.has-logo .slide-number {
  bottom: 14px !important;
  left: 50px !important;
  top: unset !important;
  color: #43418a !important;
}

/*************************************
 * BULLET STYLES
 *************************************/

/* Remove bullets from first-level lists */
.reveal ul {
  list-style-type: none;
  margin-left: 0;
  padding-left: 0;
}

/* Use first-level bullet style for second-level lists */
.reveal ul ul {
  list-style-type: disc;
  /* default bullet for level 1 */
  margin-left: 1.2em;
}

/* Use second-level bullet style for third-level lists */
.reveal ul ul ul {
  list-style-type: circle;
  /* default bullet for level 2 */
  margin-left: 1.2em;
}

/* Optional: for fourth level and beyond */
.reveal ul ul ul ul {
  list-style-type: square;
  /* default bullet for level 3 */
  margin-left: 1.2em;
}


/*********************************************
 * Fragment styles
 *********************************************/

.reveal .slides section .fragment.hgfrag {
  font-weight: bold;
  color: #43418a;
}

.reveal .slides section .fragment.hgfrag.visible {
  background-color: #43418a;
  color: white;
  padding: 3px 5px;
  border-radius: 3px;
}

.reveal .slides section .fragment.blur {
  filter: blur(5px);
}

.reveal .slides section .fragment.blur.visible {
  filter: none
}

.reveal .fragment {
  transition: all 1.5s ease !important;
}


/*********************************************
 * Molstar
 *****************************************/

.molstar-app {
  position: relative;
  width: 100%;
  height: 80%;
  padding-bottom: 56.25%;
}


/*************************************
 * Tables
 ********************************/

.reveal table thead th {
  font-size: 0.425em;
  font-weight: bold;
  padding: 0.1em 0.3em;
  /* reduce padding */
}

.reveal table tbody td {
  font-size: 0.4em;
  padding: 0.1em 0.3em;
  /* reduce padding */
}

.reveal table tfoot td {
  font-size: 0.4em;
  padding: 0.1em 0.3em;
  /* reduce padding */
}

table.dataTable thead th {
  /* background-color: #0055a5; */
  color: #43418a;
}

table.dataTable tbody tr:hover {
  background-color: #eaf2fb;
}

.dt-wrapper table.dataTable {
  max-width: 80% !important;
  word-wrap: break-word;
}

.dataTables_scroll {
	width: 90%;
}

/**********
* captions
************/

.captions {
  font-size: 0.6em !important;
  color: #43418a !important;
  line-height: 1.2 !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: center !important;
}

.reveal .slide figure>figcaption,
.reveal .slide img.stretch+p.caption,
.reveal .slide img.r-stretch+p.caption {
  font-size: 0.5em;
  color: #43418a !important;
}


/*********
* Clean title slide
**********/

.reveal .slide-number > a[href*='title-slide'] {
  display: none;
}