body {
  font-family: Georgia;
  line-height: 30px;
  font-size: 18px;
  margin: 0;
  color: #111;
}

.container {
  width: auto;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Arial;
}

h1 {
  padding-top: 40px;
  line-height: 50px;
}
h2 {
  padding-top: 30px;
}
h3 {
  padding-top: 20px;
}
h4 {
  padding-top: 10px;
}
p {
  text-align: justify;
}
p a {
  word-wrap: break-word;
}
code {
  word-wrap: break-word;
}
blockquote {
  border-left: 3px solid #eee;
  margin-left: 20px;
  padding-left: 20px;
}

::selection {
  background-color: #e4e4e4;
}

table {
  width: 100%;
}
table caption {
  font-weight: bold;
}
table tr {
  padding: 0;
  margin: 0;
  background-color: #f0f0f0;
}
table tr.even {
  background-color: #fafafa;
}
table td {
  margin: 0;
  padding: 3px 5px;
}

p span.added {
  color: green;
  background-color: #fff3c5;
}
p span.removed {
  color: red;
  background-color: #fff3c5;
}

#title-page {
  padding: 80px 0;
}

#TOC {
    visibility: hidden;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: scroll;
  height: 100%;
  background: #fafafa;
  max-width: 300px;
  font-family: Arial;
  font-size: 15px;
  line-height: 30px;
}

#TOC > ul {
  padding-right: 10px;
}
#TOC ul {
  list-style: none;
  padding-left: 20px;
}
#TOC ul li a {
  text-decoration: none;
  color: #364149;
  text-overflow: ellipsis;
  display: block;
  white-space: nowrap;
  overflow: hidden;
}
#TOC ul li a:hover {
  color: #008cff;
}

figure {
  text-align: center;
}
figure p {
  text-align: center;
  font-style: italic;
}
figure img {
  width: 100%;
}
td img {
  width: 100% !important;
}

p,
a {
  /* These are technically the same, but use both */
  overflow-wrap: break-word;
  word-wrap: break-word;

  -ms-word-break: break-all;
  /* This is the dangerous one in WebKit, as it breaks things wherever */
  word-break: break-all;
  /* Instead use this non-standard one: */
  word-break: break-word;

  /* Adds a hyphen where the word breaks, if supported (No Blink) */
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

#forkme_banner {
    display: block;
    position: absolute;
    top: 0;
    left: 15px;
    z-index: 10;
    padding: 10px 50px 10px 10px;
    color: #fff;
    background: url(../images/blacktocat.png) #0090ff no-repeat 95% 50%;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    text-decoration: none;
}

#forkme_banner:hover, #forkme_banner:focus{
    text-decoration: underline;
}

#downloads {
    position: absolute;
    width: 120px;
    z-index: 10;
    top: 10px;
    right: 10px;
    height: 70px;
    background: url(../images/icon_download.png) no-repeat 0% 90%;
}

.pdf_download_link {
    display: block;
    float: right;
    width: 90px;
    height: 70px;
    text-indent: -5000px;
    overflow: hidden;
    background: url(../images/sprite_download.png) no-repeat bottom left;
    margin-left: 10px;
}

.pdf_download_link:hover {
    background: url(../images/sprite_download.png) no-repeat top left;
}

@media (min-width: 576px) {
    .container {
      max-width: 540px;
    }
  }
  
  @media (min-width: 768px) {
    .container {
      padding-left: 315px;
      max-width: 720px;
    }
    #TOC{
        visibility: visible;
    }
    #forkme_banner{
        left: 315px;
    }
  }
  
  @media (min-width: 992px) {
    .container {
      max-width: 960px;
    }
  }
  
  @media (min-width: 1200px) {
    .container {
      max-width: 1140px;
    }
  }