fieldset {
  border: 1px solid lightgrey;
  padding: 1em;
  margin: 1em 0;
}

.progress-container {
  background-color: rgb(63, 81, 181);
  min-height: 5px;
  position: sticky;
  top: 0;
  z-index: 1;
}

input[type='file'] {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  cursor: pointer;
}

.demographics-container {
  gap: 1em;
}

.demographics-field label {
  font-weight: bold;
}

.expandable {
  cursor: pointer;
}

.chart-container {
  max-width: 1200px;
  width: 100%;
}

.chart-container canvas {
  width: 100%;
}

.print-header {
  display: none;
}

.banner-container {
  text-align: center;
}

.banner-container img {
  width: 100%;
}

md-sidenav {
  overflow: initial;
}

src {
  display: flex;
  flex-direction: column;
  height: 100%;
}

md-sidenav {
  font-size: 0.8em;
  width: auto;
}

.md-sidenav-left md-select {
  width: 100%;
}

th,
td {
  padding: 0 !important;
}

md-checkbox {
  margin: 0 0.5em !important;
}

.archived td:not(.md-checkbox-cell, .actions-cell) {
  opacity: 0.5;
}

.filter-panel-header {
  cursor: pointer;
  padding: 8px 0;
}

.filter-panel-content {
display: flex;
flex-direction: column;
  padding: 8px 0 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.filter-panel md-chips .md-chips,
.filter-panel md-chips.md-default-theme .md-chips {
  box-shadow: none !important;
}

.filter-panel-chips {
display: flex;
flex-direction: row-wrap;
}

.filter-caption-row {
  display: flex;
  flex-direction: row;
}

.rotate-icon {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
md-icon {
  transition: transform 0.3s ease;
}

.filter-index {
  gap: 8px;
  margin-bottom: 12px;
}

.filter-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 16px;
  text-decoration: none;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.75);
}

.filter-link:hover,
.filter-link.active {
  background: rgba(0, 0, 0, 0.08);
}

.filter-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ccc;
}

.filter-dot.selected {
  background: #4caf50;
}

.filter-editor-card {
  margin-top: 8px;
    flex: 0 0 auto;
    width: fit-content;
    min-width: 300px;
    max-width: 100%;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
}

.date-filter-picker {
  margin-top: 22px;
}

.filter-container md-card {
  display: flex;
}

.filter-container md-card-title {
  flex: none;
}

.filter-container md-card-content {
  flex: 1;
  display: flex;
}

.filter-container md-input-container {
  margin: 0;
}

.filter-container .filter-checkbox {
  width: 33%;
}

.cols-container {
  display: flex;
  flex-wrap: wrap;
}

.cols-container .cols-elem {
  width: 33%;
}

@media print {
  src {
    display: block;
  }

  .print-header {
    display: block;
  }

  md-toolbar,
  .progress-container,
  .md-subheader,
  md-nav-bar,
  .actions,
  md-sidenav {
    display: none !important;
  }

  .chart-container canvas {
    max-width: 100%;
  }

  .print-page {
    page-break-inside: avoid;
  }
}
