/* custom environments */
@import url("https://use.fontawesome.com/releases/v6.2.1/css/all.css");

.application-exercise {
  padding: 1em 1em 1em 4em;
  margin-bottom: 10px;
  margin-left: 10px;
  border: 1pt solid #a8a8a8;
  background: #ffffff 5px center/3em no-repeat;
  background-image: url("application-exercise.png");
}
.application-exercise:before {
  content: "Application exercise: ";
  clear: right;
  display: block;
  font-weight: bold;
  color: #80D4E6;
}


.slides {
  padding: 0em 1em 0em 2em;
  position: relative;
  font-size: 0.9em;
}
.slides:before {
  content: "\f1c1";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #a8a8a8;
  left: 5px;
  position: absolute;
}


.reading {
  padding: 1em 1em 1em 4em;
  margin-bottom: 5px;
  margin-left: 5px;
  border: 1pt solid #d8d8d8;
  background: #ffffff 5px center/3em no-repeat;
  background-image: url("book.png");
}
.reading:before {
  content: "Reading: ";
  clear: right;
  display: block;
  font-weight: bold;
  color: #1E5C65;
}
.reading ul li {
  list-style-type: square;
}

.slide-deck {
  padding: 1em 1em 1em 4em;
  margin-bottom: 10px;
  margin-left: 10px;
  border: 1pt solid #80D4E6;
  background: #ffffff 5px center/3em no-repeat;
  background-image: url("slide-deck.png");
}

.source {
  padding: 0em 1em 0em 2em;
  position: relative;
  font-size: 0.9em;
}
.source:before {
  content: "\f44b";
  font-family: "Font Awesome 6 Free";
  color: #a8a8a8;
  left: 5px;
  position: absolute;
  font-weight: 900;
}

.solutionlink {
  padding: 0em 1em 0em 2em;
  position: relative;
  font-size: 0.9em;
}
.solutionlink:before {
  content: "\e2ca";
  font-family: "Font Awesome 6 Free";
  color: #a8a8a8;
  left: 5px;
  position: absolute;
  font-weight: 900;
}

.guest-lecture {
  padding: 1em 1em 1em 4em;
  margin-bottom: 10px;
  margin-left: 10px;
  border: 1pt dotted #a8a8a8;
  background: #ffffff 5px center/3em no-repeat;
  background-image: url("microphone.png");
}

.video {
  padding: 0em 1em 0em 2em;
  position: relative;
  font-size: 0.9em;
}
.video:before {
  content: "\f16a";
  font-family: "FontAwesome 6 Free";
  color: #c4302b;
  left: 5px;
  position: absolute;
}


.lab{
  padding: 1em 1em 1em 4em;
  margin-bottom: 10px;
  margin-left: 10px;
  border: 1pt solid #FFD748;
  background: #ffffff 5px center/3em no-repeat;
  background-image: url("lab.png");
}

.homework{
  padding: 1em 1em 1em 4em;
  margin-bottom: 10px;
  margin-left: 10px;
  border: 1pt solid #F26BAA;
  background: #ffffff 5px center/3em no-repeat;
  background-image: url("hw.png");
}

.instructions {
  padding: 0em 1em 0em 2em;
  position: relative;
  font-size: 0.9em;
}
.instructions:before {
  content: "\f15c";
  font-family: "Font Awesome 6 Free";
  color: #444B54;
  left: 5px;
  position: absolute;
}

.starter {
  padding: 0em 1em 0em 2em;
  position: relative;
  font-size: 0.9em;
}
.starter:before {
  content: "\f09b";
  font-family: "Font Awesome 6 Free";
  color: #444B54;
  left: 5px;
  position: absolute;
}


.tutorial{
  padding: 1em 1em 1em 4em;
  margin-bottom: 10px;
  margin-left: 10px;
  border: 1pt solid #d8d8d8;
  background: #ffffff 5px center/3em no-repeat;
  background-image: url("tutorial.png");
}


.exam{
  padding: 1em 1em 1em 4em;
  margin-bottom: 10px;
  margin-left: 10px;
  border: 1pt solid #d8d8d8;
  background: #ffffff 5px center/3em no-repeat;
  background-image: url("exam.png");
}


.rstudio-cloud {
  padding: 1em 1em 1em 4em;
  margin-bottom: 5px;
  margin-left: 5px;
  background: #ffffff 5px center/3em no-repeat;
  background-image: url("cloud.png");
}
.rstudio-cloud:before {
  content: "RStudio Cloud: ";
  clear: right;
  display: block;
  font-weight: bold;
  color: #A7D5E8;
}

/* overwrite bs4_book style */

img.cover {
  box-shadow: none;
}

.inline-figure {
  border: none;
}

/* overwrite default style */

p.caption {
  color: #777;
  margin-top: 10px;
}
p code {
  white-space: inherit;
}
pre {
  word-break: normal;
  word-wrap: normal;
}
pre code {
  white-space: inherit;
}
