/* -------------------------------------------------------
 *
 *     !! This file was generated by xaringanthemer !!
 *
 *  Changes made to this file directly will be overwritten
 *  if you used xaringanthemer in your xaringan slides Rmd
 *
 *  Issues or likes?
 *    - https://github.com/gadenbuie/xaringanthemer
 *    - https://www.garrickadenbuie.com
 *
 *  Need help? Try:
 *    - vignette(package = "xaringanthemer")
 *    - ?xaringanthemer::write_xaringan_theme
 *    - xaringan wiki: https://github.com/yihui/xaringan/wiki
 *    - remarkjs wiki: https://github.com/gnab/remark/wiki
 *
 * ------------------------------------------------------- */
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Quattrocento);
@import url(https://fonts.googleapis.com/css?family=Fira+Mono);

:root {
  --main-text-color: #212221;
  --white-text-color: #ffffff;
  --inverse-text-color: #ffffff;
  --splash-color: #00acc8;
  --accent-color: #00acc8;
}

body {
  font-family: 'Droid Serif', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC', serif;
  font-weight: normal;
  color: var(--main-text-color);
}
h1, h2, h3, h4 {
  font-family: Quattrocento;
  font-weight: normal;
  color: var(--main-text-color);
}
.remark-slide-content {
  background-position: right 15px bottom 15px, left 15px bottom 15px, bottom, bottom, top;
  background-size: auto 50px, auto 40px, contain, contain, contain;
  background-image: 
    url("./img/csi_black.svg"), 
    url("./img/cambridge_default.svg"), 
    linear-gradient(to top, rgba(255,255,255,1.0), rgba(255,255,255,1.0), rgba(255,255,255,1.0), rgba(255,255,255,0.3)), 
    linear-gradient(to right, rgba(255,255,255,1.0), rgba(255,255,255,1.0), rgba(255,255,255,1.0), rgba(255,255,255,0.3)), 
    url("./img/grid_third.svg");
}
.remark-slide-content h1 {
    font-size: 55px;
}
.remark-slide-content h2 {
    font-size: 45px;
}
.remark-slide-content h3 {
    font-size: 35px;
}
.remark-slide-content h4 {
    font-size: 30px;
}
.remark-code, .remark-inline-code {
  font-family: Fira Mono, 'Lucida Console', Monaco, monospace;
}
.remark-code {
  font-size: 0.9em;
}
.remark-inline-code {
  font-size: 1em;
  color: var(--main-text-color);
}
.remark-slide-number {
  color: var(--main-text-color);
  opacity: 1;
  right: 50%;
  font-size: 0.9em;
}
.inverse .remark-slide-number {
  color: var(--inverse-text-color);
  opacity: 0;
  font-size: 0.9em;
}
strong{color:var(--main-text-color);}
a, a > code {
  color: var(--main-text-color);
  text-decoration: none;
}
.footnote {
  position: absolute;
  bottom: 5em;
  padding-right: 4em;
  font-size: 0.9em;
}
.remark-code-line-highlighted {
  background-color: rgba(255,255,0,0.5);
}
.inverse {
  background-color: var(--splash-color);
  color: var(--white-text-color);
  
}
.inverse h1, .inverse h2, .inverse h3 {
  color: var(--white-text-color);
}
.title-slide .remark-slide-number {
  display: none;
}
/* Two-column layout */
.left-column {
  width: 20%;
  height: 92%;
  float: left;
}
.left-column h2, .left-column h3 {
  color: var(--main-text-color);
}
.left-column h2:last-of-type, .left-column h3:last-child {
  color: var(--main-text-color);
}
.right-column {
  width: 75%;
  float: right;
  padding-top: 1em;
}
.pull-left {
  float: left;
  width: 47%;
}
.pull-right {
  float: right;
  width: 47%;
}
.pull-right ~ * {
  clear: both;
}
img, video, iframe {
  max-width: 100%;
}
blockquote {
  border-left: solid 5px var(--main-text-color);
  padding-left: 1em;
}
.remark-slide table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
.remark-slide table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
.remark-slide thead, .remark-slide tfoot, .remark-slide tr:nth-child(even) { background: #FFFFFF }
table.dataTable tbody {
  background-color: #FFFFFF;
  color: #272822;
}
table.dataTable.display tbody tr.odd {
  background-color: #FFFFFF;
}
table.dataTable.display tbody tr.even {
  background-color: #C2BFCE;
}
table.dataTable.hover tbody tr:hover, table.dataTable.display tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.5);
}
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
  color: #272822;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #272822 !important;
}

@page { margin: 0; }
@media print {
  .remark-slide-scaler {
    width: 100% !important;
    height: 100% !important;
    transform: scale(1) !important;
    top: 0 !important;
    left: 0 !important;
  }
}


/* Extra CSS */
.hljs-tomorrow-night-bright .hljs {
  background: #10102c;
  border-radius: 5px;
}
.remark-inline-code {
  background: #E0E0E0;
  color: #10102c;
  border-radius: 3px;
  padding: 2px;
}
.inverse .remark-inline-code {
  background: #10102c;
  color: #ececf8;
  border-radius: 3px;
  padding: 2px;
}
.smallish {
  font-size: 85%;
}
.small {
  font-size: 75%;
}
.smaller {
  font-size: 60%;
}
.remark-code-line-highlighted {
  background-color: rgba(255,0,255,0.2);
}
sup {
  font-size: 14px;
}
h1, h2, h3, h4 {
  margin-top: .25em;
  margin-bottom: 0em;
}
.pull-left60 {
  float: left;
  width: 60%;
}
.pull-right30 {
  float: right;
  width: 30%;
}
.pull-left40 {
  float: left;
  width: 30%;
}
.pull-right40 {
  float: right;
  width: 40%;
}
.pull-left40 {
  float: left;
  width: 40%;
}
.pull-right60 {
  float: right;
  width: 60%;
}
.bottom {
  position: absolute;
  bottom: 0;
  left: 0;
}
a {
  text-decoration: underline;
}
.inverse a {
  color: #cbd3a3;
}
.bam{
  color: var(--accent-color);
  text-shadow: 0 0 1px var(--main-text-color), 0 0 1px var(--main-text-color), 0 0 1px var(--main-text-color), 0 0 1px var(--main-text-color);
}
.inverse .bam{
  color: var(--white-text-color);
}
.wo{
  color: var(--white-text-color);
  text-shadow: 0 0 1px var(--main-text-color), 0 0 1px var(--main-text-color), 0 0 1px var(--main-text-color), 0 0 1px var(--main-text-color);
}
.teal{color: #00a191}
.cobalt{color: #002f87}
.rose{color: #e9004c}
.electric{color: #00acc8}
.peach{color: #ffc7be}
.pine{color: #00665e}
.burgundy{color: #692044}
.sky{color: #c0dfeb}
.celadon{color: #dce0ca}

body {
  line-height: 1.4;
}
.inverse {
  background-image: url(./img/grid_third_white.svg);
  background-position: bottom;
  background-size: contain;
}
.short {
  height: 30%;
}
.image-50 img {
  width: 50%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.image-75 img {
  width: 75%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.image-90 img {
  width: 90%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.image-100 img {
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.image-280 img {
  height: 280px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.image-300 img {
  height: 300px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.image-360 img {
  height: 360px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.image-full img {
  height: 480px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.image-tall img {
  height: 580px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.image-center img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.gradientbg {
  background-position: bottom, top;
  background-size: contain, contain;
  background-image:  
    url("./img/grid_third_white.svg"), 
    linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0), rgba(255,255,255,0), rgba(0,172,200,1.0));
}
.centernote {
  text-align: center;
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding-left: 100px;
  padding-right: 100px;
  bottom: 5em;
}
.centernote-high {
  text-align: center;
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding-left: 100px;
  padding-right: 100px;
  bottom: 5em;
}
.bg_sweep {
  position: relative;
  z-index: 1;
}
.bg_sweep_op {
  position: relative;
  z-index: 1;
}

.bg_sweep::before {    
      content: "";
      background-image: url("img/sweep.jpg");
      background-size: cover;
      position: absolute;
      top: 0px;
      right: 0px;
      bottom: 0px;
      left: 0px;
      opacity: 1;
      z-index: -1;
}

.bg_sweep_op::before {    
      content: "";
      background-image: url("img/sweep.jpg");
      background-size: cover;
      position: absolute;
      top: 0px;
      right: 0px;
      bottom: 0px;
      left: 0px;
      opacity: 0.1;
      z-index: -1;
}
.title-slide {
  background-color: var(--main-text-color);
  background-image: 
    url("./img/csi_white.svg"), 
    url("./img/cambridge_white-text.svg"),
    linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
    url("./img/title_background.jpg");
  background-position: right 15px bottom 15px, left 15px bottom 15px, top, center;
  background-size: auto 50px, auto 40px, contain, cover;
  text-shadow: 0 0 1px var(--main-text-color), 0 0 1px var(--main-text-color), 0 0 1px var(--main-text-color), 0 0 1px var(--main-text-color);
}
.title-slide, .title-slide h1, .title-slide h2, .title-slide h3 {
  color: var(--white-text-color);
}