body {
  text-align: center;
  font-size: 1rem;
  overflow-x: hidden;  /* Prevent scroll on narrow devices */
}

body.margin {
  margin: 8px;
}

body.files-list {
  padding-top: 56px;
}

form {
  text-align: left;
  width: 100%;
  max-width: 330px;
  padding-top: 15px;
  margin: auto;
}

h1 {
  line-height: 1.1;
  font-size: 2.2rem;
}

.logo {
  width: 150px;
  height: 150px;
}

.logo-small {
  width: 60px;
  height: 60px;
}

.icon {
  position: absolute;
}

.navbar-toggler span {
  background-image: url(../img/profile.png)!important;
  height: 50px;
  width: 50px;
}

#icon-person {
  font-size:  1.4rem;
  margin: -2px 6px;
}

#icon-lock {
  font-size:  1.2rem;
  margin: 1px 7px;
}

.input-text {
  width: 100%;
  height: 35px;
  padding-left: 35px;
  margin-bottom: 8px;
}

#link-pw {
  color: #dc3545;
  font-weight: 600;
  display: block;
}

#link-pw:hover {
  color: #dc3545;
  text-decoration: none;
}

#link-pw::after {
  content: '';
  display: block;
  height: 2px;
  margin-left: 15px;
  width: 142px;
  background-color: #dc3545;
  -webkit-transform-origin: right center;
  -ms-transform-origin: right center;
  transform-origin: right center;
  -webkit-transform: scale(0,1);
  -ms-transform: scale(0,1);
  transform: scale(0,1);
  -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.37,0.31,0.2,0.85);
  -webkit-transition: transform 0.25s cubic-bezier(0.37,0.31,0.2,0.85);
  transition: transform 0.25s cubic-bezier(0.37,0.31,0.2,0.85);
}

#link-pw:hover::after {
  -webkit-transform-origin: left center;
  -ms-transform-origin: left center;
  transform-origin: left center;
  -webkit-transform: scale(1,1);
  -ms-transform: scale(1,1);
  transform: scale(1,1);
}

#pwdForgetHint {
  display: none;
  color: #dc3545;
  font-weight: 700;
}

.submit {
  margin-top: 20px;
}

.btn-red {
  color: #ffffff;
  background-color: rgb(220 53 69 / 92%);
  border-color: rgb(220 53 69 / 92%);
}

.btn-red:hover {
  color: #ffffff;
  background-color: rgb(220 53 69 / 100%);
  border-color: rgb(220 53 69 / 100%);
}

#pwdModal .modal-body {
  word-spacing: 0.3rem;
  font-size: 1.5rem;
  text-align: center;
}

#pwdModalLabel {
  margin: 2px 0px;
}

#hintIcon {
  font-size: 1.4rem;
  margin: 0px 5px;
  color: #bfbfbf;
}

.popover {
  text-align: center;
}

#permissionModal .modal-body {
  text-align: left;
}


main {
  max-width: 1000px;
  margin: 0px auto;
}

div.flex-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.col-logo {
  flex: 0 0 60px;
}

.col-label {
  flex: 1 1 auto;
}

.col-badge {
  flex: 0 0 auto;
}

.flex-container div div {
  height:75px;
  font-size: 1.3rem;
  line-height: 1.2;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content:center;
}

footer {
  margin: 30px 0px 15px 0px;
  font-size: 0.8rem;
}

nav.navbar {
  min-height: 75px;
}

/*.header {
  line-height: 3rem;
  margin-right: 1px;
}*/

.sub-header {
  background-color: #ececec;
  padding: 10px 17px;
  font-size: 1.2rem;
  text-align: left;
  margin: 20px 0px auto;
}

.sub-header div {
  max-width: 950px;
  margin: 0px auto;
}

#btn-nav-bottom {
  max-width: 300px;
  margin: 10px auto;
  border: 1px solid #c4c4c4;
}

.icon-40 {
  height: 40px;
}

.input-label {
  display: block;
  font-weight: 700;
  padding-left: 4px;
}

.case-item:active {
  background-color: #dddddd;
}

.case-item i {
  font-size: 2.2rem;
  color: #343a40;
}

.list-header-label {
  font-size: 1.3rem;
  font-weight: 600;
  height: 35px;
}

.file-logo {
  /*width: 75px;
  text-align: right!important;*/
  padding: 0px 15px;
}

.file-label {
  /*flex: 1 1 auto;
  margin: auto 0px;
  font-size: 1.3rem;*/
}

.file-badge {
  width: 100px;
  /*flex: 0 0 auto;
  margin: auto 10px auto 0px;
  font-size: 1.1rem;*/
}

.file-badge span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #565656;
  width: 60px;
  margin: 0px 20px 0px auto;
}

.status-badge span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #565656;
  margin-right: 10px;
  text-align: left;
}

.file-badge i {
  position: relative;
  top: -1px;
}

.file-badge a:hover {
  text-decoration: none;
}

/*
@media (min-width: 768px) {
    .file-badge {
      margin: auto 10px auto 80px;
    }
}

@media (min-width: 870px) {
    .file-badge {
      margin: auto 10px auto 120px;
    }
}*/

.file-date {
  text-align: right;
}

.link-file, .link-file:hover, .link-file:active {
    color: #212529;
    text-decoration: none;
    background-color: transparent;
}

.profile {
  padding: 3px;
}

.profile-img {
  width: 50px;
  height: 50px;
}

.profile span {
  margin: 0px 10px;
}

.navbar-brand {
  margin: 0px 8px;
}

@media (max-width: 767.98px) {
  .profile {
    border-bottom: #f8f9fa 1px solid;
    padding-bottom: 10px;
  }

  #navbar {
    padding-top: 10px;
  }
}

#navbar div, #navbar .nav-link {
  color: white;
  font-size: 1.3rem;
}

#navbar .btn {
  font-size:1.25rem;
  max-width: 300px;
  margin: auto;
}

.bg-light-grey {
  background-color: #ececec;
}

.bg-light-red {
  background-color: #e25f6c;
}

.bg-dark-grey {
  background-color: #343a40;
}

.text-red {
  color: #e25f6c!important;
}

.icon-30 {
  height: 30px;
  margin-right: 7px;
}

.modal-asset {
    width: 100%;
    height: 100%;
    margin: 4px;
}


@media (max-width: 400px) {
    .logo-small {
      width: 50px!important;
      height: 50px!important;
    }

    .h4 {
      font-size: 1.1rem!important;
    }

    .header {
      /*height: 60px;*/
    }

    .file-label {
      font-size:1.1rem!important;
    }

    .list-header-label {
      font-size:1.2rem!important;
    }

    .subheader {
      font-size: 1rem!important;
    }
}

/* Offcanvas*/

@media (max-width: 767.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 75px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #52585f;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
}

@media (min-width: 768px) {
  .navbar-expand-md .navbar-collapse {
    justify-content: flex-end;
  }
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-underline .nav-link:hover {
  color: #007bff;
}

.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}


/* Impressum */

.impressum {
  font-size: 1rem;
}

footer a {
  color: #b6b6b6;
}

.bottom-footer {
  position: absolute;
  bottom: 0px;
  width: 100%;
  color: #b6b6b6;
}

.mw-1000 {
  max-width: 1000px;
  margin: 0px auto;
}
