/**
 * 360 Broadway - Nova Child: Form Grid and Shortcodes layouts, and pages with a Contact Form 7 form.
 * Loaded only on pages that use it (see bw_css_components() in inc/enqueue.php).
 * Loads after style.css; rules keep their original order.
 */

textarea {
  overflow: auto;
  resize: vertical;
}
.modal_form .wpcf7-response-output {
    display: none !important;
}
.modal_form .contact-field span.wpcf7-form-control-wrap {
    position: relative;
    display: block;
}
.modal_form textarea {
    height: 150px;
}
.contact_section {
    padding: 100px 0;
}
.contact_field {
    margin-bottom: 20px;
}
.contact_field label {
  display: block;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.contact_field br {
    display: none;
}
.contact_field input,
.contact_field select,
.contact_field textarea {
    background: var(--bw-field-bg);
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 8px 10px;
	font-size: 16px;
}
.contact_field textarea {height: 125px;resize: none;
}
.contact_field_submit {
    text-align: right;
}
.contact_field_submit span.wpcf7-spinner {
    position: static;
    display: inline-block;
    margin: 0 0 0 10px;
    vertical-align: middle;
}
/* CF7 keeps the idle spinner at visibility:hidden; collapse it so it reserves no space. */
form:not(.submitting) .contact_field_submit span.wpcf7-spinner {
    display: none;
}
/* CF7 keeps the idle spinner at visibility:hidden; collapse it so it reserves no space. */
form:not(.submitting) .contact_field_submit span.wpcf7-spinner {
    display: none;
}
.contact_field_submit input {
    border: 1px solid var(--bw-text);
    background: transparent;
    text-transform: uppercase;
    padding: 10px 40px;
    transition: all 0.3s;
}
.contact_field_submit input:hover {background: var(--bw-teal);border-color: var(--bw-teal);color: var(--bw-white);
}
.contact_field_select {
    position: relative;
}
.contact_field_select span.wpcf7-form-control-wrap::before {
    content: "";
    width: 12px;
    height: 20px;
    background: url("../images/arrow-right.png");
    position: absolute;
    top: 10px;
    right: 10px;
    background-size: contain !important;
    background-position: top right !important;
    background-repeat: no-repeat !important;
    z-index: 100;
}
.contact_field_select .wpcf7-form-control-wrap {display: block;background: var(--bw-white);
}
.modal_form_form .contact_field input,
.modal_form_form .contact_field select,
.modal_form_form .contact_field textarea {
    background: var(--bw-field-bg);
}
.modal_form_form .contact_field {
    margin-bottom: 10px;
}
.modal_form_form .contact_field_submit input {
    display: inline-block;
    width: auto;
}
.modal_form_form .contact_field_submit {
    text-align: center;
    padding-top: 30px;
}
.contact_field.contact_field_date input {
    display: none;
}
.contact_field.contact_field_date {
    border: 1px solid var(--bw-text);
    padding: 10px;
}
.contact_field.contact_field_date p {
    display: none;
}
.modal_form_form .contact_field {
    margin-bottom: 36px;
}
.modal_form_form .contact_field.contact_field_date {
    margin-top: 25px !important;
}
.modal_form_form .contact_field {
    margin-bottom: 27px !important;
}
span.contact_field_submit_el {display: inline-block;position: relative;
}
span.contact_field_submit_el input {position: relative;z-index: 50;
}
span.contact_field_submit_el::before {content: "";width: 0;height: 100%;position: absolute;top: 0;left: 0;background: var(--bw-teal);transition: all 0.3s;
}
.contact_field_submit input:hover {background: transparent;
}
span.contact_field_submit_el:hover::before {width: 100%;
}
.join_mailing_list .contact_field_submit {
    text-align: center;
}

@media all and (max-width:  767px) {
	.contact_field_submit {
		    text-align: center;
		}
	.contact_section_form {
		    margin-bottom: 60px;
		}
	.contact_section {padding: 100px 20px;
		}
}

span.contact_field_submit_el::before {
	background: var(--bw-primary);
}
.contact_section {
	padding-bottom: 20px;
}

/* Any Contact Form 7 form (incl. the plugin's default one): fields never wider than their column. */
.wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7-form textarea,
.wpcf7-form select,
.wpcf7-form label {
	max-width: 100%;
}

/* ── Bellaview: gold hover on form buttons ── */
.contact_field_submit input:hover,
.contact_field_submit_el:hover::before {
	background: #CB9608 !important;
	border-color: #CB9608 !important;
	color: #111111 !important;
}
