body, h1, table, th, td
{
  padding: 0;
  margin: 0;
}

body
{
  font: 12px Consolas, "Courier New", Courier, monospace;
  padding: 25px 100px 100px;
}

h1
{
  text-align: center;
  padding: 20px;
}

#container
{
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
  margin: 0 auto;
  width: 100%;
  min-width: 800px;
  max-width: 1200px;
}


table
{
  background-color: #F3F3F3;
  border-collapse: collapse;
  width: 100%;
  max-width: 1200px;
}

th
{
  background-color: #607DF0;
  color: #ffffff;
  padding: 5px 10px;
  text-align: left;
}

td
{
  position: relative;
}



.type
{
  min-width: 95px;
}

.size
{
  min-width: 55px;
}

.time
{
  min-width: 105px;
}


a
{
  color: black;
  background: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/file.png) no-repeat 10px 50%;
  display: block;
  padding: 5px 10px 5px 35px;
  margin-right: 20px;
  text-decoration: none;
}



thead .file
{
  padding-left: 35px;
}


tr
{
  display: table-row;
}

td.file
{
  max-width: 700px;
}


tr.odd
{
  background-color: #E6E6E6;
}

tr:hover td
{
  background-color: #CACACA;
}





/* icons for file types */

/* directories */
a.extn-dir
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/folder.png);}
a.extn-pardir
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/folderup.png);}

/* images */
a.extn-png, 
a.extn-jpg, 
a.extn-jpeg,
a.extn-svg, 
a.extn-gif, 
a.extn-ico
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/image.png);}

/* zips */
a.extn-zip 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/zip.png);}
a.extn-7z 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/7z.png);}

/* other files */
a.extn-pdf 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/pdf.png);}
a.extn-djvu,
a.extn-djv 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/djvu.png);}
a.extn-dvi
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/dvi.png);}
a.extn-epub 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/epub.png);}
a.extn-mobi 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/mobi.png);}
a.extn-ps 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/postscript.png);}
a.extn-chm 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/chm.png);}
a.extn-txt 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/text.png);}
a.extn-exe 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/exe.png);}
a.extn-py 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/python.png);}

/* math */
a.extn-tex,
a.extn-sty,
a.extn-cls
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/tex.png);}
a.extn-nb,
a.extn-m
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/mathematica.png);}

/* office */
a.extn-doc,
a.extn-docx
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/doc.png)}
a.extn-xls,
a.extn-xlsx
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/excel.png)}
a.extn-ppt,
a.extn-pptx,
a.extn-pps,
a.extn-ppsx
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/ppt.png)}
a.extn-pub
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/pub.jpg)}

/* video */
a.extn-avi, 
a.extn-wmv, 
a.extn-mp4, 
a.extn-mkv, 
a.extn-mov, 
a.extn-m4a,
a.extn-mpg,
a.extn-mpeg,
a.extn-ogv
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/video.png);}

/* audio */
a.extn-mp3, 
a.extn-ogg, 
a.extn-aac, 
a.extn-flac, 
a.extn-wma 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/audio.png);}

/* web pages */
a.extn-html,
a.extn-htm,
a.extn-xhtml,
a.extn-shtml
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/html.png);}
a.extn-php 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/php.png);}
a.extn-js 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/script.png);}
a.extn-css 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/css.png);}
a.extn-htaccess, 
a.extn-log 
{background-image: url(http://math.uchicago.edu/~chonoles/site/img/filetype-icons/text.png);}

