body {
 margin: 0;
 padding: 0;
 font-family: Arial, sans-serif;
 font-size: 1em;
 background: #000;
}
p {
 margin-bottom: 1em;
 margin-top: 0;
}
a:link, a:visited { color: #333; text-decoration: none; }
a:hover, a:active { color: #666; text-decoration: underline; }

ul, ol {
 margin: 0.5em 0;
 *margin: 0.5em 2em;  /* IE7 completely removes LHS margin */
 text-align: left;
}
li { padding-bottom: 0.125em; }
ul.morespacing li, ol.morespacing li { padding-bottom: 0.25em; }
ul.widespacing li, ol.widespacing li { padding-bottom: 0.5em; }
ul.hugespacing li, ol.hugespacing li { padding-bottom: 1em; }
table {
 border-width: 0px;
 border-spacing: 0px;
 border-collapse: collapse;
}
table td {
 border-width: 0px;
 padding: 0px;
}
h1, h2, h3, h4, h5, h6 {
 padding: 0px;
 margin: 0px;
 font-weight: inherit;
 font-size: 1em;
}
img { border: 0; }


/********** COMMON LAYOUT **********/
div.container {
 width: 1024px;
 margin: 0 auto;
 padding: 0 25px 25px 25px;
 background: #999;
}
div.pagehead {
 margin-bottom: 48px;
}
div.maintitle {
 height: 60px;
}
div.maintitle h1 {
 font-size: 2.2em;
 line-height: 1.8em;
 font-weight: bold;
 color: #333;
 text-align: center;
}
div.tline, div.bline {
 clear: both;
 position: relative;
 width: 100%;
 height: 4px;
 background: #666;
}
div.tline {
 background: -webkit-linear-gradient(left, #666 0%, #666 80%, #999 100%);
 background:    -moz-linear-gradient(left, #666 0%, #666 80%, #999 100%);
 background:     -ms-linear-gradient(left, #666 0%, #666 80%, #999 100%);
 background:      -o-linear-gradient(left, #666 0%, #666 80%, #999 100%);
 background:         linear-gradient(to right, #666, #666 80%, #999);
}
div.bline {
 clear: both;
 background: -webkit-linear-gradient(left, #666 0%, #666 80%, #999 100%);
 background:    -moz-linear-gradient(left, #666 0%, #666 80%, #999 100%);
 background:     -ms-linear-gradient(left, #666 0%, #666 80%, #999 100%);
 background:      -o-linear-gradient(left, #666 0%, #666 80%, #999 100%);
 background:         linear-gradient(to right, #666, #666 80%, #999);
}
div.tline ul, div.bline ul {
 position: absolute;
 top: -8px;
 left: 32px;
 margin: 0;
 padding: 0;
 list-style: none;
 font-size: 0.9em;
 white-space: nowrap;
}
div.tline li, div.bline li {
 display: inline;
 padding: 0 6px;
 font-weight: bold;
}
div.tline li { background: #999; }
div.bline li { background: #999; }

div.prelude, div.preludev {
 margin-bottom: 48px;
 font-weight: bold;
 font-size: 1.5em;
 color: #933;
}
div.noprelude { height: 16px; }
div.prelude > p:last-child, div.preludev > p:last-child { margin-bottom: 0; }

div.bodysect { clear: both; }

/*
lcol:  full width < 960
lcoln: full width < 960, disappears < 760
*/
div.lcol, div.lcoln {
 float: left;
 width: 700px;
}
div.lsect {
 text-align: justify;
 line-height: 1.4em;
 color: #333;
 background: #999;
}
div.lsect > p:last-child { margin-bottom: 0; }
div.lsect, div.lspacer {
 margin-bottom: 50px; /* IE7 adds 50 due to float left bug */
}

/*
rcol:  Converts to lcol < 1074, disappears < 760
rcoln: Disappears < 1074
rcolv: Converts to lcol < 1074, never disappears
*/
div.rcol, div.rcoln, div.rcolv {
 float: right;
 width: 300px;
}
div.rsect { /* Same as div.AZindex */
 padding: 5px;
 margin-top: 3em;
 -moz-border-radius: 0.4em;
 -webkit-border-radius: 0.4em;
 border-radius: 0.4em;
 border: 1px solid #666;
 color: #444;
 font-size: 0.8em;
 background: #aaa;
}
div.rsect > p:last-child { margin-bottom: 0; }
div.rsect, div.rspacer { margin-bottom: 36px; } /* Same as div.AZindex */
div.rcol > .rsect:last-child, div.rcoln > .rsect:last-child, div.rcolv > .rsect:last-child {
 margin-bottom: 0;
}
div.lsect h2, div.lsect h3 {
 text-align: left;
 font-weight: bold;
 color: #444;
}
div.lsect h2 a, div.lsect h3 a {
 color: #666;
 text-decoration: none;
 border-bottom: 1px dashed #f96;
}
div.lsect h2 {
 margin-bottom: 0.2em;
 font-size: 1.5em;
 line-height: 1.3em;
}
div.lsect h3 {
 margin: 30px 0 0.25em 0;
 font-size: 1.5em;
}
div.rsect h4 {
 margin-bottom: 0.75em;
 color: #666;
 font-weight: bold;
 font-size: 1.125em;
 line-height: 1.1em;
}
div.rsect h5 {
 margin-top: 1em;
 font-weight: bold;
 text-decoration: underline;
}
div.rsect ul {
 margin-top: 0.5em;
 *margin-left: 1.25em; /* IE7 only */
 padding-left: 1.25em;
 *padding-left: 0; /* IE7 only */
}
div.rsect li {
 margin-bottom: 0.33em;
 line-height: 1em;
}
span.nobr { white-space: nowrap; }

div.copyright { position: relative; }
div.copyright div {
 position: absolute;
 top: 2.5em;
 width: 100%;
 padding-bottom: 1em;
 text-align: center;
 line-height: 1.5em;
 font-size: 0.75em;
}
div.copyright div span:after { content: "Copyright  \a9  2017 Tutz-Peralta.com"; }


/********** SMALL & MEDIUM SCREENS < 1074PX **********/
@media only screen and (max-width: 1074px) {
 div.container { /* container now takes up full width & loses bevelled edge */
  width: auto;
  padding-bottom: 0 25px 25px 25px;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  box-shadow: none;
 }
 div.lcol, div.lcoln { /* lcol now takes up full width */
  float: none;
  width: auto;
 }

 div.rcoln { display: none; }
 div.rcol, div.rcolv { /* rcol & rcolv become an lsect */
  float: none;
  width: auto;
  font-size: 1.25em;
  padding: 0 10px 0.75em 0;
  text-align: justify;
  line-height: 1.4em;
  background: #999;
 }
 div.rsect { /* rsect becomes a paragraph within rcol */
  padding: 8px;
  border: none;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  box-shadow: none;
  background: #ccc;
  line-height: 1.4em;
  color: #333;
 }
 div.rsect, div.rspacer { margin-bottom: 50px; }
 div.rsect h4, div.rsect h5 {
  text-align: left;
  font-weight: bold;
  color: #444;
 }
 div.rsect h4 {
  margin-bottom: 0.2em;
  font-size: 1.33em;
  line-height: 1.2em;
 }
 div.rsect h5 {
  margin: 1.25em 0 0.1em 0;
  font-size: 1.25em;
  text-decoration: none;
 }
 div.rsect h4 a, div.rsect h5 a {
  border-bottom: 1px dashed #f96;
  color: #f96;
  text-decoration: none;
 }
 div.rcol > .rsect:last-child, div.rcoln > .rsect:last-child, div.rcolv > .rsect:last-child {
  margin-bottom: 50px;
 }
}

/********** SMALL SCREENS < 760PX **********/
@media only screen and (max-width: 760px) {
 div.maintitle {
  float: none;
  margin: 0 auto;
  height: auto;
  font-size: 0.6em;
  text-align: center;
 }

 div.tline, div.bline {
  display: block;
  margin-left: 4px;
  width: auto; height: auto;
  background: none;
 }
 div.tline ul, div.bline ul {
  position: static;
  display: block;
  overflow: auto; width: 100%; /* Get this container to enclose floats */
  text-align: center;
  white-space: normal;
 }
 div.tline li, div.bline li {
  display: inline-block;
  margin: 8px 4px 6px 0;
  padding: 0;
  background: none;
 }
 div.tline li a, div.bline li a {
  padding: 4px 6px;
  background: #def;
  font-size: 1.5em;
 }
 div.tline li a:hover, div.tline li a:active { text-decoration: none; }
 div.bline li a:hover, div.bline li a:active { text-decoration: none; }
 div.prelude, div.preludev {
  clear: both;
  font-size: 0.9em;
 }
 div.noprelude { height: 0; }
 div.bodysect { padding: 0 10px; }
 div.lcoln, div.rcol { display: none; }
 div.rcolv {
  float: none;
  width: auto;
  padding: 0;
  background: none;
  border: none;
 }
 div.lsect, div.rsect, div.rcolv {
  line-height: 1.4em;
  color: #333;
  box-shadow: none;
 }
 div.lsect, div.lspacer, div.rsect, div.rcolv, div.rspacer { margin-bottom: 30px; }
 div.rsect { text-align: justify; }
 div.lsect h2, div.rsect > h4 { font-size: 1.2em; }
 div.lsect h3, div.rsect > h5 { font-size: 1.1em; }
 div.lsect h2 a, div.lsect h3 a, div.rsect h4 a, div.rsect h5 a { color: #444; }
 div.copyright div { top: 3.5em; }
}

/********** TINY SCREENS < 480PX **********/
@media only screen and (max-width: 480px) {
 div.container {
  padding: 0 8px 8px 8px;
  background: #999;
 }
 div.prelude { font-size: 0.9em; }
 div.lsect, div.rsect {
  text-align: left;
  line-height: 1.65em; /* to satisfy Google PageSpeed */
 }
 div.maintitle h1 {
  line-height: 24px;
  font-size: 2em;
 }
}

/********** MICRO SCREENS < 400PX **********/
@media only screen and (max-width: 400px) {
 div.prelude { font-size: 0.75em; }
}

/********** CUSTOM **********/
div.fig img {
 height: auto;
 max-width: 100%;
 margin-top: 2.5em;
 -moz-border-radius: 0.4em;
 -webkit-border-radius: 0.4em;
 border-radius: 0.4em;
 border: 1px solid #666;
}