/*--------------------- Typography ----------------------------*/
* {
  box-sizing:border-box;
 }

@font-face {
    font-family: 'aller-light';
    src: url('public/fonts/aller-light.eot');
    src: url('public/fonts/aller-light.eot?#iefix') format('embedded-opentype'),
         url('public/fonts/aller-light.woff') format('woff'),
         url('public/fonts/aller-light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'aller-bold';
    src: url('public/fonts/aller-bold.eot');
    src: url('public/fonts/aller-bold.eot?#iefix') format('embedded-opentype'),
         url('public/fonts/aller-bold.woff') format('woff'),
         url('public/fonts/aller-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'novecento-bold';
    src: url('public/fonts/novecento-bold.eot');
    src: url('public/fonts/novecento-bold.eot?#iefix') format('embedded-opentype'),
         url('public/fonts/novecento-bold.woff') format('woff'),
         url('public/fonts/novecento-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'fleurons';
    src: url('public/fonts/fleurons.eot');
    src: url('public/fonts/fleurons.eot?#iefix') format('embedded-opentype'),
         url('public/fonts/fleurons.woff') format('woff'),
         url('public/fonts/fleurons.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*--------------------- Base Styles ----------------------------*/

body {
  font-family: "aller-light";
  background: url('public/images/gray.png') #fff;
  background-size: 322px;
  margin: 0;
}

hr {
  height: 1px;
  background: #ddd;
  border: 0;
  margin: 40px 0px;
}

h1, h2, h3, h4, h5, h6 {
  color: #112233;
  font-weight: normal;
  font-family: "novecento-bold";
  text-transform: uppercase;
  line-height: 1em;
  margin-top: 50px;
}
  h1 {
    margin: 0;
    text-align: center;
  }
  h2 {
    font-size: 1.3em;
  }
  h1:after {
    content: "8";
    display: block;
    font-family: "fleurons";
    color: #999;
    font-size: 80px;
    padding: 10px 0 25px;
  }

a {
  color: #000;
}

b, strong {
  font-weight: normal;
  font-family: "aller-bold";
}

blockquote {
  border-left: 5px solid #ccc;
  margin-left: 0;
  padding: 1px 0 1px 1em;
}
  .page blockquote p {
    font-family: Menlo, Consolas, Monaco, monospace;
    font-size: 14px; line-height: 19px;
    color: #999;
    margin: 10px 0 0;
    white-space: pre-wrap;
  }

pre, tt, code {
  font-family: Menlo, Consolas, Monaco, monospace;
  font-size: 12px;
  display: inline-block;
  border: 1px solid #EAEAEA;
  background: #f8f8f8;
  color: #555;
  padding: 0 5px;
  line-height: 20px;
}
  .page pre {
    width: 100%;
    padding: 10px 15px;
    background: #fcfcfc;
    -moz-box-shadow:    inset 0 0 10px rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
    box-shadow:         inset 0 0 10px rgba(0,0,0,0.1);
    overflow-x: auto;
  }
    .page pre code {
      border: 0;
      padding: 0;
      background: transparent;
    }

.fleur {
  font-family: "fleurons";
  font-size: 100px;
  text-align: center;
  margin: 40px 0;
  color: #ccc;
}

.highlight {

	margin: 0 -30px;
}
.highlight pre, .highlight code {
	background-color: #272822;
	color: #fff;

}

/*--------------------- Layout ----------------------------*/

.container {
  width: 1000px;
  padding: 0 2%;
  margin: 0 auto;
  background: #fff;
  background: rgba(255,255,255, 0.4);
  overflow: hidden;
}
  .page {
    width: 100%;
    padding: 30px;
    background: #fff;
    font-size: 17px;
    line-height: 26px;
  }
    .page p {
      color: #30404f;
      margin: 5px 0;
    }

ul.sections {
  list-style: none;
  padding:0 0 5px 0;;
  margin:0;
}

.page li p {
  margin: 12px 0;
}

.toc {
  max-height: 0;
  overflow: hidden;
  text-align: center;
  font-size: 13px;
  line-height: 20px;
  -moz-transition: max-height 1s;
  -webkit-transition: max-height 1s;
  transition: max-height 1s;
}
  .header:hover .toc {
    max-height: 500px;
  }
  .toc h3 {
    margin-top: 20px;
  }
  .toc ol {
    margin: 0 0 20px 0;
    display: inline-block;
    text-align: left;
    list-style-type: upper-roman;
  }
    .toc li {
      font-family: 'novecento-bold';
    }
      .toc li a {
        font-family: 'aller-light';
      }


/*---------------------- Syntax Highlighting -----------------------------*/

td.linenos { background-color: #f0f0f0; padding-right: 10px; }
span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; }
/*

github.com style (c) Vasily Polovnyov <vast@whiteants.net>

*/

pre code {
  display: block; padding: 0.5em;
  color: #000;
  background: #f8f8ff
}

pre .comment,
pre .template_comment,
pre .diff .header,
pre .javadoc {
	background: #404040;
	color: #A0A0A0; 
	font-style: italic;
}

pre .keyword,
pre .assignment,
pre .css .rule .keyword,
pre .winutils,
pre .javascript .title,
pre .lisp .title,
pre .subst {
	color: #66d9ef; 
}

pre .literal {
	color: #ae81ff;
}


pre .number,
pre .hexcolor {
  color: #ae81ff
}

pre .string,
pre .tag .value,
pre .phpdoc,
pre .tex .formula {
  color: #93C9A4;
}

pre .title,
pre .id {
  color: #A6E22E;
}
pre .params {
  color: #D7D680;
}

pre .javascript .title,
pre .lisp .title,
pre .subst {
  font-weight: normal
}

pre .class .title,
pre .haskell .label,
pre .tex .command {
  color: #66d9ef;
  font-weight: bold
}

pre .tag,
pre .tag .title,
pre .rules .property,
pre .django .tag .keyword {
  color: #f92672;
  font-weight: normal
}

pre .attribute,
pre .variable,
pre .instancevar,
pre .lisp .body {
  color: #a6e22a
}

pre .regexp {
  color: #B68
}

pre .class {
  color: #458;
  font-weight: bold
}

pre .symbol,
pre .ruby .symbol .string,
pre .ruby .symbol .keyword,
pre .ruby .symbol .keymethods,
pre .lisp .keyword,
pre .tex .special,
pre .input_number {
  color: #990073
}

pre .builtin,
pre .constructor,
pre .built_in,
pre .lisp .title {
  color: #0086b3
}

pre .preprocessor,
pre .pi,
pre .doctype,
pre .shebang,
pre .cdata {
  color: #999;
  font-weight: bold
}

pre .deletion {
  background: #fdd
}

pre .addition {
  background: #dfd
}

pre .diff .change {
  background: #0086b3
}

pre .chunk {
  color: #aaa
}

pre .tex .formula {
  opacity: 0.5;
}


http > response:before {
	content: "";
	color: #aaa;

}

http {
	margin-bottom:100px;
}

/*http > response:after{
	display:block;
	content:'\00a0';
	clear:both;
}
*/
http:after{
	display:block;
	content:'\00a0';
	clear:both;
}

http>request {
	color: #aaa;
	/*display:block;*/
}


http > request, http > response {
	float:left;
	display: block;
	width: 50%;
}

http code {
	padding:15px;
	white-space:pre;
	width:100%;
}


/*.json-display * {
    -webkit-transition: all 1s;                  
    -moz-transition: all 1s;                 
    -o-transition: all 1s;   
    -ms-transition: all 1s;          
    transition: all 1s;

}
*/
.json-collapsed > div {
	height:0;
	overflow:hidden;
    /*-webkit-transform: scaleY(0);    */
}
.json-expanded > div {
    /*-webkit-transform: scaleY(1);    */
    height:auto;
}

.json-expanded > div,  .json-collapsed > div {
    /*-webkit-transform-origin: top;*/
    /*-webkit-transition: -webkit-transform 0.5s ease;*/
}

.json-object > div, .json-array > div {
	margin-left:20px;
}

.json-collapsed.json-object > .json-prop:after {
	content: ': { ... }';
	color:#aaa;
}
.json-collapsed.json-array > .json-prop:after {
	content: ': [ ... ]';
	color:#aaa;
}

.json-expanded.json-object > .json-prop:after{
	content: ': {';
	color:#000;
}

.json-expanded.json-array > .json-prop:after  {
	content: ': [';
	color:#000;
}

.json-expanded.json-object:after {
	content: '}';
}
.json-expanded.json-array:after {
	content: ']';
}

.json-string > .json-value:before, .json-string > .json-value:after{
	content: '"';
}


.json-prop:after {
	content: ': ';
}

code.empty-json {

	color:#aaa;
}