/* framework */

.hide {
  display: none;
}

.no-list {
  list-style: none;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font: 18px 'FreeSans', sans-serif;
}

h1,
h2,
h3 {
  color: #111;
  font-family: 'FreeSansBold', sans-serif;
  margin: 1em 0 .35em 0;
  padding-bottom: .35em;
  position: relative;
}

/*h1:before,
h2:before,
h3:before {
  content: '\00a7';
  cursor: pointer;
  display: inline-block;
  right: 100%;
  opacity: 0;
  padding-right: 5px;
  position: absolute;
  top: -2.5px;
}

h1:hover:before,
h2:hover:before,
h3:hover:before {
  opacity: 1;
}*/

h1 {
  border-bottom: 1px solid #ccc;
}

p {
  line-height: 25px;
  margin: 1em 0;
  text-align: justify;
}

ul,
ol {
  list-style-position: inside;
  margin: .5em 0 1.5em 0;
}

ul li ul,
ol li ol {
  font-size: .9em;
  list-style-type: disc;
  margin: 0 0 0 1.5em;
}

dl dt {
  font-family: 'FreeSansBold', sans-serif;
}

figure {
  margin: 2em 0;
}

figcaption {
  color: #666;
  font-size: .8em;
  text-align: center;
}

img {
  height: auto;
  max-width: 100%;
}

a {
  color: #f92672;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#header,
#descricao,
#uso,
#comportamento,
#log {
  margin: 30px auto;
  max-width: 45em;
  padding: 0 1em;
}

#modulo {
  box-shadow: 0 5px 0 #c00, 0 -5px 0 #c00;
}

#header nav h1,
#modulo h1 {
  display: none;
}

.global.main pre,
.global.main code {
  font-size: .9em;
}

.global.main p code {
  background-color: #eee;
  border-radius: 3px;
  font-size: .8em;
  font-style: italic;
  padding: .1em .4em;
}

.global.main pre code {
  border-radius: 10px;
  box-shadow: 0 0 5px #000, inset -2px -2px 0 rgba(0,0,0,.3), inset 2px 2px 0 rgba(255,255,255,.1);
  line-height: 20px;
  padding: 1em .5em 1em 3.5em;
  position: relative;
  transition: box-shadow .25s;
}

.global.main pre code:hover {
  box-shadow: 0 0 10px #000, inset -2px -2px 0 rgba(0,0,0,.3), inset 2px 2px 0 rgba(255,255,255,.1);
  transition: box-shadow .5s;
}

.global.main pre code:before {
  background-color: rgba(0, 0, 0, .1);
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 3em;
}

.global.footer {
  background-color: #23241f;
  padding: 2em;
  text-align: center;
}

.global.footer h1 {
  border-bottom: 0;
  margin: 0;
  padding: 0;
}

.global.footer h1:before {
  content: '';
  display: none;
}

.global.footer h1 a {
  text-decoration: none;
}

/* Code Highligh */

.line-number {
  left: 0;
  position: absolute;
  padding: 0 1em;
}

.line-number span {
  color: rgba(255, 255, 255, .8);
  display: block;
}
