body {
	/* Accordion styles */
}

body.tools_page_health-check {
	/* Better position for the WordPress admin notices and update nag. */
	/* Info screen styles */
	/* Tools screen styles */
	/* Diff viewer styles */
	/* Site Status styles */
}

body.tools_page_health-check #wpcontent {
	padding-left: 0;
}

body.tools_page_health-check .notice {
	margin: 5px 20px 15px 22px;
}

body.tools_page_health-check .update-nag {
	margin-bottom: 20px;
	margin-left: 22px;
}

body.tools_page_health-check h2 {
	padding: 1rem 0;
	line-height: 1.4;
}

body.tools_page_health-check .wrap {
	margin-right: 0;
	margin-left: 0;
}

body.tools_page_health-check .wrap h2 {
	padding: 1rem 0.5rem;
	font-size: 1.3rem;
	font-weight: 600;
	font-family: inherit;
}

@media all and (min-width: 960px) {
	body.tools_page_health-check .wrap h2 {
		padding: 1rem 0;
	}
}

body.tools_page_health-check ul li,
body.tools_page_health-check ol li {
	font-size: 13px;
	line-height: 1.5;
}

body.tools_page_health-check .wp-core-ui .button {
	font-size: 13px;
}

body.tools_page_health-check .health-check-header {
	text-align: center;
	margin: 0 0 1rem;
	background: #fff;
	border-bottom: 1px solid #e2e4e7;
}

body.tools_page_health-check .health-check-header .health-check-tabs-wrapper {
	/* IE 11 */
	display: -ms-inline-grid;
	-ms-grid-columns: 1fr 1fr 1fr 1fr;
	vertical-align: top;
	/* modern browsers */
	display: inline-grid;
	/* stylelint-disable-line declaration-block-no-duplicate-properties */
	grid-template-columns: 1fr 1fr 1fr 1fr;
}

body.tools_page_health-check .health-check-header .health-check-tabs-wrapper .health-check-tab {
	display: block;
	/* IE 11 */
	text-decoration: none;
	color: inherit;
	padding: 0.5rem 1rem 1rem;
	margin: 0 1rem;
	transition: box-shadow 0.5s ease-in-out;
}

body.tools_page_health-check .health-check-header .health-check-tabs-wrapper .health-check-tab:nth-child(1) {
	-ms-grid-column: 1;
	/* IE 11 */
}

body.tools_page_health-check .health-check-header .health-check-tabs-wrapper .health-check-tab:nth-child(2) {
	-ms-grid-column: 2;
	/* IE 11 */
}

body.tools_page_health-check .health-check-header .health-check-tabs-wrapper .health-check-tab:nth-child(3) {
	-ms-grid-column: 3;
	/* IE 11 */
}

body.tools_page_health-check .health-check-header .health-check-tabs-wrapper .health-check-tab:nth-child(4) {
	-ms-grid-column: 4;
	/* IE 11 */
}

body.tools_page_health-check .health-check-header .health-check-tabs-wrapper .health-check-tab.active {
	box-shadow: inset 0 -3px #007cba;
	font-weight: 600;
}

body.tools_page_health-check .health-check-header .health-check-tabs-wrapper .health-check-tab:focus {
	color: #191e23;
	outline: 1px solid #6c7781;
	box-shadow: none;
}

body.tools_page_health-check .health-check-body {
	max-width: 800px;
	margin: 0 auto;
}

body.tools_page_health-check .health-check-table {
	table-layout: fixed;
}

body.tools_page_health-check .health-check-table thead th,
body.tools_page_health-check .health-check-table thead td {
	font-size: 13px;
}

body.tools_page_health-check .health-check-table thead th:first-child,
body.tools_page_health-check .health-check-table thead td:first-child {
	width: 30%;
}

body.tools_page_health-check .health-check-table tbody td {
	width: 100%;
	box-sizing: border-box;
	display: block;
	font-size: 13px;
	word-wrap: break-word;
}

body.tools_page_health-check .health-check-table tbody td:first-child {
	width: 100%;
	padding-bottom: 0;
	font-weight: 600;
}

body.tools_page_health-check .health-check-table tbody td ul,
body.tools_page_health-check .health-check-table tbody td ol {
	margin: 0;
}

body.tools_page_health-check .pass:before,
body.tools_page_health-check .good:before {
	content: "\f147";
	display: inline-block;
	color: #46b450;
	font-family: dashicons;
}

body.tools_page_health-check .warning:before {
	content: "\f460";
	display: inline-block;
	color: #ffb900;
	font-family: dashicons;
}

body.tools_page_health-check .info:before {
	content: "\f348";
	display: inline-block;
	color: #00a0d2;
	font-family: dashicons;
}

body.tools_page_health-check .fail:before,
body.tools_page_health-check .error:before {
	content: "\f335";
	display: inline-block;
	color: #dc3232;
	font-family: dashicons;
}

body.tools_page_health-check .spinner {
	float: none;
}

body.tools_page_health-check .site-health-copy-buttons {
	display: block;
	margin: 1rem 0;
}

body.tools_page_health-check .site-health-copy-buttons .copy-button-wrapper {
	margin: 0.5rem 0 1rem;
}

body.tools_page_health-check .site-health-copy-buttons .success {
	display: none;
	color: #40860a;
	height: 28px;
	line-height: 2.2;
	margin-left: 0.5rem;
}

body.tools_page_health-check .site-health-copy-buttons .success.visible {
	display: inline-block;
}

body.tools_page_health-check #health-check-debug {
	margin-bottom: 3rem;
}

body.tools_page_health-check .health-check-wp-paths-sizes.spinner {
	position: absolute;
	visibility: visible;
	float: none;
	margin: 0 4px;
}

body.tools_page_health-check .file-integrity-table thead th:first-child,
body.tools_page_health-check .file-integrity-table thead td:first-child,
body.tools_page_health-check .file-integrity-table tbody th:first-child,
body.tools_page_health-check .file-integrity-table tbody td:first-child,
body.tools_page_health-check .file-integrity-table tfoot th:first-child,
body.tools_page_health-check .file-integrity-table tfoot td:first-child {
	text-align: center;
	width: 60px;
}

body.tools_page_health-check .tools-email-table {
	border: 0;
	box-shadow: none;
}

body.tools_page_health-check .tools-email-table td:first-child {
	width: 280px;
}

@media (max-width: 768px) {
	body.tools_page_health-check .tools-email-table td {
		display: block;
	}
}

body.tools_page_health-check .tools-email-table input {
	width: 100%;
}

body.tools_page_health-check .tools-email-table label {
	display: block;
	clear: both;
}

body.tools_page_health-check #health-check-mail-check,
body.tools_page_health-check #health-check-file-integrity {
	margin-bottom: 15px;
}

body.tools_page_health-check #health-check-diff-modal {
	width: 100vw;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.7);
	display: none;
	z-index: 99999;
}

body.tools_page_health-check #health-check-diff-modal #health-check-diff-modal-content {
	background: #fff;
	height: calc(100% - 120px);
	width: calc(100% - 120px);
	margin-top: 40px;
	margin-left: 40px;
	padding: 20px;
	display: block;
}

body.tools_page_health-check #health-check-diff-modal #health-check-diff-modal-diff {
	width: 100%;
	height: calc(100% - 80px);
	overflow-y: auto;
	display: block;
	position: relative;
}

body.tools_page_health-check #health-check-diff-modal #health-check-diff-modal-diff table.diff td:nth-child(2) {
	background: #f3f3f3;
}

body.tools_page_health-check #health-check-diff-modal-close-ref {
	position: relative;
	display: block;
	float: right;
	color: #000;
	text-decoration: none;
}

body.tools_page_health-check .site-health-issues-wrapper {
	margin-bottom: 3rem;
	margin-top: 2rem;
}

body.tools_page_health-check .site-health-issues-wrapper:first-of-type {
	margin-top: 3rem;
}

body.tools_page_health-check .site-status-has-issues {
	display: block;
}

body.tools_page_health-check .site-status-has-issues.hide {
	display: none;
}

body.tools_page_health-check h3 {
	padding: 0;
	font-weight: 400;
}

body.tools_page_health-check .site-health-view-more {
	text-align: center;
}

body.tools_page_health-check .issues-wrapper {
	margin-bottom: 5rem;
}

body.tools_page_health-check .site-status-all-clear {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
	width: 100%;
	margin-top: 0;
}

@media all and (min-width: 784px) {
	body.tools_page_health-check .site-status-all-clear {
		margin: 5rem 0;
	}
}

body.tools_page_health-check .site-status-all-clear.hide {
	display: none;
}

body.tools_page_health-check .site-status-all-clear .dashicons {
	font-size: 150px;
	height: 130px;
	width: 150px;
}

body.tools_page_health-check .site-status-all-clear .encouragement {
	font-family: inherit;
	font-size: 1.5rem;
	font-weight: 600;
}

body.tools_page_health-check .site-status-all-clear p {
	margin: 0;
}

body.tools_page_health-check .site-health-view-passed {
	position: relative;
	padding-right: 40px;
	padding-left: 20px;
}

body.tools_page_health-check .site-health-view-passed .icon {
	border: solid #555d66;
	border-width: 0 2px 2px 0;
	height: 0.5rem;
	pointer-events: none;
	position: absolute;
	right: 1.5em;
	top: 50%;
	transform: translateY(-70%) rotate(45deg);
	width: 0.5rem;
}

body.tools_page_health-check .site-health-view-passed[aria-expanded="true"] .icon {
	transform: translateY(-30%) rotate(-135deg);
}

body .health-check-accordion {
	border: 1px solid #e2e4e7;
}

body .health-check-accordion .health-check-accordion-heading {
	margin: 0;
	border-top: 1px solid #e2e4e7;
	font-size: inherit;
	line-height: inherit;
	font-weight: 600;
	color: inherit;
}

body .health-check-accordion .health-check-accordion-heading:first-child {
	border-top: none;
}

body .health-check-accordion .health-check-accordion-trigger {
	background: #fff;
	border: 0;
	color: #32373c;
	cursor: pointer;
	display: block;
	font-weight: 400;
	margin: 0;
	padding: 1em 3.5em 1em 1.5em;
	position: relative;
	text-align: left;
	width: 100%;
}

body .health-check-accordion .health-check-accordion-trigger:hover, body .health-check-accordion .health-check-accordion-trigger:active {
	background: #f8f9f9;
}

body .health-check-accordion .health-check-accordion-trigger:focus {
	color: #191e23;
	border: none;
	box-shadow: none;
	outline-offset: -2px;
	outline: 1px dotted #555d66;
}

body .health-check-accordion .health-check-accordion-trigger .title {
	display: inline-block;
	pointer-events: none;
	font-weight: 600;
}

body .health-check-accordion .health-check-accordion-trigger .icon {
	border: solid #555d66;
	border-width: 0 2px 2px 0;
	height: 0.5rem;
	pointer-events: none;
	position: absolute;
	right: 1.5em;
	top: 50%;
	transform: translateY(-70%) rotate(45deg);
	width: 0.5rem;
}

body .health-check-accordion .health-check-accordion-trigger .badge {
	float: right;
	padding: 0.1rem 0.5rem 0.15rem;
	color: #32373c;
	font-weight: 600;
	margin-left: 0.5rem;
}

body .health-check-accordion .health-check-accordion-trigger .badge.blue {
	border: 1px solid #bfe7f3;
}

body .health-check-accordion .health-check-accordion-trigger .badge.orange {
	border: 1px solid #ffb900;
}

body .health-check-accordion .health-check-accordion-trigger .badge.red {
	border: 1px solid #dc3232;
}

body .health-check-accordion .health-check-accordion-trigger .badge.green {
	border: 1px solid #46b450;
}

body .health-check-accordion .health-check-accordion-trigger .badge.purple {
	border: 1px solid #826eb4;
}

body .health-check-accordion .health-check-accordion-trigger .badge.gray {
	border: 1px solid #ccd0d4;
}

body .health-check-accordion .health-check-accordion-trigger[aria-expanded="true"] .icon {
	transform: translateY(-30%) rotate(-135deg);
}

body .health-check-accordion .health-check-accordion-panel {
	margin: 0;
	padding: 1em 1.5em;
	background: #fff;
}

body .health-check-accordion .health-check-accordion-panel > div {
	display: block;
}

body .health-check-accordion .health-check-accordion-panel[hidden] {
	display: none;
}

body .health-check-accordion .health-check-accordion-panel a .dashicons {
	text-decoration: none;
}

body .health-check-accordion dl dd {
	margin: 0 0 0.5em 2em;
}

/* Modal styles */
.health-check-modal {
	display: none;
	position: absolute;
	z-index: 1000;
	padding-top: 50px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: black;
	background-color: rgba(0, 0, 0, 0.4);
}

@media all and (min-width: 1024px) {
	.health-check-modal {
		padding-top: 100px;
	}
}

.health-check-modal.show {
	display: block;
}

.health-check-modal .modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 90%;
}

@media all and (min-width: 1024px) {
	.health-check-modal .modal-content {
		width: 30%;
	}
}

.health-check-modal .modal-content .modal-close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: 600;
	cursor: pointer;
}

.health-check-modal .modal-content #dynamic-content {
	display: block;
	width: 100%;
}

.health-check-modal .modal-close:hover, .health-check-modal .modal-close:focus {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: 600;
}

/* Progress indicator styles */
.health-check-title-section {
	display: flex;
	align-items: center;
	justify-content: center;
	clear: both;
}

.health-check-title-section h1 {
	display: inline-block;
	font-weight: 600;
	font-size: 23px;
	margin: 0 0.8rem 1rem;
	padding: 9px 0 4px;
	line-height: 1.3;
	font-family: inherit;
}

.health-check-title-section.site-health-progress-wrapper {
	margin-bottom: 1rem;
}

.health-check-title-section.site-health-progress-wrapper.loading .site-health-progress svg #bar {
	stroke-dashoffset: 0;
	stroke: #adc5d2;
	animation: loadingPulse 3s infinite ease-in-out;
}

@keyframes loadingPulse {
	0% {
		stroke: #adc5d2;
	}
	50% {
		stroke: #00a0d2;
	}
	100% {
		stroke: #adc5d2;
	}
}

.health-check-title-section.site-health-progress-wrapper.green #bar {
	stroke: #46b450;
}

.health-check-title-section.site-health-progress-wrapper.green .site-health-progress-label {
	color: #46b450;
}

.health-check-title-section.site-health-progress-wrapper.orange #bar {
	stroke: #ffb900;
}

.health-check-title-section.site-health-progress-wrapper.orange .site-health-progress-label {
	color: #ffb900;
}

.health-check-title-section.site-health-progress-wrapper .site-health-progress {
	display: inline-block;
	height: 20px;
	width: 20px;
	margin: 0;
	border-radius: 100%;
	position: relative;
	font-weight: 600;
	font-size: 0.4rem;
}

.health-check-title-section.site-health-progress-wrapper .site-health-progress svg circle {
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1s linear;
	stroke: #ccc;
	stroke-width: 3em;
}

.health-check-title-section.site-health-progress-wrapper .site-health-progress svg #bar {
	stroke-dashoffset: 565;
}

.health-check-title-section.site-health-progress-wrapper .site-health-progress-label {
	font-weight: 600;
	line-height: 20px;
	margin-left: 0.3rem;
}
