:host {
  display: flex;
  height: 100%;
  width: 100%;
  background: #fff;

  &.hidden {
    visibility: hidden;
  }
}

canvas {
  width: inherit;
  height: inherit;
}

.controls-top {
  pointer-events: none;
  position: absolute;
  top: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  &:not(.disable-mouse) > * {
    pointer-events: all;
    margin: 0 3px;
    .mdc-floating-label, &.dimensioning-select, &.round-select {
      pointer-events: all;
    }
  }
  .mat-mdc-floating-label.mdc-floating-label {
    pointer-events: none !important;
  }
  .dimensioning-select, .round-select {
    pointer-events: none;
    height: 38px;
    width: 70px;
    padding: 5px;
    border: solid 1px rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    background: #fff;
  }
}

.hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  margin-left: -200px;
  padding: 10px 20px;
  background: #74B77F;
  border: 1px solid #cccccc;
  border-radius: 3px;
  text-align: center;
}

/*TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version.*/
.mat-button-toggle-checked {
  color: white;
  background-color: #da9803;
  co-icon ::ng-deep {
    svg {
      fill: #FFFFFF;
    }
    [fill] {
      fill: #FFFFFF;
    }
  }
}
/*TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version.*/
.mat-button-toggle ::ng-deep {
  /*TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version.*/
  .mat-button-toggle-label-content {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  co-icon ::ng-deep {
    width: 24px;
    height: 24px;
  }
}
