/************
 *
 * KU - Remark tweaks
 * 
 * Claus Ekstrøm 2016-2020
 *
 * This CSS file consists of two types of changes: 1) changes to the default style, and 2) new additions
 * There is no ordering of these and it would be a good idea if they were added in separate sections
 * 
 ************/

@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700);

/* CE Added my favorite fonts */
@import url('https://fonts.googleapis.com/css?family=Helvetica:400,400i,700,700i|Helvetica+Sans');



/* Default variable and constant */

:root {
    --main-font: 'Alegreya';           /* Default font - remember to import it above first */
    --header-font: 'Alegreya Sans';    /* Default font for slide heads */ 
    --font-size: 185%;                 /* Default text font size */
    --code-font: 'Source Code Pro', 'Lucida Console', Monaco, monospace ;
    
    --bg-color: #fff;               /* Default background */
    --text-color: #16161d;                /* Default text colour - Eigengrau*/

    --inverse-bg-color: #fff;       /* Background colour for inverse slides - KU bordeaux */
    --inverse-text-color: #16161d;     /* Text colour for inverse slides - whiteish */

    --code-bg-highlight: #344aee;      /* Colour used for code high-lighting */

    --table-header-bg-color: #d9d9d9;  /* Background color for table headers */

    --link-color: rgb(6, 69, 173);             /* Colours of links. If the line is commented out then links will match default text colours */
}



body { font-family: 'Droid Serif', 'Palatino Linotype', 'Book Antiqua', Palatino, 'Microsoft YaHei', 'Songti SC', serif;
       background-color: var(--bg-color);  /* Eigengrau */
     }

/* Default background colour, and font size */
.remark-slide-content{ background-color: var(--bg-color);
		       color: var(--text-color);
		       font-size: var(--font-size);   /* Regular text size */
		       font-family: var(--main-font), serif;
		     }


/* Remove the drop box shadow around the slides in full screen */
.remark-slide-scaler {
    -webkit-box-shadow: 0 0 0px #888;
    box-shadow: 0 0 0px #888;
}

/* Change the overall background colour _outside_ the actual slides.
   This is useful if the slide and screen formats do not match */
body:-webkit-full-screen {
    background: var(--bg-color);
}


/****************
 *
 * Tables
 *
 ****************/

table { display: inline-block; }  /* Fix centering of tables  */

table th {
    background-color: var(--table-header-bg-color); 
    padding: 0px 6px; 
}

tbody tr:nth-child(odd) {   /* Zebra stipes for tables */
    background-color: #f2f2f2
}

tbody tr:nth-child(even) {   /* Zebra stipes for tables */
    background-color: #f9f9f9;
    color: #000;
}

table td  { padding: 0px 16px; }


/**********************
 *
 * Changed CSS
 *
 **********************/



/* Insert logo as background image */
.kulogo {
    background-image: url(kulogowhiteq.png);
    background-position: 100% 100%;
    background-size: 30%;
}

.sundlogo {
    background-image: url(sundlogowhiteq.png);
    background-position: 100% 100%;
    background-size: 30%;
}


video#videobg {
    position: fixed;
    top: 50%; left: 50%;
    z-index: 1;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
}

.dimbg {
    -webkit-filter: blur(5px) opacity(.3);
    -moz-filter: blur(10px) opacity(.3);
    -o-filter: blur(5px) opacity(.3);
    -ms-filter: blur(5px) opacity(.3);
    filter: blur(5px) opacity(.3);
    /*    opacity: 0.5; */
}


/**************
 *
 * Fancy stuff
 *
 **************/


.rotate-left>img {
    -webkit-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
    transform: rotate(-2deg); 
}

.rotate-right>img {
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    transform: rotate(2deg);     
}


.polaroid img {
    border: 10px solid #fff;
    border-bottom: 45px solid #fff;
    -webkit-box-shadow: 3px 3px 3px #111;
    -moz-box-shadow: 3px 3px 3px #111;
    box-shadow: 3px 3px 3px #111;
}


.caption {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: #fff;
    font-size: 85%;
}




.cornerlift img
{
    position: relative;
}


.cornerlift img:before, .cornerlift img:after {
			    
    border: 10px solid #fff;
    border-bottom: 45px solid #fff;
			    
  z-index: -1;
  position: absolute;
  content: "";
  bottom: 15px;
  left: 10px;
  width: 50%;
  top: 80%;
  max-width:300px;
  background: #777;
  -webkit-box-shadow: 0 15px 10px #777;
  -moz-box-shadow: 0 15px 10px #777;
  box-shadow: 0 15px 10px #777;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -o-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}

.cornerlift img:after {
  -webkit-transform: rotate(3deg);
  -moz-transform: rotate(3deg);
  -o-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  right: 10px;
  left: auto;
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font), sans-serif; 
    font-weight: normal;
    font-weight: 600;
}

a, a > code {
    /* Link colours */
    color: var(--link-color, var(--text-color));
    text-decoration: none;
}

.footnote {
  position: absolute;
  bottom: 3em;
  font-size: 71%;
}


.fullimage {
    z-index:-5;    
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto; 
}

.fullimage2 {
    z-index:-5;    
    min-width: 900px;
    min-height: 900px;
/*    width: auto;
    height: auto; */
}

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


/* 
 *  Normal code output 
 *  Note that .remark-code is also controlled by blocked mathematics
 */
.remark-code {
    font-family: var(--code-font);
    font-size: 70%;
}

.remark-inline-code {
    font-family: var(--code-font);
    font-size: 100%;
}

 /* Color coding of highlighted code */
.remark-code-line-highlighted {
    background-color: var(--code-bg-highlight); 
} 



/* ****
 *
 * None of this is used but saved for later
 * 
 ********* 
 */
/* 
Block math 
*/ 

.mjx-math {
    font-size: 100%;
}

/ * Block math 
   Only this is unique to block (display) math
* / 
.MJXc-display {
    font-size: 100% !important;
}


/ * Inline math * / 
.mjx-chtml {
    font-size: 100%; 
}

*/


.inverse {
    background-color: var(--inverse-bg-color);
    color: var(--inverse-text-color);
    text-shadow: 0 0 0px #000;
}

.inverse h1, .inverse h2, .inverse h3 {
    color: var(--inverse-text-color);
    text-shadow: 0 0 0px #000;
//  line-height: 0.8em;
}


.white {
    background-color: #BBBBBB;
    color: #030303;
    text-shadow: 0 0 20px #333;
}

.white h1, .white h2, .white h3 {
    color: #030303;
    text-shadow: 0 0 20px #333;
//  line-height: 0.8em;
}



.title-slide {
    background-image: url(kulogowhiteq.png);
    background-position: 100% 100%;
    background-size: 30%;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.title-slide h1 {
    font-size: 180%;    /* Regular text */
}

.title-slide h2 {
    font-size: 120%;    /* Regular text */
}

.title-slide h3 {
    font-size: 90%;    /* Regular text */
}


/* Two-column layout */
.left-column {
  color: #777;
  width: 20%;
  height: 92%;
  float: left;
}

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

.right-column {
  width: 75%;
  float: right;
  padding-top: 1em;
}
.right-column ~ p {
  clear: both;
}

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

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

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


.pull-left6 {
  float: left;
  width: 57%;
}

.pull-right6 {
  float: right;
  width: 37%;
}

/* SR ekstra søjler */

.pull-left2 {
  float: left;
  width: 57%;
}
.pull-right2 {
  float: right;
  width: 37%;
}
.pull-leftF {
  float: left;
  width: 37%;
}
.pull-rightF {
  float: right;
  width: 57%;
}

/* Slut SR ekstra søjler */


.pull-down {
  bottom: 0;
  position: fixed;
}


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

img {
  max-width: 100%;
}

/*
 *
 * This chunk changes the slide size
 * 
 */

.remark-slide-content {
  padding-top: 0.4em;
  padding-right: 2.4em;
  padding-bottom: 0.4em;
  padding-left: 2.4em;
}



/************
 * 
 * 
 * 
 ************/


.hljs-ir-black .hljs {
    border-radius: 15px;
}


/* *** SR lir *** */


/* https://forum.squarespace.com/topic/59756-how-do-i-add-a-border-around-text-box/ */

.boxBorder {
 border: 1px solid #d7d7d7;
/* padding: 0px;
/* outline: #990066 solid 5px;*/
 outline-offset: 1px;
 background-color: #f2f2f2;
/*margin: 0px;*/
}

.code-bg-red .remark-code, .code-bg-red .remark-code * {
 background-color:red!important;
}

.output .remark-code, .output .remark-code * {
 background-color:#f2f2f2;!important;
}

ulnone {
  list-style: none; /* Remove HTML bullets */
  padding: 0;
  margin: 0;
}

li { 
  padding-left: 16px; 
}

.lilletekst {
  font-size: 170%;   
}

