.wpseo-premium-indicator {
	display: inline-block;
	width: 1px;
	height: 1px;
}

#adminmenu .wpseo-premium-indicator {
	margin: -2px 2px -3px 0;
	color: inherit;
}

.wpseo-premium-indicator svg {
	display: none;
	width: auto;
	height: 100%;
}

.yoast-tooltip {
	position: relative;
}

button.yoast-tooltip {
	/* IE 11 needs overflow: visible on buttons. */
	overflow: visible;
}

.yoast-tooltip::after {
	display: none;
	position: absolute;
	z-index: 1000000;
	padding: 6px 8px 5px;
	border-radius: 3px;
	opacity: 0;
	color: #fff;
	background: rgba(0, 0, 0, 0.8);
	text-shadow: none;
	font: normal normal 11px/1.45454545 Helvetica, arial, nimbussansl, liberationsans, freesans, clean, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	text-align: center;
	white-space: pre;
	text-decoration: none;
	letter-spacing: normal;
	text-transform: none;
	word-wrap: break-word;
	content: attr(aria-label);
	pointer-events: none;

	-webkit-font-smoothing: subpixel-antialiased;
}

/*
 * Use a data attribute as alternative source for the tooltip text.
 * Add this selector as modifier of the base selector.
 */
.yoast-tooltip-alt::after {
	content: attr(data-label);
}

.yoast-tooltip::before {
	display: none;
	position: absolute;
	z-index: 1000001;
	width: 0;
	height: 0;
	border: 5px solid transparent;
	opacity: 0;
	color: rgba(0, 0, 0, 0.8);
	content: "\00a0";
	pointer-events: none;
}

@keyframes yoast-tooltip-appear {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.yoast-tooltip:hover::before,
.yoast-tooltip:hover::after,
.yoast-tooltip:active::before,
.yoast-tooltip:active::after,
.yoast-tooltip:focus::before,
.yoast-tooltip:focus::after {
	display: inline-block;
	text-decoration: none;
	animation-name: yoast-tooltip-appear;
	animation-duration: 0.1s;
	animation-timing-function: ease-in;
	animation-delay: 0.4s;

	animation-fill-mode: forwards;
}

.yoast-tooltip-no-delay:hover::before,
.yoast-tooltip-no-delay:hover::after,
.yoast-tooltip-no-delay:active::before,
.yoast-tooltip-no-delay:active::after,
.yoast-tooltip-no-delay:focus::before,
.yoast-tooltip-no-delay:focus::after {
	opacity: 1;
	animation: none;
}

.yoast-tooltip-multiline:hover::after,
.yoast-tooltip-multiline:active::after,
.yoast-tooltip-multiline:focus::after {
	display: table-cell;
}

.yoast-tooltip-s::after,
.yoast-tooltip-se::after,
.yoast-tooltip-sw::after {
	top: 100%;
	left: 50%;
	margin-top: 5px;
}

.yoast-tooltip-s::before,
.yoast-tooltip-se::before,
.yoast-tooltip-sw::before {
	top: auto;
	left: 50%;
	bottom: -5px;
	margin-left: -5px;
	border-bottom-color: rgba(0, 0, 0, 0.8);
}

.yoast-tooltip-se::after {
	left: auto;
	right: 50%;
	margin-right: -15px;
}

.yoast-tooltip-sw::after {
	margin-left: -15px;
}

.yoast-tooltip-n::after,
.yoast-tooltip-ne::after,
.yoast-tooltip-nw::after {
	left: 50%;
	bottom: 100%;
	margin-bottom: 5px;
}

.yoast-tooltip-n::before,
.yoast-tooltip-ne::before,
.yoast-tooltip-nw::before {
	top: -5px;
	left: 50%;
	bottom: auto;
	margin-left: -5px;
	border-top-color: rgba(0, 0, 0, 0.8);
}

.yoast-tooltip-ne::after {
	left: auto;
	right: 50%;
	margin-right: -15px;
}

.yoast-tooltip-nw::after {
	margin-left: -15px;
}

.yoast-tooltip-s::after,
.yoast-tooltip-n::after {
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

.yoast-tooltip-w::after {
	left: 100%;
	bottom: 50%;
	margin-left: 5px;
	-ms-transform: translateY(50%);
	transform: translateY(50%);
}

.yoast-tooltip-w::before {
	top: 50%;
	bottom: 50%;
	right: -5px;
	margin-top: -5px;
	border-right-color: rgba(0, 0, 0, 0.8);
}

.yoast-tooltip-e::after {
	bottom: 50%;
	right: 100%;
	margin-right: 5px;
	-ms-transform: translateY(50%);
	transform: translateY(50%);
}

.yoast-tooltip-e::before {
	top: 50%;
	left: -5px;
	bottom: 50%;
	margin-top: -5px;
	border-left-color: rgba(0, 0, 0, 0.8);
}

.yoast-tooltip-multiline::after {
	/* Microsoft Edge doesn't support max-content. */
	width: 250px;
	/* Modern browsers. */
	width: -webkit-max-content;
	width: -moz-max-content;
	width: max-content;
	max-width: 250px;
	border-collapse: separate;
	white-space: pre-line;
	word-wrap: normal;
	word-break: break-word;
}

.yoast-tooltip-multiline.yoast-tooltip-s::after,
.yoast-tooltip-multiline.yoast-tooltip-n::after {
	left: auto;
	right: 50%;
	-ms-transform: translateX(50%);
	transform: translateX(50%);
}

.yoast-tooltip-multiline.yoast-tooltip-w::after,
.yoast-tooltip-multiline.yoast-tooltip-e::after {
	left: 100%;
}

@media screen and (min-width: 0\0) {
	.yoast-tooltip-multiline::after {
		width: 250px;
	}
}

.yoast-tooltip-sticky::before,
.yoast-tooltip-sticky::after {
	display: inline-block;
}

.yoast-tooltip-sticky.yoast-tooltip-multiline::after {
	display: table-cell;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-moz-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
	.yoast-tooltip-w::after {
		margin-left: 4.5px;
	}
}

/* Rule with higher specificity to hide the tooltips when necessary. */
.yoast-tooltip.yoast-tooltip-hidden::before,
.yoast-tooltip.yoast-tooltip-hidden::after {
	display: none;
}

#TB_window .wpseo_content_wrapper p {
	font-size: 14px;
	font-style: normal;
}

#TB_window .wpseo_content_wrapper label {
	margin: 0 0 0 10px;
	font-size: 14px;
	font-weight: 600;
}

.wpseo-premium-popup-title {
	margin: 1em 0;
	font-size: 1.3em;
}

.wpseo-premium-popup-icon {
	margin: 10px;
}

.edit-tags-php .column-description img {
	max-width: 100%;
	height: auto;
}

/* Select2 specific fixes for WordPress */
.select2-search__field {
	margin: 0;
}

.select2-results__option,
.select2-selection__choice,
.select2-search--inline {
	margin-bottom: 0;
}

.select2-container .select2-search--inline .select2-search__field {
	margin-top: 6px !important;
	line-height: inherit;
}

.yoast-label-strong {
	font-weight: 600;
}

.yoast-video-container-max-width {
	max-width: 560px;
}

.yoast-video-container {
	overflow: hidden; 
	position: relative;
	height: 0;
	padding-bottom: 56.25%;
}

.yoast-video-container iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

.yoast-settings {
	margin-bottom: 2em;
	padding-right: 220px;
}

.yoast-settings h2 {
	margin-bottom: 0;
	margin-right: -220px;
}

.yoast-settings label {
	display: inline-block;
	width: 200px;
	margin-left: 6px;
	margin-right: -220px;
	padding-top: 4px;
	padding-left: 10px;
	color: #23282d;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	vertical-align: top;
}

.yoast-settings label,
.yoast-settings fieldset,
.yoast-settings input[type="text"],
.yoast .yoast-settings__checkbox,
.yoast .yoast-settings__radio,
.yoast-settings textarea,
.yoast-settings select {
	margin-top: 2em;
	margin-bottom: 0.5em;
}

.yoast-settings__textarea--medium {
	width: 100%;
	max-width: 600px;
}

.yoast .yoast-settings__checkbox,
.yoast .yoast-settings__radio {
	position: relative;
	top: 1px; 
	vertical-align: top;
}

.yoast-settings__group--checkbox,
.yoast-settings__group--radio {
	padding-top: 1em;
}

.yoast-settings__group--checkbox .yoast-settings__checkbox,
.yoast-settings__group--radio .yoast-settings__radio {
	margin: 0 0 10px 4px;
}

.yoast-settings__checkbox + label,
.yoast-settings__radio + label {
	width: auto;
	max-width: calc( 100% - 25px); 
	margin-left: 0;
	margin-right: 0;
	padding: 0;
}

.yoast-settings__group--checkbox .yoast-settings__checkbox + label,
.yoast-settings__group--radio .yoast-settings__radio + label {
	margin-top: 0;
	margin-bottom: 10px;
	font-weight: 400;
}

.yoast-settings legend {
	color: #23282d; 
	font-size: 14px;
	font-weight: 600;
}

.yoast-settings .description {
	margin-top: 0;
	font-size: 14px;
}

/* Icons in the posts and taxonomies table cells. */
td .wpseo-score-icon {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 5px;
	border-radius: 50%;
	background: #888;
	line-height: 16px;
}

/* Adjust vertical alignment of the icons in the table cells. */
td .wpseo-score-icon {
	margin-top: 3px;
}

/* Table internal links, SEO, and Readability columns tooltips. */
.fixed th.column-wpseo-score,
.fixed th.column-wpseo-score-readability,
.fixed th.column-wpseo-links,
.fixed th.column-wpseo-linked {
	/* 42px */
	width: 3em;
	padding: 0;
}

/* Don't use selectors related to classes added with JavaScript to avoid flickering. */
th.column-wpseo-links a,
th.column-wpseo-linked a,
th.column-wpseo-score .yoast-tooltip,
th.column-wpseo-score-readability .yoast-tooltip {
	/* Override WP property to make tooltips visible. */
	display: inline-block;
	overflow: visible;
	padding: 8px 0;
	/* To contain floats instead of using overflow. */
	vertical-align: middle;
}

th.column-wpseo-score .yoast-tooltip,
th.column-wpseo-score-readability .yoast-tooltip {
	/* 11+20+11=42px */
	padding: 8px 11px;
}

.column-wpseo-links .yoast-tooltip-multiline::after {
	/* Edge doesn't support width: max-content; */
	width: 999px;
	max-width: 160px;
}

.column-wpseo-linked .yoast-tooltip-multiline::after {
	/* Edge doesn't support width: max-content; */
	width: 999px;
	max-width: 170px;
}

.yoast-column-header-has-tooltip {
	position: relative;
}

/* Generate the icons in the table columns, exclude Screen Options. */
.manage-column .yoast-column-header-has-tooltip:before {
	display: inline-block;
	width: 20px;
	height: 20px;
	padding: 0;
	color: #444;
	vertical-align: top;
	text-decoration: none !important;
	content: "";
}

.manage-column .yoast-linked-to:before {
	background: transparent url("../../images/link-out-icon.svg") no-repeat 100% 0;
	background-size: 20px;
}

.manage-column .yoast-linked-from:before {
	background: transparent url("../../images/link-in-icon.svg") no-repeat 100% 0;
	background-size: 20px;
}

.manage-column .yoast-column-seo-score:before {
	background: transparent url("../../images/Yoast_SEO_negative_icon.svg") no-repeat 100% 0;
	background-size: 20px;
}

.manage-column .yoast-column-readability:before {
	background: transparent url("../../images/readability-icon.svg") no-repeat 100% 0;
	background-size: 20px;
}

/* Do not allow link numbers to break in the table cells. */
td.column-wpseo-links,
td.column-wpseo-linked {
	word-wrap: normal;
}

/* Make the checkboxes lable in the Screen Options visible. */
#screen-meta .yoast-column-header-has-tooltip .screen-reader-text {
	visibility: visible;
	position: static;
	width: auto;
	height: auto;
}

@media screen and (max-width: 782px) {
	.yoast-settings {
		padding-right: 0;
	}

	.yoast-settings h2 {
		margin-right: 0;
	}

	.yoast-settings label {
		width: auto;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}

	.yoast .yoast-settings__radio,
	.yoast-settings__radio + label {
		margin-bottom: 1em;
	}

	.yoast-settings__checkbox + label,
	.yoast-settings__radio + label {
		max-width: calc( 100% - 35px);
		padding-top: 8px;
	}

	.yoast-settings__group--checkbox .yoast-settings__checkbox + label,
	.yoast-settings__group--radio .yoast-settings__radio + label {
		padding-top: 4px;
	}

	.yoast-settings input[type="text"],
	.yoast-settings textarea,
	.yoast-settings select {
		display: block;
		box-sizing: border-box;
		width: 100%;
		max-width: none;
		margin-top: 0;
		margin-bottom: 0;
		padding: 7px 10px;
		line-height: 1.5;
	}
}
