/*
 * Numbora - International Phone Field for Contact Form 7: front end.
 * Scoped to the plugin's classes. Customize with the --iti-* variables of intl-tel-input,
 * for example: .ipfcf7-iti { --iti-hover-color: #f2f2f2; }
 */

.wpcf7-form-control-wrap.ipfcf7-wrap {
	display: block;
}

.ipfcf7-wrap .iti {
	display: block;
	width: 100%;
}

.ipfcf7-wrap .iti input.ipfcf7-input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Keep the flag button clickable and readable inside themes that style every button. */
.ipfcf7-wrap .iti__selected-country {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: inherit;
	font: inherit;
	margin: 0;
	min-height: 0;
	text-transform: none;
	letter-spacing: normal;
}

.ipfcf7-wrap .iti__selected-country:hover,
.ipfcf7-wrap .iti__selected-country:focus {
	background: rgba(0, 0, 0, 0.05);
	color: inherit;
}

.ipfcf7-wrap .iti__selected-dial-code {
	color: inherit;
}

/* The country list must sit above popups (Elementor, Divi, Popup Maker...). */
.iti--container,
.ipfcf7-iti .iti__dropdown-content {
	z-index: 1000000;
}

.iti--container .iti__search-input,
.ipfcf7-iti .iti__search-input {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
}

.ipfcf7-iti .iti__country-list,
.iti--container .iti__country-list {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: start;
}

.ipfcf7-iti .iti__country,
.iti--container .iti__country {
	margin: 0;
	line-height: 1.4;
}
