/*******************************************************************************
 * Copyright (c) Lenovo 2020.
 *
 *  LIMITED AND RESTRICTED RIGHTS NOTICE: If data or software is delivered
 *  pursuant a General Services Administration (GSA) contract, use, reproduction, or
 *  disclosure is subject to restrictions set forth in Contract No. GS-35F-05925.
 ******************************************************************************/

@import "../../../node_modules/@angular/material/theming";
@import "./variables.scss";

// Library for "material-icons" classes and Material Design icons and fonts: https://fonts.google.com/icons?selected=Material+Icons
$material-design-icons-font-directory-path: "~material-design-icons-iconfont/dist/fonts/";
@import "~material-design-icons-iconfont/src/material-design-icons";

@include mat-core();

$primary: mat-palette($mat-blue-grey, 900);
$accent: mat-palette($mat-blue-grey, 900);

$theme: mat-light-theme($primary, $accent);

@include angular-material-theme($theme);

div .mat-menu-content:not(:empty) {
  padding: 0;
}

.mat-radio-button.mat-accent {
  display: inline;

  .mat-radio-label .mat-radio-container,
  .mat-radio-outer-circle,
  .mat-radio-inner-circle {
    height: 16px;
    width: 16px;
  }
}

.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle {
  border-color: $accent-color;
}

.mat-radio-button.mat-accent .mat-radio-inner-circle,
.mat-radio-button.mat-accent
  .mat-radio-ripple
  .mat-ripple-element:not(.mat-radio-persistent-ripple),
.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple {
  background-color: $accent-color;
}

.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,
.mat-radio-button.mat-accent
  .mat-radio-ripple
  .mat-ripple-element:not(.mat-radio-persistent-ripple) {
  background-color: transparent;
}

.mat-radio-button.mat-accent
  .mat-radio-container:hover
  .mat-radio-ripple
  .mat-radio-persistent-ripple {
  background-color: unset;
}

.mat-radio-button.cdk-focused .mat-radio-persistent-ripple {
  opacity: 0;
}

.cdk-global-overlay-wrapper,
.cdk-overlay-container {
  z-index: 9999 !important;
}

.mat-vertical-content {
  overflow: overlay;
}

.mat-vertical-stepper-content {
  overflow: auto !important;
}

.mat-checkbox-layout {
  white-space: normal !important;
}

.cdk-overlay-pane {
  transform: translateX(-16px) translateY(0px) !important;
}
