/*
 * PingSlash reset: a small normalize plus base typography.
 * Disable with: add_filter( 'pingslash/theme/enqueue_reset', '__return_false' );
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #333;
	background-color: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	margin-block: 0.5rem 1rem;
	font-family: inherit;
	font-weight: 500;
	line-height: 1.2;
	color: inherit;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
	margin-block: 0 0.9rem;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
	border: 0;
	border-top: 1px solid #ddd;
	margin-block: 1.5rem;
}

pre, code, kbd, samp {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 1em;
}

pre {
	overflow: auto;
	white-space: pre-wrap;
}

a {
	color: #c36;
	background-color: transparent;
	text-decoration: none;
}

a:hover,
a:active {
	color: #336;
}

a:not([href]):not([tabindex]),
a:not([href]):not([tabindex]):hover {
	color: inherit;
	text-decoration: none;
}

b, strong {
	font-weight: bolder;
}

small {
	font-size: 80%;
}

sub, sup {
	position: relative;
	font-size: 75%;
	line-height: 0;
	vertical-align: baseline;
}

sub { bottom: -0.25em; }
sup { top: -0.5em; }

img {
	max-width: 100%;
	height: auto;
	border-style: none;
}

figure {
	margin: 1em 0;
}

table {
	width: 100%;
	margin-block-end: 15px;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 0.9em;
}

table td,
table th {
	padding: 15px;
	line-height: 1.5;
	vertical-align: top;
	border: 1px solid rgba(128, 128, 128, 0.5);
}

table th {
	font-weight: 700;
}

dl, dt, dd, ol, ul, li {
	margin-block: 0;
	vertical-align: baseline;
}

/* Forms */

button,
input,
optgroup,
select,
textarea {
	margin: 0;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.5;
}

label {
	display: inline-block;
	line-height: 1;
	vertical-align: middle;
}

input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
	width: 100%;
	padding: 0.5rem 1rem;
	border: 1px solid #666;
	border-radius: 3px;
	transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
	border-color: #333;
}

textarea {
	overflow: auto;
	resize: vertical;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	display: inline-block;
	padding: 0.5rem 1rem;
	font-weight: 400;
	color: #c36;
	text-align: center;
	white-space: nowrap;
	user-select: none;
	background-color: transparent;
	border: 1px solid #c36;
	border-radius: 3px;
	cursor: pointer;
	transition: all 0.3s;
}

button:hover,
button:focus,
[type="button"]:hover,
[type="button"]:focus,
[type="reset"]:hover,
[type="reset"]:focus,
[type="submit"]:hover,
[type="submit"]:focus {
	color: #fff;
	background-color: #c36;
	text-decoration: none;
}

button:not(:disabled) {
	cursor: pointer;
}

/* Accessibility */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	word-wrap: normal !important;
	border: 0;
}

.screen-reader-text:focus {
	top: 5px;
	left: 5px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	margin: 0;
	padding: 15px 23px 14px;
	clip: auto !important;
	clip-path: none;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: normal;
	color: #333;
	text-decoration: none;
	background-color: #eee;
}
