/* Special text */
.advert {
  color: #9932CC;
  font-style: italic;
}
.codecommand, .codebox code {
  background-color: #E0E0E0;
  font-family: monospace;
}
.Large {
  font-size: 2rem;
}
.exercise, .exo {
  color: #00BA10;
  font-size: 1.1rem;
}
.math.inline {
    background-color: aliceblue;
}

/* Special backgrounds*/
.blueShaded {
  background-color: #D6E8F5;
  font-family: monospace;
}
.blueShaded pre:not([class]) {
  background-color: #D6E8F5;
}
.redbox {  
  background-color: #FF7F7F;
  padding: 2px 5px;
}

/* Figures */
.figure {
  margin-bottom: 1.5em;
}

/* Custom specific to my bookdown template */
.body-inner {
/*  background-color: #1e73be;*/
    background-color: #f6f6f6;
} 
.book .book-body .page-wrapper .page-inner {
    max-width: 1025px;
}
.book .book-body .page-wrapper .page-inner section {
    padding: 5px 3em;
}
.book .book-body .page-wrapper .page-inner section.normal p.caption {
  margin: 0 10%;
  text-align: center;
  font-size: 1.4rem;
}

.page-inner {
        max-width: 1025px;
        margin-left: auto;
        margin-right: auto;
        background-color: white;
        /* padding: 1em 30px 15px; */
    }

.book .book-body .navigation {
    font-size: 60px;
    color: #ccc;
    text-align: center;
}

.book .book-body .page-wrapper .page-inner section.normal a {
    color: #DE633C;
}

.logos {
    position: fixed;
    top: 50px;
    width: 100px;
    left: 330px;
    z-index: 1;
}
.logos img {
    margin: 5px auto; /* Modified for gitbook */
    display: block;
    height: 60px;
}
a {
    color: #00BA10;
}
h1 {
    color: #9932CC;
}
h2 {
    color: #9932CC;
}

/* Footer with logo */
footer {
    text-align: center;
}
footer img {
    max-height: 40px;
}

/* style.css */

p.caption {
  color: #777;
  margin-top: 10px;
}
p code {
  white-space: inherit;
}
pre {
  word-break: normal;
  word-wrap: normal;
}
pre code {
  white-space: inherit;
}
p.flushright {
  text-align: right;
}
blockquote > p:last-child {
  text-align: right;
}
blockquote > p:first-child {
  text-align: inherit;
}

/* thinkr.css */

.container-fluid.main-container {
    margin-top: 40px;
}
h1.title {
    margin-top: 40px;
}
.container-fluid.main-container h1.title {
    margin-top: 0px;
}
.logos {
    position: fixed;
    top: 0px;
    width: 100%;
    left: 0;
    background: white;
    border-bottom: solid 1px grey;
}
.logos img {
    margin: 5px;
    display: block;
    height: 60px;
}
p  {
    text-align: justify;
}
