
@import url(yanone-kaffeesatz/400.css);

body {
  margin: 0;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 25px;
  padding-right: 25px;
  font-family: sans-serif;
  font-size: 13px;
  color: #565656;
  background-color: #FFFFFF;
  background-image: linear-gradient(to bottom, #8B8B8B 0px, #FFFFFF 192px);
  background-size: 100% 192px;
  background-repeat: repeat-x;
  white-space: nowrap;
}

body.waiting {
  cursor: progress;
}

a {
  outline: none;
}

a:link {
  color: #6389B7;
}

a:visited, a:hover, a:active {
  color: #565656;
}

h1, h2 {
  margin-top: 2px;
  margin-bottom: 2px;
  margin-left: -2px;
  color: #585858;
}

h1 {
  font-size: 14px;
  margin-top: 10px;
}

h2 {
  font-size: 12px;
}

hr {
  border: none;
  border-top: 1px dashed #55626E;
  margin: 15px;
}

table {
  margin-top: 20px;
  margin-bottom: 20px;
  border-collapse: collapse;
  border: 1px solid #2F2F2F;
}

caption, th {
  background-color: #2F2F2F;
  color: #FFFFFF;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 4px;
  padding-bottom: 4px;
  text-align: left;
  font-size: 95%;
  font-weight: bold;
  border-bottom: 4px solid #B45757;
}

td {
  border: 1px solid #2F2F2F;
  padding-left: 8px;
  padding-right: 8px;
  color: #2F2F2F;
  font-size: 90%;
}

.information[title] {
  cursor: help;
}

body > form {
  margin-top: 1em;
  margin-bottom: 1em;
}

form .errors {
  margin-top: 0;
  margin-bottom: 0;
}

input, textarea, select, button {
  font-size: 90%;
  color: #2F2F2F;
  border-radius: 3px;
}

input[type="text"], input[type="password"], input[type="email"],
textarea, select {
  border: 1px solid #AFAFAF;
  font-size: 9px;
  background-color: #FFFFFF;
}

input[readonly], textarea[readonly], select[readonly],
input.read-only, textarea.read-only, select.read-only {
  background-color: #CCCCCC;
}

input[type="text"], input[type="password"], input[type="email"], select {
  padding-left: 4px;
  padding-right: 0px;
}

textarea {
  padding: 5px;
}

button, input[type="submit"], input[type="button"] {
  border: 1px solid #000000;
  border-radius: 2px;
  color: #000000;
  background-color: #EAFFDC;
  cursor: pointer;
}

button::-moz-focus-inner, input[type="submit"]::-moz-focus-inner {
  border: none;
}

button:hover, input[type="submit"]:hover,
button:focus, input[type="submit"]:focus {
  color: #222222;
  text-shadow: 2px 2px 1px #999999;
  outline: none;
}

button:disabled, input[type="submit"]:disabled {
  border-color: #999999;
  color: #3A3A3A;
  background-color: #C4C6CB;
  cursor: inherit;
}

.terminate:not(:hover):not(:focus) {
  color: #D2E7CB;
  background-color: #727272;
}

.waiting label {
  cursor: progress;
}

.modal_wrapper {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(170, 170, 170, 0.3);
  z-index: 5000;
}

.modal {
  position: fixed;
  box-sizing: border-box;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  font-size: 110%;
  padding: 0.2em;
  background-color: white;
  border: 1px solid #AAAAAA;
  border-radius: 4px;
}

.modal a {
  color: #222222;
}

.modal, .modal input, .modal textarea, .modal select, .modal button {
  font-family: Verdana, sans-serif;
}

.modal button {
  font-size: 100%;
}

.modal > .title {
  color: #222222;
  font-weight: bold;
  padding-left: 1em;
  padding-right: 0.3em;
  padding-top: 0.5em;
  padding-bottom: 0.4em;
  background-color: #CCCCCC;
  background-image: linear-gradient(to bottom, #E2E2E2 0%, #CCCCCC 73%);
  border: 1px solid #AAAAAA;
  border-radius: 4px;
  cursor: move;
}

.modal > .title > .close {
  float: right;
  color: #888888;
  width: 20px;
  height: 20px;
  padding: 1px;
  background-color: #E6E6E6;
  background-image: linear-gradient(to bottom, #EDEDED  0%, #EDEDED  50%,
                                               #E6E6E6 50%, #EDEDED 100%);
  border: 1px solid #D3D3D3;
  border-radius: 4px;
  text-shadow: 0 0 1px currentcolor;
  font-size: 10px;
  font-weight: bold;
}

.modal > .title > .close:hover, .modal .title > .close:focus {
  color: #454545;
  background-color: #DADADA;
  background-image: linear-gradient(to bottom, #E4E4E4  0%, #E4E4E4  50%,
                                               #DADADA 50%, #E5E5E5 100%);
  border-color: #000000;
}

.modal > .content {
  overflow: auto;
  box-sizing: border-box;
  max-width: 100%;
}

#logo {
  background-image: url(images/logo.png);
  background-repeat: no-repeat;
  margin-top: 6px;
  margin-bottom: 6px;
  margin-left: -7px;
  padding-top: 37px;
  padding-left: 93px;
  font-family: "Yanone Kaffeesatz", sans-serif;
  font-size: 33px;
  letter-spacing: 4px;
  color: #FFFFFF;
  text-shadow: 2px 2px 2px #444444;
}

#tabs {
  border-bottom: 1px solid #000000;
  margin-top: 15px;
  margin-bottom: 6px;
  margin-left: -7px;
  margin-right: -7px;
}

#tabs > .tab {
  display: inline-block;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: -1px;
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 2px;
  padding-bottom: 2px;
  border: 1px solid #000000;
  border-top-right-radius: 6px;
  text-decoration: none;
  color: inherit;
}

#tabs > .tab.active {
  border-bottom: 1px dotted #FFFFFF;
}

#tabs > .tab.inactive {
  background-color: #EAFFDC;
}

#tabs > .tab:hover {
  background-color: #5D5D5D;
  color: #FFFFFF;
}

#tabs > .tab.logout {
  color: #DEE1DC;
  background-color: #727272;
}

#tabs > .tab.logout:hover {
  color: #BBBBBB;
  background-color: #000000;
}

#tabs > .tab.logout > .username {
  font-size: 10px;
}

#messages {
  position: fixed;
  top: 20px;
  right: 10px;
  z-index: 10000;
  margin: 0;
  padding: 0;
}

#messages > .message {
  list-style-type: none;
  margin: 20px;
  margin-bottom: 0;
  padding: 6px;
  width: 270px;
  overflow-wrap: break-word;
  border: 2px solid #555555;
  border-radius: 3px;
  font-size: 80%;
  background-color: white;
  white-space: normal;
  transform-origin: top;
  transition-property: transform, opacity, margin-bottom;
  transition-timing-function: ease;
  position: relative;
}

#messages > .message > .title {
  font-weight: bold;
}

#messages > .message > .dismiss {
  position: absolute;
  top: -1em;
  right: -0.85em;
  background-color: #CCCCCC;
  width: 1.5em;
  padding: 0;
}

#messages > .message.error {
  background-color: #FFBABA;
}

#messages > .message.warning {
  background-color: #FAFFBA;
}

#messages > .message.info,
#messages > .message.success {
  background-color: #CEFFBA;
}

#messages > .message.success > .dismiss {
  display: none;
}

#search > h1 {
  float: left;
  margin-top: 7px;
  margin-bottom: 2px;
}

#search > h1 + * {
  float: right;
  margin-right: -10px;
}

#search > h1 + * + * {
  clear: both;
}

#search form > div {
  padding-top: 16px;
}

#search input, #search select {
  vertical-align: text-bottom;
  position: relative;
  top: -1px;
}

#search input.date {
  width: 70px;
  font-weight: bold;
}

#search input[type="checkbox"] {
  margin-left: 5px;
  margin-right: 1px;
  margin-top: 0;
  margin-bottom: 0;
}

#search .advanced label {
  padding-right: 15px;
}

#search .advanced label:not(:first-child) {
  font-size: 95%;
}

#search .max_score input {
  width: 40px;
  height: 13px;
  padding: 0;
  text-align: center;
  vertical-align: bottom;
}

#search .standard label {
  margin-right: -1px;
}

#search .standard select {
  width: 150px;
}

#search .standard button {
  margin-left: 12px;
}

#search .standard button:first-of-type {
  margin-left: 16px;
}

#stores {
  display: inline-block;
  vertical-align: top;
  width: 230px;
  max-height: 600px;
  overflow: auto;
  padding: 10px;
  position: sticky;
  top: 0;
  margin-left: 10px;
  margin-right: 34px;
  border-right: 1px dashed #777777;
}

#stores > .jstree li {
 font-size: 94.55%;
}

#stores > .jstree > ul > li > ul > li > a {
  font-weight: bold;
}

body.moving_document #stores {
  background-color: #DDDDDD;
  padding: 8px;
  padding-right: 9px;
  border: 2px dashed #222222;
  border-radius: 8px;
}

#stores > div {
  margin-top: 1em;
}

#documents {
  display: inline-block;
}

#documents > table {
  display: inline-table;
  vertical-align: top;
  width: 1200px;
}

#documents.noresults {
  display: inline-block;
  color: #555555;
  font-weight: bold;
  margin-top: 30px;
  margin-left: 20px;
}

#documents .tablenav form {
  display: inline;
}

#documents .tablenav > th:first-child > form > div {
  display: inline-block;
  vertical-align: top;
}

#documents .tablenav .pages_matches {
  padding-left: 7px;
  padding-right: 7px;
  text-align: center;
}

#documents .tablenav .matches > span {
  font-size: 10px;
}

#documents .tablenav > th:nth-child(2) {
  text-align: right;
}

#documents .tablenav > th:nth-child(2) > form > select {
  margin-left: 6px;
}

#documents > table > tbody > tr:nth-child(2n) {
  background-color: #DEDEDE;
}

#documents > table > tbody > tr:nth-child(2n+1) {
  background-color: #FFFFFF;
}

#documents > table > tbody > tr:hover {
  background-color: #D2FFCE;
}

#documents th.substore_dragger {
  width: 37px;
}

#documents td.substore_dragger > img {
  cursor: pointer;
}

#documents td.substore_dragger.dragging {
  opacity: 0.1;
}

#documents th.clean {
  width: 104px;
}

#documents td.clean {
  text-align: center;
}

#documents td.clean img.thumb {
  border: 1px dotted #CCCCCC;
  padding: 1px;
}

#documents td.clean img.nothumb {
  width: 40px;
  height: 40px;
}

#documents th.original {
  width: 83px;
}

#documents td.original {
  text-align: center;
}

#documents td.original img.icon {
  height: 48px;
}

#documents th.inrefs {
  width: 207px;
}

#documents td.inrefs {
  text-align: right;
}

#documents td.inrefs input {
  margin-right: 9px;
}

#documents th.filename_substores {
  width: 228px;
}

#documents td.filename_substores {
  font-size: 9px;
}

#documents td.filename_substores .rename button {
  margin-left: 9px;
}

#documents td.filename_substores > :not(:first-child) {
  margin-top: 12px;
}

#documents .inrefs mark,
#documents .filename_pages mark {
    color: #000000;
    background-color: #FF7F85;
}

#documents td.filename_substores .substore.link button {
  margin-right: 6px;
}

#documents td.filename_substores .substore .path {
  font-weight: bold;
}

#documents td.filename_substores .substore .path .name {
  display: inline-block;
  font-size: 10px;
  font-weight: normal;
  background-color: #CCCCCC;
  padding-top: 1px;
  padding-bottom: 1px;
  padding-left: 3px;
  padding-right: 3px;
  border: 1px dotted #AAAAAA;
  border-radius: 2px;
  margin-top: 1px;
  margin-bottom: 1px;
  margin-left: 2px;
  margin-right: 2px;
}

#documents td.filename_substores .substore.link .icon {
  display: inline-block;
  margin-left: 6px;
  width: 1em;
  font-size: 150%;
  font-weight: bold;
  background-color: #DDDDDD;
  border-radius: 4px;
  text-align: center;
  line-height: 1;
  vertical-align: top;
}

#documents th.uploaded {
  width: 113px;
}

#documents td.uploaded {
  text-align: center;
}

#documents td.uploaded > * {
  color: #9A9A9A;
  font-family: monospace;
  font-size: 90%;
  font-weight: bold;
}

#documents td.uploaded .time {
  background-color: #787C8D;
  color: #FFFFFF;
  font-size: 90%;
  font-weight: normal;
  text-shadow: 0 0 2px #000000;
  padding-left: 3px;
  padding-right: 3px;
  border-radius: 2px;
}

#documents th.score {
  width: 105px;
}

#documents td.score {
  text-align: center;
  font-weight: bold;
}

#documents td.score meter {
  width: 100px;
}

#documents th.delete {
  width: 193px;
}

#documents td.delete {
  text-align: center;
}

#documents td.edit {
  cursor: pointer;
}

#documents td.matches {
  padding-top: 1px;
}

#documents td.matches .scroller {
  overflow: auto;
  max-width: 1400px;
  height: 50px;
}

#documents td.matches .count {
  font-weight: bold;
}

#documents td.matches mark {
  color: #000000;
  background-color: #E0FF7F;
}

body > .preview {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  border-left: 2px solid black;
  background-color: #777777;
  padding: 10px;
  z-index: 1500;
}

#stores {
  margin-bottom: 80px;
}

#documents {
  margin-bottom: 90px;
}

#upload {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62px;
  padding-top: 8px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
  border: 1px solid #AAAAAA;
  background-color: #D6D6D6;
  background-image: linear-gradient(to bottom, #E1E1E1 0%, #CCCCCC 100%);
  overflow: hidden;
}

#upload .title {
  font-weight: bold;
  position: sticky;
  left: 4px;
}

#upload .nostores {
  margin-left: 4px;
}

#upload .store, #upload .uploading {
  display: inline-block;
  min-width: 150px;
  height: 33px;
  padding: 3px;
  border: 1px solid #AAAAAA;
  border-radius: 4px;
  margin-top: 3px;
  margin-right: 24px;
  color: #444444;
  background-color: #C5C5C5;
  background-image: linear-gradient(to bottom, #E1E1E1 0%, #AAAAAA 100%);
  opacity: 0.7;
}

#upload .store {
  cursor: pointer;
}

#upload .store:hover {
  opacity: 1;
}

#upload .store form * {
  pointer-events: none;
}

#upload .store .name {
  font-weight: bold;
}

#upload .uploading > * {
  background-image: url(images/uploading.gif);
  background-repeat: no-repeat;
  background-position: 5px 10px;
  padding-top: 8px;
  padding-bottom: 10px;
  padding-left: 70px;
}

body:not(.uploading) #upload .uploading {
  display: none;
}

body.uploading #upload .store {
  display: none;
}

#edit_document_modal > .content {
  width: 1000px;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 0.5em;
}

#edit_document_modal > .content > div {
  display: inline-block;
  vertical-align: top;
}

#edit_document_modal .preview {
  width: 500px;
  height: 580px;
  margin-top: 10px;
  margin-bottom: 17px;
  padding: 10px;
  text-align: center;
  background-color: #444444;
  border: 2px dotted #CCCCCC;
}

#edit_document_modal .preview > img {
  max-width: 480px;
  max-height: 480px;
  padding: 10px;
}

#edit_document_modal .actions {
  width: 400px;
  margin-left: 25px;
  margin-top: -10px;
}

#edit_document_modal .actions table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #2F2F2F;
}

#edit_document_modal .actions table th,
#edit_document_modal .actions table td {
  height: 21px;
  padding: 4px;
  border: none;
}

#edit_document_modal .actions table th {
  text-align: left;
  font-size: 90%;
  font-weight: normal;
  color: #FFFFFF;
  background-color: #2F2F2F;
  padding-right: 14px;
}

#edit_document_modal .actions table tr:last-child th {
  height: 20px;
  text-align: right;
}

#edit_document_modal .actions table tr:last-child th button {
  margin-left: 15px;
}

#edit_document_modal .actions table td {
  padding-right: 20px;
  border-left: 4px solid #A3BAD0;
  white-space: normal;
}

#edit_document_modal .actions .meta .id td {
  font-weight: bold;
  font-size: 70%;
}

#edit_document_modal .actions .meta .score td {
  font-weight: bold;
}

#edit_document_modal .actions .meta .score td meter {
  width: 100px;
}

#edit_document_modal .actions .meta .keywords td textarea {
  width: 230px;
  height: 57px;
  margin: 0;
}

#edit_document_modal .actions .send td input {
  width: 100%;
}

#edit_document_modal .actions .postproc .rotate label {
  display: inline-block;
  width: 86px;
}

#admin_edit_microsoft .information[title] {
  float: right;
  margin-left: 1ex;
}

#admin_edit_microsoft input[type="text"] {
  width: 200px;
}

#admin_edit_microsoft tr:last-child th {
  text-align: right;
}

img#login-ms {
  width: 172px;
  height: 32.8px;
}

