/*!
  *  Copyright (C) 2018 Robert Bosch GmbH Copyright (C) 2018 Robert Bosch Manufacturing Solutions GmbH, Germany. All rights reserved.
 */

@use 'sass:math';

@import '@bci-web-core/common-styles/sass/bci/bci-variables';

mat-form-field.mat-mdc-form-field input:disabled {
  color: $boschBlack;
}

mat-form-field {
  width: 100%;
}

mat-card.mat-mdc-card.mdc-card .mat-mdc-card-title {
  margin-bottom: $grid-size * 4 !important;
}

.close-button {
  position: absolute;
  top: math.div($grid-size, 2);
  right: math.div($grid-size, 2);

  color: $boschBlack;
  transition: all 0.2s ease;
}

.close-button-dialog {
  position: absolute;
  top: math.div($grid-size, 2);
  right: math.div($grid-size, 2);

  color: $boschBlack;
  transition: all 0.2s ease;
}

mat-card.mat-mdc-card.mdc-card {
  background-color: $boschWhite;
}

mat-card.mat-mdc-card.mdc-card > .mdc-card__actions {
  margin: 0px;
  float: right;
  flex-direction: row-reverse !important;

  &:last-child {
    margin-bottom: 0px;
  }
}

.action-button {
  float: right;
}
