.container {
  position: relative;
  color: #202020;
  border-radius: 2px;
  border: solid 1px transparent;
  box-sizing: border-box;
  justify-content: space-between;
  margin: 16px 0;

  &.editing {
    padding: 10px;
    background-color: #EDEDED;

    .actions {
      top: 10px;
      right: 10px;
    }
    .title {
      margin-bottom: 1em;
    }
  }
}

.actions {
  position: absolute;
  top: -6px;
  right: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  color: #202020;
  margin: 0;
}

.detailBottomBox {
  display: block;
  padding-top: 4px;
  text-align: right;
  width: 230px;
}

.detailLink {
  color: #00538A;
  text-decoration: none;
  font-size: 0.9em;
  &:hover {
    cursor: pointer;
  }
}

.button {
  border: 1px solid #787d80;
  background-color: transparent;
  height: 30px;
  font-size: 0.9em;
  line-height: normal;
}

.saveButton {
  background-color: #3498DB;
  border-color: #3498DB;
  color: white;

  > i {
    font-size: 17px;
  }

  &:hover {
    background-color: #399ee2;
    color: white;
  }

  &:disabled {
    border-color: #e0e0e0;

    &:hover {
      background-color: #e0e0e0;
      color: #4f5c67;
      cursor: default;
    }
  }
}

.cancelButton {
  color:#787D80;
  margin-top: 6px;
  font-size: 0.9em;

  &:hover {
    cursor: pointer;
  }
}
