@import 'hr-core-consts';

.PopupContainer {
  width: 330px;
  padding-top: 4px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 10px;
  font-size: 14px;
}

@media only screen and (max-width: 520px) {
  .PopupContainer {
    width: calc(100% - 40px);
  }
}

.messageOverHeader {
  // color: rgba(0, 0, 0, 0.4);
  color: $hrColor-DarkBlue;
  display: block;
  height: 0px;
  top: -15px;
  left: -25px;
  position: relative;
}

.login-header {
  color: $hrColor-DarkBlue;
  font-size: 30px;
  margin: 30px 0;
  font-weight: bold;
}

.PopupContent {
  padding: 0 0 0; // no extra padding -> padding is calculated in the child comp
  margin: 0; // see above
  overflow: hidden; // overflow hidden => all "to big" child components are hidden
  display: grid; // we define a grid: ;
  height: 100%; // 100% view height
  grid-template-rows: auto auto auto auto; // row relationships
  grid-template-columns: minmax(0, 1fr); // column relationship
  grid-column-gap: 15px;
  grid-template-areas:
    'login-name'
    'login-password'
    'login-btn-block'
    'login-error'
}

.messageBoxHeader {
  text-align: center;
}

.mat-stroked-button.mat-accent {
  color: white;
  background: $hrColor-DarkBlue;
}


.login-error {
  padding: 16px;
  color: $hrColor-Error;
  background-color: $hrColor-LightBlue;
  //  border-radius: $hrBorder-radius-small;
  //  border: 1px solid;
  border-color: $hrColor-DarkBlue;
}

.login-btn-block {
  margin-top: 20px;
  grid-area: login-btn-block;
}


.login-name {
  grid-area: login-name;
}

.login-password {
  grid-area: login-password;
}

.spinner {
  margin-top: -140px;
  margin-left: 35%;
  z-index: 10;
}


.mat-stroked-button[disabled] {
  background-color: rgba(0, 0, 0, 0.26);
  color: rgba(0, 0, 0, 0.46);
}
