:root {
	--mdb-profile-blue: #194a6a;
	--mdb-profile-blue-dark: #123d59;
	--mdb-profile-red: #bd1e2d;
	--mdb-profile-border: #cddae3;
	--mdb-profile-soft: #f4f7f9;
}

.pmagic .pg-group-reg-form,
.pmagic .pmagic-form,
.pmagic .pm-profile-tab-content,
.pmagic .pm-group-view {
	color: #172b3a;
	font-family: inherit;
}

.pmagic .pg-group-reg-form {
	padding: clamp(18px, 3vw, 34px) !important;
	border: 1px solid var(--mdb-profile-border) !important;
	border-radius: 7px !important;
	background: #fff !important;
	box-shadow: 0 8px 24px rgba(25, 74, 106, .08);
}

.pmagic fieldset,
.pmagic .pmrow,
.pmagic .pm-field-lable,
.pmagic .pm-field-input {
	font-family: inherit !important;
}

.pmagic fieldset {
	border-color: var(--mdb-profile-border) !important;
	border-radius: 6px;
}

.pmagic legend,
.pmagic h1,
.pmagic h2,
.pmagic h3,
.pmagic .pm-section-heading {
	color: var(--mdb-profile-blue-dark) !important;
}

.pmagic input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
.pmagic select,
.pmagic textarea {
	border: 1px solid var(--mdb-profile-border) !important;
	border-radius: 4px !important;
	background: #fff !important;
	color: #172b3a !important;
	box-shadow: none !important;
}

.pmagic input:focus,
.pmagic select:focus,
.pmagic textarea:focus {
	border-color: var(--mdb-profile-blue) !important;
	box-shadow: 0 0 0 3px rgba(25, 74, 106, .16) !important;
	outline: 0 !important;
}

.pmagic input[type="submit"],
.pmagic input[type="button"],
.pmagic input[type="reset"],
.pmagic button,
.pmagic .pm_button,
.pmagic a.pm_button,
.pmagic .pg-button,
.pmagic a.pg-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 18px !important;
	border: 1px solid var(--mdb-profile-blue) !important;
	border-radius: 5px !important;
	background: var(--mdb-profile-blue) !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: .96rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	box-shadow: 0 3px 8px rgba(25, 74, 106, .18) !important;
	cursor: pointer;
	transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.pmagic input[type="submit"]:hover,
.pmagic input[type="submit"]:focus,
.pmagic input[type="button"]:hover,
.pmagic input[type="button"]:focus,
.pmagic input[type="reset"]:hover,
.pmagic input[type="reset"]:focus,
.pmagic button:hover,
.pmagic button:focus,
.pmagic .pm_button:hover,
.pmagic .pm_button:focus,
.pmagic a.pm_button:hover,
.pmagic a.pm_button:focus,
.pmagic .pg-button:hover,
.pmagic .pg-button:focus,
.pmagic a.pg-button:hover,
.pmagic a.pg-button:focus {
	border-color: var(--mdb-profile-red) !important;
	background: var(--mdb-profile-red) !important;
	color: #fff !important;
	box-shadow: 0 4px 11px rgba(189, 30, 45, .22) !important;
	transform: translateY(-1px);
}

.pmagic a {
	color: var(--mdb-profile-blue);
}

.pmagic a:hover,
.pmagic a:focus {
	color: var(--mdb-profile-red);
}

.pmagic .pm-error,
.pmagic .pm_error,
.pmagic .pg-alert-error {
	color: #8f1722 !important;
}

.pmagic .mdb-password-field {
	position: relative !important;
}

.pmagic .mdb-password-field > input[type="password"],
.pmagic .mdb-password-field > input[name="user_pass"] {
	box-sizing: border-box !important;
	width: 100% !important;
	padding-right: 48px !important;
}

.pmagic .mdb-password-field .fa-eye,
.pmagic .mdb-password-field .fa-eye-slash,
.pmagic .mdb-password-field .dashicons-visibility,
.pmagic .mdb-password-field .dashicons-hidden,
.pmagic .mdb-password-field [class*="show-password"],
.pmagic .mdb-password-field [class*="show_password"],
.pmagic .mdb-password-field [class*="toggle-password"],
.pmagic .mdb-password-field [class*="toggle_password"] {
	position: absolute !important;
	top: var(--mdb-password-toggle-top, 50%) !important;
	right: 13px !important;
	z-index: 3 !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--mdb-profile-blue) !important;
	font-size: 17px !important;
	line-height: 1 !important;
	transform: translateY(-50%) !important;
	cursor: pointer;
}

.pmagic .mdb-password-field .fa-eye:hover,
.pmagic .mdb-password-field .fa-eye-slash:hover,
.pmagic .mdb-password-field .fa-eye:focus,
.pmagic .mdb-password-field .fa-eye-slash:focus {
	color: var(--mdb-profile-red) !important;
}

.pmagic .mdb-password-hint {
	display: block;
	clear: both;
	width: 100%;
	box-sizing: border-box;
	margin: 9px 0 4px !important;
	padding: 0 2px !important;
	color: #4e6270;
	font-size: .88rem;
	line-height: 1.45;
	text-align: left;
	overflow-wrap: anywhere;
}

.pmagic button[onclick*="remove_group"],
.pmagic a[onclick*="remove_group"],
.pmagic .pm-remove[onclick*="remove_group"] {
	display: none !important;
}

/* Group membership remains active for permissions but is not a profile item. */
.pmagic a.mdb-hidden-profile-group-reference {
	display: none !important;
}

/* The site does not sell group subscriptions: hide ProfileGrid's payment tab. */
.pmagic #pg-group-membership-tab,
.pmagic a[href="#pg-group-membership-tab"] {
	display: none !important;
}

.pmagic li:has(> a[href="#pg-group-membership-tab"]) {
	display: none !important;
}

.pmagic .pg-new-blog-button {
	border: 0 !important;
	background: transparent !important;
}

.pmagic .pg-new-blog-button a.mdb-profile-article-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 18px !important;
	border: 1px solid var(--mdb-profile-blue) !important;
	border-radius: 5px !important;
	background: var(--mdb-profile-blue) !important;
	color: #fff !important;
	font-weight: 700 !important;
	line-height: 1.25;
	text-align: center;
	text-decoration: none !important;
	box-shadow: 0 3px 8px rgba(25, 74, 106, .18) !important;
}

.pmagic .pg-new-blog-button a.mdb-profile-article-button:hover,
.pmagic .pg-new-blog-button a.mdb-profile-article-button:focus {
	border-color: var(--mdb-profile-red) !important;
	background: var(--mdb-profile-red) !important;
	color: #fff !important;
}

@media (max-width: 640px) {
	.pmagic .pg-group-reg-form {
		padding: 16px !important;
	}

	.pmagic input[type="submit"],
	.pmagic .pm_button,
	.pmagic a.pm_button {
		width: 100%;
	}

	.pmagic .mdb-password-hint {
		margin-top: 8px !important;
		font-size: .84rem;
	}
}
