/* 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 .slidecontent {
    top: 80px;
    left: 0px;
    width: 780px;
    height: 500px;

}

.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;
    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;
}