#better-block-patterns {
	background-color: #fff;
	border: 1px solid rgba(0,0,0,0.15);
	border-radius: 3px;
	font-size: 16px;
	line-height: 1.8em;
	margin: 0;
	margin-top: 20px;
	margin-inline-end: 20px;
	max-width: 1200px;
	padding: 29px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#better-block-patterns *, 
#better-block-patterns *:before, 
#better-block-patterns *:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

#better-block-patterns .bbp-logo-container {
	margin-top: 40px;
	text-align: center;
}

.bbp-logo-container > a {
	display: inline-block;
}

#better-block-patterns .welcome-description {
	font-size: 18px;
	line-height: 1.6;
}

#better-block-patterns hr {
	border-width: 1px 0 0;
	height: 1px;
	margin: 30px 0;
}

#better-block-patterns p {
	font-size: unset;
	line-height: 1.7;
	margin: 0 0 1.5rem;
}

#better-block-patterns .bbp-admin-columns {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: stretch;
}

#better-block-patterns .bbp-admin-columns > .bbp-admin-column {
	display: flex;
}

#better-block-patterns .bbp-admin-columns > .bbp-admin-column--main {
	flex: 1 1 50%;
}

#better-block-patterns .bbp-admin-columns > .bbp-admin-column--sidebar {
	flex: 0 0 300px;
	margin-inline-start: 50px;
}

#better-block-patterns .notice p {
	margin: 0.25em 0;
}

#better-block-patterns p:last-child {
	margin-bottom: 0;
}

#better-block-patterns .bbp-notice {
	margin: 30px 0;
}

#better-block-patterns .page-title {
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.2px;
	line-height: 1.5;
	margin: 0 0 30px;
	padding: 0;
}

#better-block-patterns .widget-title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
	margin: 0 0 30px;
	padding: 0;
	text-transform: uppercase;
}

#better-block-patterns .bbp-admin-section {
	border: 1px solid rgba(0,0,0,0.15);
	padding: 29px;
}

.bbp-help-screenshot {
	border: 1px solid rgba(0,0,0,0.15);
	height: auto;
	margin-bottom: 30px;
	max-width: 100%;
	padding: 29px;
}

#better-block-patterns .bbp-admin-section:not(:first-of-type) {
	margin-top: 40px;
}

#better-block-patterns .bbp-admin-section *:not(li):first-child {
	margin-top: 0;
}

#better-block-patterns .bbp-doc-block--faq {
	background-color: #f4f4f4;
	border: 1px solid rgba(0,0,0,0.15);
	font-style: italic;
	padding: 30px;
}

#better-block-patterns .bbp-doc-block--faq > p {
	margin: 0;
}

/* Tables */

#better-block-patterns .form-table {
	border: 1px solid rgba(0,0,0,0.09);
	table-layout: fixed;
	width: 100%;
}

#better-block-patterns .form-table tr.row:nth-child(odd) {
	background-color: #f5f5f5;
}

#better-block-patterns .form-table .row > td {
	padding:  15px 20px;
}

#better-block-patterns .form-table .row > th {
	padding-inline-start: 15px;
	width: 225px;
}

#better-block-patterns tr:not(:first-of-type) {
	border-top: solid 1px rgba(0,0,0,0.09);
}

.bbp-version-comparison-table {
	background: #fff;
	border: 1px solid #eaeaea;
	border-collapse: collapse;
	border-top: solid 1px #eaeaea;
	border-bottom: solid 1px #eaeaea;
	font-size: 16px;
	margin: 30px 0 0;
	table-layout: fixed; 
	width: 100%;
}

.bbp-version-comparison-table th {
	background: #333;
	color: #fff;
	font-size: 1rem;
	font-weight: normal;
	padding: 10px 20px;
}

.bbp-version-comparison-table th:first-child {
	background: #444;
}

.bbp-version-comparison-table th:last-child {
	background: #222;
}

.bbp-version-comparison-table tr:nth-child(2n) {
	background-color: #f2f5f5;
	border-top: solid 1px #eaeaea;
	border-bottom: solid 1px #eaeaea;
}

.bbp-version-comparison-table td {
	line-height: 1.4;
	padding: 12px 15px;
	vertical-align: middle;
	width: 33.333333%;
}

.bbp-version-comparison-table .dashicons {
	font-size: 20px;
}

.bbp-version-comparison-table .dashicons-minus {
	color: #333;
}

.bbp-version-comparison-table .dashicons-yes-alt {
	color: #157f1f;
}

/* Settings Page */

.bbp-packages__list {
	border-spacing: 0;
	margin: 0;
	padding: 0;
	table-layout: auto;
	width: 100%;
}

.bbp-packages__list .bbp-package__patterns-content {
	padding: 0;
}

.bbp-package__item {
	border: 1px solid rgba(0,0,0,0.15);
	text-align: start;
	transition: all 0.15s ease-in-out;
}

.bbp-package__item > td:not(:last-of-type) {
	border-right: 1px solid rgba(0,0,0,0.15);
}

.bbp-package__item > .bbp-package__patterns-content {
	padding-right: 0;
	padding-left: 0;
}

.bbp-package__item:not(:last-of-type) td {
	border-bottom: 1px solid rgba(0,0,0,0.15);
	padding-bottom: 0.75rem;
}

.bbp-package__item:not(:first-of-type) td {
	padding-top: 0.75rem;
}

#better-block-patterns .bbp-package__item .bbp-package__item-screenshot {
	display: none;
	float: start;
	margin-inline-end: 30px;
	width: 150px;
}

#better-block-patterns .bbp-package__item .bbp-package__item-title {
	font-weight: bold;
}

#better-block-patterns .bbp-package__item .bbp-package__item-description {
	display: block;
	margin: 8px 0;
}

.bbp-package__item .bbp-img-pattern {
	height: auto;
	max-width: 100%;
}

.bbp-package__item .bbp-screenshot-wrapper {
	border: 1px solid rgba(0,0,0,0.15);
	border-width: 0 0 1px;
}

.bbp-package__item .bbp-content-wrapper {
	padding: 20px;
}

.bbp-package__item label {
	display: block;
	margin: 0;
}

.bbp-package__item .bbp-checkbox-block {
	display: inline-block;
	margin: 0;
	margin-inline-end: 6px;
}

/* Patterns List */

#better-block-patterns .bbp-pattern-package__wrapper + .bbp-pattern-package__wrapper {
	margin-top: 2.5rem;
}

#better-block-patterns .bbp-pattern-package__wrapper .bbp-pattern__item-description {
	font-size: 0.875rem;
	line-height: 1.4;
}

.bbp-patterns__list {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	grid-row-gap: 30px;
	grid-column-gap: 30px;
	margin: 2.5rem 0 0;
}

.bbp-patterns__list .bbp-pattern__item,
.bbp-icon__item--supported {
	outline: 2px solid rgba(0,0,0,0.15);
	outline-offset: -2px;
}

.bbp-patterns__list .bbp-pattern__item--supported,
.bbp-icon__item--supported {
	outline-style: dashed;
	outline-color: rgba(0,0,0,0.25);
}

.bbp-icon__item--supported {
	display: inline-block;
	margin: 0 0.125rem 0.25rem;
	vertical-align: middle;
	height: 24px;
	width: 24px;
}

.bbp-patterns__list .bbp-pattern__item-screenshot > a {
	display: block;
}

.bbp-patterns__list .bbp-pattern__item-thumbnail {
	display: block;
	height: auto;
	max-width: 100%;
}

.bbp-patterns__list .bbp-pattern__item-content {
	border-top: 1px solid rgba(0,0,0,0.15);
	padding: 20px 30px;
}

.bbp-patterns__list .bbp-checkbox-block {
	margin: 0;
	margin-inline-end: 8px;
}

.bbp-patterns__list .bbp-pattern__item-title {
	font-weight: bold;
}

#better-block-patterns .bbp-patterns__list .bbp-pattern__item-description {
	margin: 8px 0 0;
}

/* License Page */

.bbp-license-p {
	display: block;
	margin: 0.5rem 0 0;
}

.bbp-license-p .bbp-license-status {
	background-color: #fff;
	display: inline-block;
	font-weight: bold;
	padding: 0.25rem 0.5rem;
}

.bbp-license-p .bbp-license-valid {
	background-color: #006600;
	color: #fff;
}

.bbp-license-p .bbp-license-expired,
.bbp-license-p .bbp-license-invalid,
.bbp-license-p .bbp-license-disabled {
	background-color: #faeded;
	color: #660000;
}

#better-block-patterns .wp-filter .current > a {
	font-weight: bold;
	outline: none;
}

#better-block-patterns .bbp-description {
	color: #666;
	display: block;
	font-style: italic;
	margin-top: 8px;
}

.bbp-button-youtube {
	background: #cc0000 !important;
	border-color: #cc0000 !important;
	color: #fff !important;
}

.bbp-button-youtube:hover,
.bbp-button-youtube:focus {
	background: #aa0000 !important;
	border-color: #aa0000 !important;
	color: #fff !important;
}

.bbp-button .dashicons {
	line-height: 1.4em;
	height: auto;
	width: auto;
}

.bbp-button-edd-activate-license {
	background: #006600 !important;
	border-color: #006600 !important;
	color: #fff !important;
}

.bbp-doc-buttons .button {
	margin: 3px 0;
	margin-inline-end: 8px;
}

/* Thickbox Modal */

body #TB_window img#TB_Image {
	border-color: rgba(0,0,0,0.2);
}

body #TB_caption {
	height: unset;
	float: none;
	font-size: 15px;
	line-height: 1.6;
	padding: 20px 30px;
	text-align: center;
}

body #TB_closeWindow {
	float: none;
	height: 30px;
	padding: unset;
}

/*messages*/
.error {color:#cc0000;}

/* Tooltips */

/* Tooltip container */
.bbp-tooltip {
	border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
	cursor: help;
	display: inline-block;
	margin: 0;
	margin-inline-end: 6px;
	position: relative;
}

/* Tooltip text */
.bbp-tooltip .bbp-tooltiptext {
	background-color: #080808;
	border-radius: 4px;
	color: #fff;
	font-size: 1rem;
	line-height: 1.5;
	padding: 16px 16px;
	text-align: start;
	visibility: hidden;
	width: 300px;
	position: absolute;
	z-index: 9999;
	bottom: 32px;
	inset-inline-start: 0;
	margin-inline-start: -150px;
	opacity: 0;
	transition: opacity 0.2s;
	box-shadow: 1px 1px 12px rgba(0,0,0,0.08);
}

/* Tooltip arrow */
.bbp-tooltip .bbp-tooltiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	inset-inline-start: 50%;
	margin-inline-start: -3px;
	border-width: 8px;
	border-style: solid;
	border-color: #222 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.bbp-tooltip:hover .bbp-tooltiptext {
	visibility: visible;
	opacity: 1;
}

/* BBP Branding */

.bbp-section__branding {
	text-align: center;
}

.bbp-section__branding > a {
	display: block;
}

.bbp-section__branding .bbp-logo-welcome {
	height: auto;
	max-width: 100%;
}

/* Mailchimp Newsletter Form */

.bbp-section__newsletter {
	background-color: #fff9e2;
	border: 1px solid rgba(0,0,0,.06);
}

#mc-embedded-subscribe-form .email {
	border-width: 2px;
	border-color: rgba(0,0,0,0.15);
	display: inline-block;
	font-size: 16px;
	margin: 0;
	padding: 6px 16px;
	width: 100%;
}

#mc-embedded-subscribe-form .email:focus {
	border-color: #fda947;
}

#mc-embedded-subscribe-form .button {
	background-color: #094fc2;
	border-width: 1px;
	font-size: 16px;
	margin: 12px 0 0;
	padding: 6px 24px;
}

#mc-embedded-subscribe-form .button:hover,
#mc-embedded-subscribe-form .button:focus {
	background-color: #113D75;
	border-color: #113D75;
}

#better-block-patterns .bbp-admin-section__title {
	font-size: 1.125rem;
}

#better-block-patterns .bbp-section__newsletter .newsletter-description {
	font-size: 15px;
	line-height: 1.4;
}

#better-block-patterns .bbp-section__newsletter .newsletter-disclaimer {
	font-size: 14px;
	line-height: 1.4;
	margin: 16px 0 0;
}

@media screen and (max-width: 960px) {
	.bbp-patterns__list {
		grid-template-columns: repeat(2,1fr);
	}

	.bbp-page-columns {
		flex-direction: column;
	}

	.bbp-column-secondary {
		margin-top: 40px;
		padding-inline-start: 0;
		width: 100%;
	}
}

@media screen and (max-width: 640px) {
	#better-block-patterns .bbp-themes-list {
		grid-template-columns: repeat(1,1fr);
	}

}