@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
}

a {
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
  font-weight: lighter;
}

p a {
  color: #ff840a;
  text-decoration: none;
/*        border-bottom: 1px solid #ff840a;*/
  transition: text-shadow 200ms, border-bottom 200ms;
  text-shadow: 0 0 0 rgba(0,0,0,0);
}

p a::after {
  content: ' < ';
/*        font-family: monospace;*/
  display: inline-block;
  line-height: 8px;
  height: 8px;
  padding: 2px;
  margin: 0 0.5em;
  background: #ff840a;
  color: white;
  border-radius: 3px;
  font-size: 0.8em;
  text-shadow: none;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow 200ms;
}

p a:hover {
/*        border-bottom: 1px solid rgba(255, 132, 10, 0);*/
  text-shadow: 1px 6px 1px rgba(0,0,0,0.2);
}

p a:hover::after{
  box-shadow: 1px 6px 1px rgba(0,0,0,0.2);
}

p a:active {
  transition: none;
  text-shadow: 1px 3px 1px rgba(0,0,0,0.2);
}





.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
/*  background: #ffc898;*/
  background: #0a61eb;
  color: #fff;
  overflow: auto; 
}

.sidebar-title {
  margin-left: 32px;
  font-size: 2.5em;
}





.outline {
  position: relative;
  border-right: 1px solid #fff;
  width: calc(50vw - 440px);
  text-align: right;
  margin: 0;
  margin-top: 128px;
  margin-bottom: 128px;
  padding: 0;
  
  color: #82ffcf;
  font-size: 1.2em;
}

.outline, .outline ul {
  list-style-type: none;
}

.outline-progress {
  position: absolute;
  top: 0;
  right: -4px;
  width: 7px;
  height: 0px;
  border-radius: 3px;
  background-color: #82ffcf;
/*  transition: height 200ms;*/
}

.outline-progress-info {
  position: absolute;
  bottom: 0;
  left: 20px;
  white-space: nowrap;
  font-size: 0.6em;
  font-weight: normal;
}

.outline-title {
  position: relative;
  padding-right: 24px;
  transform-origin: right center;
  transition: transform 120ms;
  transform: rotate(45deg);
  font-weight: lighter;
}

.outline:hover .outline-title {
  transform: rotate(0deg);
}

.outline-title::after {
  display:  block;
  position: absolute;
  content:  ' ';
  border-radius: 100px;
  background-color: #82ffcf;
  border: 4px solid #0a61eb;
  top:        50%;
  right:      -16px;
  margin-top: -16px;
  height:     23px;
  width:      23px;
}

.outline-section {
}

.outline-section {
  color: #fff;
  font-weight: 100;
  font-size: 0.7em;
}

.outline-section .outline-title:after {
  background-color: #fff;
  right:      -10px;
  margin-top: -10px;
  height:     11px;
  width:      11px;
}

.outline-section
.outline-section {
  color: #93baf7;
  font-size: 0.8em;
}

.outline-section
.outline-section .outline-title:after {
  background-color: #669cf2;
  right:      -7px;
  margin-top: -7px;
  height:     5px;
  width:      5px;
}





.content {
  position: absolute;
  background: white;
  left: 50%;
  margin-left: -350px;
  top: 0;
  bottom: 0;
  right: 0;
  overflow: auto;
}

article {
  margin: 100px;
  width: 500px;
  color: #214360;
}

article h1 {
  font-size: 3em;
}

article h2 {
  font-size: 2em;
  margin-top: 2em;
  margin-bottom: 0em;
}

article h2 a,
article h3 a {
  position: relative;
  line-height: 48px;
  text-decoration: none;
  color: #4ea3eb;
}

article h2 a:target::before,
article h3 a:target::before {
  display: block;
  position: absolute;
  left: -32px;
  font-size: 32px;
  line-height: 48px;
  color: #ffc898;
  content: '>';
  font-family: monospace;
}

article p {
  line-height: 1.5em;
}
