.floating-action-button-directive {
  display: flex;
  flex-direction: row;
  transition: color 420ms ease, background-color 420ms ease, width 420ms ease, opacity 420ms ease;
  cursor: pointer;
  outline: none;
  user-select: none;
  width: 270px;
  min-width: 45px;
  height: 45px;
  max-width: 270px;
  min-height: 45px;
  max-height: 45px;
  overflow: hidden;
  box-sizing: border-box;
  margin: 8px;
  border-radius: 22.5px;
  border: 2px solid transparent;
  box-shadow: 0 8px 16px 0 rgba(0, 3, 6, .21);
  flex: 1;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}

.floating-action-button-directive md-icon {
  flex: 0;
  align-self: flex-start;
}

.floating-action-button-directive span {
  display: flex;
  flex-direction: row;
  flex: 1;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  transition: opacity 420ms ease;
}

.floating-action-button-directive.hide-text {
  width: 45px;
  max-width: 45px;
  font-size: 0;
}

.floating-action-button-directive.fab-raised md-icon {
  color: #FFFFFF;
}

.floating-action-button-directive.fab-raised,
.floating-action-button-directive.fab-flat:hover {
  background-color: rgba(var(--primary-color));
  color: #FFFFFF; 
}

.floating-action-button-directive.fab-raised:hover {
  background-color: rgba(var(--primary-color-dark));
}

.floating-action-button-directive.fab-flat {
  border: 2px solid rgba(var(--primary-color));
  color: rgba(var(--primary-color));
  background-color: #FFFFFF;
}

.floating-action-button-directive.fab-flat md-icon {
  color: rgba(var(--primary-color));
}

