/* =========================================
   CARD ACTIONS WRAPPER
   ========================================= */

.card-actions {
  position: relative;
  text-align: right;
}

.card-tile-actions {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
}


/* =========================================
   MENU BUTTON (Three Dots)
   ========================================= */

.card-menu-btn {
  background: none;
  border: none;
  font-size: 15px;
  cursor: pointer;
  padding: 4px;
}

.card-tile .card-menu-btn {
  display: none;
  background: rgba(0,0,0,.75);
  color: white;
}
.card-tile:hover .card-menu-btn {
  display:block;
}


.card-tile-actions .card-menu-btn {
  width: 25px;
  height: 30px;
  background: rgb(0 0 0);
  box-shadow:0 0 4px 1px white;
  outline: none !important;
  border-radius: 4px;
}

/* =========================================
   DROPDOWN MENU
   ========================================= */

.card-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);

  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-medium);
  min-width: 155px;
  box-shadow: var(--shadow-dropdown);
  z-index: 50;
}

.card-tile .card-dropdown {
  right: -136px;
}

.card-dropdown a,
.card-dropdown button {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

.card-dropdown a:hover,
.card-dropdown button:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
}


/* =========================================
   PUBLIC CARD HOVER REVEAL
   ========================================= */

.public-card-row .card-actions {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.public-card-row:hover .card-actions {
  opacity: 1;
}
