/* ===================================================================== */
/* main */
:root {
  --color-bmi: rgb(52, 56, 79);
  --color-background: #fcfcfc;
  --color-background-hover: #eeeeee;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

.identity-holder {
  width: 95vw;
  height: 80px;
  padding: 10px;
}

#logotyp {
  height: auto;
  float: left;
}
#logotyp.login {
  max-width: 80px;
}
#logotyp.base {
  max-width: 80px;
}

*, body, p, span {
  font-family: Arial;
}

#login-form, #logout-form {
  float: left;
  margin-left: 20px;
  height: 80px;
  display: flex;
  justify-content: center;
}

#login-form {
  flex-direction: row;
  width: 42vw;
}
#login-form .input-holder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 250px;
  margin-right: 10px;
}
#login-form .input-holder label {
  margin-bottom: 8px;
}
#login-form .input-holder input[type=submit] {
  padding: 18px 0;
}

#logout-form {
  flex-direction: column;
}
#logout-form form {
  margin-top: 12px;
  width: 10vw;
}

input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 6px;
  border: 1px solid #ddd;
  /* border-radius: 5px; */
}
input[type=submit] {
  padding: 12px 0;
  cursor: pointer;
  font-weight: bold;
  color: var(--color-bmi);
  background: #fff;
}
input[type=submit]:hover {
  color: #fff;
  background: var(--color-bmi);
}

#user .username {
  font-weight: bold;
}

#notes {
  margin-top: 50px;
  margin-left: 20px;
  width: 50%;
}
#notes * {
  line-height: 110%;
}
#notes h3 {
  margin-top: 30px;
  font-size: 140%;
  font-weight: bold;
}
#notes h4 {
  font-family: Courier New;
  background: #f0f0f0;
  padding: 8px;
  margin-top: 9px;
  margin-left: 8px;
}
#notes p {
  margin-top: 20px;
  margin-bottom: 10px;
}

/* ===================================================================== */
/* browser view */
#tree {
  width: 15vw;
  height: 100%;
  border: 0;
  margin: 0;
  padding: 5px;
  padding-left: 10px;
  float: left;
  background: var(--color-background);
}

#browser,
#search-results {
  border: 0;
  margin: 0;
  padding: 5px;
  color: var(--color-bmi);
}

#search-results h2 {
  margin-bottom: 10px;
  margin-left: 15px;
  font-weight: bold;
}

#browser {
  float: left;
  max-width: 79vw;
}

#browser .item,
#search-results .item {
  background: var(--color-background);
  text-align: center;
  padding: 8px;
  margin: 10px;
  cursor: pointer;
  vertical-align: middle;
  width: 190px;
  height: 250px;
  float: left;
  overflow: hidden;
  position: relative;
}
#browser .item div,
#search-results .item div {
  /* float: left; */
}
#browser .item div.name,
#search-results .item div.name {
  margin-left: 8px;
  line-height: 20px;
  font-size: 18px;
  padding: 5px;
  margin: 0 auto;
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 5px;
  top: 130px;
  color: #000;
}
#browser .item:hover,
#search-results .item:hover {
  background: var(--color-background-hover);
}
#browser .item .icon i.bx,
#search-results .item .icon i.bx {
  font-size: 100px;
}
#browser .item .icon img,
#search-results .item .icon img {
  max-width: 120px;
  height: auto;
}
#browser .item span.size,
#search-results .item span.size {
  display: block;
  clear: both;
  margin-top: 10px;
  font-size: 12px;
}

p#path {
  background: #e0e0e0;
  padding: 8px;
  margin: 10px;
  font-weight: bold;
  font-size: 19px;
}

/* ===================================================================== */
/* tree view */
#tree {
  padding-bottom: 50px;
  margin-left: 10px;
}
#tree li {
  margin-top: 6px;
}
#tree a {
  text-decoration: none;
  color: var(--color-bmi);
  padding: 2px 3px;
  margin: 0;
  margin-left: -6px;
}
#tree a:hover {
  background: var(--color-background-hover);
}
#tree span {
  cursor: pointer;
  font-family: "boxicons" !important;
  padding: 3px;
  margin: 0;
  position: relative;
  top: 2px;
}
#tree span:hover {
  background: var(--color-background-hover);
}
#tree span:before {
  content: "\eadf";
}
#tree span.open:before {
  content: "\eae1";
}

/* ===================================================================== */
/* search view */
#search-form {
  width: 30vw;
  float: left;
  margin-left: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 80px;
}
#search-form input[name=search] {
  /* */
}
#search-form p {
  margin-top: 6px;
  font-size: 85%;
}

/* ===================================================================== */
/* debug */
#debug {
  margin: 0 auto;
  width: 99vw;
  border: 1px solid gray;
  margin-top: 30px;
  padding: 7px;
  clear: both;
}

#debug span.time {
  font-size: 10px;
  margin-right: 10px;
}