body {
    background: #888;
    margin: 10px auto;
}

#oer_title {
    border-radius: 20px 20px 0 0;
}

#oer_canvas {
    background: #fff;
    padding: 20px;
}

#oer_canvas p,
#oer_canvas div,
#oer_canvas h1,
#oer_canvas h2,
#oer_canvas h3 {
    text-align: left;
}

#hmenu {
    display: none;
}

h2, h3 {
    clear:both;
    color:#444;
    margin-top: 2rem;
}

.modal-dialog {
    max-width: 960px;
}

#oer_canvas ol,
#oer_canvas ul {
    text-align: left;
}

#oer_canvas img {
    margin: 20px;
    border-radius: 20px;
    border: 3px solid #ddd;
    max-width: 360px;
    max-height: 260px;
}

#oer_canvas img.float-start {
    margin:0 20px 20px 0;
}

#oer_canvas img.float-end {
    margin:0 0 20px 20px;
}

#oer_canvas img.full-size {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.theme-blue-sea #oer_canvas {
    background: #fff;
}

.equation {
    text-align: center;
    margin: 20px;
    padding: 10px 20px;
    background: #eee;
    border: 2px solid #ccc;
    border-radius: 10px;
    font-size: 150%;
    display: inline-block;
}

figure {
    max-width: 400px;
}

td {
    border:1px solid;
    padding: 5px;
}


@media screen and (max-width: 576px) {

   #oer_canvas img {
        width: 100%;
        height: auto;
        max-height: inherit;
        margin: auto;
    }

    #oer_canvas img.float-start,
    #oer_canvas img.float-end {
        margin: 20px;
    }

   iframe {
        width: 100%;
   }

}

@media print {
    body {
        background: #fff;
    }
    #oer_instruction {
        display: none;
    }
    #oer_title {
        border-radius: 0;
    }
}
