/* from: http://github.com/jiho/qlmarkdown.git                         */
/* Extracted and interpreted from adcstyle.css and frameset_styles.css */
/* Updated with UAB color hints                                        */

/* Gaslight inspired idea:  http://gaslight.co */

/* Set selected text background to gold */
::selection{background:#efc703}
::-moz-selection{background:#efc703}

/* body */
body {
  margin: 20px 40px;
  background-color: #fff;
  color: #000;
  font: 13px "Myriad Pro", "Lucida Grande", Lucida, Verdana, sans-serif;
}

/* links */
a:link {
  color: #009473; // #00f;
  text-decoration: none;
}

a:visited {
  color: #007453; // #00a;
  text-decoration: none;
}

a:hover {
  color: #f60;
  text-decoration: underline;
}
  
a:active {
  color: #f60;
  text-decoration: underline;
}


/* html tags */

/*  Work around IE/Win code size bug - courtesy Jesper, waffle.wootest.net  */

* html code {
  font-size: 101%;
}

* html pre {
  font-size: 101%;
}

/* code */

pre, code {
  font-size: 11px; font-family: monaco, courier, consolas, monospace;
}

pre {
  margin-top: 5px;
  margin-bottom: 10px;
  border: 1px solid #007453; // #c7cfd5;
  background: #f1f9f1; // #f1f5f9;
  margin: 20px 0;
  padding: 8px;
  text-align: left;
}

#instructor {
  font-family: "Myriad Pro", "Lucida Grande", Lucida, Verdana, sans-serif;
  font-weight: bold;
  color: #007453;
  font-size: 15px;
}

hr {
  color: #007453;  // #919699;
  size: 1;
  width: 100%;
  noshade: "noshade"
}

/* headers */


h1, h2, h3, h4, h5, h6 {
  font-family: "Myriad Pro", "Lucida Grande", Lucida, Verdana, sans-serif;
  font-weight: bold;
  color: #007453;
}

h1  {
  margin-top: 1em;
  margin-bottom: 15px;  /* 25px */
  font-weight: bold;
  font-size: 30px;
}
h2  {
  margin-top: 1 em;  /* 2.5 em */
  font-size: 24px;
  padding-bottom: 2px;
  border-bottom: 1px solid #919699;
}

h2#semester {text-align:center;}

h3  {
  margin-top: 1em;  /* 2em */
  margin-bottom: .5em;
  font-size: 17px;
}
h4  {
  margin-top: 1em;  /* 2em */
  margin-bottom: .5em;
  font-size: 15px;
}
h5  {
  margin-top: 10px; /* 20 px */
  margin-bottom: .5em;
    padding: 0;
  font-size: 13px;
}

h6  {
  margin-top: 10px; /* 20 px */
  margin-bottom: .5em;
  padding: 0;
  font-size: 11px;
}

p {
  margin-top: 0px;
  margin-bottom: 8px; /* 10px */
}

/* lists */

ul  {
  list-style: square outside;
  margin: 0 0 0 15px;    /* 0 0 0 30px */
  padding: 0 0 12px 6px;
}

li  {
  margin-top: 7px;
}
          
ol {
  list-style-type: decimal;
  list-style-position: outside;
  margin: 0 0 0 15px;    /* 0 0 0 30px */
  padding: 0 0 12px 6px;
}
  
ol ol {
  list-style-type: lower-alpha;
  list-style-position: outside;
  margin: 7px 0 0 15px;    /* 7 0 0 30px */
  padding: 0 0 0 10px;
    }

ul ul {
  margin-left: 20px;    /* 0 0 0 40px */
  padding: 0 0 0 6px;
}

li>p { display: inline }
li>p+p { display: block }
li>a+p { display: block }


/* table */

table {
  border-top: 1px solid #919699;
  border-left: 1px solid #919699;
  border-spacing: 0;
}
  
table th {
  padding: 4px 8px 4px 8px;
  background: #d1d9d1; // #E2E2E2;
  font-size: 12px;
  border-bottom: 1px solid #919699;
  border-right: 1px solid #919699;
}

table th p {
  font-weight: bold;
  margin-bottom: 0px; 
}
  
table td {
  padding: 8px;
  font-size: 12px;
  vertical-align: top;
  border-bottom: 1px solid #919699;
  border-right: 1px solid #919699;
}

table td p {
  margin-bottom: 0px; 
}

table td p + p  {
  margin-top: 5px; 
}

table td p + p + p {
  margin-top: 5px; 
}

/* forms */

form {
  margin: 0;
}

button {
  margin: 3px 0 10px 0;
}

input {
  vertical-align: middle;
  padding: 0;
  margin: 0 0 5px 0;
}

select {
  vertical-align: middle;
  padding: 0;
  margin: 0 0 3px 0;
}

textarea {
  margin: 0 0 10px 0;
  width: 100%;
}

@media screen {
    .noprint {
       color:white; 
       background:#007453;
       padding: 5px;
     }
     
     .noprint a { color: white; font-weight: bold; text-decoration:none }
     
     .noprint a:visited { text-decoration: none; }

     .noprint a:link { text-decoration: none; }

     .noprint a:hover { background: #08412c; padding-top: 5px; padding-bottom:5px; text-decoration: none; }

     .noprint a:active { text-decoration: none; }
}

@media print {
    .noprint {display:none;}
    
    h1, h2, h3, h4, h5, h6 { color: black}

    table td {
      padding: 2px;  /* 8px */
      font-size: 10pt;
      vertical-align: top;
      border-bottom: 1px solid #919699;
      border-right: 1px solid #919699;
    }
}
