/* Override from styles.css to give room for CodeCheck and the margin nav */
body {
  max-width: 120ch;
}

div.container {
    display: flex;
    flex-direction: row-reverse;
}

div.toc {
    width: 20%;
    margin-right: 2em;
    height: 100%;
}
div.main {
    width: 80%;
    height: 100%;
}
.answer:before { 
    content: "";
    margin-right: 0em;
}
.answer, .buttonDiv {
    margin: 1em;
}
.hc-button a:link, .hc-button a:visited {
    color: #fff;
    text-decoration: none;
    border: none;
}
.toc a:link, .toc a:visited {
    font-size: 0.8em;
    text-decoration: none;
    border: none;
}

.bugreport {
    background: #eee;
    clear: both;
    font-size: 0.6em;
}

@font-face {
  font-family: "DejaVuSansMonoSemiCondensed";
  src: local("DejaVu Sans Mono Condensed"), url("../../DejaVuSansMonoCondensed.otf") format("opentype");
}

/* This undoes the crazy CSS from horstmann_common.css that supposedly defends against iPad scrolling */

html > body {
    overflow: auto;
}

body > div { 
    width: auto;
    height: auto; 
    overflow: initial;
}

.codecheck-submit-response th {
    color: black;
}

.interactivities {
  overflow-x: auto;
}
