body { 
    background-color: white;
    color: black;
    font-family: Helvetica, san serif;
    margin-left: 20px;
    margin-right: 20px;
    line-height: 1.5;
    text-align:justify;
}

h1 {
    margin-top: 50px;
    margin-bottom: 40px;
}

h2 {
    margin-top: 50px;
}

h3 {
    margin-top: 40px;
}

div.chapter {
    width: 80%;
    margin: auto;
}

button {
    border-radius: 5px;  
}

img.heading {
    height: 200;
    overflow: hidden;
    display: block;
    margin: auto;
}

.top {
    text-align: center;
    color: rgb(41,182,246);
}

span.newterm {
    font-weight: bold;
    font-style: italic;
}

div.toc {
    border-radius: 25px;
    padding: 20px;
    margin: auto;
    background-color: rgb(41,182,246);
    color: white;
}

div.toc a {
    text-decoration: none;
    color: white;
}

div.quotes {
    width: 80%;
    margin: auto;
    background-color: white;
    color: black;
}

div.sidebox {
    margin-top:30px;
    margin-bottom:30px;    
    border-radius: 10px;
    padding: 20px;
    width: 80%;
    margin: auto;
    background-color: lightgrey;
    box-shadow: 10px 10px gray;
    color: black;
}

div.exercise, div.quickcheck {
    margin-top:30px;
    margin-bottom:30px;
    border-radius: 25px;
    padding: 20px;
    background-color: rgb(25,118,210);
    color: white;    
}

div.project {
    margin-top:20px;
    margin-bottom:20px;
    border-radius: 25px;
    padding: 20px;
    background-color: rgb(25,118,210);
    color: white;    
}

div.fig {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}

p.example {
    float:left;
    border-radius: 25px;
    padding: 20px; 
    background-color: rgb(41,182,246);
    color: white;
}

p.indented, div.indented {
    margin-left: 40px;
}

table.spaced {
    margin: auto;    
}
table.spaced th {
    background-color: cornflowerblue;
    color: white;
}
table.spaced td {
    padding: 5px;
    background-color: aliceblue;
}

table.tight {
    color: white;
    padding: 0;
}
table.tight td {
    padding: 0;
}

table.border {
    border-collapse: collapse;
}

table.border th, table.border td {
    border: 1px solid black;
}

.left {
    text-align:left;
}

.right {
    text-align:right;
}

.center {
    text-align:center;
}

img.center {
    display:block;
    margin:auto;
}

img.left {
    display:block;
    margin-right:auto;
}

img.right {
    display:block;
    margin-left:auto;
}

img.floatleft {
    float:left;
}

img.floatright {
    float:right;
}

table.left {
    margin-right:auto;
}

table.center {
    margin:auto;
}

table.right {
    margin-left:auto;
}


