/* professional_presentation.css

  Layout for professional presentations.

  Copyright (c) 2011-2012 Gerald Senarclens de Grancy
  GNU General Public License version 3

*/

/*
 * TODO:
 * - Evaluate fonts; eg 'PT Sans Caption', Orienta, 'Averia Libre' and Baumans.
 * - Separate color schemes (eg red/gray, light blue/ dark blue, ...)
 */

body {
/*   font-family: 'Indie Flower', sans-serif; */
  font-size: 150%;
}

div.slide.cover {
  color: #6d0505;
  background-color: transparent;
}

#cover-text {
  bottom: 8%;
  max-width: 65%;
}

 #cover-image {
  display: block;
  float: right;
  max-width: 50%;
}

#title {
  font-family: 'Yanone Kaffeesatz', cursive;
  font-size: 500%;
  font-weight: bold;
  letter-spacing: 0.03em;
}

div.slide.clean {
  background-color: white;
}

div.slide h1 {
  font-family: 'Yanone Kaffeesatz', cursive;
  font-size: 300%;
  margin-left: 0%;
  padding-left: 3%;
  letter-spacing: 0.03em;
  color: #6d0505;
  box-shadow: 0 0 0 0;
  background-color: transparent;
}

div.slide.separator h1 {
  display: table-cell;
  font-size: 350%;
}

div.slide.separator {
  background-color: #ccc;
}

div.slide.separator.alert h1 {
  background-color: #FFA500;
  color: #1047A9;
}

div.slide.separator.inverted h1 {
  background-color: #6d0505;
  color: #ccc;
}

/*
 * @ list items:
 ul {
    list-style: none;
    padding:0;
    margin:0;
}
li {
    padding-left: 1em;
    text-indent: -.7em;
}
*/

ul li {
/*   background: url(images/bullet.png) no-repeat 5px 0.3em; */
  padding-left: 0;
  background: transparent;
}
li ul li, li li ul li {
  list-style-type: none;
}
ul li dl, ol li dl {
  margin-left: 1.5em;
}
ul li dl dt, ol li dl dt {
  color: #6d0505;
}
ul > li:before {
  content: "+";
  background-color: #ccc;
  color: transparent;
  font-size: 50%;
  box-shadow: 0 0 0.2em 0.2em #6d0505;
  margin-left: 0.7em;
  display:inline-block;
  vertical-align:middle;
  line-height:50%;
  margin-right: 1.5em;
}
li > ul > li:before {
  font-size: 30%;
}
li > ol, li > ol > li {
  list-style-position: inside;
}
ul > li.unfolded:before {
  content: "-";
}
ul.outline li.folded:hover:before {
  color: #555;
  background-color: #eee;
}
ul.outline li.nofold, ul.outline li.unfolded, ul.outline li.folded, ul.outline li.unfolded:hover, ul.outline li.folded:hover {
  padding: 0;
  background-image: none;
}
ul.outline li.folded:before, ul.outline li.unfolded:before {
  color: #555;
}

/*
div.slide.separator a:hover {
  text-shadow: #aaa 0 0 20px;
}
*/
/*
a:visited { color: navy }
a:link { color: navy }*/

/* advanced attribute selection; matches all links starting with http and adds a little icon to them */
/*a[href^="http"] {
  background-image: url(images/link_external.png);
}*/

/* same as above, but for mailto links */
/*a[href^="mailto:"] {
  background-image: url(images/link_email.png);
}*/

/* mark links to pdf files with a little icon */
/* this declaration has to be below the http declaration so that
 *   pdf files will have the corresponding icon, no matter whether they are
 *   external or not (the specificity of both selectors is the same) */
/*a[href$=".pdf"] {
  background-image: url(images/link_pdf.png);
}

.navbar a:link {color: white}
.navbar a:visited {color: yellow}
.navbar a:active {color: red}
.navbar a:hover {color: red}



div.slide.cover a:visited { color: white }
div.slide.cover a:link { color: white }

div.slide span.authors {
    color: darkblue;
}
div.slide span.pub_details {
    display: block;
    color: gray;
    font-size: 80%;
}
*/
.block {
  border: 1px solid #999; /* TODO:  replace: #437a00 with #6d0505 */
  box-shadow: 12px 12px 20px 0px #6d0505;
}

.block > .title {
  border-bottom: 1px solid #999;
  background-color: #6d0505;
  color: #ccc;
}
@media print { .block > .title {color: #6d0505;} }

/* TODO: clean up and separate from regular presentation.css, then many
!important can be removed; */
/* source code and embedded files */
pre, pre.prettyprint {
  border-color: #ccc !important;
  background-color: transparent;
  padding: 0 1em 1em 1em !important;
  margin-left: 0.35em;
  border-left-width: 0.5em !important;
  /*  border-top-width: thin;
   *  border-right-width: thin;
   *  border-bottom-width: thin;*/
  border-top-style: none !important;
  border-right-style: none !important;
  border-bottom-style: none !important;
  page-break-inside: avoid;
}

pre.filename {
  display: inline-block;
  margin-bottom: 0;
  margin-left: 0.35em;
  padding-bottom: 0.3em !important;
  padding-top: 0.3em !important;
  padding-left: 2em !important;
  border-left-width: 0.5em !important;
  border-bottom-style: solid !important;
/*  border: 1px solid #ccc;
  border-bottom: none;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
  border-left-width: thin !important;*/
  letter-spacing: 130%;
  /*   font-variant:  small-caps; */
  font-weight: normal;
  text-align: center;
}

pre.content {
  margin-top: 0;
/*   border: 1px solid #ccc !important; /*make sure prettify won't override */
  padding: 1ex !important;
}

/* Elements that appear directly as children of a slide need left margin
 * that would be otherwise provided by ul or ol. */
div.slide > .direct {
  margin-left: 1.5em;
}
/* Buttons */
/*.button, .python-console-loader {
  border: medium double #6c8f25;
  box-shadow: 0 0 0.6em #6c8f25;
}

.button:hover, .python-console-loader:hover {
  background-color: #d1e1a5;
}

.button:active, .python-console-loader:active {
  box-shadow: inset 0 0 0.6em #6c8f25;
}*/

/** For slides showing mainly a single image
 * To use it, add a style="background-image: url(...)" declaration to the slide
 *
 * If you desire to have a text, use style="margin: 20% 0% 0% 70%;" to
 * position it and adjust the color to fit to the image.
 */
div.slide.image {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% 100%;  /* drops the aspect ratio */
}
div.slide.image.portrait {
  background-size: auto 100%;  /* keep aspect ratio for portraits */
}
div.slide.image.landscape {
  background-size: 100% auto;  /* keep aspect ratio for portraits */
}
/* printing full screen images doesn't work properly yet */
@media print { div.slide.image {background-size: 15cm auto; width: 16cm; height: 25cm;} }


/* override changes to print styles done in presentation.css */
@media print {
  ul li {
    list-style: none;
  }
}


