form {
	display: table;
}
.form_main_row {
	display: table-row;
}
.form_main_cell {
	display: table-cell;
}
.form_element_hidden {
	display: none;
}
@media only screen and (max-width: 767px) and (orientation: portrait) {
	form {
		width: 100%;
	}
	.form_element {
		display: block;
	}
	.form_element label, .form_element input {
		display: block;
	}
	input[type=text], input[type=email], input[type=url], input[type=password] {
		width: 100%;
		height: 1.5em;
	}
	label.checkbox {
		float: left;
		clear: left;
		width: 94%;
	}
	input[type=checkbox] {
		transform: scale(1.5);
		display: block;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	input[type=submit], input[type=button] {
		height: 3em;
	}
	textarea {
		width: 100%;
	}
	form#form_search #id_q {
		width: 100%;
		clear: both;
	}
	form#form_search #id_t {
		width: 25%;
		height: 3em;
		clear: both;
		margin-bottom: 1ex;
	}
}
@media only screen and (min-width: 768px) {
	.form_element {
		display: table-row;
	}
	.form_element label, .form_element input {
		vertical-align: top;
		display: table-cell;
	}
	.form_element label {
		padding-right: 1ex;
		text-align: right;
	}
	input[type=text], input[type=email], input[type=url], input[type=password] {
		width: 80ex;
	}
	textarea {
		width: 80ex;
	}
	.form_help {
		vertical-align: top;
	}
	form#form_search #id_q {
		width: 40em;
	}
	form#form_search #id_t {
		float: left;
		margin-right: 1ex;
	}
}
input[type=text], input[type=url], input[type=email], input[type=password], textarea {
	font-family: inherit;
	font-size: smaller;
}
input[type=submit], input[type=button] {
	background: #003333;
	color: white;
	padding-top: 1ex;
	padding-bottom: 1ex;
	padding-left: 1em;
	padding-right: 1em;
}
input[type=submit]:hover, input[type=submit]:active, input[type=button]:hover, input[type=button]:active {
	border-style: inset;
}
input, select {
	border-color: #CCCCFF;
	border-width: 2px;
	border-style: solid;
}
textarea {
	border-color: #CCCCFF;
	border-width: 2px;
	border-style: solid;
	height: 4em;
}
.form_help, .form_help a {
	font-size: small;
}
.button_group, .info_group {
	padding-top: 1ex;
	text-align: center;
	vertical-align: middle;
	width: 100%;
	clear: both;
}
#id_cancel {
	float: left;
}
#id_submit {
	float: right;
}
.g-recaptcha {
	margin: 0 auto;
	width: 304px;
}
