@keyframes slideInFromLeft {
	0% {
		transform: translateY(100%);
	}
	100% {
		transform: translateY(0);
	}
}

.bg__single-search-recipe {
	/* Restyle buttons to new format */
	.btn {
		text-transform: uppercase;
		font-weight: 400;
		font-size: 13px;
		font-family: $fontHeading;
		transition: background-color $transition;

		&.btn-secondary {
			background-color: $clSecondary;
			color: white;

			&:hover {
				background-color: darken($clSecondary, 8%);
			}
		}
	}

	.select-all {
		@include checkbox();
		margin-top: 6px;
		margin-left: 3px;
	}

	.table-actions-header {
		background-color: white;
		border-top: 1px solid $clGreyTint;
		border-bottom: 1px solid $clGreyTint;
		margin: 5px 0 0 2px;
		min-height: 53px;
		padding: 10px 5px 10px 0;

		.table-actions {
			float: left;
			.btn {
				margin-right: 2px;
				.fa-bookmark {
					font-weight: bold;
					&:before {
						margin-right: 6px;
					}
				}
			}
		}

		&.bookmarked-results {
			background-color: transparent;
			margin: 0 0 0 6px;
			padding: 0;
			animation: 0.6s ease-in 0s 1 slideInFromLeft;
			.header-selected-items {
				background-color: $clPrimary;
				color: white;
				margin: 0;
				padding: 7px 7px 7px 20px;
				.fa-times {
					float: right;
					padding: 0 10px;
				}
				.fa-times:hover {
					cursor: pointer;
				}
			}
		}

		.btn-default:hover {
			background-color: $clGreyTint;
		}

		.btn-default.active {
			background-color: $clGrey;
		}
	}

	.bg__paging {
		.btn-default.active {
			background-color: $clPrimary;
			color: white;
		}
	}

	.alert {
		margin-top: 10px;
	}

	.table-actions-footer {
		padding: 10px;
		text-align: center;
	}
	.bg__ssr__result-list {
		@media screen and (max-width: $break-medium-result-list) {
			width: 100%;
			margin-left: 0;
		}
	}
	.table-actions > .bookmark-dropdown-menu {
		display: inline-block;
		margin-right: 5px;

		.dropdown-toggle {
			color: white;
			font-family: $fontHeading;
			font-weight: bold;
			background-color: $clPrimary;
			span {
				margin-left: 4px;
				margin-right: 4px;
			}
		}

		.dropdown-menu {
			min-width: 200px;
			padding:0;
			border: 1px solid $clGreyTint;
			button {
				background-color: white;
				text-align: left;
				width: 100%;
				border: 0;
				color: black;
				padding: 10px;
				border-bottom: 1px solid $clGreyTint;
				&:hover {
					background-color: $clGrey;
				}
			}
		}
	}
	.selected-items {
		background-color: $clGrey;
		border-radius: 5px;
		margin-bottom: 12px;
		max-height: 1000px;
		position: relative;
		overflow-y: auto;

		h4 {
			font-size: 14px;
		}
		.snippet_description {
			display: none;
		}
	}

	#query-saved__modal {
		.bg__workspace-queries-link {
			border-radius: 2px;
			min-width: 30px;
			height: 28px;
			vertical-align: top;
			background-image: $iconLinkUrl;
			background-repeat: no-repeat;
			margin-top: 6px;
			padding-left: 30px;
			transition: opacity $transition;
			background-size: 18px;
			opacity: 0.7;
			&:hover {
				opacity: 1.0;
			}
		}
	}
}
