a:hover, a:focus {
  font-weight: normal;
}

h1 a:hover, h1 a:focus {
  font-weight: bold;
}

body {
  padding: 0;
  color: #363637;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 26px;
  font-family: Raleway, sans-serif, "Helvetica Neue", Helvetica, Arial, sans-serif;
  border-top: 10px solid #BBf22b;
  margin: 0;
}

.contents-body {
  padding-bottom: 120px;
}
.contents-body a,
.contents-body a:link,
.contents-body a:hover,
.contents-body a:visited {
  color: #006C7F;
}
.contents-body a:hover {
  font-weight: bold;
}
.contents-body img {
  border: 1px solid #efefef;
}

::-moz-selection {
  background-color: #006C7F;
  color: #fff;
}

::selection {
  background-color: #006C7F;
  color: #fff;
}

.wrapper {
  width: 1160px;
  margin: 0 auto;
}

/* header */
header {
  position: fixed;
  overflow: scroll;
  height: 90%;
  padding: 30px 30px 0 0;
  width: 250px;
}

header > ul {
  padding: 0;
}

.header-line {
  height: 30px;
  background-color: #2a332c;
  margin-bottom: 10px;
}

header h1 a {
  background: url(/live/oe_/https://baserproject.github.io/assets/img/logo.svg) no-repeat;
  background-size: 40px;
  padding-left: 50px;
  font-size: 18px;
  display: block;
  color: #363637;
}

header li {
  list-style-type: none;
  margin: 5px 0;
  font-size: 13px;
}

header a {
  color: #363637;
}

ul {
  padding: 0 0 0 20px;
}

.local-navi {
  padding-top: 10px;
  padding-bottom: 10px;
}

.local-navi {
  border-top: 1px solid #e7e7e7;
}

.toc {
  background: #eaeae7;
  float: right;
  padding: 2em;
  margin-left: 2em;
  margin-bottom: 1em;
  position: relative;
  z-index: 1;
  font-size: 13px;
  min-width: 230px;
  max-width: 260px;
  display: none;
}

.toc:has(ul) {
  display: block;
}

.toc h3 {
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
}

.local-navi h2 {
  font-size: 14px;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 10px;
}

.toc > ul,
.local-navi > ul {
  padding: 0 !important;
}
.local-navi ul ul {
  margin-bottom: 0;
  display: none;
}
.toc ul {
  margin: 0;
  list-style-type: none;
}

.local-navi li,
.toc li {
  margin-top: 5px;
  margin-bottom: 5px;
  line-height: 18px;
}

.local-navi a,
.toc a {
  display: block;
}

.local-navi .current {
  color: #d33c44;
  scroll-margin-top: 100px;
}

.toc a:link,
.toc a:visited {
  color: #363637;
}

.local-navi a:hover {
  color: #006C7F !important;
}

.toc a:hover {
  font-weight: bold;
}

.toc-current {
  font-weight: bold;
}

.toc a.toc-current:hover {
  font-weight: bold;
}

/* section */
section {
  font-size: 15px;
  width: auto;
  max-width: 860px;
  font-family: Raleway, sans-serif, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  letter-spacing: 0.02em;
  margin-left: 290px;
  float: none;
}

.crumbs {
  margin-bottom: 20px;
  font-size: 13px;
}

section {
  padding: 20px 15px;
}

section h1 {
  margin-top: 60px;
  margin-bottom: 80px;
  font-size: 42px;
  font-weight: normal;
}

section h2 {
  border-top: 1px solid #e7e7e7;
  margin: 9px 0;
  font-size: 36px;
  line-height: 50px;
  font-weight: normal;
  padding-top: 25px;
  margin-top: 80px;
}

section h3 {
  margin: 9px 0;
  font-weight: normal;
  line-height: 50px;
}

section h4,
section h5,
section h6 {
  margin: 9px 0;
  font-weight: bold;
  line-height: 50px;
}

section h3 {
  font-size: 28px;
}

section h4 {
  font-size: 20px !important;
}

section h5 {
  font-size: 16px;
}

section h6 {
  font-size: 14px;
}

section pre {
  font-size: 14px;
}

p > code, li > code {
  background-color: #ecece9;
  border-radius: 2px;
  font-family: "Roboto Mono", "Consolas", "Monaco", monospace;
  line-height: normal;
  padding: 0 2px;
  color: #363637;
  letter-spacing: 0.02em;
  font-size: 0.9em;
}

pre {
  line-height: 140%;
  margin-bottom: 20px;
  padding: 15px 20px;
}

pre code {
  word-wrap: normal;
  font-family: "Roboto Mono", "Consolas", "Monaco", monospace !important;
  font-size: 12px;
  color: #222;
  letter-spacing: normal;
}

pre code span {
  font-weight: normal !important;
}

header p.view a {
  display: block;
  padding: 15px;
  text-align: center;
  border: 1px solid #e7e7e7;
}

@media print, screen and (max-width: 1150px) {
  header, section, footer {
    position: relative;
    width: auto;
  }
  .local-navi {
    display: none;
  }
  .toc {
    float: none;
    margin-left:0;
  }
  .view {
    display: none;
  }
  .header-wrap {
    display: flex;
  }
  header {
    padding:30px 15px 0 15px;
  }
  .logo {
    width:180px;
  }
  .crumbs {
    display: none;
  }
  body {
    word-wrap: break-word;
  }
  .wrapper {
    width:100%;
  }
  .toc {
    min-width: auto;
    width: auto;
  }
  
  section {
    width: auto;
    margin: 0;
  }
  
  header h1 a {
    background-size: 20px;
    padding-left: 25px;
  }
  
  header ul, header p.view {
    position: static;
  }
}

.highlight {
  background: none !important;
}

.highlight pre {
  background: #ECECE9 !important;
  border: none !important;
}

.highlight .c1 {
  color: #5f5f5f;
  font-style: normal;
}

.topics {
  padding:0 20px;
  background-color: #f7f7f9;
  color:#424756;
  border: 1px solid #e3e4e5;
  border-radius: 20px;
  margin-bottom: 20px;
  margin-top:20px;
}

.search {
  display: flex;
  margin-bottom: 20px;
}
.search input {
  margin-right: 5px;
  height: 30px;
  background: #fff;
  border: 1px solid #e7e7e7;
  box-sizing: border-box;
}
.search input[type="text"] {
  width: 120px;
  padding: 0 5px;
}
.search input[type="submit"] {
  cursor: pointer;
}
.search input[type="submit"]:hover {
  color: #069;
}
