/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  /* Behind the navbar */
  padding: 48px 10px 0;
  /* Height of navbar */
  width: 18.5rem!important;
  overflow-x: hidden;
  overflow-y: auto;
}
.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: 0.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  /* Scrollable contents if viewport is shorter than content. */
}
.sidebar .nav-item .nav-link{
  width: 17rem!important;
}
@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.profile-img{
  border: 1.5px solid #f5f6fa;
  width: 300px;
  height: 300px;
}

/*
 * folder list
 */
.folder-list{
  color: #080808;
}
.folder-list .nav-link {
  font-weight: 700;
  color: #080808;
}
.folder-list .nav-link.active {
  color: #007bff;
}
/*
 * Content
 */
.contracts-content {
  width: 15.8cm;
  min-height: 21cm;
  padding: 1cm 2cm 2cm;
  margin: 0.5cm auto;
  border: 1px #D3D3D3 solid;
  border-radius: 5px;
  background: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.signature-pad {
  border:4px solid #444;
  background-color: #fafafa;
}
[role=main] {
  padding-top: 48px;
  /* Space for fixed navbar */
}

.mag-expired {
  background-color: #CC0000;
}

.mag-banned {
  background-color: #FF8800;
}

.mag-enabled {
  background-color: #00C851;
}

.mag-disabled {
  background-color: #8a8a8a;
}
.folder-selected {
  background-color:  rgba(255, 0, 191, 0.424);
}


dd.notes {
  max-height: 250px;
  white-space: pre;
  overflow: auto;
  background: lightyellow;
}

dd.admin {
  background: lavenderblush;
}

td {
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-banned {
  background-color: #CC0000;
}

.user-active {
  background-color: #00C851;
}

.user-disabled {
  background-color: #8a8a8a;
}

.ticket-pending {
  background-color: #00C851;
}

.ticket-closed {
  background-color: gray;
}

.ticket-new {
  background-color: #CC0000;
}

.text {
  white-space: pre-line;
  overflow: auto;
  word-break: break-word;
}

a:hover {
  text-decoration: underline;
}

.invoice_css {
  width: 18.8cm;
  min-height: 21cm;
  padding: 1cm 1cm 1cm;
  margin: 0.3cm auto;
  border: 1px #D3D3D3 solid;
  border-radius: 5px;
  background: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
