/* Body */
:root {
  --mdc-typography-subtitle2-font-weight : 700;
}
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
::-webkit-scrollbar {
  width: 15px;
  height: 0;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0);
}
::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.15);
  width: 3px;
  border-top: 4px solid rgba(0, 0, 0, 0);
  border-right: 6px solid rgba(0, 0, 0, 0);
  border-bottom: 4px solid rgba(0, 0, 0, 0);
  border-left: 6px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,.3);
  width: 12px;
  border: 4px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:active {
  background: rgba(0,0,0,.45);
  background-clip: padding-box;
}

/* Authentification */
.authentification-maugestion-logo {
  width: 214px;
}
.authentification,
.authentification > form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.authentification-headline {
  margin-top: 32px;
  margin-bottom: 32px;
}
.authentification .mdc-text-field-container {
  margin-bottom: 24px;
  flex-shrink: 0;
  width: 100%;
  max-width: 214px;
}
.authentification .mdc-button:not(.mdc-icon-button-mini) {
  height: 56px;
  width: 100%;
}

/* Top App Bar */
.top-app-bar-maugestion-logo {
  width: 128px;
  padding-left: 1rem;
}

/* Dialogs */
.mdc-dialog .mdc-dialog__content {
  padding: 0;
}
.mdc-dialog__content .image-editor-container {
  margin-bottom: 1.5rem;
}
.mdc-dialog__content .mdc-user-profile {
  width: 120px;
  height: 120px;
}

/* Form Fields */
.mdc-form-field {
  font-size: 1rem;
}

/* Image Editor */
.image-editor-container {
  display: inline-flex;
  position: relative;
}
.image-editor input[type="file"] {
  display: none;
}
.image-editor-container img:hover~label, .image-editor-container label:hover {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
  border-radius: 50%;
  overflow: hidden;
  background-image: url(/images/camera.svg);
  background-size: 32px 32px;
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* Contact Card */
.mdc-card__contact img {
  margin-right: 1rem;
  width: 52px;
  height: 52px;
}

/* Artwork Picture Input */
.artwork-picture-input-container input[type="file"] {
  display: none;
}
.artwork-picture-input-container {
  display: inline-flex;
  position: relative;
  width: 100%;
  height: 136px;
}
@media (max-width: 840px) {
  .artwork-picture-input-container {
    height: 128px;
    max-width: 200px;
  }
}
.artwork-picture-input {
  border-radius: var(--mdc-shape-small, 4px);
  width: 100%;
  object-fit: cover;
}
.artwork-picture-input-container img:hover~label, .artwork-picture-input-container label:hover {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
  border-radius: var(--mdc-shape-small, 4px);
  overflow: hidden;
  background-image: url(/images/camera.svg);
  background-size: 32px 32px;
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* Google Places Autocomplete Menu */
#artworkLocation {
  margin-left: -16px;
  margin-right: -16px;
  padding-left: 16px;
  padding-right: 16px;
}
.hdpi.pac-logo:after, .hdpi .pac-icon {
  display: none;
}
.pac-container {
  border-radius: var(--mdc-shape-medium, 4px);
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border: none;
  font-family: var(--mdc-typography-font-family, Roboto, sans-serif);
  margin-top: 8px;
  max-height: 155px !important;
  overflow: auto;
  box-shadow: rgb(0 0 0 / 20%) 0px 5px 5px -3px, rgb(0 0 0 / 14%) 0px 8px 10px 1px, rgb(0 0 0 / 12%) 0px 3px 14px 2px;
}
.pac-item {
  height: 40px;
  margin: 8px;
  padding: 0 8px;
  border-radius: 4px;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.pac-item span {
  font-size: 1rem;
}
.pac-item>span:last-child {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.pac-item:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

/* Text scrolling effect on list-item hover */
.mdc-list-item.scrollable-list-item:hover span {
  margin-left: -1000px;
  transition: margin-left 20s;
}
.scrollable-list-item .mdc-list-item__ripple {
  width: 1000px !important;
}

/* Add Artwork Form */
#restoration-user-name-menu {
  bottom: 100% !important;
  top: auto !important;
}

/* Artwork Cards */
.mdc-card__subtitle {
  line-height: 1.375rem;
}
.mdc-chip-set .category-chip {
  margin: 0;
  border-radius: 4px;
}
.category-chip .mdc-chip__ripple {
  border-radius: 4px;
}
.mdc-card__media-content {
  display: flex;
  align-items: flex-end;
}
.mdc-card__primary p:last-child, .mdc-card__secondary p:last-child {
margin-bottom: 0;
}

/* Collapsible Elements */
.collapsible {
  overflow: hidden;
  transition: max-height 250ms cubic-bezier(0.4, 0, 0.2, 1);
  height: auto;
  max-height: 100vh;
}
.collapsible.collapsed {
  max-height:0;
}

/* Main content */
.mdc-fab-bottom-padding {
  padding-bottom: 68px;
}

/* Biblio table */
#biblio-table .mdc-chip-set {
  flex-wrap: nowrap;
}
#biblio-table .mdc-chip.mdc-chip--selected .mdc-chip__checkmark, #biblio-table  .mdc-chip .mdc-chip__icon--leading:not(.mdc-chip__icon--leading-hidden) {
  margin-left: -6px;
  margin-right: -6px;
}
.artwork-chip {
  cursor: default;
}