/* -----------------------------------------------------------------------------
   Group Documents Actions
   ----------------------------------------------------------------------------- */

.bond-group-documents {
	& .bond-document-row__actions {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 19px;
	}

	& .bond-document-row__action-anchor,
	& .bond-documents-screen__options-trigger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 19px;
		height: 19px;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
		color: #797667;
		text-decoration: none;

		& svg {
			display: block;
			width: 19px;
			height: 19px;
		}

		&:hover,
		&:focus {
			color: #545246;
		}
	}

	& .bond-document-row.is-pinned .bond-document-row__action-anchor {
		color: #545246;

		&:hover,
		&:focus {
			color: #37322d;
		}
	}

	& .media-folder_action__list.bb_more_dropdown {
		top: calc(100% + 10px);
		left: auto;
		right: -6px;
	}

	& .bond-documents-screen__folder-options {
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;

		& .media-folder_actions {
			position: relative;
		}
	}

	& .bond-documents-table__pager {
		display: flex;
		justify-content: center;
		padding: 24px 0 0;
	}

	& .bond-documents-table__load-more {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 148px;
		min-height: 40px;
		padding: 0 18px;
		border: 1px solid #8a0026;
		border-radius: 4px;
		color: #8a0026;
		font-size: 15px;
		line-height: 1.4;
		text-decoration: none;

		&:hover,
		&:focus {
			background: rgba(138, 0, 38, 0.05);
			color: #8a0026;
		}

		&.is-loading {
			opacity: 0.6;
			pointer-events: none;
		}
	}

	& .bond-documents-table__empty {
		padding-top: 12px;

		& .bp-feedback {
			margin: 0;
		}
	}
}

@media (max-width: 767px) {
	.bond-group-documents .bond-document-row__actions {
		grid-area: actions;
		align-self: start;
	}
}
