/* Alliance Bedrift — employee registration forms */

.ao-registration-wrap {
	max-width: 720px;
	margin: 0 auto;
	padding: 24px 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	color: #222;
}

.ao-registration-wrap h2 {
	margin-top: 0;
	margin-bottom: 24px;
	font-size: 1.4em;
	border-bottom: 2px solid #0073aa;
	padding-bottom: 10px;
}

/* -----------------------------------------------------------------------
   Notices
----------------------------------------------------------------------- */

.ao-notice {
	padding: 12px 16px;
	border-left: 4px solid #aaa;
	margin-bottom: 20px;
	background: #f9f9f9;
	border-radius: 2px;
}

.ao-notice ul {
	margin: 0;
	padding-left: 20px;
}

.ao-notice-error {
	border-left-color: #dc3232;
	background: #fef7f7;
	color: #c00;
}

.ao-notice-success {
	border-left-color: #46b450;
	background: #f4fff4;
	color: #1a6a1a;
	font-size: 1.05em;
}

/* -----------------------------------------------------------------------
   Form table
----------------------------------------------------------------------- */

.ao-form-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 16px;
}

.ao-form-table tr {
	border-bottom: 1px solid #eee;
}

.ao-form-table th {
	width: 38%;
	text-align: left;
	padding: 12px 12px 12px 0;
	font-weight: 600;
	vertical-align: top;
	line-height: 1.4;
}

.ao-form-table td {
	padding: 10px 0;
	vertical-align: top;
}

.ao-form-table input[type="text"],
.ao-form-table input[type="email"],
.ao-form-table select,
.ao-form-table textarea {
	width: 100%;
	max-width: 380px;
	padding: 8px 10px;
	border: 1px solid #bbb;
	border-radius: 4px;
	font-size: 15px;
	box-sizing: border-box;
	background: #fff;
	color: #222;
}

.ao-form-table input[type="text"]:focus,
.ao-form-table input[type="email"]:focus,
.ao-form-table select:focus,
.ao-form-table textarea:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.15);
}

.ao-form-table textarea {
	resize: vertical;
	min-height: 80px;
}

.required {
	color: #dc3232;
	font-weight: bold;
}

/* -----------------------------------------------------------------------
   Submit button
----------------------------------------------------------------------- */

.ao-registration-wrap .button-primary,
.ao-registration-wrap button[type="submit"] {
	display: inline-block;
	padding: 10px 24px;
	background: #0073aa;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.4;
	text-decoration: none;
}

.ao-registration-wrap .button-primary:hover,
.ao-registration-wrap button[type="submit"]:hover {
	background: #005a87;
}

/* -----------------------------------------------------------------------
   Responsive
----------------------------------------------------------------------- */

@media (max-width: 540px) {
	.ao-form-table,
	.ao-form-table tbody,
	.ao-form-table tr,
	.ao-form-table th,
	.ao-form-table td {
		display: block;
		width: 100%;
	}

	.ao-form-table th {
		padding-bottom: 4px;
		border-bottom: none;
	}

	.ao-form-table tr {
		padding: 8px 0;
	}

	.ao-form-table input[type="text"],
	.ao-form-table input[type="email"],
	.ao-form-table select,
	.ao-form-table textarea {
		max-width: 100%;
	}
}
