/* Variables */
:root {
	--deo-gray-5: #dcdcde;
	--deo-gray-20: #a7aaad;
	--deo-gray-50: #646970;
	--deo-gray-80: #2c3338;
}

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

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

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

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

.amela-page-header__logo {
	max-width: 118px;
}

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

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

.amela-grid-content {
	flex: 1 0 0%;
	max-width: 100%;
	padding: 0 12px;
}

/* Sidebar */
.amela-grid-sidebar {
	max-width: 25%;
	flex: 0 0 25%;
	padding: 0 12px;
}

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

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

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

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

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

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

.amela-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;
}

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

.amela-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;
}

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

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

.amela-container .amela-title {
	font-size: 1.5rem;
	line-height: 1.2;
	padding: 0;
	margin-bottom: 20px;
}

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

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

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

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

.amela-intro-text {
	font-size: 1.1875rem;
}

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

/* Buttons */
.amela-navigation-buttons {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 2.5em;
	margin-bottom: 2.5em;
}

.amela-navigation-buttons__item {
	margin: 0;
}

.amela-navigation-buttons__url {
	display: flex;
	padding: 16px;
	border-radius: 5px;
	background-color: #fff;
	border: 1px solid var(--deo-gray-5);
	text-decoration: none;
	transition: ease-in-out box-shadow 0.2s;
}

.amela-navigation-buttons__url:hover {
	box-shadow: 2px 6px 16px var(--deo-gray-5);
}

.amela-navigation-buttons__icon {
	display: inline-block;
	margin-right: 8px;
	color: var(--deo-gray-50);
}

/* Addons */
.amela-postbox {
	margin-top: 24px;
	background-color: #fff;
}

.amela-addon-title {
	font-size: 1rem;
	padding: 8px 12px;
	margin: 0;
	line-height: 1.4;
	border-bottom: 1px solid #e6e6e6;
}

.amela-addon-list {
	margin: 0;
}

.amela-addon-list a {
	text-decoration: none;
}

.amela-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;
}

/* Notification
-------------------------------------------------------*/
.amela-notification {
	margin: 20px 0 28px;
	padding: 15px;
	border-radius: 3px;
}

/* Disable kirki promotion
-------------------------------------------------------*/
.kirki-settings-panel > div,
.kirki-recommended-plugins-panel {
	display: none !important;
}

.kirki-settings-panel .kirki-clear-font-cache-metabox {
	display: block !important;
}
