/* Nanum Square */
@font-face {
  font-family: 'Nanum Square';
  font-weight: 300;
  src: url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareL.eot');
  src: url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareL.eot?#iefix') format('embedded-opentype'),
       url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareL.woff2') format('woff2'),
       url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareL.woff') format('woff'),
       url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareL.ttf') format('truetype');
}
@font-face {
  font-family: 'Nanum Square';
  font-weight: 400;
  src: url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareR.eot');
  src: url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareR.eot?#iefix') format('embedded-opentype'),
       url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareR.woff2') format('woff2'),
       url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareR.woff') format('woff'),
       url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareR.ttf') format('truetype');
}
@font-face {
  font-family: 'Nanum Square';
  font-weight: 700;
  src: url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareB.eot');
  src: url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareB.eot?#iefix') format('embedded-opentype'),
       url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareB.woff2') format('woff2'),
       url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareB.woff') format('woff'),
       url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareB.ttf') format('truetype');
}
@font-face {
  font-family: 'Nanum Square';
  font-weight: 800;
  src: url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareEB.eot');
  src: url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareEB.eot?#iefix') format('embedded-opentype'),
       url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareEB.woff2') format('woff2'),
       url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareEB.woff') format('woff'),
       url('https://cdn.xelf.io/resources/xelf.io/v2/web/fonts/NanumSquareEB.ttf') format('truetype');
}

::selection {
  background-color: rgba(65, 50, 214, 0.5);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  width: 8px;
  border-radius: 4px;
  background-color: rgba(0,0,0,.3);
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0,0,0,.5);
}
::-webkit-scrollbar-thumb:active {
  background-color: rgba(0,0,0,.7);
}
nav::-webkit-scrollbar-thumb {
  width: 8px;
  border-radius: 4px;
  background-color: rgba(255,255,255,.3);
}
nav::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255,255,255,.5);
}
nav::-webkit-scrollbar-thumb:active {
  background-color: rgba(255,255,255,.7);
}


h4.name {
  margin-top: 6em;
  position: relative;
}
h4.name:after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: #f5f5f5;
  position: absolute;
  top: -3em;
  left: 0;
}
h3 + h4.name {
  margin-top: 2em;
}
h3 + h4.name:after {
  display: none;
}

#xelf-link {
  height: 35px;
  margin-top: 200px;
  padding: 0;
  line-height: 35px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 30px;
  color: #FFF !important;
  display: block;
}

.readme article p,
.readme article th,
.readme article td {
  transform: skew(-0.05deg);
}

#var .signature, #if .signature,
#elseif .signature, #else .signature,
#while .signature, #for .signature {
  display: none;
}

.prettyprint {
  overflow: hidden;
}

footer {
  color: #DDD !important;
}
footer a {
  color: #DDD !important;
}


/* custom */
.overlay {
  z-index: 5;
}
#main {
  width: calc(100% - 390px);
}
section.package {
  display: none;
}
section {
  width: 900px;
  margin: 0 auto;
  padding: 0;
}
h1.page-title {
  width: 900px;
  margin: 100px auto 1em;
}
.subsection-title {
  font-weight: bold;
}
h4.name {
  margin-bottom: 0;
  background-color: #8b97ef;
  border-radius: 4px;
  font-size: 22px;
  box-shadow: none;
  position: relative;
  z-index: 1;
}
.details {
  height: 65px;
  line-height: 75px;
  margin-top: -10px;
  border-left: 0;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: #f5f5f5;
  font-size: 20px;
}
.details dt {
  font-weight: bold;
}
.details dd {
  margin-top: 0;
}
.details ul li {
  line-height: 75px;
}
.details ul li a, .details ul li a:active {
  color: #4132d6;
}
.description {
  margin: 30px 0;
  line-height: 26px;
  font-weight: bold;
  transform: skew(-0.05deg);
}
h5 {
  margin-top: 30px;
  font-weight: bold;
  font-size: 18px;
  color: #4132d6;
}
.prettyprint {
  border-radius: 4px;
  font-size: 16px;
}
.prettyprint code {
  line-height: 22px;
}
.prettyprint code .com {
  font-size: 14px;
}
.signature {
  color: #FF0;
}
body, h1, h2, h3, h4, h5, h6, nav ul, nav ul a, nav ul a:active,
.params td, .params .name, .props .name, .name code,
span.param-type, .params td .param-type, .param-type dd {
  font-family: 'Nanum Square', sans-serif;
}
table.params {
  box-shadow: none;
}
table.params th {
  background-color: #F2F2F2;
}
nav h3, nav > ul > li > a, nav > ul > li > a:active, nav a:hover, nav a:active {
  color: #FFF;
}
.params .name, .params .type, .params .description {
  line-height: 24px;
}
.param-type dt, .param-type dd {
  transform: skew(-0.05deg);
}
.param-desc {
  font-weight: 600;
  transform: skew(-0.05deg);
}
body {
  padding: 0;
}
footer {
  margin-top: 100px;
  margin-left: 390px;
  text-align: center;
}
nav {
  width: 390px;
  padding: 60px 50px;
  box-sizing: border-box;
  background-color: #2b3c4f;
  top: 0;
  z-index: 10;
}
nav h3 {
  margin-bottom: 30px;
  font-size: 30px;
}
nav > ul > li > a, nav > ul > li > a:active {
  padding: 5px 0;
  margin-top: 20px;
  font-weight: lighter;
  font-size: 20px;
}
nav > ul > li > a + ul li:first-child {
  margin-top: 20px;
}
nav > ul > li > a + ul li:last-child {
  margin-bottom: 35px;
}
nav ul ul a, nav ul ul a:active {
  font-size: 20px;
  color: #7b8ea3;
  border-left: 2px solid #7b8ea3;
}
nav ul ul a:active {
  color: #FFF;
}
nav ul ul a, nav ul ul a:active {
  padding-left: 15px;
}
nav ul ul li:first-child a {
  padding-top: 10px;
}
nav ul ul li:last-child a {
  padding-bottom: 10px;
}
nav ul ul li:not(:first-child) a {
  padding-top: 20px;
}

/* for PDF */
/* nav {
  display: none;
}
#main {
  width: auto;
  float: none;
}
h1.page-title {
  margin-left: 0;
}
section {
  padding-left: 0;
} */

@media only screen and (max-width: 680px) and (min-width: 320px) {
  nav {
    left: -390px;
  }
}

@media only screen and (max-width: 1306px) {
  #main {
    width: 900px;
    margin: 0 auto;
    float: none;
  }
  footer {
    margin-left: 0;
  }
  nav {
    left: -390px;
  }
  .navicon-button {
    display: inline-block;
    position: fixed;
    top: 1.5em;
    right: 0;
    z-index: 2;
  }
}
@media only screen and (max-width: 900px) {
  #main {
    padding: 0 20px;
  }
  #main, h1.page-title, section {
    width: 100%;
  }
}