/* Style Sheet for the Code12 Reference docs */

@font-face {    /* for headers */
  font-family: 'Roboto-Bold';
  src: url('Roboto-Bold.ttf');
}

@font-face {    /* for code */
  font-family: 'NotoMono-Regular';
  src: url('NotoMono-Regular.ttf');
}

body {
    margin: auto;
    padding-right: 1em;
    padding-left: 1em;
    max-width: 70em; 
    color: #303030;
    font-family: Verdana, sans-serif;
    font-size: 11pt;
    line-height: 140%;
    margin-top: 0;
    padding-top: 0;
}

p {
    margin-top: 0.2em;
}

blockquote {
    font-style: italic;
}

pre {
    border: 1px dotted gray;
    background-color: #eeeeee;
    color: black;
    padding: 0.5em;
    width: 50em;
}

code {
    font-family: "NotoMono-Regular", "NotoMono", monospace;
    font-size: 10pt;
    color: black;
    background-color: #eeeeee;
}

h1, h2, h3, h4, h5 { 
    font-family: "Roboto-Bold", "Roboto", "Verdana", sans-serif;
    font-weight: normal;
    color: black 
}

h1 {
    font-size: 200%;
    line-height: 110%;
    color: #0000C0;
    margin-top: 2em;
    padding-top: 1em;
}

h1.title {    
    background-color: #eeeeff;
    font-size: 200%;
    line-height: 110%;
    margin-top: 0.5em;
    padding: 0.2em;
    text-align: center;
    border: 2px solid black;
    margin-bottom: 1em;
}

h2 {    /* API groups */
    font-size: 200%;
    line-height: 110%;
    margin-top: 0.5em;
    background-color: #eeeeff;
    border: 1px solid black;
    padding: 0.2em;
}

h3 {   /* API Functions */
    font-size: 200%;
    line-height: 110%;
    margin-top: 0.5em;
    padding-top: 0.5em;
    margin-bottom: 0.7em;
    color: #0000C0;
}

h4 {   /* e.g. "Syntax", "Examples" */
    font-size: 140%;
    line-height: 110%;
    margin-top: 1.5em;
    margin-bottom: 0;
}

h5 {   /* parameters and return value */
    font-size: 110%;
    line-height: 110%;
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a { 
    text-decoration: none;
    color: black; 
}

a:hover {
    text-decoration: underline;
}

h5 + ul {
    margin-top: 0.1em;
}

h6 {   /* Contents back links and end of topic */
    font-family: Verdana, sans-serif;
    font-size: 10pt;
    font-weight: normal;
    line-height: 100%;
    margin-top: 3em;
    padding-bottom: 4em;
    border-bottom: 1px solid gray;
    margin-bottom: 0;
    text-align: center;
}

ul {
    list-style: none;
    padding-left: 2em;
}

ul a { 
    text-decoration: none;
}

ol {
    padding-left: 4em;
    padding-top: 0.2em;
    margin-top: 0;
}

ol a { 
    text-decoration: none;
}

.summary:after {
    content: "";
    display: table;
    clear: both;
}

.summaryColumn {
    float: left;
    width: auto;
    padding-left: 0.5em;
    padding-right: 2em;
}

.rightLink {
    margin-top: -1em;
    padding-top: 0;
    text-align: right;
}

footer {
    margin-top: 1em; 
    border-top: double black; 
    padding-top: 2em;
    margin-bottom: 10em;
    text-align: center; 
}

