/* Variables */
:root {
	--deo-gray-0: #f6f7f7;
	--deo-gray-2: #f0f0f1;
	--deo-gray-5: #dcdcde;
	--deo-gray-20: #a7aaad;
	--deo-gray-50: #646970;
	--deo-gray-80: #2c3338;
	--deo-blue-20: #72aee6;
	--deo-blue-60: #135e96;
	--deo-green-30: #00ba37;
	--deo-red-50: #d63638;
}

/* Admin Styles
-------------------------------------------------------*/
.appearance_page_ona-theme #wpcontent,
.toplevel_page_ona #wpcontent {
	padding: 0;
}

.ona-page-header {
	padding: 10px 20px;
	height: 50px;
	background-color: #fff;
}

.ona-page-header__container {
	margin: 0 auto;
	height: 100%;
	max-width: 1140px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ona-page-header__branding {
	display: flex;
	align-items: center;
}

.ona-page-header__logo {
	max-width: 62px;
	vertical-align: middle;
}

.ona-theme-version {
	background-color: #edf0f0;
	padding: 3px 5px;
	border-radius: 5px;
	margin-left: 10px;
}

.ona-page-header__tagline-text a {
	text-decoration: none;
}

/* Content */
.ona-grid {
	display: flex;
	flex-wrap: wrap;
	margin-left: -12px;
	margin-right: -12px;
}

.ona-grid-content {
	margin-bottom: 24px;
}

.ona-grid-sidebar {
	max-width: 100%;
	flex: 1;
}

@media screen and (min-width: 783px) {
	.ona-grid-content,
	.ona-grid-sidebar {
		flex: 1 0 0%;
		max-width: 100%;
		padding: 0 12px;
	}

	.ona-grid-sidebar {
		max-width: 25%;
		flex: 0 0 25%;
		padding: 0 12px;
	}
}

.ona-widget {
	background-color: #fff;
	padding: 24px;
	margin-bottom: 24px;
}

.ona-widget-title {
	margin-top: 0;
	margin-bottom: 24px;
}

.ona-video-tutorials__item {
	margin-bottom: 16px;
}

.ona-video-tutorials__url {
	display: block;
	position: relative;
	border-radius: 5px;
	overflow: hidden;
	transition: ease-in-out box-shadow 0.2s;
}

.ona-video-tutorials__url:hover {
	box-shadow: 2px 6px 16px var(--deo-gray-5);
}

.ona-video-tutorials__url:hover::after {
	background-color: rgba(0, 0, 0, 0.1);
}

.ona-video-tutorials__url::after {
	display: block;
	content: "";
	position: absolute;
	background-color: rgba(0, 0, 0, 0.2);
	bottom: 0;
	right: 0;
	top: 0;
	left: 0;
	width: 100%;
	transition: ease-in-out background-color 0.2s;
}

.ona-video-tutorials__img {
	width: 100%;
	display: block;
}

.ona-video-tutorials__label {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	white-space: nowrap;
	transform: translate(-50%, -50%);
	background-color: #fff;
	color: var(--deo-gray-80);
	padding: 8px 12px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.ona-widget-video-tutorials__more-videos {
	margin-top: 24px;
	text-align: center;
}

/* Container
-------------------------------------------------------*/
.ona-container {
	max-width: 1140px;
	padding-left: 20px;
	padding-right: 20px;
	margin: 25px auto 20px;
}

.ona-container .ona-title {
	font-size: 1.5rem;
	line-height: 1.2;
	padding: 0;
}

.ona-body {
	background-color: #fff;
	padding: 40px;
}

.ona-body ol {
	font-size: 0.9375rem;
}

.ona-body iframe {
	max-width: 100%;
	margin-top: 16px;
}

.ona-body h3 {
	margin-top: 1.5em;
}

.ona-intro-text {
	font-size: 1.1875rem;
	margin-bottom: 1rem;
}

.ona-list {
	line-height: 1.5;
}

/* Demos
-------------------------------------------------------*/
.ona-section {
	padding-top: 10px;
}

.ona-heading {
	font-size: 1.5em;
	margin-bottom: 1.25em;
}

.ona-demos {
	display: flex;
	gap: 19px;
	flex-wrap: wrap-reverse;
	flex-direction: row-reverse;
	min-height: 0;
	min-width: 0;
}

.ona-demos__item {
	flex: 1;
	flex-basis: calc(33.333% - 14px);
}

.ona-demos__item:last-child {
	flex-grow: 0;
	margin-right: auto;
}

.ona-demos__item-container {
	min-width: 0;
	margin-bottom: 0;
	box-shadow: 0 0 4px var(--deo-gray-5);
	border-radius: 5px;
	transition: ease-in-out box-shadow 0.2s;
	overflow: hidden;
	position: relative;
}

.ona-demos__item-container:hover {
	box-shadow: 2px 6px 16px var(--deo-gray-5);
}

.ona-demos__item-url {
	text-decoration: none;
	display: block;
}

.ona-demos__label {
	position: absolute;
	left: 8px;
	top: 8px;
	padding: 4px 8px;
	background-color: var(--deo-green-30);
	font-weight: 500;
	color: #fff;
	border-radius: 3px;
}

.ona-demos__item img {
	width: 100%;
	display: block;
}

.ona-demos__item-title-holder {
	display: flex;
	align-items: center;
	padding: 1rem;
	justify-content: space-between;
}

.ona-demos__item-title {
	text-align: center;
	font-size: 1em;
	margin: 0;
	text-transform: uppercase;
}

.ona-install-child-theme {
	margin-top: 1rem;
}

.button.ona-import-content--hidden {
	display: none;
}

/* Useful Links
-------------------------------------------------------*/
.ona-useful-links {
	margin: 0;
}

.ona-useful-links a {
	text-decoration: none;
}

.ona-addon-list-item {
	-js-display: flex;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-moz-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-content: center;
	-ms-flex-line-pack: center;
	align-content: center;
	justify-content: space-between;
	padding: 12px 0;
	margin-bottom: 0;
	border-top: 1px solid #e6e6e6;
}

.ona-addon-list-item-icon {
	color: var(--deo-green-30);
	margin-left: -6px;
	margin-right: 3px;
}

.ona-pro-label {
	padding: 2px 8px;
	margin-left: 6px;
	background-color: var(--deo-green-30);
	font-weight: 500;
	font-size: 11px;
	color: #fff;
	border-radius: 13px;
}

/* Comparison Table
-------------------------------------------------------*/
.ona-comparison {
	margin-top: 12px;
}

table.ona-comparison,
.ona-comparison thead td,
.ona-comparison thead th {
	border-color: var(--deo-gray-5);
}

table.ona-comparison {
	box-shadow: none;
	margin-bottom: 24px;
}

.ona-comparison td,
.ona-comparison th {
	padding: 12px;
}

.ona-comparison tr th:not(:first-child),
.ona-comparison tr td:not(:first-child) {
	text-align: center;
}

.ona-list-item-icon {
	color: var(--deo-green-30);
}

.ona-list-item-icon--no {
	color: var(--deo-red-50);
}

/* Videos */

.ona-video-tutorials__item {
	margin-bottom: 16px;
}

.ona-video-tutorials__url {
	display: block;
	position: relative;
	border-radius: 5px;
	overflow: hidden;
	transition: ease-in-out box-shadow 0.2s;
}

.ona-video-tutorials__url:hover {
	box-shadow: 2px 6px 16px var(--deo-gray-5);
}

.ona-video-tutorials__url:hover::after {
	background-color: rgba(0, 0, 0, 0.1);
}

.ona-video-tutorials__url::after {
	display: block;
	content: "";
	position: absolute;
	background-color: rgba(0, 0, 0, 0.2);
	bottom: 0;
	right: 0;
	top: 0;
	left: 0;
	width: 100%;
	transition: ease-in-out background-color 0.2s;
}

.ona-video-tutorials__img {
	width: 100%;
	display: block;
}

.ona-video-tutorials__label {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	white-space: nowrap;
	transform: translate(-50%, -50%);
	background-color: #fff;
	color: var(--deo-gray-80);
	padding: 8px 12px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.ona-widget-video-tutorials__more-videos {
	margin-top: 24px;
	text-align: center;
}

/* Notifications
-------------------------------------------------------*/
.ona-notice {
	padding: 1em;
	display: none;
}

.ona-notification {
	margin: 20px 0 10px;
	padding: 15px;
	border-radius: 3px;
	border: 1px solid var(--deo-gray-5);
	border-left-width: 4px;
	border-left-color: var(--deo-blue-20);
}

.ona-notification p {
	margin: 0;
	font-size: 1rem;
}
