/* Hide messages from other plugins on this reports page. */
#wpbody-content .notice:not( .amazon-pay ), #wpbody-content .error:not( .amazon-pay ) {
	display: none;
}
.logo-img {
	max-width: 300px;
	margin: 1em 0 1em 0;
}
.wrap h1.page-title:before {
	font-family: "dashicons";
	content: "\f162";
	color: var( --admin-color-1 );
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font-weight: normal;
	font-size: 32px;
	line-height: 1;
	vertical-align: bottom;
	margin-right: 5px;
	position: relative;
	top: 3px;
}
a.landing-page {
	margin: 20px 0 20px 0 !important;
}
.form-table td input[type="text"] {
	min-width: 50vw;
}
.amazon-pay-notice, .amazon-pay.notice p {
	font-size: 14px;
	white-space: pre-wrap;
	word-break: break-word;
}
.button.success {
	background-color: rgba( 10, 100, 10, .7 );
	border-color: rgba( 10, 100, 10, .5 );
	color: rgba( 255, 255, 255, .7 );
}
.button.success:hover {
	background-color: rgba( 10, 100, 10, 1 );
	border-color: rgba( 10, 100, 10, .3 );
	color: rgba( 255, 255, 255, .7 );
}
th a {
	font-size: 13px;
	font-weight: 400;
}
tr.region, tr.ledger_currency, tr.payment_currency, tr.language {
	display: none;
}
tr.set-by-env > th:after {
	content: var( --set-by-dot-env );
	display: block;
	color: rgba( 0,0,0, .5 );
	font-weight: 400;
	font-style: italic;
	font-size: .7rem;
}
td p.help, td p.help code, td ol.help, td ol.help code {
	font-size: .7rem;
}
td textarea.help {
	font-size: 14px;
}
.public_key textarea {
	margin-top: 5px;
	background-color: #ccc;
	font-family: monospace;
	font-size: 10px;
	padding: 10px;
}
#merchant_registration { display: none; }
tr.min_max input[type="number"] {
	width: 150px;
}

/**
 * Min-max slider.
 */
tr.min_max label:first-child {
	margin: 5px 0 10px 0;
	display: block;
}
#piwa__min_max {
	display:none;
	position: relative;
	height: 70px;
	padding-bottom:10px;
	width: 50vw;
}
input[type=range] {
	box-sizing: border-box;
	appearance: none;
	min-width: 50vw;
	margin: 0;
	padding: 0 2px;
	overflow: hidden;
	border: 0;
	border-radius: 1px;
	outline: none;
	background: linear-gradient( grey, grey ) no-repeat center;
	background-size: 100% 2px;
	pointer-events: none;
	position: absolute;
}
input[type=range]:active, input[type=range]:focus {
	outline: none;
}
input[type=range]::-webkit-slider-thumb {
	height: 28px;
	width: 28px;
	border-radius: 28px;
	background-color: rgb(220,220,220);
	position: relative;
	margin: 5px 0;
	cursor: pointer;
	appearance: none;
	pointer-events: all;
	box-shadow: 0 1px 4px 0.5px rgba(0, 0, 0, 0.25);
}
input[type=range]:nth-child(2) {
	background: none;
}
input[type=range]:nth-child(2)::-webkit-slider-thumb::before {
	background-color: grey;
}
label.min-proxy, label.max-proxy {
	position: absolute;
	bottom: 10px;
	width: 100px;
	white-space: nowrap;
}
label.min-proxy span, label.max-proxy span {
	display: inline-block;
}
label.min-proxy input, label.max-proxy input {
	border: 1px solid gray;
	border-radius: 4px;
	padding: 4px;
	width: 80px;
}
label.max-proxy {
	right: 0;
}
nav.footer-links {
	display: flex;
	flex-direction: row;
}
nav.footer-links ul {
	margin-right: 40px;
}
/* Tooltips */
[data-tooltip] {
	position: relative;
}
[data-tooltip]:after {
	transition: opacity 1s ease, transform 1s ease, position 1s ease;
	transform: translatey( -130% );
}
[data-tooltip]:hover:after {
	content: attr( data-tooltip );
	display: block;
	position: absolute;
	right: -50%;
	color: rgba( 255, 255, 255, .7 );
	background-color: var( --admin-color-1 );
	border: 4px solid var( --admin-color-1 );
	padding: 8px;
	border-radius: 8px;
	font-weight: 400;
	white-space: pre-wrap;
	transform: translatey( -150% );
	transition: opacity 1s ease, transform 1s ease, position 1s ease;
	z-index: 100;
}
tr[data-tooltip]:after {
	transition: opacity 1s ease, transform 1s ease, position 1s ease;
	transform: translatey( -90% );
}
tr[data-tooltip]:hover:after {
	right: auto;
	left: 5%;
	width: 33%;
	transform: translatey( -110% );
}
article label {
	display: inline-block;
	line-height: 1.3;
	font-weight: 600;
	min-width: 200px;
	padding: 0px 10px 20px 0;
	margin-right: 10px;
	vertical-align: top;
}
article input {
	padding: 0 8px;
	line-height: 2;
	min-height: 30px;
	min-width: 50vw;
	box-shadow: 0 0 0 transparent;
	border-radius: 4px;
	border: 1px solid #8c8f94;
	background-color: #fff;
	color: #2c3338;
}
#receive-dropzone textarea, textarea#send_public_key {
	min-width: 50vw;
	height: 250px;
	font-size: 14px;
	font-family: monospace;
	padding: 5px 10px;
	color: rgba( 0, 0, 0, .6 );
}
textarea#send_public_key {
	height: 200px;
}
#receive-dropzone.hover textarea {
	border: 20px solid #ccc;
	margin: -20px;
	border-radius: 10px;
}
nav label {
	font-weight: 600;
	padding: 10px 20px 10px 0;
}
nav {
	padding-bottom: 10px;
}
mark, .button[data-reset] {
	background-color: rgba( 250, 155, 0 );
}
mark {
	padding: 3px;
}
.button[data-reset] {
	border-color: rgba( 250, 155, 0 );
	color: rgba( 0, 0, 0, .6 );
}
.button.reset-confirm {
	background-color: rgba( 180, 20, 20 );
	border-color: rgba( 120, 20, 20 );
	color: #fff;
}
.button[data-reset]:hover, .button.reset-confirm:hover {
	background-color: #000;
	color: #fff;
}
p.reset-confirm {
	display: none;
}
