body {
	background-color: white;
	font-family: Helvetica, sans-serif;
	font-size: 14px;
	color: #093245;
	line-height: 1.2em;
	margin: 0;
	padding: 0;
}

#wrap {
	width: 935px;
	margin: 0 auto;
	position: relative;
}

#pagenum {
	position: absolute;
	right: 12px;
	top: 10px;
	font-weight: normal;
}

a:link, a:visited {
	font-size: 1.0em;
	text-decoration: none;
	color: #268caa;
}

a:hover, a:active {
	color: #1a6479; 
	text-decoration: none;
}


h1 {
	font-size: 140%;
	font-weight: bold;
	margin: 0;
	border-bottom: 1px solid silver;
	background-color: #dff3fa;
	padding: 0.5em;
	text-align: center;
}
h2 {
	font-size: 125%;
	margin: 1em;
}
h2 span.normal {
	font-size: 80%;
}

small {
	font-size: 80%;
	color: #666;
	font-weight: normal;
}

p {
	max-width: 900px;
}
p.info {
	margin-top: 0.1em;
	font-size: 80%;
	color: #666;
}

#content {
	width: 900px;
	border: 1px solid silver;
	border-top-color: white;
	margin: 0 auto;
	padding: 0.5em;
	text-align: left;
}

form {
	position: relative;
	margin: 0;
	padding-bottom: 25px;
}

/*.sivu input.submit {
	position: absolute;
	right: 0.5em;
	bottom: 0.5em;
}

.sivu input.submit-prev {
	position: absolute;
	left: 0.5em;
	bottom: 0.5em;
}*/

select#sel_kunnat {
	width: 190px;
	min-height: 400px;
}

select#sel_koulut {
	width: 360px;
	min-height: 400px;
}

fieldset {
	display: block;
}

fieldset#typeset {
	width: 340px;
}
fieldset#typeset input#special_desc {
	margin: 2px 0 0 23px;
	width: 310px;
}

legend, label.title {
	color: #093245;
	font-weight: bold;
}

label.block,
div.block {
	display: block;
	padding: 2px 5px 3px 2px;
	margin-bottom: -1px;
	border: 1px solid silver;
}

table.grid {
	border-collapse: collapse;
}
table.grid td {
	border: 1px solid silver;
	vertical-align: middle;
}
table.grid td.grid0 {
	border: 0;
}
input.gridradio {
	margin: 8px;
}

.bgcolor1 { background-color: #ecff69; } /*keltainen*/
.bgcolor2 { background-color: #ff6969; } /*punainen*/
.bgcolor3 { background-color: #69c6ff; } /*sininen*/
.bgcolor4 { background-color: #7bff69; } /*vihreä*/
.bgcolor5 { background-color: #ffbe69; } /*oranssi*/
.bgcolor6 { background-color: #b569ff; } /*violetti*/

fieldset#groups {
	width: 420px;
}

fieldset#groups div.row {
	clear: left;
}
fieldset#groups div.indent {
	margin-left: 150px;
	margin-bottom: 2px;
}
fieldset#groups label {
	display: block;
	float: left;
	width: 150px;
	padding-top: 4px;
	border-bottom: 1px dotted #999;
}
fieldset#groups label.normal {
	display: inline;
	float: none;
	width: auto;
	padding-top: 0;
	border-bottom: 0;
}
fieldset#groups input {
	height: 14px;
}

fieldset legend strong {
	text-decoration: underline;
}

fieldset.address_data {
	width: 450px;
}

fieldset.address_data div.row {
	clear: left;
}
fieldset.address_data label {
	display: block;
	float: left;
	width: 170px;
	padding-top: 4px;
}

fieldset#materiaalin_toimitus {
	width: 700px;
}

fieldset#lisatietoja_data {
	width: 700px;
}
textarea#lisatietoja {
	width: 660px;
}

fieldset.materiaali_data {
	width: 650px;
}
fieldset.materiaali_data div.row {
	clear: left;
}
fieldset.materiaali_data label {
	display: block;
	float: left;
	width: 370px;
	padding-top: 4px;
}

#confirm fieldset {
	width: 650px;
}
#confirm fieldset fieldset {
	width: auto;
}
#confirm p {
	margin: 0.4em 0;
}

table th {
	text-align: left;
}
table td {
	vertical-align: top;
}
table th,
table td {
	font-size: 100%;
}

table.table1 {
	border: 0;
	border-collapse: collapse;
}
table.table1 th,
table.table1 td {
	/*border: 1px solid silver;*/
	margin: 0;
	padding: 3px 8px;
}

.disabled {
	color: gray;
}

.error_info {
	font-size: 120%;
	margin-bottom: 0.2em;
}
ul.error {
	margin-top: 0.2em;
}
.error {
	color: red !important;
	/*font-weight: bold;*/
}
p.error {
	font-weight: bold;
}
.error input, .error select, input.error, textarea.error, select.error {
	border: 1px solid red;
	color: black !important;
}
