.rev-gen-dashboard-main {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.rev-gen-dashboard-bar {
	box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.05);
	width: 100%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 50px;
	position: sticky;
	top: 33px;
	background: #fff;

	&--filter {
		margin-left: 10px;

		label {
			text-transform: uppercase;
			font-size: 14px;
			font-weight: bold;
			font-stretch: normal;
			font-style: normal;
			line-height: normal;
			letter-spacing: normal;
			color: rgba(51, 51, 51, 0.6);
		}
	}

	&--search {
		position: relative;
		top: -3px;
		display: inline-flex;
		align-self: center;
		width: 30%;
		border-bottom: 2px solid #1e1e1e;

		input {
			width: 100%;
			font-size: 16px;
			font-weight: 500;
			font-stretch: normal;
			font-style: normal;
			line-height: normal;
			letter-spacing: normal;
			color: #1e1e1e;
			border: 0;
			padding: 0;

			&::placeholder {
				color: #1e1e1e;
			}

			&:focus {
				box-shadow: none;
			}
		}

		&-icon {
			padding: 7px 5px;
			background: url(../img/icon-search.svg) no-repeat right 0 center;
			cursor: pointer;
			height: 16px;
			width: 16px;
			background-size: 16px 16px;
		}

	}

	&--actions {
		display: inline-flex;
		margin-right: 10px;

		.rev-gen__button {
			padding: 7px 30px;
			font-size: 14px;
		}
	}
}

.rev-gen-dashboard-content {
	margin: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;

	&-paywall {
		display: flex;
		align-items: center;
		margin: 10px;
		width: 70%;

		&-preview {
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			width: 225px;
			min-height: 300px;
			border: 2px solid #000;
			border-radius: 5px;
			margin-right: 30px;
			cursor: pointer;

			&-title {
				font-size: 12px;
				margin: 5px 0;
				color: #1b0e20;
				font-weight: 500;
			}

			&-description {
				font-size: 12px;
				padding: 0 10px;
				margin-bottom: 5px;
				color: #2e2e2e;
				opacity: 0.8;
			}

			&-purchase-options {
				display: flex;
				flex-direction: column;
				margin: 15px 0;

				&-item {
					border: 2px solid #2e2e2e;
					border-radius: 5px;
					display: flex;
					padding: 5px;
					text-align: left;
					margin: 2px 0;
					cursor: pointer;
					transition: opacity 0.2s;
					width: 80%;
					align-self: center;
					position: relative;

					&-info {
						padding-left: 2px;
						padding-right: 1em;
						border-right: 1px solid #e3e4e6;
						flex: 2;

						&-title {
							font-size: 12px;
							margin-bottom: 2px;
							color: #2e2e2e;
						}

						&-description {
							font-size: 10px;
							line-height: 12px;
							color: #585858;
						}
					}

					&-price {
						font-size: 12px;
						font-weight: 600;
						flex: 1;
						display: flex;
						flex-flow: column;
						align-self: center;
						color: #2e2e2e;
						flex-direction: row;
						justify-content: center;

						span {
							text-align: center;
						}

						&-icon {
							display: none;
							background: transparent;
							border: 0;
							cursor: pointer;

							&:focus {
								box-shadow: none;
								outline: unset;
							}
						}
					}
				}
			}
		}

		&-info {
			width: 70%;
			margin-top: 20px;
			color: #000;

			span {
				font-size: 21px;
				font-weight: 500;
				min-width: 165px;
				display: inline-block;
			}

			p {
				margin: 0.5em 0;
				font-size: 16px;
			}

			b {
				&:first-of-type {
					text-transform: uppercase;
				}
			}

			&-updated {
				margin-top: 0;
				font-size: 14px;
				color: rgba(51, 51, 51, 0.6);
			}

			&-links {
				a {
					color: #000;
					font-weight: bold;
					text-decoration: underline;
					text-transform: uppercase;
				}
			}
		}
	}

	&-nopaywall {
		left: 50%;
		top: 33%;
		position: absolute;
		transform: translate(-50%, 0);

		&--title {
			font-family: HelveticaNeue, serif;
			font-size: 21px;
			font-weight: bold;
			font-style: normal;
			line-height: 1.52;
			color: #000;
			text-align: center;
		}

		&--create-paywall {

			text-align: center;
			margin-top: 23px;

			&--button {

				width: 222px;
				height: 44px;
				border-radius: 4px;
				background-color: #000;
				font-family: HelveticaNeue, serif;
				font-size: 15px;
				font-weight: bold;
				line-height: 40px;
				color: #fff;
				text-decoration: none;
				display: block;
				margin: 0 auto;

				&:hover {
					color: #fff;
				}
			}
		}

	}

	// Style for in active paywalls.
	.is-disabled {
		border: 2px solid #808080;

		* {
			color: #808080;
		}

		.rev-gen-dashboard-content-paywall-preview-purchase-options-item {
			border: 2px solid #808080;
		}
	}
}

.rev-gen-start-tutorial {
	position: fixed;
	bottom: 10px;
	right: 10px;
	cursor: pointer;
}

@media screen and (max-width: 800px) {
	.rev-gen-dashboard-content {
		&-paywall {
			width: 75%;

			&-preview {

				&-purchase-options {

					&-item {
						padding: 3px;
					}
				}
			}

			&-info {
				width: 50%;
			}
		}
	}
}

@media screen and (min-width: 801px)  and (max-width: 1023px) {
	.rev-gen-dashboard-content {
		&-paywall {
			width: 70%;

			&-preview {

				&-purchase-options {

					&-item {
						padding: 3px;
					}
				}
			}

			&-info {
				width: 50%;
			}
		}
	}
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
	.rev-gen-dashboard-content {
		&-paywall {
			width: 75%;

			&-info {
				width: 60%;
			}
		}
	}
}

@media only screen and (min-width: 1280px) and (max-width: 1300px) {
	.rev-gen-dashboard-content {
		&-paywall {

			&-info {
				width: 65%;
			}
		}
	}
}

@media only screen and (min-width: 1600px) and (max-width: 2048px) {
	.rev-gen-dashboard-content {
		&-paywall {

			&-info {
				width: 75%;
			}
		}
	}
}
