/**
 * Custom Field By Ashik – frontend styles
 */

.cfba-custom-message-wrap {
	margin: 1.25em 0 1.5em;
	padding: 1em 1.15em;
	border: 1px solid #ddd;
	background: #fafafa;
	clear: both;
}

.cfba-custom-message-wrap .cfba-field {
	margin: 0 0 1em;
}

.cfba-custom-message-wrap .cfba-field:last-child {
	margin-bottom: 0;
}

.cfba-custom-message-wrap label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.4em;
}

.cfba-custom-message-wrap .required {
	color: #b32d2e;
}

.cfba-custom-message-wrap select,
.cfba-custom-message-wrap textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.cfba-custom-message-wrap textarea {
	min-height: 100px;
	resize: vertical;
}

.cfba-custom-message-wrap .cfba-hint {
	display: block;
	margin-top: 0.35em;
	opacity: 0.75;
	font-size: 0.9em;
}

.cfba-message-details[hidden] {
	display: none !important;
}

.cfba-message-details {
	margin-top: 0.75em;
	padding-top: 0.75em;
	border-top: 1px dashed #ccc;
}

.cfba-field-error {
	border-color: #b32d2e !important;
	outline-color: #b32d2e;
}
