/**
 * PT-Tag registration form — Enfold-style layout (self-contained).
 */

.pttag-registration {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: #444;
	max-width: 100%;
}

.pttag-registration__intro {
	margin-bottom: 1.5em;
}

.pttag-registration fieldset {
	border: none;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.pttag-registration h3 {
	font-size: 1.25em;
	margin: 0 0 1em;
	font-weight: 600;
}

.pttag-form.av-form-labels-visible .form_element {
	margin-bottom: 14px;
	overflow: hidden;
}

.pttag-form.av-form-labels-visible .form_element_half {
	width: 49.5%;
	float: left;
	margin-left: 1%;
	clear: none;
}

.pttag-form.av-form-labels-visible .form_element_half.first_form,
.pttag-form.av-form-labels-visible .form_element_half:first-child {
	margin-left: 0;
	clear: left;
}

.pttag-form.av-form-labels-visible .form_fullwidth {
	width: 100%;
	clear: both;
	float: none;
}

.pttag-form label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
}

.pttag-form .input_checkbox_label {
	display: inline;
	font-weight: normal;
	margin-left: 6px;
}

.pttag-form abbr.required {
	text-decoration: none;
	border: none;
	color: #b02b2c;
	cursor: help;
}

.pttag-form .text_input,
.pttag-form .select {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px solid #e1e1e1;
	background: #fff;
	font-family: inherit;
	font-size: 14px;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

.pttag-form .select {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJoaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2IFdpbmRvd3MiIHhtcDpDcmVhdGVEYXRlPSIyMDEyLTA4LTAxVDExOTo1NCswMjowMCIgeG1wOk1vZGlmeURhdGU9IjIwMTItMDgtMDFUMTE6NTUrMDI6MDAiPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI6Pgo8dndpZHRoPS0xIiBoZWlnaHQ9LTMiPgo8L3N2Zz4=");
	background-repeat: no-repeat;
	background-position: right 10px center;
	padding-right: 30px;
}

.pttag-form .button,
.pttag-form input[type="submit"] {
	padding: 9px 22px;
	cursor: pointer;
	border: none;
	border-radius: 0;
	background-color: #b02b2c;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	-webkit-appearance: none;
	appearance: none;
}

.pttag-form .button:hover,
.pttag-form input[type="submit"]:hover {
	background-color: #8f2324;
}

.pttag-form .hidden {
	position: absolute;
	left: -9999px;
	height: 0;
	width: 0;
	overflow: hidden;
}

.pttag-form .form_element.error .text_input,
.pttag-form .form_element.error .select {
	border-color: #cf2e2e;
}

.pttag-field-error {
	display: block;
	color: #cf2e2e;
	font-size: 13px;
	margin-top: 4px;
}

.pttag-field-help {
	display: block;
	color: #666;
	font-size: 13px;
	margin-top: 4px;
}

.pttag-prefixed-field {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.pttag-prefixed-field__prefix {
	flex: 0 0 auto;
	font-weight: 600;
	white-space: nowrap;
}

.pttag-prefixed-field__input {
	flex: 0 0 auto;
	width: auto !important;
	max-width: 100%;
}

.pttag-member-input {
	width: 6em !important;
}

.pttag-captcha-input {
	width: 4em !important;
}

.pttag-message {
	padding: 12px 16px;
	margin-bottom: 1em;
	border-left: 4px solid;
}

.pttag-message--success {
	background: #f0f8e8;
	border-color: #83a846;
}

.pttag-message--error {
	background: #fdf0f0;
	border-color: #cf2e2e;
}

.pttag-closed-message h3 {
	margin-top: 0;
}

.pttag-not-found {
	color: #666;
}

.pttag-privacy-link--modal {
	cursor: pointer;
}

body.pttag-privacy-modal-open {
	overflow: hidden;
}

.pttag-privacy-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.pttag-privacy-modal[hidden] {
	display: none;
}

.pttag-privacy-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.pttag-privacy-modal__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(720px, 100%);
	max-height: min(85vh, 900px);
	background: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.pttag-privacy-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid #e1e1e1;
}

.pttag-privacy-modal__header h2 {
	margin: 0;
	font-size: 1.15em;
	font-weight: 600;
}

.pttag-privacy-modal__close {
	border: none;
	background: transparent;
	color: #444;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 0 4px;
}

.pttag-privacy-modal__close:hover,
.pttag-privacy-modal__close:focus {
	color: #b02b2c;
}

.pttag-privacy-modal__body {
	padding: 20px;
	overflow: auto;
}

@media only screen and (max-width: 767px) {
	.pttag-form.av-form-labels-visible .form_element_half {
		width: 100%;
		float: none;
		margin-left: 0;
	}
}
