@import url('https://fonts.googleapis.com/css?family=Rubik');


/*CSS variables hooray*/
:root {
  --main_font_color: #004c86;
  --secondary_font_color: #004c86; /* #5aaa95; */
  --ternary_font_color: #004c86; /* #86a873; */
  --quaternary_font_color: #bb9f06;
  --em_font_color: #4cb944;
  --strong_font_color: #eb811b;
  --citation_font_color: #000000;
  --eq_font_color: #000000; /* #005ea8; */
  --bar_font_color: #005ea8;;

}

body {
    font-family:  'Rubik', sans-serif;
    color: #354046; /*#455a64;*/
    line-height: 1.4;
    font-size: 12pt; /*10pt;*/
    word-wrap: break-word;
}




/*text settings*/

.small {
  font-size: 90%;
}


em {
    /*color: #800080;*/
    color: var(--em_font_color);
    font-style: normal;
}

strong {
    /*color: #d11a01;*/
    color: var(--strong_font_color);;
    font-style: normal;
    font-weight: normal;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}


.large { font-size: 1.8em; }
.big { font-size: 1.4em; }
.medium { font-size: 0.9em; }
.small { font-size: 0.75em; }
.tiny { font-size: 0.5em; }


.orange { color: #eb811b; }
.blue { color: #005ea8; }
.sky_blue { color: rgb(92, 161, 207); }
.red { color: #ee1111; }
.grey { color: #bbbbbb; }
.green {color: #258212;}
.purple {color: #800080}
.pink {color: #ff00f2}
.gray{color: #999999; }
.Q {color: #009933; }



.caption {
    display: block;
    text-align: center;
    font-size: 0.8em;
    font-style: italic;
}

.credit {
   position: absolute;
   float:left;
   bottom: 0.8em;
   margin: 0em 0em;
   font-size: 0.5em;
   /*opacity: 0.75;*/
 }


 .footnote {
    position: absolute;
    bottom: 2em;
    font-size: 0.75em;
    opacity: 0.75;
    margin-left: 0em;
  }


.citation {
   position: absolute;
   bottom: 2em;
   opacity: 0.75;
   /*margin-left: -5.5em;*/
   right: 3em;
   left: 3em;
   color: var(--citation_font_color);
   font-style: italic;
   font-size: 0.7em;/*0.6em;*/
 }

.citation:before {
   content: "\2015\2015\2015";
   display: block;
}


/*images*/

.circle img {
    border-radius: 50%;
}


.gallery {
    display: block;
    text-align: center;
}

.gallery img {
    width: 200px;
    height: auto;
}


.stretch img {
    width: 100%;
    height: auto;
}

.width-10 * {
    width: 10%;
}

.width-17 * {
    width: 17%;
}

.width-20 * {
    width: 20%;
}

.width-30 * {
    width: 30%;
}

.width-40 * {
    width: 40%;
}

.width-45 * {
    width: 45%;
}

.width-50 * {
    width: 50%;
}

.width-53 * {
    width: 53%;
}

.width-60 * {
    width: 60%;
}

.width-62 * {
    width: 62%;
}

.width-70 * {
    width: 70%;
}

.width-80 * {
    width: 80%;
}

.width-90 * {
    width: 90%;
}

.width-95 * {
    width: 95%;
}

.width-100 * {
    width: 100%;
}

.width-130 * {
    width: 130%;
}


/*alignments and columns*/

.small-vspace {
   margin-top: 1cm;
}

.small-nvspace {
    margin-top: -0.75cm;
 }

.vspace {
   margin-top: 2cm;
}

.big-vspace {
   margin-top: 3cm;
}

.left-column {
  width: 50%;
  float: left;
}

.block-center-70{
    margin-left: auto;
    margin-right: auto;
    width: 70%
}

.block-justify-70{
    text-align: justify;
    text-justify: inter-word;
    margin-left: auto;
    margin-right: auto;
    width: 70%
}

.block-center-80{
    margin-left: auto;
    margin-right: auto;
    width: 80%
}
  

.right-column {
  width: 50%;
  float: right;
  vertical-align: middle;
}


.pull-left {
    float: left;
    margin-right: 1em;
}

.pull-right {
    float: right;
    margin-left: 1em;
}


.reset-column {
   overflow: auto;
    width: 100%;
 }

.right{
 float:right;
}

.left{
 float:left;
}

.hidden {
  visibility: hidden;
}

a {
    /*color: #0288d1;*/
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited {
  color: blue;
  /*color: #0288d1;*/
}

/*equations*/
.katex {
    color: var(--eq_font_color);
    /*font-weight: bold;*/
}


/*remark settings*/

.remark-container {
    background: #ddd;
}

.remark-slide-content {
    font-size: 1.4em;
    border-top: solid 6px var(--bar_font_color);

}

.remark-slide-content h1 {
    font-weight: bold;
    font-size: 1.8em;
    /*margin: 0 0 .5em 0;*/
    margin: 0 .5em 0em 0em; /*not to overlap logo on the righ*/
    color: var(--main_font_color);
}

.remark-slide-content h2 {
    color: var(--secondary_font_color);
    font-size: 1.5em;
    font-weight: normal;
    margin: 0 0 .5em 0;
}

.remark-slide-content h3 {
    /*color: #CE530F;*/
    color: var(--ternary_font_color);
    font-size: 1.25em;
    font-weight: normal;
    margin: 0 0 .5em 0;
}

.remark-slide-content h4 {
    color: var(--quaternary_font_color);
    font-size: 0.8em;
    font-weight: normal;
    margin: 0 0 .5em 0;
}


.remark-slide-number {
    font-size: 0.5em;
    bottom: 2em;
}

.remark-code {
    font-size: 0.6em;
    /*font-size: 0.9em;*/
}


/*lists formatting*/

ul > li, ol > li {
     margin: 1em 0;
}

ul > li > ul > li {
    font-size: 1em;
}

/*lists formatting*/

table {
    border-spacing: 1;
    border: 1px solid #e2e2e2;
    font-size: .8em;
    margin: auto;
    padding: 0;
}

thead {
    border: 1;
    margin: 0;
}

th {
    background: #e2e2e2;
    border: 0;
    font-weight: bold;
    margin: 0;
    padding: 10px 10px;
    text-align: center;
}

tbody {
    background: white;
    font-size: .8em;
    margin:0;
}

tr {
    margin: 0;
    /*padding: 0;*/
    padding: 10px 10px;

}

tr:nth-child(odd) {
    background: #fcfcfc;
}

td {
    margin: 0;
    padding: 5px 8px;
}


/*slide families*/

.title-slide:after {
    content: '';
    background-size: 100% 100%;
    width: 150px;
    height: 73px;
    position: absolute;
    bottom: 2em;
    left: 3.3em;
    display: inline-block;
}

.title-slide {
    vertical-align: middle;
}

.title-slide  .remark-slide-number {
      display: none;
}


.end-slide {
    border-top: solid 5px var(--main_font_color);
    background-color: #FFFFFF;
    font-size: 28pt; /*10pt;*/
    color: #005ea8;
    vertical-align: middle;
}

.end-slide  .remark-slide-number {
      display: none;
}

.black-slide {
    background-color: black;
    color: white;
    border-top: solid 0px;
}

.black-slide  .remark-slide-number {
      display: none;
}


div.header-logo img {
  height: 50px;
  top: 10px;
  right: 5px;
  position: fixed;
  margin-top: .5em;
  /*opacity: 0.5;*/
}

/* Misc */

.exercise {
    background-color: rgba(40,167,69,0.25);
    border: 2px solid rgb(40,167,69);
    border-radius: 5px;
    width: 95%;
    display: block;
    padding: 1em;
}

.exercise:before {
    content: "Exercise";
    font-weight: bold;
    display: block;
}

.question {
    background-color: rgba(174, 180, 175, 0.25);
    border: 2px solid rgb(0, 0, 0);
    border-radius: 5px;
    width: 95%;
    display: block;
    padding: 1em;
    margin: auto;
}

.alert {
    color: #354046;;
    background-color: #ffb45eb0;
    border: 2px solid #ff9216;
    border-radius: 5px;
    width: 90%;
    display: block;
    padding: 1em;
    margin: auto;
    text-align: center;
}

.solid {
    border-style: solid;
  }

.dashed {
border-style: dashed;
}
  

/*some tweaks for nicer pdf exports*/

/*@page {
  // 908px 681px for 4/3 slides
  size: 1210px 681px;
  margin: 0;
}

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

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