@import url(http://fonts.googleapis.com/css?family=Droid+Serif);
@import url(http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);

.title {
  background-attachment: fixed !important;
  background-position: left !important;
  text-align: right !important;
  background-color: black !important;
}
body {
  font-family: 'Droid Serif';
  font-size: 20px;
  line-height: 1.5;
}
h1, h2, h3 {
  font-family: 'Yanone Kaffeesatz';
  font-weight: 400;
  margin-bottom: 0;
}
h1 { font-size: 4em; }
h2 { font-size: 2em; }
h3 { font-size: 1.6em; }
.footnote {
  position: absolute;
  bottom: 3em;
}
li p { line-height: 1.25em; }

.red { color: #fa0000; }
.white { color: white; }
.black { color: black; }

.large { font-size: 2em; }
.small { font-size: 0.5em; }

a, a > code {
  color: rgb(249, 38, 114);
  text-decoration: none;
}
code {
  -moz-border-radius: 5px;
  -web-border-radius: 5px;
  background: #e7e8e2;
  border-radius: 5px;
  font-size: 16px;
}
.pull-left {
  float: left;
  width: 47%;
}
.pull-right {
  float: right;
  width: 47%;
}
.pull-right ~ p {
  clear: both;
}
.hard-right {
  position: absolute;
  right: 4em;
}
.wide img {
  width: 82%;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}
#slideshow .slide .content code {
  font-size: 0.8em;
}
#slideshow .slide .content pre code {
  font-size: 0.9em;
  padding: 15px;
}
.inverse {
  background: #272822;
  color: #777872;
  text-shadow: 0 0 20px #333;
}
.inverse h1, .inverse h2 {
  color: #f3f3f3;
  line-height: 0.8em;
}

/* Slide-specific styling */
#slide-inverse .footnote {
  bottom: 12px;
  left: 20px;
}
#slide-how .slides {
  font-size: 0.9em;
  position: absolute;
  top:  151px;
  right: 140px;
}
#slide-how .slides h3 {
  margin-top: 0.2em;
}
#slide-how .slides .first, #slide-how .slides .second {
  padding: 1px 20px;
  height: 90px;
  width: 120px;
  -moz-box-shadow: 0 0 10px #777;
  -webkit-box-shadow: 0 0 10px #777;
  box-shadow: 0 0 10px #777;
}
#slide-how .slides .first {
  background: #fff;
  position: absolute;
  top: 20%;
  left: 20%;
  z-index: 1;
}
#slide-how .slides .second {
  position: relative;
  background: #fff;
  z-index: 0;
}

/* 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: 2em;
}
.tip {
  padding: 5px;
  background: #e7e8f2;
  border: none;
  font-size: 16px;
  padding: 1em;
  font-size: 100%;
}

.up10 {
  position: relative;
  top: -10px;
}
.up20 {
  position: relative;
  top: -20px;
}
.up30 {
  position: relative;
  top: -30px;
}
.up40 {
  position: relative;
  top: -40px;
}
.up50 {
  position: relative;
  top: -50px;
}

.down10 {
  position: relative;
  top: 10px;
}
.down20 {
  position: relative;
  top: 20px;
}
.down30 {
  position: relative;
  top: 30px;
}
.down40 {
  position: relative;
  top: 40px;
}
.down50{
  position: relative;
  top: 50px;
}

.rom25bild img {
  width: 25%;
}

.rom30bild img {
  width: 30%;
}

.rombild img {
  width: 90%;
}

.rom50bild img {
  width: 50%;
}

.rom66bild img {
  width: 66%;
}

.rom75bild img {
  width: 75%;
}


.rot90 {
/* Safari */
-webkit-transform: rotate(-90deg);

/* Firefox */
-moz-transform: rotate(-90deg);

/* IE */
-ms-transform: rotate(-90deg);

/* Opera */
-o-transform: rotate(-90deg);

/* Internet Explorer */
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
