#headertitle:visited,
#headertitle:link,
#headertitle:hover {
  text-decoration: none;
}

table {
  font-family: Arial, Helvetica, sans-serif;
  color: #666;
  font-size: 14px;
  text-shadow: 1px 1px 0px #fff;
  background: #eaebec;
  border: #ccc 1px solid;

  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 5px;

  -moz-box-shadow: 0 1px 2px #d1d1d1;
  -webkit-box-shadow: 0 1px 2px #d1d1d1;
  box-shadow: 0 1px 2px #d1d1d1;

  /* Hide cell spacing */
  border-spacing: 0px;
  border-collapse: separate;
}

table thead th {
  font-size: 1.5em;
  padding: 10px 0px 10px 0px;
  vertical-align: middle;

  border-top: 1px solid #fafafa;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 5px;

  background: #ededed;
  background: linear-gradient(
    linear,
    left top,
    left bottom,
    from(#ededed),
    to(#ebebeb)
  );
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ededed),
    to(#ebebeb)
  );
  background: -moz-linear-gradient(top, #ededed, #ebebeb);
}

table tbody td {
  margin: auto;
  /*padding: 0.25em;*/
  /*padding: 0px 0px 0px 5px;*/
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;

  background: #fafafa;
  background: linear-gradient(
    linear,
    left top,
    left bottom,
    from(#fbfbfb),
    to(#fafafa)
  );
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#fbfbfb),
    to(#fafafa)
  );
  background: -moz-linear-gradient(top, #fbfbfb, #fafafa);
}

table tbody tr {
  text-align: left;
}

.link a:link {
  color: #666;
  font-weight: bold;
  text-decoration: none;
  display: block;
}

.link a:visited {
  color: #999999;
  font-weight: bold;
  text-decoration: none;
}

.link a:active,
.link a:hover {
  color: #bd5a35;
  text-decoration: underline;
}

body {
  background: radial-gradient(circle, #45987c, #1d3d3c);
  background: -webkit-radial-gradient(
    circle,
    #45987c,
    #1d3d3c
  ); /* For Safari 5.1 to 6.0 */
  background: -o-radial-gradient(
    circle,
    #45987c,
    #1d3d3c
  ); /* For Opera 11.1 to 12.0 */
  background: -moz-radial-gradient(
    circle,
    #45987c,
    #1d3d3c
  ); /* For Firefox 3.6 to 15 */
}

h1 {
  text-align: center;
  font-size: 100%;
  /* font-weight: bold; */
  color: black;

  display: block;
  font-family: monospace;
  white-space: pre;

  color: white; /* FIXME this should be from common? */
}

/* table { */
/*   width: 100%; */
/*   margin: 0; */
/*   padding: 0; */

/*   border-radius: 10px; */
/* } */

/* Alternate row colors */
table tbody tr.even td {
  background: #f6f6f6;
}
/* Highlight on hover */
table tbody tr:hover td {
  background: #f2f2f2;
}

table thead {
  font-size: 110%;
  padding-left: 0.5%;
}
table tbody {
  padding-left: 0.5%;
}

/* /1* FIXME: indexcolicon not used in nginx *1/ */
/* /1* Align media icons *1/ */
/* .indexcolicon { */
/*   width: 3vw; */
/*   padding: 0.5%; */
/*   text-align: center; */
/*   vertical-align: middle; */
/* } */

.date {
  text-wrap: none;
}

/* Show All (Large screens) */
@media (min-width: 769px) {
  /* This styles the download button */
  form {
    width: 20%;
    margin: auto;
    text-align: center;
  }
}

/* Intermediate size */
/* Show Only title and size (hide modification date)*/
@media (max-width: 768px) and (min-width: 501px) {
  h1 {
    font-size: 100%;
  }
  form {
    width: 30%;
    margin: auto;
    text-align: center;
  }

  table {
    table-layout: fixed;
  }

  /* Hide modification date */
  .date {
    display: none;
  }

  .link {
    width: 70%;
    word-wrap: break-word;
    padding-left: 1%;
    padding: 2%;
  }

  .size {
    width: 8%;
    text-align: center;
    padding-right: 2.5%;
  }
}

/* Mobile */
@media (max-width: 500px) {
  #downloadbutton {
    width: 100%;
    margin: auto;
  }

  table {
    width: 100;
    margin: auto;
    padding: 0;

    table-layout: fixed;
  }

  /* Hide modification date */
  .date {
    display: none;
  }

  .indexcolicon {
    width: 10vw;
    /*min-width: 5vw;
		padding: 0.5%;
		text-align: center;
		vertical-align: middle;
		*/
  }

  .link {
    word-wrap: break-word;
    padding: 2%;
    /*width: 10% !important;*/
  }

  .size {
    width: 20vw;
    padding-right: 2.5%;
    padding: 2.5%;
    margin: auto;
  }

  table tr {
    height: 10vh;
  }
}
