/* https://meyerweb.com/eric/tools/css/reset/ */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,
img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i,
center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section,
summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    max-width: 100%;
    vertical-align: baseline
}
/**************************************************************
   NAME:    html.css
   AUTHOR:  Pat Heard (fullahead.org)
   DATE:    2006.03.19
   PURPOSE: Styles the html elements
 **************************************************************/

html {
  height: 100%;
}

body {
  height: 100%;

  margin: 0;
  padding: 0;
  text-align: center;
  font: 400 1em "trebuchet ms", serif;
  line-height: 170%;
  color: #EEE;
}

h1 {
  clear: both;
  font: 700 2.1em "trebuchet ms", serif;
  color: #FFF;
}

h2 {
  font: 400 1.4em "trebuchet ms", serif;
  color: #9FF3FF;
}

h2 a {
  color: #29E3FF;
}

h2 a:hover {
  color: #FFF;
}

h3 {
  font: 400 1.2em "trebuchet ms", serif;
  color: #F8D766;
}

h4 {
  font: 700 1.05em "trebuchet ms", serif;
  color: #F39F01;
}

h5 {
  font: 700 1em "trebuchet ms", serif;
  color: #F17400;
}

h6 {
  font: 700 0.9em "trebuchet ms", serif;
  color: #FF4B33;
}

h1, h2, h3, h4, h5, h6, p, dl {
  margin: 0;
  padding: 10px 15px;
}

li p {
  padding: 10px 15px 10px 0;
}

table {
  border-collapse:collapse;
  margin: 10px 15px;
}

/* Done so the leftmost column aligns properly with the header.
   If the leftmost column has class gradient applied to it,
   this class isn't required. */
.leftColumn h1, #pgxntoc h1,
.leftColumn h2, #pgxntoc h2,
.leftColumn h3, #pgxntoc h3,
.leftColumn h4, #pgxntoc h4,
.leftColumn h5, #pgxntoc h5,
.leftColumn h6, #pgxntoc h6,
.leftColumn p, #pgxntoc p,
.leftColumn dl {
  padding-left: 0;
}

a {
  color: #8BE6FA;
  text-decoration:none;
}

/* Uncomment this if you would like a visited link style
a:visited {
  text-decoration: line-through;
} */

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

b {
  color: #FFF;
}

ol, ul {
  margin: 10px 0 0 0;
  padding: 0 0 10px 38px;
}

ol span {
  color: #EEE;
}

del {
  color: #AAA;
}

code {
  font: 400 1em courier, monospace;
  background: #444;
  line-height: 130%;
  font-size:90%;
  padding:4px;
}

pre {
  margin: 10px 15px;
  background: #444;
  padding: 10px;
  overflow: auto;
  font: 400 1em courier, monospace;
  line-height: 120%;
}

li pre {
  margin: 10px 15px 10px 0;
}

pre code {
  padding: 0;
}

.leftColumn code, #pgxntoc code {
  margin-left: 0;
}

acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}

dt {
  font-weight: bold;
  color: #F8D766;
}

dd {
  margin-left: 0;
  padding: 10px 0 15px 15px;
}

.meta dd {
  padding: 0 0 0 45px;
}

dd pre {
  margin: 10px 0;
}

/**************************************************************
   Form Elements
 **************************************************************/

label {
  display: block;
}

label#inlabel {
  display: inline;
}

input,
textarea,
select {
  padding: 2px;
  font: 400 1em "trebuchet ms", serif;
  color: #444;
  background: #EEE;
  border: 1px solid #444;
}

input:focus,
input:hover,
textarea:focus,
textarea:hover,
select:focus,
select:hover {
  color: #000;
  background: #E4F7FA;
  border: 1px solid #00DFFF;
}

input.button {
  padding: 2px 5px;

  font: 400 1.1em "trebuchet ms", serif;

  color: #555;
  background: #9FF3FF;
  border-width: 1px;
  border-style: solid;
  border-color: #FFF #00DFFF #00DFFF #FFF;
}

/**************************************************************
   Blockquote and included icons
 **************************************************************/

blockquote {
  margin: 10px 15px;
  padding-left: 42px;

  background-color: #444;
  background-image: url(/ui/img/quote.svg);
  background-size: 32px;
  background-repeat: no-repeat;
  background-position: 12px;
}

blockquote.exclamation, blockquote.stop, blockquote.go {
  padding: 4px 4px 4px 42px;
}

blockquote.exclamation {
  background-image: url(/ui/img/exclamation.svg);
}

blockquote.stop {
  background-image: url(/ui/img/stop.svg);
}

blockquote.go {
  background-image: url(/ui/img/go.svg);
}

/**************************************************************
   Images
 **************************************************************/

img.floatRight {
  margin: 5px 0px 10px 15px;
}

img.floatLeft {
  margin: 5px 15px 10px 0px;
}

/**************************************************************
   NAME:    layout.css
   AUTHOR:  Pat Heard (fullahead.org)
   DATE:    2006.03.19
   PURPOSE: Controls the layout of the site and styles
            the menus
 **************************************************************/

/**************************************************************
   #content: Sets the width of the site.  Make changes here
             to convert to a fixed width site.
 **************************************************************/

#all {
  height: 100%;
  min-height: 100%;
  text-align: left;
}

#content,
#width {
  /* max-width hack for IE since it doesn't understand the valid css property */
  width: expression(document.body.clientWidth > 1000 ? "1000px" : "94%");
  max-width: 1000px;
  margin: 0 auto;
}

#content[id],
#width[id] {
  width: 94%;
  height: auto;
}

/**************************************************************
   #header: Holds the site title and header images
 **************************************************************/

#header {
  position: relative;
  height: 144px;
}

/* Holds the site title and subtitle */
#header #title {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 130px;
  visibility:hidden;

  padding: 5px;
  text-align: right;
}

#header h1 {
  margin: 0;
  padding: 0;

  font: 700 4em "trebuchet ms", serif;
  letter-spacing: -3px;
  text-transform: lowercase;
  color: #FFF;
}

#header h2 {
  position: absolute;
  top: 10px;
  right: 5px;

  margin: 0;
  padding: 0;

  font: 700 1em "trebuchet ms", serif;
  text-transform: lowercase;
  color: #00F0EC;
}

#header a img,
.dists a img,
.dist .meta img,
#header a img:hover {
  border: 0 !important;
}

/* Sets where the header images will go */
#header img.left {
  position: absolute;
  z-index: 1;

  top: 0;
  left: 0;
}

#header img.right {
  position: absolute;
  z-index: 0;

  top: 0;
  right: 32px;
  padding-top: 48px;
  height: 75px;
}

#header img.gear {
  position: absolute;
  z-index: 2;
  height: 130px;

  top: 0;
  left: 0;
}

/**************************************************************
   #mainMenu: The top level site menu
 **************************************************************/

#mainMenu {
  float: left;
  width: 100%;
  clear: both;
  height:50px;
}

#mainMenu ul {
  margin: 0;
  padding: 0;
}

#mainMenu li {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
  float: left;
  padding-top: 5px;
}

#mainMenu li a {
  padding: 5px 0.5em;

  font: 400 1.3em "trebuchet ms", serif;
  text-decoration: none;
  text-transform: lowercase;
  color: #FFF;
}

#mainMenu li:hover,
#mainMenu li.here {
  border-top: 5px solid #000;
  border-bottom: 0;
}

#mainMenu li.notmenu:hover {
  border-top:0;
}

#mainMenu li:hover a,
#mainMenu li.here a {
  color: #65EBFF;
}

#mainMenu li a.last {
  margin-right: 0;
}

#crumb {float: left; overflow-x: auto; overflow-y: hidden; white-space: nowrap;}
#crumb li {float:none; display: inline-block; padding: 5px 0 10px}

#crumb li.sub:before {
    content:"❯";
}

#loading {
  padding-top: 10px;
}

/**************************************************************
   #pgxntoc: The side bar documentation nav menu
 **************************************************************/

#pgxntoc {
  background: #555;
  padding-left:26px;
  padding-bottom: 25px;
}

#pgxntoc ul.pgxntocroot {
  margin-left: 8px;
  padding: 0;
}

/* Override the margin from html.css. */
#pgxntoc ul {
  margin: 0;
  padding-left: 18px;
}

#pgxntoc h3 {
  margin-left:7px;
}

/**************************************************************
   #founder: Logos of founding sponsors.
 **************************************************************/
#founders a {
    padding-left:15px;
}

#founders img {
    border:0;
    width:200px;
    height:52px;
}

#patrons img {
    border:0;
    width:32px;
    height:32px;
    vertical-align:text-bottom;
}

#founders a:hover img, #patrons a:hover img {
    border:0 !important;
}

#patrons h3 {
    padding-top:0;
}

#benefactors {
    margin-top:0;
}

.hside {
  margin-left:20px;
  width:310px;
  padding-bottom: 0;
}

.hsearch {
  width:665px;
  background: #555 url(/ui/img/gradient.jpg) repeat-x bottom left;
}

.hside h3 {
  padding-bottom: 0;
}

.hside dd {
  padding: 0 0 1em 0;
}

/**************************************************************
   #homesearch: The home page search form.
 **************************************************************/

#homesearch {
  padding:50px 0;
}

#homesearch fieldset {
  border:0;
  text-align:center;
}

#homesearch .submitin {
  padding-top: 0.6em;
}

#homesearch fieldset.query input {width: 50%}

#resultsearch fieldset {
  border:0;
  display:inline;
}

#resultsearch fieldset {
  padding:0;
}

.center {
  margin-left: auto;
  margin-right: auto;
  clear:both;
  padding-bottom: 4em;
}

/**************************************************************
   .res: Search result.
 **************************************************************/

.res {
  /* background: #555 url(/ui/img/gradient.jpg) repeat-x top left;  */
  background: url(/ui/img/icon.svg) no-repeat 8px 18px;
  background-size: 28px;
  padding:15px 15px 15px 44px;
}

.res:hover {
  background-color:#444;
  cursor:default;
}

.res p, .res h2 {
    padding:0;
    color:white;
}

.res ul {
  padding:0;
  margin:0;
}

.res ul li {
  display: inline;
}

.res ul li.dist:after, .res ul li.date:after {
   content:"■ ";
}

.res p strong {
  font-size:105%;
  color:#F8D766;
}

/**************************************************************
   .sideMenu: The side bar menu
 **************************************************************/

ul.sideMenu {
  margin: 0;
  padding: 0;
}

.sideMenu li {
  display: inline;

  /* Needed since IE fails when you give it list-style: none; */
  list-style-image: url(foo.gif);
  font: 400 1.3em "trebuchet ms", serif;
}

#pgxntoc li a {
  display: block;
}

#pgxntoc li a:hover {
  display: block;
  text-decoration: none;
}

/**************************************************************
   #page: Holds the main page content.
 **************************************************************/

#page,
#homepage,
#info {
  float: left;
  width: 100%;
  clear: both;

  padding-bottom: 4em;
}

#homepage {
  width:995px;
}

#info > div {
  margin-left: auto;
  margin-right: auto;
}

/**************************************************************
   #footer: The page footer - will stick to the bottom if not
            enough content.
 **************************************************************/

#footer {
  float: left;
  width: 100%;
  clear: both;
  margin-top: -3.5em;
  background: #000 url(/ui/img/footer.jpg) repeat-x top left;
}

/* Sets the width of the footer content */
#footer #width {
  position: relative;
  z-index: 3;
  font-size: 0.85em;
  padding-top: 27px;
}

/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
  width: 100%;
}

.width75 {
  width: 74%;
}

.width50 {
  width: 49.7%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 24.7%;
}

.width10 {
  width: 9.7%;
}

.width90 {
  width: 89%;
}

/**************************************************************
   Alignment classes
 **************************************************************/

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}

/**************************************************************
   Generic display classes
 **************************************************************/

.clear {
  clear: both;
}

.block {
  display: block;
}

.small {
  font-size: 0.8em;
}

.green {
  color: #A1FF45;
}

.red {
  color: #EA1B00;
}

.grey {
  color: #666;
}

.grey a {
  color: #999;
}

.grey a:hover {
  color: #EEE;
}

.gradient, .doc #pgxnbod {
  margin-bottom: 2em;
  background: #555 url(/ui/img/gradient.jpg) repeat-x bottom left;
}

.error {
    height: 500px;
}

/**************************************************************
   Distribution display
 **************************************************************/

.dists {
  padding:10px 15px;
}

.dists table {
  width: 100%;
  margin: 0;
}

.dists h3, .dists p.alas {
  padding-left:0;
}

.dist .meta h1 {
   clear:left;
}

.dist .meta dt {
   text-align:right;
   width: 8em;
   float:left;
}

.dist .meta dt.other {
   clear:both; /* Needed for some versions of FireFox */
}

.dist .meta dt:after {
  content: ":";
}

.dist .meta dd {
 margin-left: 5.5em;
}

.dist .meta dd ul {
  margin:0;
}

.dist .meta .resources ul, .dist .meta .resources li,
.dist .meta .files ul,     .dist .meta .files li,
.dist .meta .tags ul,      .dist .meta .tags li
{
  display:inline;
  padding-left:0;
}

.dist .meta .resources li:after,
.dist .meta .files     li:after,
.dist .meta .tags      li:after
{
   content:" ✦";
}
.dist .meta .resources li.last:after,
.dist .meta .files     li.last:after,
.dist .meta .tags      li.last:after {
   content:"";
}

.dist .exts dt {
   color:white;
}

table td, table th {
   padding: 5px
}
table tr {
 vertical-align:text-top;
}
table tr a img {
 vertical-align:top;
}
table tr:hover {
  background:#222;
}

tr:nth-of-type(odd) {
  background: #444;
}
tr:nth-of-type(even) {
  background: #555;
}
th {
  background:#111;
}
table .dist .name, table .dist .bday {
  white-space:nowrap;
}
table .dist .name a {
  display:block;
  padding-left: 38px;
  background: url(/ui/img/icon.svg) no-repeat 1px 2px;
  background-size: 28px;
  min-height: 32px;
}

table code {background-color:transparent;}

.dist .meta .controls {
    float:right;
}
.dist .meta .controls img, .browse img, .download img {
  width: 32px;
  height: 32px;
}

.browse, .download {
  width:32px;
}

.dist .meta .download a, .dist .meta .browse a, .dist .meta a.avatar {
  display:block;
  margin:0;
  padding:6px 6px 0;
  float: right;
}
.dist .meta .download a:hover, .dist .meta .browse a:hover, .dist .meta a.avatar:hover {
  background:#202020;
}
.readme #pgxntoc {
  display:none;
}

.donors h2 {
  color: #F8D766;
  padding-top:1em;
}

.license img, .license img:hover {border:0 !important;}

#htmltagcloud {text-align: center;padding:0 20px;}
#htmltagcloud span {white-space:nowrap;}
#htmltagcloud span a { margin:4px; padding:4px; line-height:1.1em; }
#htmltagcloud span a:hover{background-color:#444;}

#llist { padding: 0 15px;display: flex;
  justify-content: space-between;}
#llist li { list-style:none; display:inline;}

.tagcloud0 {font-size: 100%;}
.tagcloud0 a {color:#ffffff;}
.tagcloud1 {font-size: 120%;}
.tagcloud1 a {color:white;}
.tagcloud2 {font-size: 140%;}
.tagcloud2 a {color:9FF3FF;}
.tagcloud3 {font-size: 160%;}
.tagcloud3 a {color:9FF3FF;}
.tagcloud4 {font-size: 180%;}
.tagcloud4 a {color:#F8D766;}

.tagcloud5 {font-size: 200%;}
.tagcloud5 a {color:#F8D766;}
.tagcloud6 {font-size: 220%;}
.tagcloud6 a {color:#F39F01;}
.tagcloud7 {font-size: 240%;}
.tagcloud7 a {color:#F39F01;}
.tagcloud8 {font-size: 260%;}
.tagcloud8 a {color:#F17400;}
.tagcloud9 {font-size: 280%;}
.tagcloud9 a {color:#F17400;}

.tagcloud10 {font-size: 300%;}
.tagcloud10 a {color:#FF4B33;}
.tagcloud11 {font-size: 320%;}
.tagcloud11 a {color:#FF4B33;}
.tagcloud12 {font-size: 340%;}
.tagcloud12 a {color:#d30;}

@media (min-width: 1024px) {
  #pgxntoc { width: 24.7%;float: left;margin-left:-21px; }
  .doc #pgxnbod { width: 74%;float: right }
  #info > div { width:670px }
}

@media (max-width: 768px) {
  #pgxnbod table code {word-break:break-word}
}

@media (min-width:481px) {
  body { background: #666 url(/ui/img/header.png) repeat-x top left }
}

@media (max-width: 480px) {
  body { background: #666 url(/ui/img/header-small.png) repeat-x top left }
  /* body {background-position: top -40px left} */
  #header {height: 103px}
  #header img.gear {height: 89px;}
  #homepage { max-width: 380px; }
  .hsearch { width: 94%}
  .hside { width: 94%; margin-left:0;}
  #homepage #htmltagcloud { display: none;} 
  #htmltagcloud span {white-space:normal;}
  #header img.right { height: 58px; right: 12px; padding-top: 21px;}
  .width90 {width: 82%;}
  #crumb {float: none !important}
  #crumb + ul { display: none} /* Find a way to restore menu below crumb? */
  #pgxntoc { margin-bottom: 1rem}
  #resultsearch input.button {display:none}
}
