/*
 * Forms as under Avada: field look from Avada (fusion_options), Contact Form 7
 * and Ultimate Member rules from Avada-Child-Theme/style.css. The !important
 * rules override Ultimate Member's own stylesheet, as in the child theme.
 */

/* ---------- Contact Form 7 ---------- */

.wpcf7-form p {
	margin: 0 0 20px;
}

.wpcf7-form :is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="hidden"], [type="file"]), select, textarea) {
	box-sizing: border-box;
	width: 100%;
	height: 29px;
	padding: 4px 8px;
	border: 1px solid #d2d2d2;
	border-radius: 0;
	background: #fff;
	color: #000;
	font-family: inherit;
	font-size: 16px;
}

.wpcf7-form textarea.wpcf7-form-control {
	height: 150px;
}

.wpcf7-form .wpcf7-submit {
	padding: 13px 29px;
	border: 0;
	border-radius: 2px;
	background: linear-gradient(to top, #179160, #0b915b);
	color: #fff;
	font-family: var(--wp--preset--font-family--pt-sans);
	font-size: 14px;
	line-height: 17px;
	text-transform: uppercase;
	cursor: pointer;
}

.wpcf7-form .wpcf7-submit:hover,
.wpcf7-form .wpcf7-submit:focus {
	background: #07b26d;
}

/* No margin around checkbox and radio items. */
.wpcf7-form .wpcf7-list-item {
	margin: 0;
}

.wpcf7-form .radio-block {
	margin-bottom: 20px;
}

.wpcf7-form .radio-block.bold {
	font-weight: 700;
}

.wpcf7-form .radio-block.bold input[type="radio"] {
	margin-bottom: 4px;
}

/* Membership fee on "Mitglied werden" (set by fvei-core). */
.wpcf7-form #amount {
	width: 100px;
}

/* ---------- Ultimate Member ---------- */

.um .um-members-list .um-member-card-container,
.um .um-members-list .um-member-card-container .um-member-name {
	margin: 0 !important;
}

/* Link colors */
.um a.um-link,
.um .um-tip:hover,
.um .um-field-radio.active:not(.um-field-radio-state-disabled) i,
.um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i,
.um .um-member-name a:hover,
.um .um-member-more a:hover,
.um .um-member-less a:hover,
.um .um-members-pagi a:hover,
.um .um-cover-add:hover,
.um .um-profile-subnav a.active,
.um .um-item-meta a,
.um-account-name a:hover,
.um-account-nav a.current,
.um-account-side li a.current span.um-account-icon,
.um-account-side li a.current:hover span.um-account-icon,
.um-dropdown li a:hover,
i.um-active-color,
span.um-active-color {
	color: #0b915b !important;
}

.um a.um-link:hover,
.um a.um-link-hvr:hover {
	color: #0b915b !important;
	text-decoration: underline !important;
}

/* Button colors */
.um .um-field-group-head,
.picker__box,
.picker__nav--prev:hover,
.picker__nav--next:hover,
.um .um-members-pagi span.current,
.um .um-members-pagi span.current:hover,
.um .um-profile-nav-item.active a,
.um .um-profile-nav-item.active a:hover,
.upload,
.um-modal-header,
.um-modal-btn,
.um-modal-btn.disabled,
.um-modal-btn.disabled:hover,
div.uimob800 .um-account-side li a.current,
div.uimob800 .um-account-side li a.current:hover,
.um .um-button,
.um a.um-button,
.um a.um-button.um-disabled:hover,
.um a.um-button.um-disabled:focus,
.um a.um-button.um-disabled:active,
.um input[type=submit].um-button,
.um input[type=submit].um-button:focus,
.um input[type=submit]:disabled:hover,
.um a.um-request-button,
.um .um-field-group-head:hover,
.picker__footer,
.picker__header,
.picker__day--infocus:hover,
.picker__day--outfocus:hover,
.picker__day--highlighted:hover,
.picker--focused .picker__day--highlighted,
.picker__list-item:hover,
.picker__list-item--highlighted:hover,
.picker--focused .picker__list-item--highlighted,
.picker__list-item--selected,
.picker__list-item--selected:hover,
.picker--focused .picker__list-item--selected,
.um .um-button:hover,
.um a.um-button:hover,
.um input[type=submit].um-button:hover,
.um a.um-request-button:hover {
	background: #0b915b !important;
}

/* Button alt colors */
.um .um-button.um-alt,
.um input[type=submit].um-button.um-alt {
	background: #eeeeee !important;
}

.um .um-button.um-alt:hover,
.um input[type=submit].um-button.um-alt:hover {
	background: #e5e5e5 !important;
}

/* Button shadow */
.um .um-button {
	box-shadow: 0 4px 6px rgb(50 50 93 / 11%), 0 1px 3px rgb(0 0 0 / 8%) !important;
}

/* Misc */
.um {
	color: #444 !important;
}

.um-postmessage {
	margin-top: 70px;
	padding: 14px;
	background-color: #f6f6f6;
}
