:root{
  /*--c-code: #346325;*/
  /*--c-code: #3b7840;*/ /*green*/
  --c-code: #183c1b; /*green*/
  --c-link: #224e9b; /*blue*/
}
html,body{
  margin: 0;
  font-size: 16px;
  font-family: medium-content-sans-serif-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #333;
  line-height: 1.5;
  scroll-behavior: smooth;
}
h1,h2,h3,h4,h5,h6{
  /*font-family: gt-super, Georgia, Cambria, "Times New Roman", Times, serif;*/
  margin: 1.5em 0 0.7em 0;
  font-weight: bold;
}
h1{
  font-size: 44px;
}
h2{
  margin-top: 2em;
  font-size: 36px;
}
.with-subtitle{
  margin-bottom: 5px;
}
.subtitle{
   font-size: 1.4rem;
   margin-top: 5px;
}
h3{
  /*margin-top: 42px;*/
  font-size: 28px;
}
h4{
  /*margin: 32px 0 24px 0;*/
  /*margin: 1.33em 0 1em 0;*/
  font-size: 24px;
}
h5{
  font-size: 20px;
}
h6{
  font-size: 16px;
}
p{
  margin: 0.6em 0;
}
a{
  color: var(--c-link);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover{
  color: #19315a;
}
pre,code,samp,kbd{
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--c-code);
  white-space: pre-wrap;
  word-break: break-word;
}
.comment{
  color: #777;
}
kbd{
  padding: 3px 5px 1px 5px;
  color: #333;
  font-size: 90%;
  border: 1px solid #aaa;
  border-radius: 4px;
  background-color: rgba(243, 243, 238, 0.5);
}
dl.key dt{
  font-weight: normal;
}
.main{
  max-width: 740px;
  margin: 0 auto 60px auto;
  padding: 3vw;
}
p>code, dd>code, .bg{
  padding: 2px 4px;
  line-height: 1.2;
/*  background: rgba(222, 222, 222, 0.3);*/
  border-radius: 4px;
}
/*li>p{
  margin: 10px 0;
}*/
blockquote > h4{
  margin-bottom: 0;
}
blockquote > p{
  margin: 5px 0;
}
table{
  width: 100%;
  margin-bottom: 15px;
  border-collapse: collapse;
}
table caption{
  margin: 3px 0 12px 0;
  text-align: left;
  font-style: italic;
}
th{
  font-weight: bold;
}
th,td{
  padding: 5px 10px;
  vertical-align: top;
  border: 1px solid #ccc;
}
/* cols in tables then have code view */
.ccc tr td:nth-child(-n+3),
.cc tr td:nth-child(-n+2),
.c tr td:nth-child(1),
.odd tr td:nth-child(odd),
.even tr td:nth-child(even),
.not1 tr td:not(:first-child){
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /*font-weight: bold;*/
  color: var(--c-code);
}
/* bold cols */
.bbb tr td:nth-child(-n+3),
.bb tr td:nth-child(-n+2),
.b tr td:nth-child(1),
.bodd tr td:nth-child(odd),
.beven tr td:nth-child(even){
  font-weight: bold;
}
dt{
  font-weight: bold;
}
dd{
  margin-bottom: 12px;
}
dd p{
  margin: 0;
}
img{
  display: block;
  max-width: 100%;
  height: auto;
  margin: 15px auto 0;
}
aside{
  margin: 16px;
  padding-left: 40px;
  background-repeat: no-repeat;
  background-position: 0 0;
}
.info{
  background-image: url(../linux/common/i.svg);
}
.prim{
  background-image: url(../linux/common/k.svg);
}
.warn{
  background-image: url(../linux/common/w.svg);
}
.keywords{
  --cols: 4;
  columns: var(--cols);
}
.note{
  display: inline-block;
  width: 24px;
  margin-right: 10px;
  vertical-align: middle;
}
.footnote{ /* на удаление */
  font-size: 0.9em;
}
.footnotes{
  border-top: 1px solid #aaa;
  font-size: 0.86em;
}
sup{
  font-size: 0.8em;
}
details{
  padding: 1vw 1vw;
  background: rgba(238, 238, 238, 0.4);
}
summary{
  font-weight: bold;
  cursor: pointer;
}
dfn{
  font-style: normal;
  border-bottom: 1px dotted var(--c-link);
  cursor: help;
}
@media screen and (max-width: 740px) {
  .keywords{
    columns: calc(var(--cols) - 1);
  }
}
@media screen and (max-width: 540px) {
  .keywords{
    columns: calc(var(--cols) - 2);
  }
}
@media screen and (max-width: 420px) {
  .keywords{
    columns: calc(var(--cols) - 3);
  }
}