/* Colors
   ========================================================================== */
:root {
	--usof-color-white: #fff;
	--usof-color-gray-2: #f0f0f1;
	--usof-color-gray-5: #dcdcde;
	--usof-color-gray-10: #c3c4c7;
	--usof-color-gray-20: #a7aaad;
	--usof-color-gray-30: #8c8f94;
	--usof-color-gray-50: #646970;
	--usof-color-gray-60: #50575e;
	--usof-color-gray-70: #3c434a;
	--usof-color-gray-80: #2c3338;
	--usof-color-gray-90: #1d2327;

	--usof-color-blue-5: #f0f6fc;
	--usof-color-blue-10: #9ec2e6;
	--usof-color-blue-20: #72aee6;

	--usof-color-green-0: #edfaef;
	--usof-color-green-5: #b8e6bf;
	--usof-color-green-20: #1ed14b;
	--usof-color-green-40: #00a32a;
	--usof-color-green-50: #008a20;
	--usof-color-red-5: #facfd2;
	--usof-color-red-30: #f86368;
	--usof-color-red-50: #d63638;
	--usof-color-yellow-5: #f5e6ab;
	--usof-color-yellow-10: #f2d675;
	--usof-color-yellow-20: #f0c33c;

	--usof-box-shadow-inset: 0 1px 0 rgba(0,0,0,0.1) inset;
	--usof-box-shadow-small: 0 2px 6px rgba(0,0,0,.15);
	--usof-box-shadow: 0 5px 20px rgba(0,0,0,.12);
	}

/* Define Font Awesome & Material icon fonts
   ========================================================================== */
@font-face {
	font-family: 'Material Icons';
	font-style: normal;
	font-weight: 400;
	src: url(../../../fonts/material-icons.woff2) format('woff2');
	}
.material-icons {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	font-feature-settings: 'liga';
	-moz-osx-font-smoothing: grayscale;
	}

@font-face {
	font-family: 'Font Awesome 5 Brands';
	font-style: normal;
	font-weight: normal;
	src: url(../../../fonts/fa-brands-400.woff2) format("woff2");
	}
.fab {
	font-family: 'Font Awesome 5 Brands';
	}

@font-face {
	font-family: 'fontawesome';
	font-style: normal;
	font-weight: 300;
	src: url(../../../fonts/fa-light-300.woff2) format("woff2");
	}
.fal {
	font-family: 'fontawesome';
	font-weight: 300;
	}

@font-face {
	font-family: 'fontawesome';
	font-style: normal;
	font-weight: 400;
	src: url(../../../fonts/fa-regular-400.woff2) format("woff2");
	}
.far {
	font-family: 'fontawesome';
	font-weight: 400;
	}

@font-face {
	font-family: 'fontawesome';
	font-style: normal;
	font-weight: 900;
	src: url(../../../fonts/fa-solid-900.woff2) format("woff2");
	}
.fa,
.fas {
	font-family: 'fontawesome';
	font-weight: 900;
	}

@font-face {
	font-family: 'Font Awesome Duotone';
	font-style: normal;
	font-weight: 900;
	src: url(../../../fonts/fa-duotone-900.woff2) format("woff2");
	}
.fad {
	font-family: 'Font Awesome Duotone';
	font-weight: 900;
	position: relative;
	}

/* Preloader */
.g-preloader {
	display: inline-block;
	vertical-align: top;
	position: relative;
	width: 60px;
	height: 60px;
	margin-bottom: 20px;
	}
	.g-preloader.type_1:before,
	.g-preloader.type_1:after {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		border-radius: 50%;
		border: 3px solid;
		}
	.g-preloader.type_1:before {
		opacity: 0.33;
		}
	.g-preloader.type_1:after {
		border-color: transparent;
		border-top-color: inherit;
		animation: rotation 0.8s infinite cubic-bezier(.6,.3,.3,.6);
		}
@keyframes rotation {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
	}

/* About Page
   ========================================================================== */
.us-home a:focus {
	box-shadow: none;
	}
.us-home a:focus-visible {
	box-shadow: 0 0 0 2px var(--wp-admin-theme-color);
	}
.us-header {
	position: relative;
	padding: 0 0 40px 130px;
	background: url(../../../img/us-core.png) no-repeat 0 0;
	background-size: 100px auto;
	}
.rtl .us-header {
	padding: 0 130px 40px 0;
	background-position: 100% 0;
	}
	.us-header h1 {
		font-weight: 300;
		margin: 0 0 22px;
		}
	.us-header-links {
		display: flex;
		font-size: 18px;
		gap: 30px;
		}

.us-activation {
	text-align: center;
	margin: 0 auto;
	padding: 40px;
	border-radius: 10px;
	background-color: #fff;
	box-shadow: var(--usof-box-shadow);
	}
	.us-activation-status {
		font-size: 24px;
		font-weight: 600;
		line-height: 1.4;
		margin-bottom: 20px;
		color: var(--usof-color-gray-30);
		}
	.us-activation-status.yes {
		color: var(--usof-color-green-20);
		}
	.us-activation-status.dev {
		color: var(--usof-color-yellow-20);
		}
	.us-activation .usof-button {
		font-size: 13px;
		color: inherit;
		}
	.us-home > .us-activation input[type="submit"] {
		font-size: 20px;
		padding: 5px 40px;
		border-radius: 40px;
		}
	.us-activation p {
		margin: 0;
		}
	.us-activation-tooltip {
		display: inline-block;
		vertical-align: top;
		position: relative;
		border: none;
		}
		.us-activation-tooltip-sign {
			display: inline-block;
			vertical-align: top;
			font: 24px/1 dashicons;
			margin-top: 6px;
			}
			.us-activation-tooltip-sign:before {
				content: '\f223';
				}
		.us-activation-tooltip-text {
			position: absolute;
			top: 36px;
			left: -6px;
			z-index: 111;
			text-align: start;
			font-weight: normal;
			width: 250px;
			line-height: 18px;
			padding: 15px 20px 10px;
			border-radius: 3px;
			background-color: var(--usof-color-gray-90);
			color: var(--usof-color-white);
			opacity: 0;
			visibility: hidden;
			transition: opacity .2s ease .2s;
			}
		.us-activation-tooltip:hover .us-activation-tooltip-text {
			opacity: 1;
			visibility: visible;
			}
			.us-activation-tooltip-text:before {
				content: '';
				position: absolute;
				left: 12px;
				top: -6px;
				height: 12px;
				width: 12px;
				background-color: var(--usof-color-gray-90);
				transform: rotate(45deg);
				}
			.us-activation-tooltip-text:after {
				content: '';
				position: absolute;
				left: 0;
				right: 0;
				top: -12px;
				height: 20px;
				}
			.us-activation-tooltip-text a {
				color: var(--usof-color-blue-20);
				}
			.us-activation-tooltip-text a:hover {
				color: #fff;
				}
			.us-activation-tooltip-text p {
				font-size: 13px;
				margin: 0 0 10px;
				}
			.us-activation-tooltip-text ul {
				font-size: 13px;
				margin-inline-start: 20px;
				margin-bottom: 10px;
				list-style: disc;
				}

.usof-container.for_white_label {
	padding: 0 0 40px;
	margin-top: 20px;
	border-radius: 10px;
	background-color: #fff;
	box-shadow: var(--usof-box-shadow);
	}
	.usof-container.for_white_label .usof-section {
		max-width: none;
		}
		.usof-container.for_white_label .usof-section-header {
			display: none;
			}
		.usof-container.for_white_label .usof-section-content {
			padding: 20px 0;
			}
	.usof-container.for_white_label .usof-control {
		margin: 0 40px;
		}
		.usof-container.for_white_label .usof-control-message {
			right: auto;
			}

@media (max-width: 782px) {
.us-header-links {
	flex-direction: column;
	align-items: flex-start;
	}
.usof-container.for_white_label {
	padding: 20px 0 30px;
	}
}

@media (max-width: 600px) {
.us-header {
	padding-left: 0 !important;
	padding-right: 0 !important;
	background: none;
	}
.us-activation {
	padding: 30px;
	}
	.us-activation input[type="submit"] {
		font-size: 16px;
		padding: 10px 20px;
		width: 100%;
		}
.usof-container.for_white_label .usof-control {
	margin: 0 20px;
	}
}

/* Addons Page
   ========================================================================== */
.us-admin-title {
	text-align: center;
	font-size: 2.5em;
	line-height: 1;
	margin: 0;
	}
.us-admin-subtitle {
	text-align: center;
	font-size: 15px;
	margin-bottom: 30px;
	}

.us-addons {
	padding: 30px;
	margin-inline-start: -20px;
	}

.us-addons .us-admin-title,
.us-addons .us-admin-subtitle {
	display: inline-block;
	text-align: inherit;
	margin-inline-end: 10px;
	}

.us-addons-list {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax(400px, 1fr) );
	gap: 20px;
	max-width: 1600px;
	}
.us-addon {
	display: flex;
	box-sizing: border-box;
	box-shadow: var(--usof-box-shadow-small);
	background: var(--usof-color-white);
	color: var(--usof-color-gray-80);
	position: relative;
	padding: 25px;
	border-radius: 10px;
	}
	.us-addon.type_premium:after {
		content: 'PREMIUM';
		position: absolute;
		top: -10px;
		inset-inline-start: 25px;
		font-size: 12px;
		font-weight: 600;
		line-height: 20px;
		padding: 0 10px;
		border-radius: 3em;
		background: linear-gradient(200deg, #FFC170, #FFEED8, #ffd970);
		color: var(--usof-color-gray-90);
		}
	.us-addon.type_premium.us-core:after {
		content: 'REQUIRED';
		background: coral;
		color: white;
		}
	.us-addon.type_premium.us-replacer:after {
		content: 'UTILITY';
		background: #ddd;
		}
	.us-addon-content {
		flex: 1 1 auto;
		position: relative;
		padding-inline-start: 84px;
		padding-inline-end: 20px;
		min-height: 70px;
		}
		.us-addon-content a {
			text-decoration: none;
			box-shadow: none !important;
			}
		.us-addon-icon {
			position: absolute;
			inset-inline-start: 0;
			width: 64px;
			}
		.us-addon-title {
			font-size: 18px;
			line-height: 1.4;
			margin: -6px 0 8px;
			}
		.us-addon a:hover .us-addon-title {
			color: var(--wp-admin-theme-color);
			}
		.us-addon-desc {
			font-size: 14px;
			margin: 0;
			}
	.us-addon-control {
		flex-shrink: 0;
		max-width: 180px;
		min-width: 60px;
		}
		.us-addon-lock {
			display: none;
			line-height: 20px;
			padding: 8px 0;
			}
		.us-addon .button,
		.us-addon-status {
			display: inline-block;
			vertical-align: top;
			font-weight: 600;
			line-height: 1.4 !important;
			padding: .7em 1.5em;
			border-radius: 2em;
			}
			.us-addon .g-preloader {
				display: none;
				vertical-align: top;
				height: 16px;
				width: 16px;
				margin-top: 2px;
				margin-inline-end: 8px;
				margin-bottom: 0;
				}
				.us-addon .g-preloader.type_1:before,
				.us-addon .g-preloader.type_1:after {
					border-width: 2px;
					}
			.us-addon.status_activating .g-preloader,
			.us-addon.status_installing .g-preloader {
				display: inline-block;
				}
	.us-addon.status_active {
		background-color: #d9fade;
		}
		.us-addon.status_active .us-addon-status {
			background-color: #fff;
			color: var(--usof-color-green-20);
			}
	.us-addon.status_error {
		background-color: var(--usof-color-red-5);
		}
		.us-addon.status_error .us-addon-status {
			background-color: #fff;
			color: var(--usof-color-red-30);
			}
		.us-addon.status_locked .button,
		.us-addon.status_locked .us-addon-status,
		.us-addon.status_activating .us-addon-status,
		.us-addon.status_installing .us-addon-status,
		.us-addon.status_notactive .us-addon-status,
		.us-addon.status_notinstalled .us-addon-status {
			display: none;
			}
		.us-addon.status_activating .button,
		.us-addon.status_installing .button {
			pointer-events: none;
			cursor: default;
			}
		.us-addons-list.disable-buttons .status_notactive .button,
		.us-addons-list.disable-buttons .status_notinstalled .button {
			pointer-events: none;
			cursor: default;
			opacity: 0.5;
			}
		.us-addon.status_locked .us-addon-lock {
			display: block;
			}

/* Color Scheme Preview (used in Setup Wizard and Theme Options)
   ========================================================================== */
.usof-scheme-preview {
	overflow: hidden;
	box-shadow: var(--usof-box-shadow-small);
	}
	.usof-scheme-preview .preview_header {
		height: 20px;
		box-shadow: inset 0 -1px 0 rgba(0,0,0,.1);
		}
	.usof-scheme-preview .preview_content {
		padding: 10px;
		}
	.usof-scheme-preview .preview_heading {
		font-size: 18px;
		font-weight: 600;
		margin-bottom: 5px;
		}
	.usof-scheme-preview .preview_text {
		font-size: 12px;
		line-height: 18px;
		margin-bottom: 10px;
		}
	.usof-scheme-preview .preview_primary,
	.usof-scheme-preview .preview_secondary {
		display: inline-block;
		vertical-align: top;
		height: 20px;
		width: 50px;
		margin-right: 10px;
		}
	.usof-scheme-preview .preview_footer {
		height: 20px;
		box-shadow: inset 0 1px 0 rgba(0,0,0,.1);
		}

/* Inbound Message post type */
body.post-type-us_cform_inbound #post-body-content > .subheading {
	font-size: 16px;
	margin-bottom: 1em;
	}
body.post-type-us_cform_inbound #notice:has(p#has-newer-autosave) {
	display: none;
	}
table.us_cform_inbound {
	border-collapse: collapse;
	}
	table.us_cform_inbound th,
	table.us_cform_inbound td {
		vertical-align: top;
		font-size: 14px;
		padding: 5px 0;
		border: none;
		}
	table.us_cform_inbound th {
		text-align: inherit;
		font-weight: 600;
		padding-inline-end: 20px;
		}
