/*= General Styles
-------------------------------------------------------------- */
table tr td {
	vertical-align: top;
}

/* NOTE: File Paths: url( ../../../images/filename.jpg ); */

.has-background {
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
}

/* When there is a background-color, allow text color to be overridden */
:root {
	--theme-text-color: inherit;
}

.has-text-color h2,
.has-text-color h3,
.has-text-color h4,
.has-text-color ul,
.has-text-color ol
.has-text-color p,
.has-text-color a,
.has-text-color strong {
	color: var(--theme-text-color);
}

.advanced-editor p:only-child,
.advanced-editor .cell p:last-child {
	margin-bottom: 0;
}

/*= Gravity Form Overrides
-------------------------------------------------------------- */
/* .cell.contact-form */
.contact-form,
.contact-form h3,
.contact-form label {
	color: #FFFFFF;
}

.contact-form,
.contact-form .gform_wrapper.gravity-theme .gfield_label {
	font-size: clamp(14px, calc(100vw * (20/1440)), 20px);
}

.contact-form {
	padding: clamp(10px, calc(100vw * (20/1440)), 20px) clamp(15px, calc(100vw * (30/1440)), 30px);
	background-color: var(--theme-color-primary);
}

.contact-form h3 {
	/*font-family: 'Lora', 'Times New Roman', serif;*/
	font-weight: 700;
	text-transform: uppercase;
	padding-top: 10px;
}

.contact-form .gform_wrapper textarea.medium {
	height: 100px;
}

.contact-form .gform_wrapper .top_label input.medium {
	padding: 3px 6px !important;
	border: 2px solid transparent;
}

.contact-form .gform_wrapper .top_label input.medium:focus,
.contact-form .gform_wrapper .top_label textarea.medium:focus {
	border: 2px solid #EEEEEE;
}

.contact-form .gform_wrapper .gform_footer {
	padding-bottom: 0px;
}

.contact-form .gform_wrapper .gform_footer input[type="submit"] {
	/*font-family: 'Lora', 'Times New Roman', serif;*/
	font-weight: 700;
	color: #FFFFFF;
	background-color: var(--theme-color-secondary);
	font-size: clamp(18px, calc(100vw * (25/1440)), 25px);
	display: inline-block;
	padding: 15px;
	border: 1px solid transparent;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.3s ease-out;
}

.contact-form .gform_wrapper .gform_footer input[type="submit"]:hover,
.contact-form .gform_wrapper .gform_footer input[type="submit"]:focus-within {
	background-color: var(--theme-color-secondary);
	border: 1px solid var(--theme-color-secondary);
	cursor: pointer;
}

.wp-core-ui .contact-form .button { /* Override WP Button Style */
	height: auto;
}

.contact-form .gform_wrapper .gfield_required,
.contact-form .gform_wrapper div.validation_error,
.contact-form .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description,
.contact-form .gform_wrapper .gfield_error .gfield_label,
.contact-form .gform_wrapper .gfield_error label {
	color: var(--theme-color-secondary);
}

.contact-form .gform_wrapper div.validation_error {
	border-top: 2px solid var(--theme-color-secondary);
	border-bottom: 2px solid var(--theme-color-secondary);
}

.contact-form .gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error {
	padding-left: 5px;
	padding-right: 5px;
}

.contact-form input[type="email"], 
.contact-form input[type="tel"], 
.contact-form input[type="text"], 
.contact-form input[type="url"],
.contact-form textarea { /* Override Jetpack Styling */
	margin-bottom: 0px;
}

/*= Specific Block ID Styling
-------------------------------------------------------------- */
#columns-block_5cc89dddbe95a ul {
	line-height: 1.45;
}

/*= Admin Only Styles
-------------------------------------------------------------- */
body.wp-admin .overflow_right_80 p {
	margin-right: 0px;
}

/* Column # Tooltips */
body.wp-admin .advanced-editor .cell {
	position: relative;
}

body.wp-admin .advanced-editor .cell .tooltip {
	display: none;
	top: -30px;
	left: 50%;
	transform: translateX(-50%);
	transition: all 0.3s ease-out;
	color: #FFFFFF;
	padding: 10px 20px;
}

body.wp-admin .advanced-editor .cell:nth-child(even) .tooltip {
	background-color: var(--theme-color-secondary);
}

body.wp-admin .advanced-editor .cell:nth-child(even) .tooltip.top:before {
	border-color: var(--theme-color-secondary) transparent transparent;
}

body.wp-admin .advanced-editor .cell:hover .tooltip {
	display: block;
}

body.wp-admin .advanced-editor .cell:hover:after {
	content: '';
	width: 100%;
	height: 1px;
	position: absolute;
	left: 0px;
	bottom: 0px;
	background-color: #000000;
}

/* Style ACF left handle to have "Column" vertically */
body.wp-admin [data-type="acf/advanced-editor"] .acf-row .acf-row-handle span {
	writing-mode: vertical-rl;
	text-orientation: upright;
	font-weight: bold;
}

body.wp-admin [data-type="acf/advanced-editor"] .acf-row .acf-row-handle span:before {
	content: 'Column ';
	text-transform: uppercase;
	font-weight: normal;
}

/*= Responsive Styles
-------------------------------------------------------------- */
@media only screen and (max-width: 1440px) { /* Template Width */
	/* Contact Page Styling */
	.contact-form {
		padding: 1.3888vw 2.0833vw;
	}

	.contact-form .gform_wrapper label.gfield_label, 
	.contact-form .gform_wrapper legend.gfield_label {
		font-size: 1.3888vw;
	}

	body .contact-form .gform_wrapper ul li.gfield {
		margin-top: 1.1111vw;
		line-height: 1;
	}

	body .contact-form .gform_wrapper .top_label div.ginput_container {
		margin-top: 0.5555vw;
	}

	.gform_wrapper textarea {
		padding: 0.4166vw 0.5555vw;
	}
}
@media only screen and (max-width: 1200px) {
	.contact-form .gform_wrapper label.gfield_label, 
	.contact-form .gform_wrapper legend.gfield_label {
		font-size: 16.5px;
	}
}
@media only screen and (max-width: 1048px) {
	.contact-form .gform_wrapper label.gfield_label, 
	.contact-form .gform_wrapper legend.gfield_label { /* Min Size */
		font-size: 15px;
	}

	.contact-form h3 { /* Min Size */
		font-size: 17px;
	}
}
@media only screen and (max-width: 1023px) { /* Medium Breakpoint */

}
@media only screen and (max-width: 850px) {
	.contact-form .gform_wrapper {
		margin-bottom: 7px;
	}

	.contact-form .gform_wrapper .gform_footer {
		margin-top: 0px;
	}

	.contact-form .gform_wrapper ul.gform_fields li.gfield {
		padding-right: 0px;
	}

	.contact-form input[type="submit"] {
		width: 100% !important;
		padding: 1.7647vw 5.2941vw;
		text-align: center;
	}
}
@media only screen and (max-width: 639px) { /* Small Breakpoint */
	.contact-form {
		padding: 8px 12px;
	}

	.contact-form .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
	.contact-form .gform_wrapper .top_label input.medium,
	.contact-form .gform_wrapper textarea {
		font-size: 13px;
		line-height: 1.3;
		padding: 2px 4px !important;
	}

	.contact-form .gform_wrapper .gform_footer input.button, 
	.contact-form .gform_wrapper .gform_footer input[type="submit"] {
		font-size: 16.5px;
		margin-bottom: 0px;
	}
}