.remark-slide-content p, ul, ol, li {
  font-size: 1.6rem;
}

.remark-slide-content {
  background-color: #f8f9fa;
}

.remark-slide-content h1 {
	margin-bottom: 0.5em !important;
}

.footnote {
	bottom: 1em;
	font-size: 75%;
}

img {
	margin-bottom: 1.5rem;
	overflow: hidden;
	/*background: #fff;*/
}


/* code */
/* https://github.com/rstudio/blogdown/blob/master/docs/02-hugo.Rmd */

pre {
  border: 1px solid #ebebeb;
  padding: 0.25em;
  background-color: #fff;
  overflow-x: auto;
  border-radius: 0px; /*undo rounded corners*/
}

pre code { 
  background: none; 
  font-size: 0.8rem;
}

.hljs {
	background: #fff !important;
}

.display {
  font-weight: 700;
  color: #E7553C;
}


/* link color */
a, a > code {
  color: #E7553C;
}


:any-link {
    color: #E7553C;
    text-decoration: underline;
}


/* mouse over link */
a:hover, a:active, a:focus {
    color: rgba(231,85,60,.8);
    text-decoration: underline;
}

.remark-code {
  color: #E7553C;
  font-size: 1.25em;
}

.remark-inline-code { 
  color: #E7553C;
  font-size: 1em;
}

.remark-code-line-highlighted { 
  background-color:  #bed3eca1; 
}

/* darken up code and results */

.hljs-solarized-light .hljs {
  color: #2B3D43; 
}

.inverse {
  background-color: #404040;
  color: #f8f9fa;
  text-shadow: none;
}

.inverse h1, .inverse h2, .inverse h3 {
	color: #f8f9fa;
}

.inverse .remark-inline-code {
  color: #f37278;
}



/* Two-column layout */
.left-column {
  color: #777;
  width: 30%;
  height: 92%;
  float: left;
  font-size: 18px;
}

.left-column h2:last-of-type, .left-column h3:last-child {
  color: #000;
}

.left-column1 {
  color: #777;
  width: 34%;
  height: 92%;
  float: left;
  font-size: 18px;
}

.right-column {
  width: 67%;
  float: right;
  padding-top: 0em;
}

.right-column1 {
  width: 63%;
  float: right;
  padding-top: 0em;
}

.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 lightgray;
  padding-left: 1em;
}
table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee }

@page { margin: 0; }

.title-slide h1 {
  font-family: 'Fraunces', serif;
  color: #343a40;
  font-size: 3em;
  word-wrap: break-word;
  letter-spacing: 1pt;
  font-weight: 200;
  margin-bottom: -10px !important;
}

.title-slide h2 {
  font-family: 'Fraunces', serif;
  font-weight: 200;
  font-size: 1.35em;
  color: #343a40;
  text-shadow: none;
  text-transform: uppercase;
  margin-bottom: 0px !important;
  letter-spacing: .1em;
}

.title-slide h3 {
  font-family: 'Commissioner', sans-serif;
  font-weight: 300;
  font-size: 1.3em;
  color: #666260;
  text-transform: none;
}

.title-slide a {
  color: #fff;
}

/* Wider cols */

.right-wide {
  width: 60%;
  float: right;
  padding-top: 1em;
}

.left-narrow {
  width: 40%;
  float: left;
  padding-top: 1em;
}

.left-wide {
  width: 60%;
  float: left;
  padding-top: 1em;
}

.right-narrow {
  width: 40%;
  float: right;
  padding-top: 1em;
}

/* footer */

div.my-footer {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 20px;
    width: 100%;
}

div.my-footer span {
    font-size: 10pt;
    color: #ffffff;
    position: absolute;
    left: 15px;
    bottom: 2px;
}

a.footer-link {
    position: absolute;
    bottom: 5px;
    right: 50px;
    height: 40px;
    width: 150px;
    color: #023d4d;
}

/* activities */

.activity {
  background-color: #121417;
  color: #fff;
}

.activity h1,
.activity h2 {
  color: #fff;
}



/* --------------Even split- 3 columns--------------- */

.flex {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.column {
  float: left;
  width: 25%;
  text-align: center;
}


/*-------*/


.columns {
  display: flex;
}

.left-col {
  width: 33%;
  text-align: left;
}

.middle-col {
  width: 33%;
  text-align: left;
  padding-left: 20px;
}

.right-col {
  width: 33%;
  text-align: left;
  padding-left: 20px;
}

/* five-column layout */

.column-5 {
  float: left;
  width: 20%;
  text-align: center;
}

.fade {
  opacity: 0.3;
}

.frame h1 {
  color: #2f5275;
  padding-bottom: 1.0em !important;
  border-bottom: 3px solid #bed3ec;
}

.inverse .frame h1 {
  color: #bed3ec;
  padding-bottom: 1.0em !important;
  border-bottom: 3px solid #bed3ec;
}

/* Headers, body */

h4 {
  font-size: 1.8em;
}

.freight-slide {
  background-image: 
    linear-gradient(
      rgba(59, 66, 69, .8),
      rgba(59, 66, 69, .8)
    ),
    /* your image */
    url(../../images/freight.jpg);
  background-size: cover;
}

.emphasis {
  font-family: 'Kalam';
  font-weight: normal;
}

.big-text {
  font-size: 2.8em !important;
}

.shadow-text {
  text-shadow: 2px 2px 0.5em black;
  color: #fff;
}

.remark-code-line-highlighted {
  color: #E7553CFF;
  background-color: transparent;
}


.hidden{
  visibility: hidden;
}

.word-bubble {
  font-family: 'Fraunces';
  font-size: 1.2em;
}


/* https://github.com/yihui/xaringan/wiki/Progressbar */
.remark-slide-number {
  position: inherit;
}

.remark-slide-number .progress-bar-container {
  position: absolute;
  bottom: 0;
  height: 8px;
  display: block;
  left: 0;
  right: 0;
}

.remark-slide-number .progress-bar {
  height: 100%;
  background-color: #495057;
}

.title-slide .remark-slide-number .progress-bar-container {
  height: 0px;
}

hr {
  color: #023d4d80;
}

.bg_karl {
  position: relative;
  z-index: 1;
}

.bg_karl::before {    
      content: "";
      background-image: url('figs/landing.jpg');
      opacity: 0.4;
      z-index: -1;
}

.opacity {
      opacity: 0.5;
}