@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: 400px;
		font-size: 0.96em;
		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-remove {
					float: right;
					padding: 0 10px;
				}
				.fa-remove: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 {
		margin-top: 13px;
		width: 72%;
		margin-left: 28%;
		@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;
		}
	}

	.bg__ssr__tutorial {
		margin-top: 15px;
		margin-bottom: 10px;
		border-radius: 5px;
		border: 1px solid mix(white, $clPrimary, 70%);
		background-color: mix(white, $clPrimary, 90%);
		padding: 10px;
		text-align: center;
		line-height: 25px;
		span {
			cursor: pointer;
			margin-left: 10px;
			background-color: $clPrimary;
			display: inline-block;
			vertical-align: top;
			width: 25px;
			height: 25px;
			line-height: 24px;
			color: white;
			font-weight: bold;
			font-family: $fontHeading;
			vertical-align: center;
			font-size: 1.3em;
		}
	}

	#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;
			}
		}
	}
}
