* {
    padding: 0;
    margin: 0;
}

body {
    color: #333;
    font: 14px Sans-Serif;
    padding: 50px;
    background: #eee;
}

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

h2 {
    font-size: 16px;
    text-align: center;
    padding: 0 0 12px 0;
}

#container {
    box-shadow: 0 5px 10px -5px rgba(0, 0, 0, 0.5);
    position: relative;
    background: white;
}

table {
    background-color: #F3F3F3;
    border-collapse: collapse;
    width: 100%;
    margin: 15px 0;
}

th {
    background-color: #FE4902;
    color: #FFF;
    cursor: pointer;
    padding: 5px 10px;
}

th small {
    font-size: 9px;
}

td,
th {
    text-align: left;
}

a {
    text-decoration: none;
}

td a {
    color: #663300;
    display: block;
    padding: 5px 10px;
}

th a {
    padding-left: 0
}

td:first-of-type a {
    background: url(images/file.png) no-repeat 10px 50%;
    padding-left: 35px;
}

th:first-of-type {
    padding-left: 35px;
}

td:not(:first-of-type) a {
    background-image: none !important;
}

tr:nth-of-type(odd) {
    background-color: #E6E6E6;
}

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

tr:hover td a {
    color: #000;
}





/* icons for file types (icons by famfamfam) */

/* images */

table tr td:first-of-type a[alt$=".jpg"],
table tr td:first-of-type a[alt$=".png"],
table tr td:first-of-type a[alt$=".gif"],
table tr td:first-of-type a[alt$=".svg"],
table tr td:first-of-type a[alt$=".jpeg"] {
    background-image: url(images/image.png);
}

/* zips */

table tr td:first-of-type a[alt$=".zip"] {
    background-image: url(images/zip.png);
}

/* css */

table tr td:first-of-type a[alt$=".css"] {
    background-image: url(images/css.png);
}

/* docs */

table tr td:first-of-type a[alt$=".doc"],
table tr td:first-of-type a[alt$=".docx"],
table tr td:first-of-type a[alt$=".ppt"],
table tr td:first-of-type a[alt$=".pptx"],
table tr td:first-of-type a[alt$=".pps"],
table tr td:first-of-type a[alt$=".ppsx"],
table tr td:first-of-type a[alt$=".xls"],
table tr td:first-of-type a[alt$=".xlsx"] {
    background-image: url(images/office.png)
}
table tr td:first-of-type a[alt$=".pdf"] {
    background-image: url(images/pdf.png)
}
/* videos */

table tr td:first-of-type a[alt$=".avi"],
table tr td:first-of-type a[alt$=".wmv"],
table tr td:first-of-type a[alt$=".mp4"],
table tr td:first-of-type a[alt$=".mov"],
table tr td:first-of-type a[alt$=".m4a"] {
    background-image: url(images/video.png);
}

/* audio */

table tr td:first-of-type a[alt$=".mp3"],
table tr td:first-of-type a[alt$=".ogg"],
table tr td:first-of-type a[alt$=".aac"],
table tr td:first-of-type a[alt$=".wma"] {
    background-image: url(images/audio.png);
}

/* web pages */

table tr td:first-of-type a[alt$=".html"],
table tr td:first-of-type a[alt$=".htm"],
table tr td:first-of-type a[alt$=".xml"] {
    background-image: url(images/xml.png);
}

table tr td:first-of-type a[alt$=".php"] {
    background-image: url(images/php.png);
}

table tr td:first-of-type a[alt$=".js"] {
    background-image: url(images/script.png);
}

/* directories */

table tr.dir td:first-of-type a {
    background-image: url(images/folder.png);
}
