/*----------------------------------------------------------
/	All Forms
/----------------------------------------------------------*/

/*  Labels */

legend.gfield_label {
	border: 0;
}

.gform_wrapper.gravity-theme .gfield_label {
	margin-bottom: 0;
}

fieldset.gfield label {
	font-weight: normal;
}

/*	Addresses */

.gform_wrapper.gravity-theme .ginput_container_address .gform-field-label--type-sub {
	padding-top: 0;
	padding-bottom: 5px;
}

/*  Inline Descriptions */

.desc-inline .ginput_container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.desc-inline .ginput_container .large {
	flex: 1 1;
}

.desc-inline .ginput_container .gfield_description {
	font-size: 1em;
	flex: 0 1;
	align-self: center;
}

.desc-inline .ginput_container .gfield_description.instruction {
	flex: 2 0 100%;
	font-size: 0.85em;
}

.field_description_above.desc-inline .ginput_container .gfield_description,
.gform_wrapper.gravity-theme .field_description_above.desc-inline .gfield_description {
	padding-bottom: 0;
}

.gform_wrapper.gravity-theme .desc-inline .gfield_description {
	padding-top: 0;
	padding-bottom: 0;
}

.field_description_above.desc-inline .ginput_container .gfield_description {
	padding-right: 6px;
}

.field_description_below.desc-inline .ginput_container .gfield_description {
	padding-left: 6px;
}

/* Readonly Inputs */

.gform_wrapper .gfield input[readonly],
.fl-module .gform_wrapper .gfield input[readonly]:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) {
	border-color: transparent;
	background-color: transparent;
}

.gform_wrapper .gfield.readonly input[type=number] {
	-moz-appearance: textfield;
}

/* ========== FORM COLUMNS ========== */

.form-columns {
	grid-column: 1/-1;
	max-width: 100%;
}

.form-columns .gfield {
	margin-bottom: 20px;
}

.form-columns .gsection_title {
	padding-bottom: 8px;
	margin-bottom: 16px;
	border-bottom: 1px solid #CCCCCC;
}

@media ( max-width: 640px ) {

	.gform_footer button,
	.gform_footer input[type="reset"] {
		width: calc( 50% - 5px );
	}

	.gform_page_footer .button,
	.gform_page_footer .form-reset,
	.gform_wrapper .gform_page_footer .button.gform_previous_button {
		width: calc( 50% - 4px );
		white-space: nowrap;
	}
}

@media ( min-width: 768px ) {

	.gform_footer button,
	.gform_footer .button,
	.gform_page_footer .button,
	.gform_page_footer input[type="reset"],
	.gform_wrapper.gravity-theme .gform_footer input[type="reset"] {
		max-width: 300px;
		flex: 0 auto;
	}

	.gform_page_footer {
		justify-content: flex-start;
	}

	.gform_wrapper .radio-image ul.gfield_radio,
	.gform_wrapper .gform_page_footer {
		justify-content: flex-start;
	}

	body .slider-display span[class$="val-relation"] {
		margin-bottom: 0;
	}
	
	.form-columns {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.form-columns > .gsection_title {
		width: 100%;
	}

	.form-columns .form-column {
		width: calc( 50% - 20px );
	}
}

/* ========== ADD-ONS ========== */

/* --- Sliders --- */

body .slider-display {
	height: 14px;
}

body input[data-value-visibility="hidden"] + .slider-display {
	margin-top: 1.5em;
}

body .slider-display,
body .noUi-connects,
body .noUi-connect {
	border-radius: 20px;
}

body .noUi-target {
	background-color: #DADADA;
	border: none;
	box-shadow: none;
}

body .noUi-connect {
	background-color: #1B6280;
}

body .noUi-horizontal .noUi-handle {
	width: 32px;
	height: 32px;
	top: -9px;
}

body .noUi-handle {
	border-radius: 100%;
	border: 6px solid #FFFFFF;
	background-color: #1B6280;
	box-shadow: 0 0 10px #AFAFAF;
}

body .noUi-handle::after,
body .noUi-handle::before {
	content: none;
}

body .gfield input.slider {
	display: none !important;
}

/* ----------------------------------------
	PRINTING
---------------------------------------- */

.print-only {
	display: none;
}

@media print {

	.gform_wrapper.gravity-theme h1 {
		font-size: 25px;
		text-transform: uppercase;
	}

	.gform_wrapper.gravity-theme .gform_fields {
		display: block;
	}

	.gfield {
		display: flex;
		justify-content: space-between;
		border-bottom: 1px solid #CCCCCC;
	}

	.ginput_container {
		margin-top: 0;
		display: flex;
		justify-content: flex-end;
	}

	.desc-inline .ginput_container {
		flex-wrap: nowrap;
	}

	.ginput_container .instruction {
		display: none;
	}

	.gfield input[type=number]::-webkit-outer-spin-button,
	.gfield input[type=number]::-webkit-inner-spin-button {
		-webkit-appearance: none;
		margin: 0;
	}

	.gfield input[type=number] {
		-moz-appearance:textfield;
	}

	.gform_wrapper .gfield input[type=number] {
		-moz-appearance: textfield;
	}

	.fl-module .gform_wrapper .gfield input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
	.gfield input,
	.gfield select,
	.gfield textarea {
		border: 0;
		padding: 0 0 0 5px !important;
		text-align: right;
		line-height: inherit !important;
	}

	.gfield_html {
		display: block;
		border: 0;
	}

	.form-notice, 
	.instruction, 
	.gfield_required,
	.gform_heading,
	.gform_footer {
		display: none !important;
	}

	.gfield_html table {
		border: 4px solid #CCCCCC;
		break-inside: auto;
	}

	.gfield_html table caption {
		text-transform: uppercase;
		font-size: 1.5em;
		padding-top: 0;
	}

	.gform_wrapper table tr {
		break-inside: avoid;
	}

	.desc-inline .ginput_container .gfield_description {
		padding-top: 0 !important;
	}

	.form-columns {
		display: block;
	}

	.form-columns .form-column {
		display: inline-block;
		vertical-align: top;
		width: calc( 50% - 20px );
		break-inside: avoid;
	}

	.form-columns .form-column-last {
		margin-left: 39px;
	}

	.print-only {
		display: block;
	}

}