@media screen {
    body {
        color: #000;
        background-color: #fafafa;
        font-family:   "Georgia", "Times";
        font-size: 0.8em;
        line-height: 1.75;
        text-align: left;
        text-justify: auto;
        width: 98%;
        margin: auto;
        padding: 0 0 600px 0;
        hyphens: auto;
    }
}
@media only screen and (min-width: 500px) {
    body {
        width : 90%;
       	text-align: justify;
        max-width: 600px;
    }
}
@media print {
    body {
        color: #000;
        background-color: #fff;/*#f7f5e8;*/
        font-family:  "Lucida Bright", serif;
        font-size: 0.6em;
        line-height: 1.5;
        text-align: justify;
        text-justify: auto;
        width : 80%;
        max-width: 450px;
        margin: auto;
        padding: 10px 0 10px 0;
        hyphens: auto;
    }
}
p {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top : 0px;
    padding-bottom : 0em;
    text-indent:1em;
}
p.first{
    text-indent:0em;
}
pre {
    font-family :  "Lucida Sans Typewriter",/*Consolas, Liberation Mono, DejaVu Sans Mono,*/ monospace;
    font-size : smaller;
}
h1 {
    font-family : 'Lucida Sans',  sans-serif;
    font-size : 1.8em;
    font-weight : bold;
    text-align: left;
    padding : 0px;
    margin-top : 48px;
    border-style : none none solid none;
    border-width : 0px 0px 1px 0px;
    border-color : #b70101;
    counter-reset:section;
}
h2 {
    font-family : 'Lucida Sans';
    font-weight :bold;
    font-size : 1.4em;
    color : #666;
    text-align: center;
    margin-bottom : 2px;
    margin-top    : 18px;
    padding-top    : 6px;
    padding-bottom : 0px;
}
h3 {
    /*text-align: center;*/
    font-style : normal;
    font-weight : bold;
    font-size: 1em;
    color: #800;
    margin-bottom : 0;
    margin-top : 18px;
    padding: 0 0 0 0;
}
h4 {
    /*text-align: center;*/
    font-style : italic;
    font-weight : normal;
    font-size: 1em;
    color: black;
    margin-bottom : 0;
    margin-top : 18px;
    padding: 0 0 0 0;
}
a:link{
    color : firebrick;
    text-decoration : none;
}
a:visited {
    color : green;
    text-decoration : none;
}
a:hover {
    color : black;
    background-color : gold;
    text-decoration : none;
    border-radius : 4px;
}
a.answerbutton {
    color : #b70101;
    font-weight : normal;
    font-style : normal;
    float : right;
}
b {
    font-weight : bold;
    font-style : normal;
}
i {
    font-weight : normal;
    font-style : italic;
}
:target {
    background-color : #eee5c7;
}
em {
    font-weight : bold;
    color : #222;
}
ol li{
    text-indent:0em;
}
ol.problems{
    list-style-type : decimal;
    padding-left : 0px;
    border-style : none none none none;
    border-width : 1px;
    border-color : #b70101;
}
ol.problems li{
    margin-top : 1em;
    padding-top : 0.5em;
    border-style : none none none none;
    border-width : 1px;
    border-color : #b70101;
    text-indent:0em;
}
ol.subproblems{
    padding-top : 0em;
    padding-left : 1.2em;
    list-style: outside lower-alpha;
    border-style : none;
}
ol.subproblems li{
    margin-top : 0em;
    padding-top : 0em;
    padding-left : 0em;
    list-style-type : lower-alpha;
    text-indent:0em;
    border-style : none;
}
ul {
    list-style : outside;
    text-indent : 0px;
}
ul.todo{
    list-style : inside;
    padding-left : 5px;
    border-style : none none none solid;
    border-width : 1px;
    border-color : #b70101;
}
ul.todo li{
    margin-top : 2px;
    padding-top : 2px;
    border-style : none none none none;
    border-width : 1px;
    border-color : #b70101;
}
div.proof:before {
    content: "Proof. ";
    font-weight:bold;
}
div.proof {
    padding-top:0.2em;
    padding-bottom:0.1em;
    text-indent:2em;
    display: none;
    background-color:#eee;
}
div.proof:after {
    content: "////";
    font-weight: bold;
    float: right;
    background-color:#eee;
}
div.section:before{
    counter-increment:section;
    content: counter(section) " \2014  ";
    font-weight:bold;
}
div.section {
    font-size: 140%;
    font-weight: bold;
    color: #a00;
    padding-top: 2em;
    counter-reset : subsection;
}
div.theorem:before {
    counter-increment:subsection;
    content:counter(section) "." counter(subsection) " ";
    font-weight: bold;
    font-style: normal;
}
div.subsection:before {
    counter-increment:subsection;
    content:counter(section) "." counter(subsection) " ";
    font-weight: bold;
    font-style: normal;
}
div.subsection, div.theorem {
    padding-top:2em;
    font-weight: normal;
}
div.theorem {
    font-style: italic;
}
div.par {
    padding-top:0.2em;
    padding-bottom:0.1em;
    text-indent:0em;
}
div.onelecture {
    padding-top:0.2em;
    padding-bottom:0.1em;
    text-indent:0em;
    border-top: solid;
    border-width: 1px;
    border-color: #444; 
}
div.displaymath {
    text-align:center;
    padding: 3px 0 3px 0;
}
div.quote {
    text-align:center;
    font-style: italic;
}
div.solution {
    background-color: #f0f0f0;
    font-family:   "Calibri", sans-serif;
    text-align: left;
    text-justify: none;
    border-style : solid none solid none;
    border-width : 1px;
    border-color : #808080;
    padding : 5px;
    display : none;
}
div.solution>p{
  text-indent: 1em;
}
div.homework{
    font-family : 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
    background-color: bisque;
    padding : 5px;
    border-width : 2px;
    border-color : #808000;
    border-style : solid;
}

div.nav-line {
    font-family : 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: center;
}
@media screen{
    div.theoremfancy {
        font-style : italic;
        padding : 5px;
        border-style : solid none solid none;
        border-width : 1px;
        border-color : #c8c5bb;
        background-color : #f7f5e8;
        margin       : 1em 0em 1em 0em;
}}
@media print{
    div.theoremfancy {
        font-style : italic;
        padding : 5px;
        border-style : solid none solid none;
        border-width : 1px;
        border-color : #c8c5bb;
        background-color : #fff;
        margin       : 1em 0em 1em 0em;
}}
div.problem{
    border-style: solid;
    border-width: 0px 0px 0px 1px;
    padding : 0 0 0 1em;
    margin : 1em 0 0 0;
}
div.figure{
    text-align : center;
    border : solid;
    border-width : 0.5px 0px 0.5px 0px;
    margin : 1em 0px 1em 0px;
}
div.caption{
    max-width : 500px;
    margin : auto;
    font-family: 'Calibri', 'Droid Sans', sans-serif;
    font-size : 0.8em;
    text-align : left;
    padding : 10px 40px 10px 40px;
}
/* the calendar*/
table.calendar {
    font-family : Consolas, Liberation Mono, DejaVu Sans Mono, monospace;
    font-size : smaller;
    padding : 7px;
}
table.calendar tr {
    padding : 0pt;
    margin : 0pt;
}
table.calendar td {
    padding : 0px 1px 1px;
    margin : 0pt;
}
table.calendar td.exam {
    border-style : solid;
    border-width : 1px;
    border-color : #b70101;
    background-color : #eee5c7;
}
table.calendar td.quiz {
    border-style : solid;
    border-width : 1px;
    border-color : #40ca62;
    background-color : #eee5c7;
}
/*  for exams */
table.scorebox {
    border : solid;
    border-width : 2px 0px 2px 1px;
    width : 100%;
    margin : 0em 0em 1em 0em;
}
table.scorebox tr {
    padding :0px;
}
table.scorebox td {
    border:solid;
    border-width:0px 0px 1px 0px;
    padding : 0px;
}
table.scorebox td.bottom  {
    border:none;
    padding : 0px;
}
/* vim: sw=4 fdm=indent
*/
