/* Settings pages layout based on CSS table model. */
.wpseo_content_wrapper {
	display: table;
	width: 100%;
	table-layout: fixed;
}

.wpseo_content_cell {
	display: table-cell;
	height: 500px;
	margin: 0;
	padding: 0;
	vertical-align: top;
}

#wpseo_content_top {
	width: 100%;
}

#sidebar-container {
	/* For historical reasons banner images have a 261px width. */
	width: 261px;
	padding: 0 19px 0 0;
}

/* @todo: check this. */
tr.yst_row {
	margin: 5px 0 0 0;
	padding: 5px 0 0 0;
}

/* @todo: check this. */
tr.yst_row.even {
	background-color: #f6f6f6;
}

/* @todo: check this. */
.postbox {
	margin: 10px 0 0 10px;
}

/* Forms. */
label.textinput,
label.select {
	float: right;
	width: 200px;
	margin: 5px 0;
}

.yoast-inline-label {
	float: none;
	margin: 0;
}

input.textinput,
textarea,
select {
	width: 400px;
}

input.textinput,
textarea.textinput,
select.select {
	margin: 0 0 15px 0;
}

/* @todo: check if the .double class is still used. */
input.radio,
input.checkbox,
input.checkbox.double {
	margin: 6px 0 6px 10px;
}

/* @todo: check this. */
.textinput.metadesc {
	height: 50px;
}

/* @todo: check this. Couldn't find any textarea with class 'import'. */
textarea.import {
	width: 500px;
	height: 100px;
}

p.desc {
	margin: 6px 0 10px 0;
	padding: 0 25px 8px 0;
}

p.desc.label {
	margin: 0 0 20px;
	padding: 0 200px 10px 0;
}

/* Google Search Console: Reload crawl issues form. */
.wpseo-gsc-reload-crawl-issues-form {
	position: relative;
	top: 9px;
}

.wp-core-ui .button.wpseo-gsc-save-profile {
	margin-right: 200px;
}

/* Styles for Yoast specific content. @todo: check this. */
.wpseo_content_wrapper h3 {
	margin: 1em 0 0.5em 0;
}

h4 {
	clear: both;
	margin: 1.2em 0 0.5em 0;
}

.wpseo_content_wrapper p,
.wpseo_content_wrapper li {
	max-width: 600px;
}

.yoast .search-box,
.wpseo_content_wrapper .notice p {
	max-width: none;
}

/* @todo: check this. */
table.wpseo th {
	text-align: right;
}

/* Notices below Settings pages tabs. */
#wpseo-tabs + .notice {
	margin-top: 1.5em;
}

/* Template variables error. */
.wpseo-variable-warning-element {
	border: 1px solid #c62d2d !important;
}

.wpseo-variable-warning {
	clear: both;
	margin: 5px 0 0 0;
	padding: 5px;
	color: #c62d2d;
}

.wpseo-variable-warning code {
	color: #b02828;
}

.wpseo-variable-warning a {
	color: #c62d2d;
}

/* Create redirect popup. */
.wpseo_content_wrapper h1.wpseo-redirect-url-title {
	margin: 1em 0 0.5em 0;
	font-size: 1.3em;
}

/* @todo: check this. */
.postbox form {
	line-height: 150%;
}

/* @todo: check this. */
.text {
	width: 250px;
}

/* Template variables table. */
table.yoast_help {
	border-collapse: collapse;
}

table.yoast_help,
table.yoast_help th,
table.yoast_help td {
	border: 1px solid #ddd;
	color: #444;
}

table.yoast_help th,
table.yoast_help td {
	padding: 5px 10px;
	text-align: right;
	vertical-align: top;
}

table.yoast_help tr {
	background-color: #f1f1f1;
}

table.yoast_help tr:nth-child(2n) {
	background-color: #fbfbfe;
}

table.yoast_help tr:hover {
	background-color: #ddd;
}

table.yoast_help thead tr,
table.yoast_help thead tr:hover {
	background-color: #fff;
}

table.yoast_help .yoast-variable-name {
	font-weight: 600;
	white-space: nowrap;
}

table.yoast_help .yoast-variable-desc {
	font-weight: 400;
}

/* @todo: check this. */
.correct {
	padding: 5px;
	color: white;
	background-color: green;
}

/* @todo: check this. */
.wrong {
	padding: 5px;
	color: white;
	background-color: #dc3232;
}

/* @todo: check this. */
.wrong code {
	padding: 3px 8px;
	color: #000;
}

.yoast-notice-blocking-files code {
	color: #000; 
	line-height: 2;
}

.yoast-notice-blocking-files .button {
	margin: 0.5em 0;
}

.wpseo_content_wrapper .yoast-blocking-files-error p {
	max-width: none;
}

/* @todo: check this. */
.button.fixit {
	float: left;
	margin: 0 5px;
}

/* @todo: check this. */
.button.checkit {
	float: left;
	margin: 0 5px;
	padding: 5px 8px;
}

/* Add Facebook admins buttons. @todo: remove this. */
.fb-buttons .button-primary,
.fb-buttons .button {
	margin-left: 8px;
}

/* Tabs. */
.wpseotab {
	display: none;
}

.wpseotab.active {
	display: block;
}

.wpseotab p.expl {
	margin-right: 6px;
}

.wpseotab p.expl strong {
	font-size: 115%;
}

/* Debug Information meta box. */
#wpseo-debug-info {
	clear: both;
}

#wpseo-debug-info .hndle {
	cursor: auto;
}

#wpseo-debug-info .wpseo-debug-heading {
	font-size: 1em;
}

#wpseo-debug-info .wpseo-debug {
	display: inline-block;
	padding-right: 20px;
	color: #c00;
}

/* Bulk editor. */
input.wpseo-new-title,
textarea.wpseo-new-metadesc {
	width: 100%;
	max-width: 100%;
}

.wpseotab .extension {
	float: right;
	box-sizing: border-box;
	width: 300px;
	height: 230px;
	margin: 10px 0 10px 20px;
	border: 1px solid #ccc;
}

.wpseotab .extension p {
	margin: 0;
	padding: 10px;
}

.wpseotab .extension h3 {
	box-sizing: border-box;
	height: 110px;
	margin: 0;
	padding: 20px 120px 0 10px;
	border-bottom: 1px solid #ccc;
	background: #fff no-repeat right 10px;
	background-size: 130px 100px;
}

.wpseotab .extension a {
	text-decoration: none;
}

.wpseotab .extension button.installed {
	border-color: #00a000;
	background-color: #00a000;
	cursor: default;
}

/* For the Premium "Site wide analysis" tab. */
#site-analysis.active ~ .submit {
	display: none;
}

/* Titles & Metas: title separator. */
#separator {
	margin: 1.5em 0 0.5em;
}

#separator input.radio {
	/* visually hide the radio buttons but keep them accessible */
	position: absolute;
	right: -9999em;
	width: 1px;
	height: 1px;
}

#separator input.radio + label {
	float: right;
	width: 30px !important;
	margin: 0 0 0.5em 5px !important;
	padding: 9px 6px;
	border: 1px solid #ccc;
	/* Don't change: these mimic Google's font and font size for titles */
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 18px !important;
	line-height: 24px;
	text-align: center;
	cursor: pointer;
}

#separator input.radio:checked + label {
	border: 1px solid #a4286a;
	background-color: #fff;
	box-shadow: inset 0 0 0 2px #a4286a;
}

#separator input.radio:focus + label {
	border-radius: 10px;
	border-bottom-left-radius: 0;
}

/* @todo: check this. */
.svg-container {
	text-align: center;
}

/* @todo: check this. */
.svg-container .dashicons {
	width: 200px;
	height: 100px;
	font-size: 100px;
}

/* Yoast SEO credits page. */
body.toplevel_page_wpseo_dashboard .wp-badge {
	background: transparent url(../../images/Yoast_SEO_Icon.svg) no-repeat 50% 10px;
	background-size: 140px 140px;
	box-shadow: none;
}

/* @todo: remove this, see #6380. */
.nav-tab .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 24px;
}

/* @todo: remove this, see #6380. */
.nav-tab .pinteresticon {
	width: 12px;
	height: 24px;
	margin-left: 2px;
	background-image: url(../../images/pinterest-23x30.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}

/* Recalculate score progress bar. Note: currently not used. */
#wpseo_progressbar {
	height: 25px;
	border: 1px solid #006691;
}

#wpseo_progressbar .ui-progressbar-value {
	height: 25px;
	background: #006691;
}

.wpseo-progressbar-wrapper {
	display: inline;
	width: 100%;
}

.wpseo-progressbar {
	display: block;
	width: 100%;
	height: 25px;
	border: 1px solid #006691;
}

.wpseo-progressbar .ui-progressbar-value {
	height: 25px;
	background: #006691;
}

/* Add Facebook admin popup: notification when submitting empty form. */
.wpseo-add-fb-admin-form-wrap .notice span {
	margin-right: 10px;
}

.archives-titles-metas-content {
	padding-top: 1em;
}

/* Banners sidebar. */
.yoast-sidebar__title {
	box-sizing: border-box;
	width: 100%;
	margin: 46px 0 20px;
	padding: 10px 0;
	border-bottom: 1px solid #a4286a; 
	color: #a4286a;
	line-height: 19px;
	text-align: right;
}

.yoast-sidebar__spot {
	padding: 10px 0;
	border-bottom: 1px solid #ddd;
}
.yoast-sidebar__spot h2,
.yoast-sidebar__spot a {
	color: #a4286a;
}
.yoast-sidebar__spot h2 {
	margin-top: 0;
}
.yoast-sidebar__spot ul {
	position: relative;
}
.yoast-sidebar__spot li {
	margin-right: 20px; 
	list-style: none;
}
.yoast-sidebar__spot li::before {
	position: absolute;
	right: 0;
	font-weight: bold; 
	content: "+";
}

.wpseo-banner__link {
	display: inline-block;
}

.wpseo-banner__image {
	vertical-align: top;
}

@media screen and (max-width: 1024px) {
	.wpseo-tab-video-slideout .yoast-table-scrollable {
		width: 120%;
	}
}

.page-wpseo_rss .yoast-variable-desc {
	min-width: 300px;
}

.yoast-table-scrollable {
	box-sizing: border-box;
}
.yoast-table-scrollable th,
.yoast-table-scrollable td {
	box-sizing: border-box;
}
.yoast-table-scrollable__container.yoast-has-scroll {
	overflow: hidden; 
	position: relative;
}
.yoast-table-scrollable__container.yoast-has-scroll:after {
	position: absolute;
	top: 0;
	right: 100%;
	width: 50px;
	height: calc( 100% - 16px);
	border-radius: 0 10px 10px 0 / 0 50% 50% 0;
	box-shadow: 5px 0 10px rgba(0, 0, 0, 0.25); 
	content: "";
}
.yoast-table-scrollable__container.yoast-has-scroll .yoast-table-scrollable__inner {
	overflow-x: scroll;
	padding-bottom: 16px;
}
.yoast-table-scrollable__hintwrapper {
	display: none;
}
.yoast-table-scrollable__hintwrapper.yoast-has-scroll {
	display: block;
	margin: 1em 0;
	text-align: center;
}
.yoast-has-scroll .yoast-table-scrollable__hint {
	display: inline-block;
}
.yoast-has-scroll .yoast-table-scrollable__hint:before {
	display: inline-block;
	margin-left: 10px;
	font-size: 20px;
	line-height: inherit;
	vertical-align: text-top; 
	content: "\21c4";
}

/* Responsive layout. */
@media screen and (max-width: 1024px) {
	.wpseo_content_wrapper,
	.wpseo_content_cell {
		display: block;
		height: auto;
	}
	#wpseo_content_top {
		width: auto;
	}
	#sidebar-container {
		width: auto;
		padding: 0;
	}

/* Banners sidebar. */
	.yoast-sidebar__spot {
		float: right;
		width: 50%;
		border: none;
		text-align: center;
	}
	.yoast-sidebar__spot strong:first-child {
		display: block;
		max-width: 261px;
		margin: 0 auto;
		text-align: right;
	}
	.yoast-sidebar__spot p {
		max-width: 261px;
		margin: 1em auto;
		text-align: right;
	}
}

@media screen and (max-width: 782px) {
	/* Forms. */
	label.textinput,
	label.select {
		display: inline-block;
		float: none;
		width: auto;
	}
	input.textinput,
	textarea,
	textarea.textinput {
		display: block;
		width: 100%;
	}
	select,
	select.select,
	.select2-container {
		display: block;
		max-width: 100%;
	}
	p.desc.label {
		padding-right: 0;
	}
	.wp-core-ui .button.wpseo-gsc-save-profile {
		margin-right: 0;
	}

/* Google Search Console: Reload crawl issues form. */
	.wpseo-gsc-reload-crawl-issues-form {
		top: 0;
		margin: 1em 0;
	}
	.wpseo-gsc-reload-crawl-issues-form .alignright {
		float: none;
	}
}

@media screen and (max-width: 600px) {
	/* Google Search Console: Reload crawl issues form. */
	.wpseo-gsc-reload-crawl-issues-form {
		margin-bottom: 0;
	}

/* Banners sidebar. */
	.yoast-sidebar__spot {
		float: none;
		width: 261px;
		margin: 0 auto;
		border-bottom: 1px solid #ddd;
	}
}

@media screen and (max-width: 500px) {
	body.toplevel_page_wpseo_dashboard .wp-badge {
		padding-top: 80px;
		background-color: #a4286a;
		background-size: 100px 100px;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	}
}

.wpseo-checkmark-ok-icon {
	float: right;
	width: 18px;
	height: 18px;
	margin-left: 5px;
	background: url("data:image/svg+xml;charset=utf8,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww%2Ew3%2Eorg%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%2377B227%22%20d%3D%22M1671%20566q0%2040%2D28%2068l%2D724%20724%2D136%20136q%2D28%2028%2D68%2028t%2D68%2D28l%2D136%2D136%2D362%2D362q%2D28%2D28%2D28%2D68t28%2D68l136%2D136q28%2D28%2068%2D28t68%2028l294%20295%20656%2D657q28%2D28%2068%2D28t68%2028l136%20136q28%2028%2028%2068z%22%2F%3E%3C%2Fsvg%3E") no-repeat;
	background-size: 18px;
	vertical-align: top;
}
