html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  font-variant-ligatures: no-common-ligatures; /* neuerdings funktioniert nur noch die prefixlose Variante */
}

@media screen {
  html {
    overflow-y: scroll;
  }

  body {
    font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif; 
    font-size: 100%;     /* entspricht 16pt bei der Umrechnung */
    line-height: 1.5em; /* entspricht 24pt bei der Umrechnung */
    color: #565757;    background-color: white;
    max-width: 992px;
    padding: 24px 4.8%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 940px) {
  body { padding: 10px; }
}

@media print {
  body {
    color: black;
    background-color: transparent;
    margin: 0;
  }
}

p {
  margin: 0 0 1em 0;
}

hr {
  height: 0;
  border: 0;
  border-top: 1px solid black;
  margin: 1em 0;
}


/* ----------------------- Normalize.css (Auszüge) ------------------------- */
/* https://github.com/necolas/normalize.css/blob/master/normalize.css */

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

figure {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure, /* Safari iPhone 3, MSIE 8 */
footer,
header,
main,
nav,
section {
  display: block;
}

summary {
  display: list-item;
}

figcaption:empty {
  display: none;
}

hr {
  overflow: visible; /* Chrome, Opera, Edge, MSIE */
}


audio,
canvas,
progress,
video {
  vertical-align: baseline; /* 'progress' in Chrome, Firefox und Opera */
}

a:active { outline: 0; }

b, strong { font-weight: bold; } /* style set to "bolder" in Firefox 4+, Safari, and Chrome */

small { font-size: 82%; }
small small { font-size: 1em; }

sub, sup {
  font-size: 82%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup { top: -0.34em; }
sub { bottom: -0.25em; }

img { border: 0; }

svg:not(:root) {
  overflow: hidden; /* Hide the overflow in IE */
}

[hidden] {
  display: none;
}

button,
input,
optgroup,
select,
textarea {
  font-size: inherit;
  margin: 0; /* Firefox 4+, Safari, and Chrome */
}

button::-moz-focus-inner, /* Remove inner padding and border in Firefox 4+ */
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}


a { color: #565757; text-decoration: none; }
a:hover { color: black; }
a:active { color: #565757; }
.curdir a { color: #b02b11; }



header img {
  width: 100%;
  max-width: 353px;
  height: auto;
}


form {
  padding-top: 1em;
  position: relative; /* wg. Chrome, da bei sehr langen Dateinamen die Aktions-Links (Löschen usw.) nicht mehr anklickbar sind */
}

#loginform { margin-top: 1em; }

#loginform #username,
#loginform #password {
  display: block;
  width: 150px; 
  margin-bottom: 1em;
}
#login_error { color: red; }


.sortable_table {
  border-collapse: collapse;
  width: 560px;
  margin-bottom: 1em;
}

.sortable_table th,
.sortable_table td {
  border: 1px solid #e0e0e0;
  padding: 4px;
}
.sortable_table th {
  background-color: #e0e0e0;
}
.sortable_table td {
  background-color: #f8f8f8;
}
@media print {
  .sortable_table td { background-color: transparent; }
}


.sortable_table td[class|="icon"] { /* oder .sortable_table td[class^="icon-"] */
  padding-left: 30px;
  min-height: 18px; /* da sonst beim Verkleinern der Schrift die Icons unten abgeschnitten werden */
  background-position: 5px center;
  background-repeat: no-repeat;
}
.sortable_table td.icon-datei  { background-image: url(Icons/Datei-Icon.gif); }
.sortable_table td.icon-ordner { background-image: url(Icons/Ordner-Icon.gif); }

@media print {
  .sortable_table td[class|="icon"] {
    padding-left: 4px; /* Wert wie die anderen Zellen */
    min-height: 0;
  }
 .sortable_table td.icon-datei,
 .sortable_table td.icon-ordner { background-image: none; }
}


#usertable th.sortable_link {
  width: 27%;
  text-align: left;
}
#usertable th.sortable_datetime {
  width: 26%;
  text-align: left;
}
#usertable th.sortable_number {
  width: 20%;
  text-align: right;
}

#usertable td+td+td+td { /* Spalte "Inhalt in kB" */
  text-align: right;
}

#usertable td#gesamt {
  text-align: right;
}

#usertable td#error {
  color: red;
  background-color: #e0e0e0;
  text-align: center;
}


#usereditor td {
  vertical-align: top;
}

#usereditor input[type="text"] {
  width: 140px;
}


#breadcrumb {
  margin-bottom: 1.4em;
}

#errormsg {
  font-weight: bold;
  color: red;
  margin-bottom: 1em;
}

#contenttable th {
  width: 45%;
  text-align: left;
}
#contenttable th+th {
  width: 25%;
  text-align: left;
}
#contenttable th+th+th {
  width: 16%;
}
#contenttable th+th+th+th {
  width: 14%;
}

#contenttable th+th+th,
#contenttable th+th+th+th,
#contenttable td+td+td,
#contenttable td+td+td+td {
  text-align: right;
}

/* METHOD-Links und Footer */

#footer,
#contenttable td+td+td+td ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}


#footer li,
#contenttable td+td+td+td ul li {
  display: inline-block;
  line-height: 1.2;
}

#footer li {
  padding-left: 0.5em;
  margin-left: 0.5em;
  border-left: 1px solid #565757;
}

.dummy-icon,
.disabled img,
#contenttable td+td+td+td ul li a { /* Icons */
  display: inline-block;
  padding: 2px 0.3em 0 0.3em;
  margin: 0 1px;
}
.dummy-icon {
  width: 18px; 
  height: 18px; 
}


#footer li:first-child,
#contenttable td+td+td+td ul li:first-child {
  padding-left: 0;
  margin-left: 0;
  border-left: none;
}

@media print { /* Spalte mit Links "Löschen" und "Auswählen" */
  #footer,
  #contenttable th+th+th+th,
  #contenttable td+td+td+td { display: none; }
}


#contenttable .thumbnail td {
  vertical-align: top;
}
#contenttable .thumbnail td:first-child img {
  margin-top: 4px;
  border: 1px solid silver;
}
#contenttable .selected td {
  background-color: #444;
  color: white;
}
#contenttable .selected td+td+td+td ul li {
  border-color: white;
}
#contenttable .selected td a {
  color: white;
}


#contenttable td.messagecell {
  text-align: center;
  padding: 10px 0;
}

.sortable_table th.sortable_column.hover,
.sortable_table th.sortable_column:hover {
  background-color: silver;
  cursor: pointer;
}

.sortable_table th.sortable_column.active,
.sortable_table th.sortable_column:active {
  background-color: gray;
  color: white;
}

.sortable_table .sortable_sortmsg {
  background-color: #FFFF66; /* helles Gelb */
  color: black;
  font-size: 0.9em;
  padding: 3px 5px;
  border: 1px solid gray;
  display: none;
  position: absolute;
}

.sortable_table th.sortable_column.active .sortable_sortmsg,
.sortable_table th.sortable_column:active .sortable_sortmsg {
  display: block;
}


.content_both a         { color: #0040BB; }
.content_both a:hover   { text-decoration: underline; }
.content_both a:active  { color: silver; }

th, td { white-space: nowrap; }
th { font-weight: normal; }

input { margin-left: 0; }

.disabled { color: #aaa; }
.disabled img { opacity: 0.4; }

@media print {
 a { text-decoration: none; }
}

.white, .content_right, .content_left, .content_both {
  min-height: 295px;
}


/* --------- externe Module --------- /// das nochmal prüfen und bereinigen */

.locked a,
.locked area,
.locked input,
.locked button {
  pointer-events: none;
  opacity: 0.6; /* funktioniert nur bei Links, Buttons müssen disabled werden */
}
