.pmwc-icon {
}

/**
 * Adds disabled styles for the icon directly,
 * and an icon that is a direct descendent of a disabled element like IconButtons
 */
.pmwc-icon--url[disabled],
.pmwc-icon--component[disabled],
[disabled] > .pmwc-icon--url,
[disabled] > .pmwc-icon--component {
  opacity: 0.38;
}

.pmwc-icon--url {
  min-width: 1em;
  min-height: 1em;
  background-repeat: no-repeat;
  font-size: 1.5rem;
  background-size: 1em;
  background-position: center center;
}

.pmwc-icon--size-xsmall {
  font-size: 1.125rem !important;
  width: 1em;
  height: 1em;
}

.pmwc-icon--size-small {
  font-size: 1.25rem !important;
  width: 1em;
  height: 1em;
}

.pmwc-icon--size-medium {
  font-size: 1.5rem !important;
  width: 1em;
  height: 1em;
}

.pmwc-icon--size-large {
  font-size: 2.25rem !important;
  width: 1em;
  height: 1em;
}

.pmwc-icon--size-xlarge {
  font-size: 3rem !important;
  width: 1em;
  height: 1em;
}
