rp-texture-editor {
  display: block;
  width: 100%;
}

.picture-editor-footer {
  margin-bottom: 16px;
}
.picture-editor-canvas {
  margin-top: .75em;
  margin-bottom: 1.5em;
  text-align: center;
}

.canvas-wrapper {
  position: relative;
  /* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
  mat-button-toggle-group {
    text-align: center;
    width: 320px;
  }
  /* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
  mat-button-toggle {
    flex-basis: 50%;
    padding: 4px 0px;
  }
}

.resize-message-wrapper {
  margin: 10px 3px 3px;
  text-align: -webkit-center;
  .resize-message {
    color: red;
    font-style: italic;
    font-weight: bold;
    font-size: 0.9em;
  }
}

:host {
  /* TODO(mdc-migration): The following rule targets internal classes of slider that may no longer apply for the MDC version. */
  ::ng-deep .mat-slider-ticks-container {
    background-color: transparent;
  }
  /* TODO(mdc-migration): The following rule targets internal classes of slider that may no longer apply for the MDC version. */
  ::ng-deep .mat-slider-track-wrapper {
    overflow: visible;
  }
  /* TODO(mdc-migration): The following rule targets internal classes of slider that may no longer apply for the MDC version. */
  ::ng-deep .mat-slider-track-background {
    background-color: #ccc;
  }
  /* TODO(mdc-migration): The following rule targets internal classes of slider that may no longer apply for the MDC version. */
  ::ng-deep .mat-slider-track-fill {
    background-color: #da9803;
  }
  /* TODO(mdc-migration): The following rule targets internal classes of slider that may no longer apply for the MDC version. */
  ::ng-deep .mat-slider-thumb-label {
    background-color: #da9803;
  }
  /* TODO(mdc-migration): The following rule targets internal classes of slider that may no longer apply for the MDC version. */
  ::ng-deep .mat-slider-thumb {
    background-color: #da9803;
  }
}
