/**
 * Copyright (c) Microblink Ltd. All rights reserved.
 */
/**
 * Copyright (c) Microblink Ltd. All rights reserved.
 *
 * SASS variables, not customizable via CSS variables
 */
/**
 * Camera experiences
 */
:host {
  display: block;
  padding: 8px;
  border: var(--mb-component-image-box-border-width) solid var(--mb-component-image-box-border-color);
  border-radius: var(--mb-component-image-box-border-radius);
  max-width: 100%;
}
:host .label {
  margin: 0;
  padding: 0 0 4px 0;
  height: var(--mb-component-image-box-label-height);
  line-height: var(--mb-component-image-box-label-height);
  color: var(--mb-component-image-box-label-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--mb-font-family);
  font-size: var(--mb-component-image-box-label-font-size);
  font-weight: var(--mb-component-image-box-label-font-weight);
}
:host .cta {
  all: unset;
  box-sizing: border-box;
  display: flex;
  height: var(--mb-component-image-box-cta-height);
  max-width: 100%;
  color: var(--mb-component-image-box-cta-color);
  text-decoration: none;
  font-family: var(--mb-font-family);
  font-size: var(--mb-component-image-box-cta-font-size);
  font-weight: var(--mb-component-image-box-cta-font-weight);
  cursor: pointer;
}
:host .cta:hover {
  color: var(--mb-component-image-box-cta-color-hover);
}
:host .cta .cta-label,
:host .cta .cta-label {
  max-width: calc(100% - 28px);
  height: var(--mb-component-image-box-cta-label-height);
  line-height: var(--mb-component-image-box-cta-label-height);
  margin: 0;
  padding: 0 8px 0 0;
}
:host .cta .cta-label.filename,
:host .cta .cta-label.filename {
  padding: 0;
  color: var(--mb-component-image-box-file-color);
  font-weight: var(--mb-component-image-box-file-font-weight);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
:host .cta svg {
  display: none;
  width: 20px;
  height: 20px;
  margin: 0;
}
:host .cta svg.visible {
  display: inline-block;
}

:host input[type=file] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  clip: rect(1px, 1px, 1px, 1px);
}