@import "../theme.scss";

@import "@material/ripple/mdc-ripple";


:host{
  display: inline-block;
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

.mb-root {
  color: inherit;
  border: 0;
  cursor: pointer;
  margin: 0;
  display: inline-flex;
  outline: none;
  padding: 0;
  position: relative;
  align-items: center;
  user-select: none;
  border-radius: 0;
  vertical-align: middle;
  -moz-appearance: none;
  justify-content: center;
  text-decoration: none;
  background-color: transparent;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}


.m-root {
  display: inline-flex;
  border-radius: $mdc-shape-small-component-radius;
  background-color: #fff;
}

.mtb-root:first-child {
  border-top-left-radius: $mdc-shape-small-component-radius;
  border-bottom-left-radius: $mdc-shape-small-component-radius;
}

.mtb-root.selected {
  color: rgba(0, 0, 0, 0.54);
  background-color: rgba(0, 0, 0, 0.12);
}

.mtb-root {
  color: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(0, 0, 0, 0.12);
  height: 48px;
  padding: 0px 11px 0px 12px;
  font-size: 0.875rem;
  min-width: 49px;
  box-sizing: border-box;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.02857em;
  text-transform: uppercase;
}

.mtb-label {
  width: 100%;
  display: inherit;
  align-items: inherit;
  justify-content: inherit;
}

.msi-root {
  fill: currentColor;
  width: 1em;
  height: 1em;
  display: inline-block;
  font-size: 1.5rem;
  transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  flex-shrink: 0;
  user-select: none;
}

.mtb-root:last-child {
  padding-left: 12px;
  border-top-right-radius: $mdc-shape-small-component-radius;
  border-bottom-right-radius: $mdc-shape-small-component-radius;
}


.mtb-root.disabled {
  color: rgba(0, 0, 0, 0.12);
}

.mtb-root:not(:first-child) {
  border-left: 1px solid transparent;
  margin-left: -1px;
}

.mb-root.disabled {
  cursor: default;
  pointer-events: none;
}

.ripple{
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  overflow: hidden;
  position: absolute;
  border-radius: inherit;
}


.ripple-surface {
  @include mdc-ripple-surface;
  @include mdc-ripple-radius-bounded;
  @include mdc-states;
}
