/*
    default.css
*/

html {
    scroll-behavior: smooth;
}

body {
    background-color: white;
    color: black;
    font-family: -apple-system, BlinkMacSystemFont,
      "Helvetica Neue", Arial,
      "Hiragino Kaku Gothic ProN", "Hiragino Sans",
      "BIZ UDGothic", Meiryo,
      sans-serif;
    text-align: left;
    margin-top: 20px;
    margin-left: 2%;
    margin-right: 2%;
    line-height: 1.3;
}

/*
span.menuitem {
    width: 3.9em;
    text-align: center;
    padding: 0px 2px;
    margin: 0px;
    color: white;
    background-color: #ddd;
    margin-right: 2px;
}
div.menu a:link,
div.menu a:visited {
    width: 3.9em;
    padding: 0px 2px;
    margin: 0px;
    color: #33a;
    background-color: #ddd;
    text-decoration: none;
}
div.menu a:active,
div.menu a:focus,
div.menu a:hover {
    width: 3.9em;
    padding: 0px 2px;
    margin: 0px;
    color: #fff;
    background-color: #33a;
    text-decoration: none;
}
span.menuseparator {
    width: 1em;
    padding: 0px;
    margin: 0px;
}
*/

address {
    text-align: right;
    font-size: x-small;
}

h1 {
    font-size: 200%;
    text-align: left;
    color: white;
    background-color: #33a;
    padding: 0.4em;
    margin: 0.2em 0em 0.5em 0em;
}

img.sitelogo {
    vertical-align: middle;
}

h2 {
    font-size: 150%;
    text-align: left;
    border-left: 10px solid #33a;
    padding-left: 0.5em;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 150%;
    text-align: left;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* tmp */
h4 {
    font-size: 120%;
    text-align: left;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

/* never use */
h5, h6 {
    background-color: red;
}

p {
    line-height: 1.4;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 0px;
}

span.kindinfo {
    text-align: right;
    margin-left: 8em;
}

span.compileerror {
    color: red;
    font-weight: bold;
}

code, pre, tt {
    font-size: 90%;
    font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
}

pre {
    line-height: 1.1;
    background-color: #f2f2f2;
    padding: 1.1em;
    font-weight: normal;
    overflow: auto;
}

pre.highlight {
    line-height: 1.1;
    background-color: #f2f2f2;
    padding: 0px 1.1em 1.1em 1.1em;
    font-weight: normal;
    position: relative;
}

/* for COPY */
.highlight__copy-button {
  float: right;
  margin: 0 -1.1em 0.25em 0.5em;
  padding: 0.25em 0.5em;
  background: #DDD;
  opacity: 0.75;
  cursor: pointer;
}
.highlight__copy-button:hover {
  background: #EE8;
  opacity: 1;
}
.highlight__copy-button::after {
  content: "COPY"
}
.highlight__copy-button.copied {
  background: #070;
  color: white;
}
.highlight__copy-button.copied::after {
  content: "COPIED"
}
.highlight__copy-text {
  position: fixed;
  left: -1000px;
}

pre .caption {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.2em;
    background: #ddd;
    border-width: 0 1px 1px 0;
}

blockquote {
    background-color: transparent;
    padding: 4px;
    margin-left: 3em;
    font-weight: normal;
}

ul {
    margin-left: 0px;
    padding-left: 2em;
}

li {
    margin-left: 0px;
    padding-left: 0px;
}

ol li {
    margin-bottom: 10px;
}

dl {
    margin-left: 0em;
}

dt {
    font-weight: bold;
}

dl.methodlist dt {
    font-family: sans-serif;
}

dd {
    margin: 0.3em 0em 1em 4em;
}

table {
    border-collapse: collapse;
}

th {
    text-align: left;
    vertical-align: top;
    background-color: #AAC;
    border: 3px solid white;
    padding: 0.3em;
}

td {
    text-align: left;
    vertical-align: top;
}

table.entries {
    width: 100%;
    height: 100%;
}

table.entries tr {
    /* border: 1px solid gray; */
    text-align: left;
    vertical-align: top;
}

td.signature {
    padding: 0;
    margin: 0;
    background-color: #DDD;
    border: 3px solid white;
    width: 30%;
    height: 100%;
}

td.signature a {
    display: block;
    padding: 0.3em;
    height: 100%;
    box-sizing: border-box;
}

td.description {
    padding: 0.3em;
    background-color: #EEE;
    border: 3px solid white;
}

td.library {
    width: 6em;
    padding: 0.5em;
    background-color: #DDD;
    border: 3px solid white;
}

a {
    font-weight: bold;
    text-decoration: none;
}
a:link {
    color: #33a;
    background-color: transparent;
}
a:visited {
    /* color: #666666; */
    color: #33a;
    background-color: transparent;
}
a:hover, a:focus, a:active {
    color: #fff;
    background-color: #33a;
}

a.external {
    background: transparent url(images/external.png) no-repeat scroll right center;
    padding: 0 27px 0 0;
}

a.external:visited {
    /* color: #666666; */
    color: #33a;
    background-color: transparent;
}
a.external:hover, a.external:focus, a.external:active {
    color: #fff;
    background-color: #33a;
}

span.permalink {
    float: right;
    font-weight: normal;
}

form {
    padding: 0px;
    margin: 0px;
}

hr {
    color: #33a;
    height: 1px;
}

.inline-breadcrumb-list {
    display: inline-block;
    list-style-type: none;
    margin-bottom: 0;
    margin-top: 0;
    padding-left: 0;
}

.inline-breadcrumb-list li {
    display: inline-block;
    margin-bottom: 0;
}

.inline-breadcrumb-list li + li::before {
    content: ">";
    padding-left: 0.1rem;
    padding-right: 0.1rem;
}

.inline-ancestors-list {
    display: inline-flex;
    flex-direction: row-reverse;
    list-style-type: none;
    margin-bottom: 0;
    margin-top: 0;
    padding-left: 0;
}

.inline-ancestors-list li {
    margin-bottom: 0;
}

.inline-ancestors-list li + li::after {
    content: "<";
    padding-right: 0.3rem;
}

.class-toc {
    list-style: none;
    margin: 0.5em 0;
    padding: 0;
    column-gap: 1em;
    column-width: 10em;
    column-rule: 1px dotted #BBB;
}

.class-toc > li {
    display: inline-block;
    padding-left: 1em;
    text-indent: -1em;
    word-break: break-all;
    break-inside: avoid;
    width: 100%;
    box-sizing: border-box;
}

@media print {
    body {
        font-family: osaka,'MS Mincho',serif;
        line-height: 1.5;
    }
    div.menu {
        display: none;
    }
    div.footer {
        display: none;
    }
    h1 {
        color: black;
        background-color: white;
        border-bottom: 2px solid #33a;
        padding-bottom: 0em;
    }
    a, a:link, a:visited {
        color: #33a;
        font-weight: normal;
    }
}

#top_search {
 position: absolute;
 top: 15px;
 right: 10px;
}

@media only screen and (max-width:425px) {
    table.entries tr {
        display: block;
    }
    td.signature {
        display: block;
        width: inherit;
        text-indent: 0em !important;
    }
    td.description {
        display: block;
    }
    dd {
        margin: 0.3em 0em 1em 1em;
    }
    p {
        overflow-wrap: break-word;
    }
}
