
/* 
 Theme Name:     ACT Studios
 Author:         ACT Studios
 Author URI:     http://www.act-studios.com
 Template:       Divi
 Version:        1.0 
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 



/* ---------- SuperControl enquiry form (Contact us page) ----------
   The widget injects its own CSS that caps each field at 400px and
   splits it into a 20% label / 80% input, which squashes everything.
   Two IDs here so these rules beat the widget's injected styles. */

#page-container #sc_enq_container {
	max-width: 860px;
	margin: 10px 0 0;
	padding: 0;
	background: transparent;
	font-family: 'Open Sans', Arial, sans-serif;
	color: #4a4a4a;
}

/* Section boxes */
#page-container #sc_enq_container .sc-form-category-container {
	margin: 0 0 24px;
	padding: 24px 28px 8px;
	border: 1px solid #e4e7ea;
	border-top: 3px solid #B2BF26;
	border-radius: 4px;
	background: #fafbfb;
}

#page-container #sc_enq_container .sc-form-category-container .sc-form-category-header {
	position: static;
	display: block;
	margin: 0 0 18px !important;
	padding: 0 0 10px;
	border: none;
	border-bottom: 1px solid #e4e7ea;
	background: transparent;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.2;
	color: #506C7A;
}

/* Fields: full width, label stacked above input */
#page-container #sc_enq_container .sc-form-item-container {
	max-width: none;
	margin: 0 0 16px !important;
}

#page-container #sc_enq_container .sc-form-item-container > label,
#page-container #sc_enq_container .sc_form_group > label {
	display: block;
	float: none;
	width: 100%;
	padding: 0;
	margin: 0 0 6px;
	line-height: 1.4;
	text-align: left;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: #506C7A;
}

#page-container #sc_enq_container input,
#page-container #sc_enq_container select,
#page-container #sc_enq_container textarea,
#page-container #sc_enq_container .sc_form_group > label + input,
#page-container #sc_enq_container .sc_form_group > label + select,
#page-container #sc_enq_container .sc_form_group > label + textarea,
#page-container #sc_enq_container .sc-form-category-container input,
#page-container #sc_enq_container .sc-form-category-container select {
	float: none;
	width: 100%;
	min-width: 0;
	max-width: none;
	height: 46px;
	padding: 10px 14px;
	border: 1px solid #cfd5da;
	border-radius: 4px;
	background-color: #fff;
	font-family: inherit;
	font-size: 16px;
	color: #333;
	box-shadow: none;
}

#page-container #sc_enq_container textarea {
	height: auto;
	min-height: 150px;
	resize: vertical;
}

#page-container #sc_enq_container select[multiple] {
	height: auto;
	padding: 6px;
}

#page-container #sc_enq_container select[multiple] option {
	padding: 6px 8px;
	border-radius: 3px;
}

#page-container #sc_enq_container input:focus,
#page-container #sc_enq_container select:focus,
#page-container #sc_enq_container textarea:focus {
	outline: none;
	border-color: #B2BF26;
	box-shadow: 0 0 0 3px rgba(178, 191, 38, .25);
}

/* Checkboxes shouldn't stretch to 100% wide */
#page-container #sc_enq_container input[type="checkbox"] {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin: 0 8px 0 0;
	padding: 0;
	vertical-align: middle;
	accent-color: #506C7A;
}

#page-container #sc_enq_container .sc_form_group > label + .sc_form_note,
#page-container #sc_enq_container .sc-from-small {
	float: none;
	width: 100%;
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: #777;
}

#page-container #sc_enq_container .sc-required-field {
	color: #b81111;
	margin-left: 2px;
}

/* Two columns on wider screens; long fields span both */
@media (min-width: 768px) {
	#page-container #sc_enq_container .sc-form-category-container {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 20px;
	}
	#page-container #sc_enq_container .sc-form-category-header,
	#page-container #sc_enq_container .sc-form-item-container:has(textarea),
	#page-container #sc_enq_container .sc-form-item-container:has(select[multiple]),
	#page-container #sc_enq_container .sc-form-item-container:has(input[type="checkbox"]),
	#page-container #sc_enq_container .sc-form-item-container:has(button),
	#page-container #sc_enq_container .sc-form-category-container > :not(.sc-form-item-container) {
		grid-column: 1 / -1;
	}
}

/* Submit button */
#page-container #sc_enq_container button.sc_button_default_class {
	display: inline-block;
	width: auto;
	min-width: 220px;
	margin: 8px 0 0;
	padding: 14px 32px;
	border: none;
	border-radius: 4px;
	background-color: #506C7A;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .2s ease;
}

#page-container #sc_enq_container button.sc_button_default_class:hover,
#page-container #sc_enq_container button.sc_button_default_class:focus {
	background-color: #B2BF26;
	color: #fff;
}

@media (max-width: 767px) {
	#page-container #sc_enq_container .sc-form-category-container {
		padding: 20px 16px 4px;
	}
	#page-container #sc_enq_container button.sc_button_default_class {
		width: 100%;
	}
}

/* Inline max-width set by the widget on some field wrappers */
#page-container #sc_enq_container .sc-form-item-container[style] {
	max-width: none !important;
}

/* Phone field: leave room for the country flag picker */
#page-container #sc_enq_container .intl-tel-input {
	display: block;
	width: 100%;
}
#page-container #sc_enq_container .intl-tel-input input[type="tel"] {
	padding-left: 52px;
}
#page-container #sc_enq_container .intl-tel-input .selected-flag {
	height: 100%;
}

/* Checkbox + its label sit on one line */
#page-container #sc_enq_container .sc-form-item-container:has(> input[type="checkbox"]) {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
#page-container #sc_enq_container .sc-form-item-container > input[type="checkbox"] {
	flex: 0 0 auto;
	margin: 2px 0 0 !important;
}
#page-container #sc_enq_container .sc-form-item-container > input[type="checkbox"] + label {
	display: inline;
	width: auto;
	margin: 0;
	font-weight: 400;
	color: #4a4a4a;
}

/* Small "x" clear button on the "Other" title/source fields */
#page-container #sc_enq_container .sc-form-item-container > button:not(.sc_button_default_class) {
	top: auto !important;
	bottom: 0;
	height: 46px;
	padding: 0 14px;
	font-size: 20px;
	line-height: 1;
}
