body,html,* {
	margin: 0;
	padding: 0;
	border: 0;
	}

body {
	background: #0095da;
	font-family: helvetica, arial, sans-serif;
	}
	
img { display: inline; }

p {
	font-size: 0.8em;
	margin: 0px 0px 10px 0px;
	}

a {
	color: #0095da;
	text-decoration: none;
	}
/* === DIV ==== */

#ylabanneri{
	margin-left:auto;
	margin-right:auto;
	/*background:url('../images/ylabanneri.png') no-repeat;*/
	width:798px;
	height:60px;

}

#cont {
	margin:auto;
	width: 800px;
	background: white;
	border: 10px solid white;
	}

#header {
	width: 800px;
	height: 80px;
	display: block;
	margin-bottom: 25px;
	}

.header_logo {
	width: 420px;
	height: 80px;
	float: left;
	background: grey;
	}

.header_text {
	width: 370px;
	height: 80px;
	float: right;
	margin-left: 10px;
	}
	
#left_bar {
	width: 150px;
	float: left;
	margin-right: 10px;
	}
	
#main {
	width: 640px;
	float: left;
	}

#main #content #tarjouskuva {
	width: 315px;
	height: 255px;
	float:right;

}
	
#mainpic {
	width: 640px;
	height: 240px;
	display: block;
	background: grey;
	margin-bottom: 20px;
	}

.main_lift {
	width: 315px;
	float: left;
	}


.main_lift_sub:first-child { margin: 0;}
.main_lift_sub {
	width: 315px;
	height: 100px;
	display: block;
	background: #d7d7d7;
	margin-top: 10px;
	}

.last {	margin-left: 10px;	}
.clear { clear: both; line-height: 0; }
.center {text-align: center; }
.left {float: left;}
.right {float: right;}

#footer {
	width: 800px;
	text-align: right;
	color: white;
	margin: 0 auto;
	clear: both;
	margin-top:7px;
	font-size: 0.7em;
	}

/* === TABLES & FORMS === */

.input {
	width: 50%;
	float: left;
	margin-bottom: 10px;
	}

.input input {
	border-bottom: 1px solid black;
	width: 90%;
	margin-bottom: 20px;
	}

textarea {
	border-top: 1px solid black;
	border-right: 2px solid gray;
	border-bottom: 2px solid #ececec;
	border-left: 2px solid #ececec;
	width: 95%;
	height: 100px;
	margin-bottom: 20px;
	}


.button {
	background: #0095da;
	border: 0;
	width: 100px;
	height: 30px;
	color: white;
	font-size: 1.5em;
	font-variant: small-caps;
	}
	
.button:hover {background: #00a5f1; }


table.merkit {
	width: 100%;
	height: 200px;
	}

table.merkit td {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	}

table#tyontekijat td {	vertical-align: top; width: 400px; }
table#tyontekijat td.kuva {	width: 120px; }

#loytolista td,th {
	vertical-align: middle;
	padding: 5px;
	text-align: left;
	}
	
#loytolista td.tuote { width: 230px; }
#loytolista td.hinta { width: 50px; }
#loytolista td.kuvaus { width: 200px; }

table#loytolista {	font-size: 0.8em; border-collapse: collapse; }
table#loytolista th { width: 70px; text-align: left; display: talbe-cell; vertical-align: bottom; }

/* === TEXT STYLE ==== */

h1 { 
	font-size: 1.5em;
	margin-bottom: 25px;
	}

h2 {
	font-size: 1.2em;
	margin: 10px 0;
	color: #0095da;
	}
	
.header_text p {
	font-size: 70%;
	margin-bottom: 5px;
	}

td { vertical-align: top; }

.main_lift h1 {font-size: 95%; margin-bottom: 10px; }

#left_bar ul { 	margin: 0px 0px 10px 0px;}
#left_bar h1 { font-size: 1em; margin-bottom: 10px;}
#left_bar li {
	list-style-position: inside;
	list-style-image: url('../images/bullet.gif');
	margin: 0px 0px 15px 0px;
	}
#left_bar li a { text-decoration: none; color: black;}	
#left_bar li a:hover { font-style: italic; }	

#footer a {	color: white; }
#footer a:hover {	color: white; text-decoration: none; }

table#tyontekijat h1 {
	font-size: 1em;
	color: #0095da;
	margin-bottom: 10px;
	}
	
#tyontekijat label {
	width: 6em;
	float: left;
	text-align: right;
	margin-right: 10px;
	display: block
	}

small {	font-size: 0.6em;	}



