/* Move down content because we have a fixed navbar that is 50px tall */
div#content {
  padding-top: 60px;
  padding-bottom: 20px;
  font-size: 18px;
}

.navbar-brand {
  /* background: url(images/cw-site-banner.png) no-repeat left center; */
  /* width: 208px; */
  margin-left: 8px;
}

.jumbotron {
  background-color: transparent !important;
  padding-left: 0px;
  padding-top: 8px;
  padding-bottom: 0px;
}

.jumbotron-hero {
  margin-bottom: 15px;
  font-size: 21px;
}

.jumbotron-hero img {
  margin-left: 10px;
  float: right;
}

.bordered-image {
  border: 1px solid #021a40;
}

@media all and (max-width: 1000px) {
  .carousel-controls {
    display: none;
  }
}

blockquote {
  margin-left: 8px;
  border-left: 2px solid #ccc;
  padding-left: 8px;
}

// for blog

.highlight {
  padding: 4px;
}

.qrcode {
  margin-top: 8px;
}

.bookbtn {
  margin-bottom: 8px;
}

.bookpage {
    overflow: scroll;
    width: 100vw;
    height: 100vh;
    border: 0px;
    position: relative;
}

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
}

pre.long {
  font-size: 0.68em;
}

.code-caption {
  font-size: 0.62em;
  text-align: right;
}

code { 
  white-space: pre-wrap;
  font-family: "Droid Sans Mono", monospace;
  font-size: smaller;
  -webkit-hyphens: none !important; -adobe-hyphenate: none; -moz-hyphens: none;
}

figure, .figure {
  text-align: center;
  background-color: #f8f8f8;
  padding: 4px 4px 4px 4px;
}

h1 {page-break-before: always}

h1, h2, h3 {-webkit-hyphens: none !important; -adobe-hyphenate: none; -moz-hyphens: none;}

.figure {
  break-inside: avoid;
  break-before: avoid;
}

div.emoji {
  text-align: center;
}

img {
  max-width:600px;
  max-height:600px;
  width: auto;
  height: auto;
}

img.emoji {
  height: 72px;
  width: 72px;
}

table {
  page-break-inside: avoid;
}

.changed {
  border-right-color: black;
  border-right-style: solid;
  border-right-width: 3px;
  padding-right: 4px;
}

table {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
}

th {
    background-color: DimGray;
    color: white;
}

table, th, td {
   border: 1px solid black;
   text-align: center;
   padding: 8px;
} 

.bookxref {
  border: 1px solid black;
  padding: 8px;
  overflow: auto;
  display: flex;
  align-items:center;
}

.bookxref.xreftext {
}

.bookxref img {
  float: left;
  padding-right: 10px;
  width: 100px;
}

.monocode  { background: #f8f8f8; }
