@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700|Roboto:300,700');
@import url(https://fonts.googleapis.com/css?family=Inconsolata:400,700);
@import url('https://fonts.googleapis.com/css?family=Cabin');
@import url('https://fonts.googleapis.com/css?family=Rock+Salt');


@font-face{
    font-family: 'Fira Code';
    src: url('eot/FiraCode-Light.eot');
    src: url('eot/FiraCode-Light.eot') format('embedded-opentype'),
         url('woff2/FiraCode-Light.woff2') format('woff2'),
         url('woff/FiraCode-Light.woff') format('woff'),
         url('ttf/FiraCode-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face{
    font-family: 'Fira Code';
    src: url('eot/FiraCode-Regular.eot');
    src: url('eot/FiraCode-Regular.eot') format('embedded-opentype'),
         url('woff2/FiraCode-Regular.woff2') format('woff2'),
         url('woff/FiraCode-Regular.woff') format('woff'),
         url('ttf/FiraCode-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face{
    font-family: 'Fira Code';
    src: url('eot/FiraCode-Medium.eot');
    src: url('eot/FiraCode-Medium.eot') format('embedded-opentype'),
         url('woff2/FiraCode-Medium.woff2') format('woff2'),
         url('woff/FiraCode-Medium.woff') format('woff'),
         url('ttf/FiraCode-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face{
    font-family: 'Fira Code';
    src: url('eot/FiraCode-Bold.eot');
    src: url('eot/FiraCode-Bold.eot') format('embedded-opentype'),
         url('woff2/FiraCode-Bold.woff2') format('woff2'),
         url('woff/FiraCode-Bold.woff') format('woff'),
         url('ttf/FiraCode-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body { 
  font-family: 'Cabin', sans-serif;
}

h1, h2, h3 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
}

.remark-code { 
  font-family: 'Fira Code', 'Inconsolata', 'Lucida Console', Monaco, monospace;
}

.remark-inline-code { 
  font-family: 'Fira Code', 'Inconsolata', 'Lucida Console', Monaco, monospace; 
}

@media print {
  body {
    font-family: 'Cabin', sans-serif;
}

.title-slide h2 {
    font-family: 'Roboto', serif;
    font-weight: 300;
}

.title-slide h3 {
    font-family: 'Cabin', sans-serif;
}
/*
  CSS for xaringan slides in RU flavor
Author: Joseph V. Casillas
Updated: 03/06/2018
*/
  
  /* Package defaults that we slightly tweak */
  
  a, a > code {
    color: #cc0033; /* rgb(249, 38, 114) */
      text-decoration: none;
  }

/* slightly lower and bigger than default */
  .footnote {
    position: absolute;
    bottom: 1em;
    padding-right: 4em;
    font-size: 95%;
  }

/* important code slightly red */
  .remark-code-line-highlighted {
    background-color: #FFD3DE !important;
  }

/* color tweak */
  .inverse {
    background-color: #272822;
      color: #777872;
      text-shadow: 0 0 20px #333;
  }

/* slightly spacing change */
  .inverse h1, .inverse h2, .inverse h3 {
    color: #f3f3f3;
      line-height: 1.0em;
  }

/* Two-column layout (slightly wider for aspect ration) */
  .left-column {
    color: #777;
      width: 25%;
    height: 92%;
    float: left;
  }

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

/* slightly thiner to suppor aspect ration */
  .right-column {
    width: 70%;
    float: right;
    padding-top: 1em;
  }

.pull-left {
  float: left;
  width: 45%;
}

.pull-right {
  float: right;
  width: 45%;
}

.pull-right ~ * {
  clear: both;
}

img, video, iframe {
  max-width: 100%;
}

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

/* adjust table horizontal spacing */
  th, td {
    padding:0 15px 0 15px;
  }

/* remove color from tables */
  table {
    margin: auto;
    border-top: none;
    border-bottom: none;
  }

table thead th { border-bottom: none; }
thead, tfoot, tr:nth-child(even) { background: none; }

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

/*~~~~~~~~~~~~~~*/
  /* RU additions */
  /*~~~~~~~~~~~~~~*/
  
  /* Title slide */
  
  /* Add image and change bg color */
  .title-slide {
    background-image: url(https://github.com/jvcasillas/ru_xaringan/raw/master/img/logo/ru_shield.png);
    background-position: 9% 15%;
    background-size: 55px;
    background-color: #fff;
      padding-left: 100px;  /* delete this for 4:3 aspect ratio */
  }

/* H1 fonts */
  .title-slide h1 {
    color: #515151;
      padding-top: 250px;
    font-weight: normal;
    font-size: 45px;
    line-height: 0.05;
    text-align: left;
    text-shadow: none;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

/* H2 fonts */
  .title-slide h2 {
    color: #cc0033;
      font-size: 35px;
    text-align: left;
    text-shadow: none;
    padding-top: 0px;
    margin-top: 0px;
  }

/* H3 fonts */
  .title-slide h3 {
    font-size: 28px;
    font-weight: normal;
    color: #666666;
      text-align: left;
    text-shadow: none;
    padding: 0px;
    margin: 0px;
    line-height: 1;
  }

/* Remove slide count */
  .title-slide .remark-slide-number {
    text-shadow: none;
  }

/*~~~~~~~~~~~~~~~~~~*/
  /* SECTION DIVIDERS */
  /*~~~~~~~~~~~~~~~~~~*/
  
  /* section divider red */
  .title-slide-section-red {
    background-color: #cc0033;
      padding-left: 100px;  /* delete this for 4:3 aspect ratio */
  }

/* section divider red H1 fonts */
  .title-slide-section-red h1, .title-slide-section-red h2, .title-slide-section-red h3, .title-slide-section-red p {
    color: #fff;
  }

/* section divider grey */
  .title-slide-section-grey {
    background-color: #515151;
      padding-left: 100px;  /* delete this for 4:3 aspect ratio */
  }

/* section divider grey H1 fonts */
  .title-slide-section-grey h1, .title-slide-section-grey h2, .title-slide-section-grey h3 {
    color: #fff;
  }

.title-slide-section-grey p {
  color: #fff;
}

/*~~~~~~~~~~~~~~~~~~*/
  /* FINAL SLIDE      */
  /*~~~~~~~~~~~~~~~~~~*/
  
  .title-slide-final {
    background-color: #272822;
      color: #fff;
      padding-left: 100px;
    text-shadow: 0 0 20px #333;
    text-align: center;
  }

.title-slide-final h1 {
  color: #cc0033;
}

/*~~~~~~~~~~~~~~~~~~~~*/
  /* Global adjustments */
  /*~~~~~~~~~~~~~~~~~~~~*/
  
  /* Add padding to all slides for 16:9 aspect ratio */
  .remark-slide-content {
    padding-left: 100px;  /* delete this for 4:3 aspect ratio */
  }

/* Color adjustments for text */
  
  /* Make bold syntax compile to RU-red */
  strong {
    color: #cc0033;
  }

.RUred {
  color: #cc0033;
}

/* Add blue tag */
  .blue {
    color: #0000CC;
      font-weight: bold;
  }

/* Add grey tag */
  .grey {
    color: #515151;
  }

.lightgrey {
  color: #818181;
}

/* Force black */
  .black {
    color: black;
    font-weight: bold;
  }

/* Add white tag */
  .white {
    color: white;
  }

/* Color adjustments to headers */
  h1 {
    color: #cc0033;
  }

h3 {
  color: #515151;
}

/* Font size tags */
  .big {
    font-size: 1.5em;
  }

/* ru blockquote */
  ru-blockquote {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 40px;
    margin-right: 40px;
    border-left: solid 10px #cc0033;
    background-color: #818181;
      padding: 1em;
    color: #fff;
      -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
  }