/* Override some of the unwanted knitr styling */
.hl.kwa {
    color: #295F94;
    font-weight: normal;
}
.hl.kwd {
    color: #BC5A65;
    font-weight: normal;
}

div.chunk {
    margin-bottom: 10px;
}

/* Override some unwanted slidesystem styling */
body.presentation {
  padding: 0;
  font-family: Bebas,Futura, "Franklin Gothic Medium", Helvetica, arial, sans-serif;
  width: 1000px;
  height: 700px;
  margin-left: -500px;
  margin-top: -350px;
  position: absolute; 
  top: 50%; 
  left: 50%;
  overflow: hidden;
}

body.presentation .slidecontent {
    top: 100px;
    left: 20px;
    width: 980px;
    height: 600px;

}

.titlepage h1 {
    position: absolute;
    top: 200px;
    width: 500px;
}

@media print {
    #infosection, .liveslides { 
        display: none;
    }
}

/* General stuff */
img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 450px;
    box-shadow: 0px 0px 1em rgba( 180, 215, 227, 0.7 );
}

table {
    margin-left: auto;
    margin-right: auto;
}

td {
    vertical-align: text-top;
}

#farewell {
    display: none;
}
.presentation #farewell {
    display: block;
}

/* Try to avoid page breaks within slide when print */
article {
    page-break-inside: avoid;
}

.invisible {
    display: none;
}