form {
	display: inline;
}
a img {
	border: none;
}


/*
* viestilaatikot
*/
div.em_failurenote {
	margin: 0 0 1.5em 0;
	padding: 0;
	background: url("../inc/backgrounds/greynote.gif");
	color: #800000;
	border-style: solid;
	border-color: #a03030;
	border-width: 1px 2px 2px 1px;
}
div.em_failurenote div {
	padding: 0.4em 0.4em 0.4em 30px;
	background: url("../inc/icons/error.gif") no-repeat 5px 0.2em;
}
div.em_successnote {
	margin: 0 0 1.5em 0;
	padding: 0;
	background: url("../inc/backgrounds/greynote.gif");
	color: #008000;
	border-style: solid;
	border-color: #30a030;
	border-width: 1px 2px 2px 1px;
}
div.em_successnote div {
	padding: 0.4em 0.4em 0.4em 30px;
	background: url("../inc/icons/bullet_go.gif") no-repeat 5px 0.2em;
}


/*
* sisältölaatikot
*/
div.em_box {
	margin: 0.5em 0 0.5em 0;
	padding: 1em 1em 1em 1em;
	overflow: hidden;
	border: 1px solid #dddddd;
	line-height: 1.5em;
}
div.em_box div.em_box {
	margin: 0 0 0 0;
	padding: 1em 1em 1em 1em;
	border-style: dotted;
	border-color: #dddddd;
	border-width: 1px 0 0 1px;
}
div.em_box_extended {
	margin: 1em 0 1em 0;
}
div.em_box_extended h3 {
	margin: 0 0 1.2em 0;
	padding: 0 0 0.8em 0;
	border-bottom: 1px dotted #dddddd;
	font-size: 1.1em;
	font-weight: bold;
	color: #3878db;
	background-repeat: no-repeat;
	background-position: top left;
}
div.em_box_extended h3.em_box_title_kit     { padding-left: 25px; background-image: url("../inc/icons/package.gif"); }
div.em_box_extended h3.em_box_title_client  { padding-left: 25px; background-image: url("../inc/icons/vcard_edit.gif"); }
div.em_box_extended h3.em_box_title_payment { padding-left: 25px; background-image: url("../inc/icons/money.gif"); }


/*
* ???
*/
div.em_listitem {
}
div.em_listitem p {
	margin: 0;
	padding: 0;
}
div.em_listitem div {
	margin: 0;
	padding: 1em 0 1em 0;
}


/*
* jatka/peruuta-nappien tyylit
*/
div.em_buttons {
	overflow: hidden;
	margin: 1.2em 0 0 0;
	padding: 0.8em 0 0.5em 0;
	border-top: 1px dotted #dddddd;
}
div.em_buttons div.em_buttons_right_right {
	float: right;
	width: 45%;
	text-align: right;
}
div.em_buttons div.em_buttons_right_left {
	float: right;
	width: 45%;
	text-align: left;
}
div.em_buttons div.em_buttons_left_left {
	float: left;
	width: 45%;
	text-align: left;
}
div.em_buttons div.em_buttons_left_right {
	float: left;
	width: 45%;
	text-align: right;
}


/*
* lomakekenttien tyylit
*/
div.em_form_row {
	overflow: hidden;
	margin: 0.5em 0 0.5em 0;
	padding: 0;
}
div.em_form_row label {
	float: left;
	width: 40%;
}
div.em_form_row span {
	float: left;
	width: 60%;
	text-align: right;
}
div.em_form_row span.em_form_row_button {
	width: 100%;
	text-align: right;
	margin-top: 1em;
	padding-top: 1em;
	border-top: 1px dotted #dddddd;
}
div.em_form_row span.em_form_row_button_left {
	float: left;
	width: 50%;
	text-align: left;
	margin-top: 1em;
	padding-top: 1em;
	border-top: 1px dotted #dddddd;
}
div.em_form_row span.em_form_row_button_right {
	float: left;
	width: 50%;
	text-align: right;
	margin-top: 1em;
	padding-top: 1em;
	border-top: 1px dotted #dddddd;
}

input.em_formtext,
textarea.em_formtext {
	margin: 0;
	padding: 0.1em 0.5em 0.1em 0.5em;
	border-width: 1px;
	border-style: solid;
	border-color: #777777 #aaaaaa #aaaaaa #777777;
	background: #ffffff;
	color: #303030;
	font-family: "Arial", "Helvetica", "Tahoma", sans-serif;
	font-size: 1em;
	width: 8em;
}
textarea.em_formtext {
	height: 4em;
}
input.em_formtext_wide,
textarea.em_formtext_wide {
	width: 20em;
}
input.em_formtextbox,
textarea.em_formtextbox {
	margin: 0.1em 0 0.1em 0;
	padding: 0.1em 0.5em 0.1em 0.5em;
	border-width: 1px;
	border-style: solid;
	border-color: #777777 #aaaaaa #aaaaaa #777777;
	color: #303030;
	font-family: "Arial", "Helvetica", "Tahoma", sans-serif;
	font-size: 1em;
	width: 300px;
}
input.em_formitem_fullwidth,
textarea.em_formitem_fullwidth,
select.em_formitem_fullwidth {
	width: 95%;
}
input.em_formdigit {
	padding: 0.1em 0.3em 0.1em 0.3em;
	width: 2em;
	text-align: right;
}
select.em_formselect {
	margin: 0;
	padding: 0.1em 0 0.1em 0.5em;
	border-top: 1px solid #aaaaaa;
	border-right: 1px solid #777777;
	border-bottom: 1px solid #777777;
	border-left: 1px solid #aaaaaa;
	color: #303030;
	font-family: "Arial", "Helvetica", "Tahoma", sans-serif;
	font-size: 1em;
}
select.em_formselect optgroup {
	padding: 0.2em 0 0.2em 0;
	background-color: #f0f0f0;
	font-weight: normal;
}
select.em_formselect optgroup option {
	background-color: #ffffff;
}
input.em_formsubmit {
	margin: 0;
	padding: 0.2em 0.4em 0.2em 0.4em;
	font-size: 1em;
	border: 1px solid #dddddd;
	background-color: #fafafa;
	background-position: 5px 50%;
	background-repeat: no-repeat;
}
input.em_formsubmit_continue {
	padding-left: 25px;
	background-image: url("../inc/icons/bullet_go.gif");
}
input.em_formsubmit_continue:hover {
	border: 1px solid #95da93;
	background-color: #def6dd;
}
input.em_formsubmit_back {
	padding-left: 25px;
	background-image: url("../inc/icons/back.gif");
}
input.em_formsubmit_back:hover {
	border: 1px solid #f5d078;
	background-color: #fff2d4;
}
input.em_formsubmit_cancel {
	padding-left: 25px;
	background-image: url("../inc/icons/abort.gif");
}
input.em_formsubmit_cancel:hover {
	border: 1px solid #f9c1c3;
	background-color: #fef6f6;
}
input.em_formsubmit_close {
	padding-left: 25px;
	background-image: url("../inc/icons/bullet_go.gif");
}
input.em_formsubmit_close:hover {
	border: 1px solid #95da93;
	background-color: #def6dd;
}


/*
* toimintonapit
*/
input.em_actionbutton {
	margin: 0;
	padding: 0.4em 0 0.4em 25px;
	width: 15em;
	border: 1px solid #dddddd;
	background-repeat: no-repeat;
	background-color: #fafafa;
	background-position: 5px 50%;
	color: #000000;
	font-size: 1em;
	font-weight: normal;
	text-align: left;
}
input.em_actionbutton:hover {
	border: 1px solid #f5d078;
	background-color: #fff2d4;
}
input.em_actionbutton_small {
	width: 10em;
}
input.em_actionbutton_tiny {
	width: auto;
	padding-left: 0.5em;
	padding-right: 0.5em;
}
input.em_actionbutton_fullwidth {
	width: 95%;
}
input.em_actionbutton_icon_add { background-image: url("../inc/icons/add.gif"); }
input.em_actionbutton_icon_add:hover {
	border: 1px solid #95da93;
	background-color: #def6dd;
}
input.em_actionbutton_icon_delete { background-image: url("../inc/icons/cross.png"); }
input.em_actionbutton_icon_delete:hover {
	border: 1px solid #f9c1c3;
	background-color: #fef6f6;
}
input.em_actionbutton_icon_kit { background-image: url("../inc/icons/package.gif"); }
input.em_actionbutton_icon_view { background-image: url("../inc/icons/page_white_magnify.gif"); }
input.em_actionbutton_icon_edit { background-image: url("../inc/icons/table_edit.gif"); }
input.em_actionbutton_icon_edit2 { background-image: url("../inc/icons/pencil.png"); }
input.em_actionbutton_icon_langfi { background-image: url("../inc/icons/flag_fi.gif"); color: #008000; }
input.em_actionbutton_icon_langfiadd { background-image: url("../inc/icons/flag_fi_add.gif"); color: #0080a0; }
input.em_actionbutton_icon_langen { background-image: url("../inc/icons/flag_en.gif"); color: #008000; }
input.em_actionbutton_icon_langenadd { background-image: url("../inc/icons/flag_en_add.gif"); color: #0080a0; }
input.em_actionbutton_icon_pdf { background-image: url("../inc/icons/pdf.gif"); }
input.em_actionbutton_icon_payment { background-image: url("../inc/icons/creditcards.png"); }


/*
* tilauslomakkeen tyylit
*/
div.em_OrderFormRow {
	margin: 0.2em 0 0.4em 0;
	padding: 0;
	overflow: hidden;
}
div.em_OrderFormRow label {
	float: left;
	width: 50%;
}
div.em_OrderFormRow label em {
	display: block;
	color: #808080;
}
div.em_OrderFormRow p {
	float: left;
	width: 25%;
	margin: 0;
	padding: 0;
	text-align: right;
}
div.em_OrderFormRow span {
	float: left;
	width: 25%;
	text-align: right;
}

