@charset "utf-8";

/*! Color themes for Google Code Prettify | MIT License | github.com/jmblog/color-themes-for-google-code-prettify */
/* .prettyprint{background:#fff;font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;border:0!important}.pln{color:#333}ol.linenums{margin-top:0;margin-bottom:0;color:#ccc}li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{padding-left:1em;background-color:#fff;list-style-type:decimal}@media screen{.str{color:#183691}.kwd{color:#a71d5d}.com{color:#969896}.typ{color:#0086b3}.lit{color:#0086b3}.pun{color:#333}.opn{color:#333}.clo{color:#333}.tag{color:navy}.atn{color:#795da3}.atv{color:#183691}.dec{color:#333}.var{color:teal}.fun{color:#900}} */

/* .prettyprint {
  font-size: 15px;
} */

/* li.L0, li.L2, li.L4, li.L6, li.L8 {
  background: #333;
} */

ol.linenums{
  margin-top:0;
  margin-bottom:0;
  color:#ccc
}

.prettyprint {
  font-size: 14px;
}

span.counter_name {
  text-decoration: underline;
  padding-left:24px;
  padding-right:64px;
}

/* code-prettify の折り返し設定 */
pre {
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  white-space: pre-wrap;
  word-wrap: break-word;
}

pre.cmd {
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.42857143;
  color: #333;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* 行番号を全ての行に */
li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 {
  list-style-type: decimal !important;
}

li.L0,li.L1,li.L2,li.L3,li.L4,li.L5,li.L6,li.L7,li.L8,li.L9{
  padding-left:1em;
  background-color:#E2E2E2;
}

h1.myh1 {
  font-size: 200%;
  text-decoration: underline;
  color: #02397B;
}

h2.myh2 {
  font-size: 150%;
  color: #02397B;
  border-left: 20px solid #3F8AE3;
  padding: 3px 0 3px 10px;
}

h3.myh3 {
  font-size: 120%;
  color: #02397B;
  border-left: 20px solid #E38A3F;
  padding: 3px 0 3px 10px;
}

h4.myh4 {
  font-size: 110%;
  color: #02397B;
  margin-left: 20px;
  border-left: 20px solid #E38A3F;
  padding: 3px 0 3px 10px;
}

pre.counter{
  position: relative;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  background-color: #F9F9F9;
  padding-top:16px;
}

code {
  /* background-color: #F0F0F0; */
  padding-left:3px;
  padding-right:3px;
  /* font-family: 'Courier New', Courier, monospace;
  font-weight: bold; */
}

.copy-btn {
  position: absolute;
  right: 0;
  margin-right:16px;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size:x-small;
}

.copy-btn:hover {
  background-color: #0056b3;
}

.copy-btn:active {
  background-color: #003093;
}

.copy-btn.copied {
  background-color: #28a745;
}

pre.output{
  margin: -10px 0 20px 60px;
  padding: 5px 0 5px 5px;
  border: 1px solid #E0E0E0;
  background-color: #F9F9F9;
  color: #606060;
  font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;

  overflow: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 15px;
}

pre.grammar{
  margin: 5px 0 10px 40px;
  padding: 5px 0 5px 5px;
  border: 1px solid #7A7A7A;
  background-color: #FFFFFF;
  color: #000000;
  font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;

  overflow: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-weight: bold;
}


p {
  text-indent: 1em;
  text-align: justify;
  line-height: 24px;
  font-size: 15px;
  color: #333333;
}


dl.mydl, ul.myul {
  line-height: 24px;
  font-size: 15px;
  color: #333333;
}

dt.default {
  font-weight: normal;
}

dd.default {
  margin-inline-start: 40px;
}

dl.mydl > dt {
  margin-top: 10px;
}

dl.mydl > dd {
  margin-left: 1em;
}

p.pull_right {
  text-indent: 1em;
  text-align:right;
}

.screen {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width:75%;
  margin-top:10px;
  margin-bottom:10px;
  /*border: 1px solid rgba(128, 128, 128, 1);
  box-shadow: 5px 5px 20px rgba(0,0,0,0.4);*/
  border-radius: 8px;
}
.screen_border {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width:75%;
  margin-top:10px;
  margin-bottom:10px;
  border: 1px solid rgba(128, 128, 128, 1);
  box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
  border-radius: 8px;
}



.strong {
  font-weight: bold;
}

span.code_highlight {
  background-color: #FFFF80;
}

span.code_highlight_nega {
  background-color: rgba(255, 213, 122, 0.6);
}

.link_prev {
  /* background-color: #FF0000; */
  float: left;
  width: 100px;
}

div.link_next {
  /* background-color: #0000FF; */
  float: right;
  width: 100px;
}

div.link_prev_next {
  /* background-color: #00FF00; */
  height: 10px;
}

div.preview {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  width:80%;
  margin-top:10px;
  margin-bottom:10px;
  border: 1px solid rgba(128, 128, 128, 1);
  box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
  border-radius: 8px;
}

div.title {
  /* border-top: 2px solid rgba(180, 180, 180, 1);
  border-bottom: 2px solid rgba(180, 180, 180, 1); */
  border: 2px solid rgba(180, 180, 180, 1);
  border-radius: 8px;
  background-color: #30FF30;
  margin-bottom: 8px;
  padding-top: 4px;
}

div.title > p {
  margin-bottom: 5px;
  text-align: center;
  font-size: small;
  color: #505050;
}

.wearehere {
  font-weight: bold;
  background-color: #E0E0E0;
}

span.key {
  font-family:Menlo,Bitstream Vera Sans Mono,DejaVu Sans Mono,Monaco,Consolas,monospace;
  border: 1px solid;
  border-radius: 3px;
  padding-left: 6px;
  padding-right: 6px;
  margin-left: 2px;
  margin-right: 2px;
}

.prev_next {
  /* margin-bottom: 20px; */
  text-align: center;
}

.prev_next_link {
  display: inline-block;
  /* margin-right: 25px; */
  /* margin-bottom: 10px; */
  padding: 8px 20px;
  border: solid 1px #0000C0;
  border-radius: 3px 3px 3px 3px / 3px 3px 3px 3px;
  color: #183691;
}

.prev_next_link + .prev_next_link {
  margin-left: 20px;
}

.prev_next_link:hover {
  color: #FF0000;
  font-weight: bold;
  /* border: solid 1px #00FF00; */
}

ol.toc > li {
  margin-top: 10px;
}

div.small_toc {
  margin-top: 8px;
  margin-left: 32px;
  line-height: 24px;
  font-size: 0.81em;
}

a {
  text-decoration: none;
}

a:hover {
  opacity: 0.9;
  cursor: pointer;
}

.preview_body {
  padding: 10px;
}

code ol {
  padding-left: 3rem;
}

ol.toc {
  counter-reset: cnt;
  list-style: none;
}

ol.toc > li::before {
  counter-increment: cnt;
  content: counters(cnt, "-") ". ";
}

.chart {
  margin-bottom: 30px;
}

footer {
  padding-bottom: 30px;
}
