.action {
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.7);
  display: block;
  padding: 0.5rem;
  margin-bottom: 2rem;
}

.action:last-child {
  margin-bottom: 0;
}

.action__fields {
  margin-bottom: 1rem;
  min-height: 5rem;
  height: auto;
  padding: 0.5rem;
}

.action__fields:last-child {
  margin-bottom: 0;
}

.action__dateText {
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: white;
  font-size: 1.1rem;
  float: left;
  height: 100%;
  max-width: 35%;
}

.action__buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.action__button {
  color: white;
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 4rem;
  width: 4rem;
  height: 4rem;
  margin: 0 0.5rem;
  border-radius: 4rem;
  position: relative;
}

.action__button[data-focusText]:hover::after {
  background-color: #666;
  color: white;
  top: 4.3rem;
  left: 0;
  line-height: 1;
  padding: 0.5rem 1rem;
  font-weight: 600;
  position: absolute;
  content: attr(data-focusText);
  z-index: 1;
  font-size: 1.2rem;
  border-radius: 4rem;
}

@media screen and (max-width: 991px) {
  .action__fields {
    height: 8rem;
  }

  .action__button {
    margin: 1.5rem 0.5rem;
  }

  .action__dateText {
    font-size: 1.6rem;
  }
  
  .action__button[data-focusText]:hover::after {
    font-size: 2.6rem;
  }
}
