/*--------------------------------------------------------------
  Image Captcha
--------------------------------------------------------------*/
.captcha-image {border: 1px solid; padding: 10px; display: inline-block; text-align: center;}
.cf7ic_instructions {display: block;}
.captcha-image .cf7ic_instructions span {color: red; font-weight: bold;}
.captcha-image i {padding: 5px; font-size: 40px}
.captcha-image label {display: inline-block; width: 60px !important;}
.captcha-image label > input{opacity: 0; width: 0; height: 0; margin: 0;} /* HIDE RADIO */
.captcha-image svg {padding: 5px; width: 50px; height: 50px;}
.captcha-image label > input + svg {cursor:pointer; border:2px solid transparent;} /* IMAGE STYLES */
.captcha-image label > input:checked + svg, .captcha-image label > input:focus + svg {border:2px solid #f00;} /* (CHECKED) IMAGE STYLES */.jetpack-simple-payments-wrapper {
	margin-bottom: 1.5em;
}

/* Higher specificity in order to reset paragraph style */
body .jetpack-simple-payments-wrapper .jetpack-simple-payments-details p {
	margin: 0 0 1.5em;
	padding: 0;
}

.jetpack-simple-payments-product {
	display: flex;
	flex-direction: column;
}

.jetpack-simple-payments-product-image {
	flex: 0 0 30%;
	margin-bottom: 1.5em;
}

.jetpack-simple-payments-image {
	box-sizing: border-box;
	min-width: 70px;
	padding-top: 100%;
	position: relative;
}

/* Higher specificity in order to trump theme's style */
body .jetpack-simple-payments-wrapper .jetpack-simple-payments-product-image .jetpack-simple-payments-image img {
	border: 0;
	border-radius: 0;
	height: auto;
	left: 50%;
	margin: 0;
	max-height: 100%;
	max-width: 100%;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: auto;
}

.jetpack-simple-payments-title p,
.jetpack-simple-payments-price p {
	font-weight: bold;
}

.jetpack-simple-payments-purchase-box {
	align-items: flex-start;
	display: flex;
}

.jetpack-simple-payments-items {
	flex: 0 0 auto;
	margin-right: 10px;
}

input[type="number"].jetpack-simple-payments-items-number {
	font-size: 16px;
	line-height: 1;
	max-width: 60px;
	padding: 4px 8px;
}

.jetpack-simple-payments-button iframe {
	margin: 0;
}

.jetpack-simple-payments-purchase-message {
	background-color: rgba(255, 255, 255, 0.7);
	border: 2px solid #fff;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(200, 215, 225, 0.5), 0 1px 2px #e9eff3;
	display: none;
	margin-bottom: 1.5em;
	min-height: 48px;
	padding: 1em;
	position: relative;
}

.jetpack-simple-payments-purchase-message:before {
	font-family: dashicons !important;
	font-size: 48px !important;
	line-height: 1 !important;
	position: absolute;
	speak: none;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.jetpack-simple-payments-purchase-message.show {
	display: block;
}

.jetpack-simple-payments-purchase-message.success:before {
	color: #4ab866;
	content: "\f147";
}

.jetpack-simple-payments-purchase-message.error:before {
	color: #d94f4f;
	content: "\f335";
}

/* Higher specificity in order to reset */
body .jetpack-simple-payments-wrapper .jetpack-simple-payments-purchase-message p {
	color: #222;
	margin: 0 0 0.5em;
	padding: 0 0 0 40px;
}

body .jetpack-simple-payments-wrapper .jetpack-simple-payments-purchase-message p:last-child {
	margin: 0;
}

@media screen and (min-width: 400px) {
	.jetpack-simple-payments-product {
		flex-direction: row;
	}

	.jetpack-simple-payments-product-image + .jetpack-simple-payments-details {
		flex-basis: 70%;
		padding-left: 1em;
	}
}

@media only email {
	.jetpack-simple-payments-product {
		display: table;
		width: 100%;
	}

	.jetpack-simple-payments-product-image {
		display: table-cell;
		width: 30%;
		vertical-align: top;
	}

	.jetpack-simple-payments-image {
		padding-top: 0;
	}

	.jetpack-simple-payments-image figure {
		margin: 0;
	}

	.jetpack-simple-payments-product-image + .jetpack-simple-payments-details {
		display: table-cell;
		width: 70%;
	}
}
.contact-form .clear-form {
	clear: both;
}

.contact-form input::placeholder {
	transition: opacity .3s ease-out;
}
.contact-form input:hover::placeholder {
	opacity: 0.5;
}
.contact-form input:focus::placeholder {
	opacity: 0.3;
}

.contact-form input[type='text'],
.contact-form input[type='email'],
.contact-form input[type='tel'],
.contact-form input[type='url'] {
	box-sizing: border-box;
	margin-bottom: 1.5em;
	width: 100%;
}

.contact-form select {
	margin-bottom: 1.5em;
}

.contact-form textarea {
	box-sizing: border-box;
	float: none;
	height: 200px;
	margin-bottom: 1.5em;
	width: 100%;
}

.contact-form input[type='radio'],
.contact-form input[type='checkbox'] {
	float: none;
	margin: 0 0.75rem 0 5px;
}

.contact-form input[type='checkbox'] {
	top: 0;
	margin-left: 0;
}

.contact-form label {
	margin-bottom: 0.25em;
	float: none;
	font-weight: bold;
	display: block;
}

.contact-form label.consent-implicit input {
	display: none;
}

.contact-form label.checkbox,
.contact-form label.checkbox-multiple,
.contact-form label.radio {
	margin-bottom: 0.25em;
	float: none;
	font-weight: normal;
	display: inline-flex;
	align-items: center;
}

.contact-form .grunion-field-checkbox-wrap,
.contact-form .grunion-field-consent-wrap,
.contact-form .grunion-field-checkbox-multiple-wrap,
.contact-form .grunion-field-radio-wrap {
	margin-bottom: 1em;
}

.contact-form label span {
	font-size: 85%;
	margin-left: 0.25em;
	font-weight: normal;
}

.contact-form-submission {
	margin-bottom: 4em;
	padding: 1.5em 1em;
}

.contact-form-submission p {
	margin: 0 auto;
	word-wrap: break-word;
}

.form-errors .form-error-message {
	color: red;
}

.textwidget .contact-form input[type='text'],
.textwidget .contact-form input[type='email'],
.textwidget .contact-form input[type='tel'],
.textwidget .contact-form input[type='url'],
.textwidget .contact-form textarea,
.wp-block-column .contact-form input[type='text'],
.wp-block-column .contact-form input[type='email'],
.wp-block-column .contact-form input[type='tel'],
.wp-block-column .contact-form input[type='url'],
.wp-block-column .contact-form textarea {
	width: 100%;
}

#jetpack-check-feedback-spam {
	margin: 1px 8px 0px 0px;
}

.jetpack-check-feedback-spam-spinner {
	display: inline-block;
	margin-top: 7px;
}

.wp-block-jetpack-contact-form {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	flex-direction: row;
}

.wp-block-jetpack-contact-form .grunion-field-wrap, .wp-block-jetpack-button {
	flex: 0 0 100%;
}

.wp-block-jetpack-button.alignright button {
	float: right;
}

.wp-block-jetpack-contact-form .grunion-field-wrap {
	/* Use transparent border to maintain consistent
	 * space between elements with flexbox */
	border-right: 15px solid transparent;
}

.wp-block-jetpack-contact-form .grunion-field-width-25-wrap {
	flex: 0 0 25%;
}

.wp-block-jetpack-contact-form .grunion-field-width-50-wrap {
	flex: 0 0 50%;
}

.wp-block-jetpack-contact-form .grunion-field-width-75-wrap {
	flex: 0 0 75%;
}

.grunion-field-checkbox-wrap, .grunion-field-consent-wrap {
	align-self: center;
}

@media only screen and (min-width: 600px) {
	.contact-form input[type='text'],
	.contact-form input[type='email'],
	.contact-form input[type='tel'],
	.contact-form input[type='url'] {
		width: 50%;
	}

	/****
	 * Older users keep the 50% width to avoid breaking
	 * designs, but newer users using the contact
	 * form block get 100% width.
	 */
	.wp-block-jetpack-contact-form input[type='text'],
	.wp-block-jetpack-contact-form input[type='email'],
	.wp-block-jetpack-contact-form input[type='tel'],
	.wp-block-jetpack-contact-form input[type='url'] {
		width: 100%;
	}
}

/** For the "Empty Spam" button on /wp-admin/edit.php?post_status=spam&post_type=feedback **/
.jetpack-empty-spam-container {
	display: inline-block;
}
.jetpack-empty-spam {
	display: inline-block;
}
.jetpack-empty-spam-spinner {
	display: inline-block;
	margin-top: 7px;
}
