/* Custom fonts */
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700);
@import url(https://fonts.googleapis.com/css?family=Fira+Mono|Open+Sans);

/* Turn off slide numbers */
/* Don't want them on videos! */
.remark-slide-number {
  display: none;
}

/* colors */
:root {
  --dark-blue: #002b36;
  --light-blue: #A7D5E8;
  --green: #8fada7;
  --gray: #A7A7A7;
  --pink: #E9AFA3;
  --yellow: #e9d968;
  --beige: #fdf6e3;
  --green-faint: #8fada750;
  --light-blue-faint: #A7D5E850;
  --pink-faint: #E9AFA350;
}

/* Font colors */
.dark-blue {
  color: var(--dark-blue);
}
.light-blue {
  color: var(--light-blue);
}
.green {
  color: var(--green);
}
.gray {
  color: var(--gray);
}
.pink {
  color: var(--pink);
}
.yellow {
  color: var(--yellow);
}


/* Title slide customization */
.title-slide h1, h2, h3 {
  text-align: left;
  font-weight: bold;
  font-family: Raleway;
}

.title-slide h2 {
  color: var(--green);
}

.title-slide h3 {
  color: var(--beige);
  font-size: 130%;
}

.title-slide a {
  color: var(--gray);
}

/* Alignment */
.right{
  text-align: right;
}
.center{
  text-align: center;
}

/* Margins around headers */
/* To make the most of the slide real estate */

h1, h2, h3 {
  margin-top: 3px;
  margin-bottom: 3px;
  margin-right: 5px;
  margin-left: 5px;
}

/* Font sizes */
.huge {
   font-family: 'Montserrat', sans-serif;
   font-size: 400%;
   font-weight: bold;
}
.larger { font-size: 250% }
.large { font-size: 150% }
.midi { font-size: 85% }
.small { font-size: 70% }
.xsmall { font-size: 65% }
.tiny { font-size: 50% }

.midi .remark-code { font-size: 85%; }
.small .remark-code { font-size: 70%; }
.xsmall .remark-code { font-size: 65%; }
.tiny .remark-code { font-size: 50%; }

/* Huge numbers */

.huge-blue-number {
 font-family: 'Montserrat', sans-serif;
 font-size: 1700%;
 font-weight: bold;
 color: var(--light-blue);
}
.huge-pink-number {
 font-family: 'Montserrat', sans-serif;
 font-size: 1700%;
 font-weight: bold;
 color: var(--pink);
}

/* Handwriting */
.hand{
  font-family: 'Gochi Hand', cursive;
  font-size: 125%;
}

/*Alternative two-column layouts*/

  /*Left 70% - Right 30% */
.pull-left-wide {
  width: 70%;
  float: left;
}
.pull-right-narrow {
  width: 27%;
  float: right;
}
.pull-right-narrow ~ * {
  clear: both;
}

  /*Left 30% - Right 70% */
.pull-left-narrow {
  width: 30%;
  float: left;
}
.pull-right-wide {
  width: 67%;
  float: right;
}
.pull-right-wide ~ * {
  clear: both;
}

/* Footnote */
.footnote {
  padding-left: 30px;
}


/* Square bullets for lists */

ul{
  list-style-type: square;
}

/* Footer */
div.my-footer {
    border-top: 1px solid var(--gray);
    position: absolute;
    bottom: 0px;
    height: 40px;
    width: 90%;
}
div.my-footer span {
    font-size: 20px;
    position: absolute;
    bottom: 10px;
    left: 30px;
    color: #8A8A8A;
}
div.my-footer a {
    font-size: 20px;
    color: #8A8A8A;
}


/* Custom boxes */

.question, .your-turn, .tip {
  padding-right: 10px;
  padding-left: 10px;
  padding-top: 3px;
  padding-bottom: 3px;
  margin-bottom: 6px;
  margin-top: 6px;
}

.question{
  border-left: solid 5px var(--green);
  background-color: var(--green-faint);
  color: black;
}

.tip {
  border-left: solid 5px var(--pink);
  background-color: var(--pink-faint);
  color: black;
}

.your-turn {
  border-left: solid 5px var(--light-blue);
}


/* Quotes */
blockquote {
  border-left: solid 5px lightgray;
  padding-left: 1em;
}

/* Embedded images */
img, video, iframe {
  max-width: 100%;
}

/* Image overlay */
.imageoverlay {
  position: absolute;
  top: 10%;
  left: 65%;
  border: 1px solid #ddd;
}

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

/* Datatable headers */
div.datatables {
    color: #fff;
}



/**
 * KCA extra CSS
 * Note: there's some overlap with the above that might cause problems.
 */

.tiny {
  font-size: 0.4rem;
}
.small {
  font-size: 0.7rem;
}
.comfortable {
  font-size: 1.0rem;
}
.large {
  font-size: 1.8rem;
}
.white-pre {
  white-space: pre;
}
h2, h3, h4 {
  margin: 5px 0;
}
.small-code .remark-code {
  font-size: 0.5rem;
}
.floating-source {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 100;
  background: rgba(255,255,255,.75);
  font-size: 1rem;
}
.remark-slide table {
  font-size: 0.8rem;
}
.larger-table table {
  font-size: 1.0rem;
}
.smaller-table table {
  font-size: 0.6rem;
}
.tiny-table table {
  font-size: 0.2rem;
}
.pagedtable-wrapper {
  font-size: 0.8rem;
}
.pagedtable-header-type {
  font-size: 0.5rem;
}
.question {
  border-left: 5px solid #005A7F;
  padding: 5px;
  margin: 10px;
  background-color: #F3CD00;
}
.question p {
  margin: 5px;
}
.scripture {
  max-width: 90%;
  margin: 10px auto;
}
.scripture .remark-code {
  font-family: "Noto Sans", sans-serif;
  font-size: 1.3rem;
}
.scripture .ref {
  display: block;
  margin-top: 1rem;
  text-align: right;
}
.col2 {
  columns: 2;
}

/* overflow */
.pull-left, .pull-right {
  overflow-x: auto;
}
