/* CSS for langurlang.org */

* {
  /* use sensible settings */
  box-sizing: border-box;
}

body {
    background-color: #efe9db;
    font-family: "Noto Sans", Ubuntu, "Trebuchet MS", sans-serif;
    line-height: 1.5em;
    font-size: 100%;
    margin: 0px;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
    width: 85%;
    hyphens: none;
}

a:link {color: red; text-decoration: none;}
a:visited {color: red; text-decoration: none;}
a:hover {color:blue; text-decoration: underline dashed;}
a:active {color:red; text-decoration: underline solid;}

/* for old browsers not to display these elements as inline */
header, footer, section, aside, nav, article, figure, figcaption {
    display: block;
}

figcaption {
    font-style: italic;
}
p {
    text-align: justify;
}
h1 {
    font-size: 1.5em;
    font-weight: bold;
    color: #181868;
}
h2 {
    font-size: 1.2em;
    font-weight: bold;
    color: #181868;
}
h3 {
    font-size: 1.05em;
    font-weight: bold;
    color: green;
}
ul {
    list-style-type: circle;
}

.booktitle {
    font-style: italic;
}
.langur {
    font-family: "Courier New", Courier, monospace;
    color: green;
    font-weight: bold;
    white-space: nowrap;  hyphens: none;
}
.langur_block {
    font-family: "Courier New", Courier, monospace;
    color: green;
    font-weight: bold;
    font-size: 1em;
    white-space: pre;
    hyphens: none;

    background: #f7f7f7;
    border: 1px solid #ddd;
    border-left: 3px solid #f36d33;
    page-break-inside: avoid;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1em 1.5em;
    display: block;
}
.langur_cmd_list {
    list-style-type: none;
    padding-left: 0;

    font-family: "Courier New", Courier, monospace;
    color: green;
    font-weight: bold;
    white-space: normal;
    hyphens: none;
    text-align: left;
}
.langur_cmd_list > li {
    padding: 0 0 2px 0;
}

.params {
    white-space: normal;
}

.pre {
    font-family: "Courier New", Courier, monospace;
    font-size: 1em;
    background: #f9f9f9;
    white-space: pre;
    hyphens: none;
    max-width: 100%;
    overflow: auto;
    display: block;
    padding: 0.5em;
    border: 1px solid #ddd;
}

.code {
    font-family: "Courier New", Courier, monospace;
    color: blue;
    white-space: nowrap;
    hyphens: none;
}
.code_block {
    /* go code samples */
    font-family: "Courier New", Courier, monospace;
    color: blue;
    font-size: 1em;
    white-space: pre;
    hyphens: none;

    background: #f7f7f7;
    border: 1px solid #ddd;
    border-left: 3px solid black;
    page-break-inside: avoid;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1em 1.5em;
    display: block;
}

.openinglist {
    text-align: left;
    list-style-type: none;
    padding-left: 0.1em;
}
.openinglist li {
    margin: 0 0 0.35em 0;
}

#navlinks {
    padding: 10px 20px 20px 40px;
    float: right;
}
#navlinks > ul {
    list-style-type: none;
    line-height: 1.2em;
}
#navlinks > ul > li {
    padding: 10px 0px 10px 0px;
}

.social {
    display: table;
}
.social > div {
    display: table-cell;
    padding: 0 0.7em 0 0;
}

table.display {
    border-collapse: separate;
    border-spacing: 3px 7px;
}

table.display th, table.display td {
    margin: 3px;
    padding: 10px 1em;
    background-color: #f7f7f7;
}

.smaller {
    font-size: 12px;
}

#pagefooter {
    clear: both;
}

.formEntry {
    padding: 5px 0 15px 0;
    clear: left;
}
.fieldDescription {
    font-family: Palatino, serif;
    font-size: 1.1em;
    text-align: right;
    width: 150px;
    float: left;
    padding: 2px 30px 0 0;
    margin: 0;
}
.formField {
    display: inline;
    font-family: sans-serif;
    font-size: 1.05em;
    margin: 0;
}
input, textarea {
    background-color: white;
    border: 1px solid blue;
    padding: 5px;
    margin: 0;
}
input:focus, textarea:focus {
    outline: 2px solid blue;
}
input[type="submit"] {
    background-color: #bcf;
    font-family: serif;
    font-size: 1em;
    border: none;
}
input[type="submit"]:focus {
    outline: 7px solid orange;
}

.copyright {
    clear: both;
    margin: 50px 0 25px 0;
    /* padding: 5px 0 0 0;
    border-top: 1px solid #c04a1c; */
}
.small-center, .small-right, .small-left {
    font-size: .8em;
    text-align: center;
    margin: 0px;
}
.small-right {
    float: right;
}
.small-left {
    float: left;
}

.float-right {
    margin: 0px 0px 20px 30px;
    float: right;
}
.float-left {
    margin: 0px 30px 20px 0px;
    float: left;
}

div.nogo {
    visibility: hidden;
}

#navlinks label, #hamburger {
    display: none;
}

.small_only {
    display: none;
}
.big_only {
    display: inherit;
}

@media screen and (max-width: 520px){
    p {
        text-align: left;
    }
}

@media screen and (max-width: 720px){
    body {
        width: 92%;
        line-height: 1.35em;
    }

    #navlinks {
        padding: 10px 0px 0px 10px;
        float: none;
        background-color: #f7f7f7;
    }

    #navlinks label {
        float:right;
        display: inline-block;
        color: #a02620;
        font-style: normal;
        font-size: 1.5em;
        padding: 7px;
    }
    /* Toggle show/hide menu on checkbox click */
    #navlinks ul {
        display: none;
    }
    #navlinks input:checked ~ ul {
        display: block;
        list-style-type: square;
    }
    #navlinks label, #hamburger {
        font-size: 1.7em;
        font-weight: bold;
    }

    .langur_cmd_list > li {
        padding: 0 0 7px 0;
        font-weight: normal;
    }

    input, textarea {
        width: 100%;
        margin: 0;
        line-height: 40px; font-size: 17px;
    }
    input[type="submit"] {
        font-size: 1.8em;
    }

    .small-right {
        float: none;
    }
    .small-left {
        float: none;
    }

    .float-right {
        margin: 5px;
        float: none;
    }
    .float-left {
        margin: 5px;
        float: none;
    }

    .small_only {
        display: inherit;
    }
    .big_only {
        display: none;
    }
}

