* { border: 0;
	padding: 0;
	margin: 0;
}

body {
	margin: 0;
	padding: 0;
	background: #000 url(../img/body_bg.jpg) 0 0 repeat;
	font-family:Trebuchet MS,Arial,Verdana,Geneva,Helvetica;font-size:10px;color: #3b3b3b; line-height: 150%;
}

h1 {
	font: normal normal bolder 18pt Trebuchet MS,arial;
	color: #000;
	}

h2 {
	font: normal normal normal 14pt Trebuchet MS,arial;
	color: #ff7e02;
	}
	
h4 {
	font: normal normal bolder 10pt Trebuchet MS,arial;
	color: #696969;
	}

blockquote {
	padding: 4px;
	background: #FFFAA4;
	border: #E8E8E8 1px solid;	
	}

p {
	margin-bottom: 1.5em;
	line-height: 1.5;
}
	
#wrapper {
	margin-left: auto;
	margin-right: auto;
	border: 0px;
	padding: 0px;
	width: 766px;
	text-align: center;
	background: #fff url(../img/wrapper_bg.jpg) 0 0 repeat;
}

#wrapper_wide {
	margin-left: auto;
	margin-right: auto;
	border: 0px;
	padding: 0px 24px 0px 0px;
	width: 1040px;
	text-align: center;
	background: #fff url(../img/wrapper_wide_bg.jpg) 0 0 repeat;
}

#tilaus_wrapper {
	margin-left: auto;
	margin-right: auto;
	padding: 0px 24px 25px 24px;
	background: transparent;
	width: 707px;
	text-align: left;
	float: left;
}

#header {
	width: 360px;
	height: 68px;
	float: left;
	margin: 10px 0px 25px 20px;
	}

div.webForm {
	float: left;
	clear: left;
	width: 657px;
	border: 0px;
	border-bottom: #AAA 1px solid;
	border-left: #AAA 1px solid;
	font-size: 9pt;
	padding: 5px;
	margin: 0px 20px 0px 20px;
	/*background: transparent url(../img/webform_bg.jpg) bottom left repeat-x;*/
	}
	
div.webFormHeader {
	width: 600px;
	float: left;
	clear: left;
	margin: 30px 20px 0px 20px;
	font: normal normal bolder 10pt Trebuchet MS,arial;
	}
	
input {
	border-top: #888 1px solid;
	border-left: #888 1px solid;
	border-right: #AAA 1px solid;
	border-bottom: #AAA 1px solid;
	background: #FFF url(../img/input_bg.jpg) bottom left repeat-x;
	}
	
input.cb {
	background: transparent;
	border: 0;
	}

textarea {
	border: #000 1px solid;
	}
	
table.formTable {
	width: 100%;
	margin: 0px;
	border: 0px;
}

table.formTable tr, table.formTable td {
	padding: 0;
	margin: 0;
	}
#tilaustiedot_wrapper {
	float: left;
	width: 667px;
	border: #000 1px solid;
	margin-left: 20px;
	border: 0px;
	border-bottom: #AAA 1px solid;
	border-left: #AAA 1px solid;
	font-size: 9pt;
	}
#tilaustiedot1 {
	clear: left;
	float: left;
	width: 380px;
	border: 0px;
	padding: 5px;
}

#tilaustiedot2 {
	float: left;
	width: 265px;
	border: 0px;
	border-left: #AAA 1px solid;
	padding: 5px;
	}

#toiminnot {
	width: 500px;
	clear: left;
	float: left;
	margin: 0px 20px 0px 20px;	
	border-bottom: #AAA 1px solid;
	border-left: #AAA 1px solid;
	padding: 5px 0px 5px 10px;
	font-size: 1.2em;
}

div#toiminnot a:link,div#toiminnot a:visited,div#toiminnot a:hover,div#toiminnot a:active {
	text-decoration: none;	
}

span.red {
	color: red;
	font-weight: normal;
	}

#login {
	float: right;
	width: 190px;
	background: transparent;
	font-size: 10pt;
	margin: 3px;
	}
	
#intructions {
	width: 264px;
	background: transparent;
	margin: 3px 3px 15px 3px;
	}

#orderHistory {
	width: 264px;
	background: transparent;
	margin: 3px 3px 15px 3px;
	}

#templates {
	width: 264px;
	background: transparent;
	margin: 3px 3px 15px 3px;
	}

#account {
	width: 264px;
	background: transparent;
	margin: 3px 3px 5px 3px;
	}

div.box_header {
	width: 100%;
	background: #656565 url(../img/box_header_bg.jpg) 0 0 repeat-x;
	padding-top: 3px;
	height: 20px;
	color: #FFF;
	border-left: #999999 1px solid;
	border-right: #666666 1px solid;
	border-bottom: #b2b2b2 1px solid;
	text-align: center;
	font-weight: bold;
	font-size: 8pt;
	font-family: Verdana;
	}
	
div.box {
	width: 100%;
	background: #DDD;
	margin: 0px 0px 0px 0px;
	border-left: #999999 1px solid;
	border-right: #666666 1px solid;
	border-bottom: #b2b2b2 1px solid;
	border-top: 0px;
	font-size: 8pt;
	text-align: left;
}

table.loginTable 
{	width: 100%;
	margin: 0px;
	border: 0px;
	border: 0px;
	font-size: 8pt;
	padding: 4px 0px 4px 0px;
}

td.left {
	text-align: left;
	padding-left: 8px;
	}

td.right {
	text-align: left;
	padding-left: 8px;
	}
	
div#login a:link { color: #000; text-decoration: underline; padding-left: 1px; padding-right: 1px; }
div#login a:visited { color: #000; text-decoration: underline; padding-left: 1px; padding-right: 1px; }
div#login a:hover { color: #FFF; background: #000; text-decoration: underline; padding-left: 1px; padding-right: 1px; }
div#login a:active { color: #000; text-decoration: underline; padding-left: 1px; padding-right: 1px; }

#sidebar_wrapper {
	float: right;
	width: 275px;
	background: #FFF;
	padding: 2px 3px 3px 3px;
}

div.sidebar {
	border: #999999 1px solid;
	border-top: 0px;
	}
	
span.euro {
	color: yellow;
	font-size: 10pt;
	font-weight: bold;
	}

tr.tilausPvm {
	margin-bottom: 6px;
}
		
td.tilausPvm {
	font-weight: bold;
	font-size: 10pt;
}

#toimitusPvm {
	width: 122px;
	}
	
p.huom {
	width: 680px;	
}
table.templateTable {
	width: 100%;
	}
table.templateTable td {
	margin: 0;
	padding: 3px 0px 3px 0px;
	border: #aaa 1px solid;
	border-collapse:collapse;
	}

/*Jquery DatePicker Style*/



table.jCalendar {
	border: 1px solid #000;
	background: #aaa;
    border-collapse: separate;
    border-spacing: 2px;
}
table.jCalendar th {
	background: #656565;
	color: #fff;
	font-weight: bold;
	padding: 3px 5px;
}
table.jCalendar td {
	background: #ccc;
	color: #000;
	padding: 3px 5px;
	text-align: center;
}
table.jCalendar td.other-month {
	background: #ddd;
	color: #aaa;
}
table.jCalendar td.today {
	background: #666;
	color: #fff;
}
table.jCalendar td.selected {
	background: #f66;
	color: #fff;
}
table.jCalendar td.selected:hover {
	background: #f33;
	color: #fff;
}
table.jCalendar td:hover, table.jCalendar td.dp-hover {
	background: #fff;
	color: #000;
}
table.jCalendar td.disabled, table.jCalendar td.disabled:hover {
	background: #bbb;
	color: #888;
}

/* For the popup */

/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */

div.dp-popup {
	position: relative;
	background: #656565;
	color: #FFF;
	font-weight: bolder;
	font-size: 10px;
	font-family: arial, sans-serif;
	padding: 2px;
	width: 171px;
	line-height: 1.2em;
}
div#dp-popup {
	position: absolute;
	z-index: 199;
}
div.dp-popup h2 {
	font-size: 12px;
	text-align: center;
	margin: 2px 0;
	padding: 0;
}
a#dp-close {
	font-size: 11px;
	padding: 4px 0;
	text-align: center;
	display: block;
}
a#dp-close:hover {
	text-decoration: underline;
}
div.dp-popup a {
	color: #000;
	text-decoration: none;
	padding: 3px 2px 0;
}
div.dp-popup div.dp-nav-prev {
	position: absolute;
	top: 2px;
	left: 4px;
	width: 100px;
	color: #fff;
	font-weight: bold;
}
div.dp-popup div.dp-nav-prev a {
	float: left;
}
/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
	cursor: pointer;
}
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
	cursor: default;
}
div.dp-popup div.dp-nav-next {
	position: absolute;
	top: 2px;
	right: 4px;
	width: 100px;
}
div.dp-popup div.dp-nav-next a {
	float: right;
}
div.dp-popup a.disabled {
	cursor: default;
	color: #aaa;
}
div.dp-popup td {
	cursor: pointer;
}
div.dp-popup td.disabled {
	cursor: default;
}

/*DatePicker calendar icon*/
a.dp-choose-date {
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 2px 3px 0;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background: transparent url(../img/calendar.png) no-repeat;
	
}
a.dp-choose-date.dp-disabled {
	background-position: 0 -20px;
	cursor: default;
}
/* makes the input field shorter once the date picker code
 * has run (to allow space for the calendar icon
 */
input.dp-applied {
	width: 140px;
	float: left;
}

span.green {
	color: green;
	}
