// =============================================================================
// :: Form
// =============================================================================
/**
 * Scope defined for visualising the form layout in the layout section of
 * the styleguides.
 *
 * IMPORTANT!!!
 * This creates boxes to create a VISUALISATION of the layout and is not and
 * should DEFINITLY NOT be used in the styleguide itself.
 */

// =============================================================================
// :: Root
// =============================================================================
.s-bp-form {

	* {
		font-size: $font-size-base;
		line-height: $line-height-base;
		font-weight: $font-weight-normal;

		color: $text-color-base;
	}

	.l-form,
	.l-form__fieldset,
	.l-form__subtitle,
	.l-form__grid,
	.l-form__footer,
	.l-form__grid [class*="l-grid__col"] {
		padding: 3rem;

		border: 0.1rem dashed $border-color-base;

		transition:
			color 0.2s ease-in-out,
			border-color 0.2s ease-in-out;

		&:hover {
			color: $primary-color;
			border-color: $primary-color;
		}
	}

	.l-form__subtitle {
		margin-top: 1.5rem;
	}

	.l-form__grid {
		min-height: 25rem;
	}

	.l-form__grid [class*="l-grid__col"] {
		padding: 1.5rem;
	}
}
