.smrc-archive {
	margin: 50px 0;

	h3 {
		margin: 0 0 30px;
	}
}

.smrc_sidebar-col {
	.smrc_sidebar {
		position: sticky;
		top: 0;
		left: 0;
		margin-bottom: 50px;
	}
}

.smrc_grid_recipe {
	display: block;
	height: 100%;
	margin: 0 0 30px;
	transition: .3s ease;
	color: inherit;

	&__inner {
		height: calc(100% - 30px);
		padding: 10px 15px;
		box-shadow: 0 3px 7px 5px rgba(0, 0, 0, 0.05);
		background-color: #fff;
		transition: .3s ease;
		position: relative;
	}

	&__image {
		margin: -10px -15px 0;

		img {
			width: 100%;
		}

		&_empty {

		}
	}

	&__title {
		margin: 15px 0;
		font-size: 16px;
		text-transform: none;

	}

	.smrc_rating {
		width: 120px;
		flex: 0 0 120px;
		background: rgba(255, 255, 255, .8);
		border-radius: 5px;
		padding: 1px 30px 3px 5px;
		line-height: 16px;
		position: absolute;
		top: 10px;
		right: 10px;
		z-index: 2;
		transition: .3s;
		opacity: 0;
		visibility: hidden;

		.rating {
			width: auto;
			display: inline-block;
			position: relative;

			.rating-wrap {
				display: flex;
				flex-wrap: nowrap;
				white-space: nowrap;

				&:before {
					content: "\e68d\e68d\e68d\e68d\e68d";
					font-family: 'Linearicons' !important;
					display: inline-block;
					font-size: 16px;
				}

				&.filled {
					position: absolute;
					left: 0;
					top: 0;
					flex-wrap: nowrap;
					overflow: hidden;

					&:before {
						color: #ffc107;
					}
				}
			}
		}

		.votes {
			position: absolute;
			top: 50%;
			transform: translateY(-50%);
			right: 8px;
			line-height: 16px;
			font-size: 12px;
			color: #494949;
			font-weight: 700;
		}
	}

	&:hover {
		transform: translateY(-5px);

		.smrc_grid_recipe__inner {
			box-shadow: 0 4px 7px 5px rgba(0, 0, 0, 0.1);
		}

		.smrc_rating {
			opacity: 1;
			visibility: visible;
		}
	}

	.edit_link {
		display: inline-block;
		vertical-align: top;
		padding: 5px 6px;
		background-color: #f1f1f1;
		color: #333;
		border-radius: 5px;
		font-size: 10px;
		line-height: 1.2;
		transition: .3s ease;
		text-decoration: none !important;
		position: absolute;
		top: 10px;
		left: 10px;

		&:hover {
			background-color: #333;
			color: #fff;
		}
	}

	.terms {
		margin: 0 0 15px;

		a {
			display: inline-block;
			margin: 0 7px 7px 0;
			vertical-align: top;
			padding: 3px 5px;
			background-color: #f1f1f1;
			border-radius: 5px;
			font-size: 12px;
			line-height: 1.2;
			transition: .3s ease;
			text-decoration: none !important;

			&:hover {
				box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
			}
		}
	}

	a {
		text-decoration: none;
		color: inherit;
	}
}

@media (max-width: 767px) {
	.smrc_sidebar-col {
		order: -100;
		.smrc_sidebar {
			> *:not(.widget_smrc_filter) {
				display: none;
			}
		}
	}
}