body,html {
	margin:0;
	padding:0;
	height:100%;
	text-align:left;
	font-family: "Lucida Grande","Lucida Sans","Lucida Sans Unicode",Lucida,Verdana,sans-serif;	
	font-size: 12px;
	line-height: 1.6em;
	color: #3f3f3f;
	background-color: #e4e3e0;
}

img {
	margin: 0px;
	padding: 0px;
	border-style: none;
	}
	div.box_contact img, div.box_newsfiles img, .thumb_bord img {
	border-style: solid;
	border-width: 1px;
	border-color: #e4e3e0;
	margin-top: 4px;
	}
	.thumb_bord img {
	margin-left: 15px;
	margin-bottom: 5px;
	}
	.pikkukuva_admin img {
	border-style: solid;
	border-width: 1px;
	border-color: #e4e3e0;
	margin-top: 5px;
	margin-bottom: 0px;
	}
	.tiedostoikoni img {
	margin-right: 80px;
	margin-left: 0px;
	}
	div.content_left img, div.content_left_big img {
	float: right;
	}
	.smallthumb {
	float: left;
	margin-right: 5px;
	margin-top: 2px;
	}
	#map_canvas {
	border-style: solid;
	border-width: 1px;
	border-color: #e4e3e0;
	margin-top: 3px;
	overflow: hidden;
	}
	a {
	text-decoration: none;
	color: #1f7e9a;
	}
	a:hover {
	text-decoration: underline;
	color: #1f7e9a;
	}
	p {
	margin: 0px;
	padding-bottom: 15px;
	padding-top: 0px;
	overflow: hidden;
	}

/** Header styles **/
h1 {
	margin:0px;
	padding-left:0px;
	padding-bottom: 20px;
	color: #1f7e9a;
	font-size: 20px;
	line-height: 1.2em;
	}
	#content_admin_left h1 {
	padding-bottom: 35px;
	padding-top: 5x;
	}
	.dateh1 {
	font-size: 13px;
	color: #3f3f3f;
	}
h2 {
	background-image: url(images/alanavi_ekgpaperi190.png);
	background-position: left top;
	background-repeat: no-repeat;
	margin-left: -5px;
	margin-bottom: 13px;
	margin-right: -5px;
	margin-top: -5px;
	padding-left: 34px;
	padding-bottom: 1px;
	padding-right: 5px;
	padding-top: 5px;
	height: 24px;
	font-size: 13px;
	color: #22303c;
	line-height: 1.8em;
	overflow: hidden;
	}
	div.box_news h2 {
	background-image: url(images/alanavi_lehtio190.png);
	}
	div.box_newsfiles h2 {
	background-image: url(images/alanavi_uutiset190.png);
	padding-left: 35px;
	}
	div.box_contact h2 {
	background-image: url(images/alanavi_henkilot190.png);
	padding-left: 39px;
	}
	div.box_catnavi h2 {
	background-image: url(images/alanavi_stetoskooppi190.png);
	}
	div.box_catalog h2 {
	background-image: url(images/alanavi_arpoutuvat305/random.php);
	margin-left: -5px;
	margin-bottom: 13px;
	margin-right: -5px;
	margin-top: -5px;
	padding-left: 34px;
	padding-bottom: 1px;
	padding-right: 5px;
	padding-top: 5px;
	}
	div#content_admin_left h2 {
	background-image: url(images/alanavi_abc560.png);
	margin-bottom: 5px;
	}	
	div.box_adminins h2 {
	background-image: url(images/alanavi_lehtio290.png);
	}	
	
h3 {
	margin: 0px;
	font-size: 13px;
	font-weight: normal;
	}
	.date {
	font-size: 11px;
	color: #3f3f3f;
	}
	div.box_news h3 a, div.box_contact h3 a, div.box_catnavi h3 a, div.box_catalog h3 a, div.box_adminins h3 a {
	color: #1f7e9a;
	text-decoration: none;
	}
	div.box_news h3 a:hover, div.box_contact h3 a:hover, div.box_catnavi h3 a:hover, div.box_catalog h3 a:hover, div.box_adminins h3 a:hover {
	color: #1f7e9a;
	text-decoration: underline;
	}
	div.box_news a, div.box_catnavi a {
	color: #3f3f3f;
	text-decoration: none;
	}
	div.box_news a:hover, div.box_catnavi a:hover {
	color: #3f3f3f;
	text-decoration: underline;
	}
	.active_link {
	color: #f18800;
	}

/** H4 Big enough otsikko **/
h4 {
	margin: 0px;
	padding-bottom: 10px;
	line-height: 1.7em;
	color: #1f7e9a;
	font-size: 17px;
	font-weight: normal;
	font-style: italic;
	}

/** Blue line **/
div#upline, div#upline_admin {
	width:100%;
	margin:0 auto;
	background-image: url(images/ylanauha.png);
	height: 11px;
	position: fixed;
	z-index: 4;
	}
	div#upline_admin {
	position: relative;
	}
	
/** Container and navigation **/
div#container {
	width:980px;
	position: relative;
	margin:0 auto;
	background-color: #fff;
	border-left: solid;
	border-right: solid;
	border-bottom: solid;
	border-color: #cdceca;
	border-width: 1px;
	}
div#header {
	background-position: left top;
	background-repeat: repeat-x;
	background-image: url(images/gradient.jpg);
	height: 72px;
	}
	#navi {
	background-position: left top;
	background-repeat: no-repeat;
	margin-left: 520px;
	margin-top: 6px;
	padding-left: 7px;
	padding-right: 7px;
	position: fixed;
	width: 407px;
	background-image: url(images/navi_bg.png);
	height: 47px;
	z-index: 5;
	}
		#navi_relative {
		margin-left: 520px;
		margin-top: 16px;
		padding-left: 7px;
		padding-right: 7px;
		position: absolute;
		width: 407px;
		height: 35px;
		text-transform: uppercase;
		line-height: 1.3em;
		font-size: 12px;
		overflow: hidden;
		z-index: 3;
		}
	#navi img {
	padding: 1px;
	}

/** Left box elements **/
div#news {
	float:left;
	width:280px;
	line-height: 1.5em;
	}
	div#box_logo {
	height: 110px;
	margin-right: 40px;
	margin-top: 0px;
	margin-bottom: 30px;
	}
	div#box_logo_admin {
	height: 110px;
	margin-left: 60px;
	margin-top: 0px;
	margin-bottom: 15px;
	}
	div.box_news, div.box_contact, div.box_newsfiles, div.box_catnavi, div.box_catalog, div.box_adminins {
	background: #f5f5f5;
	padding: 15px;
	font-size: 11px;
	margin-left: 28px;
	margin-right: 42px;
	margin-top: 0px;
	margin-bottom: 0px;
	background-position: left top;
	background-repeat: no-repeat;
	}	
	div.box_news, div.box_contact, div.box_newsfiles, div.box_catnavi {
	background-image: url(images/harmaatausta_210.png);
	}	
	div.box_catalog {
	padding: 0px;
	background: #ffffff;
	float: left;
	margin: 0px;
	width: 660px;
	}
	div.box_catalog img {
	float: right;
	}	
	div.box_adminins {
	background-image: url(images/harmaatausta_310.png);
	}	

/** Main image **/
div#image, div#image_yritys, div#image_uutiset, div#image_sairaalatarvikkeet, div#image_muut_tuotteet {
	float:right;
	width:660px;
	height: 195px;
	margin-top: 35px;
	margin-left: 0px;
	margin-right: 40px;
	margin-bottom: 50px;
	background-position: left top;
	background-repeat: no-repeat;
	}
	div#image_yritys {
	background: url(mainimages/arpoutuvat_etusivu/random.php)
	}
	div#image_uutiset {
	background: url(mainimages/isokuva3.jpg)
	}
	div#image_sairaalatarvikkeet {
	background: url(mainimages/arpoutuvat_tarvikkeet/random.php)
	}
	div#image_muut_tuotteet {
	background: url(mainimages/isokuva7.jpg)
	}
		
/** Main content area **/
div#content {
	background:#fff;
	float:right;
	width:700px;
	}
	div.content_left {
	float:left;
	width:400px;
	padding-left: 15px;
	margin-bottom: 30px;
	border-left-color: #cbe3ec;
	border-left-width: 1px;
	border-left-style: solid;
	}
		div.content_left_big {
		float:left;
		width:520px;
		padding-left: 15px;
		margin-bottom: 30px;
		border-left-color: #cbe3ec;
		border-left-width: 1px;
		border-left-style: solid;
		}
	div.content_right {
	float:right;
	width:280px;
	}
	div.content_left_cat {
	clear: both;
	position: relative;
	float:left;
	background: #f5f5f5;
	background-image: url(images/harmaatausta_325.png);
	background-position: left top;
	background-repeat: no-repeat;
	width:295px;
	margin-bottom: 10px;
	padding: 15px;
	}
	div.content_right_cat {
	position: relative;
	float:right;
	background: #f5f5f5;
	background-image: url(images/harmaatausta_325.png);
	background-position: left top;
	background-repeat: no-repeat;
	width:295px;
	margin-left: 10px;
	margin-bottom: 10px;
	padding: 15px;
	}	
	div#content_admin_left {
	position: relative;
	float:left;
	width:550px;
	padding-top: 10px;
	padding-left: 30px;
	}
	div#content_admin_right {
	position: relative;
	float:right;
	width:380px;
	margin-top: 10px;
	}
div#infotext {
	width:600px;
	}

/** Admin puolen tyyleja **/
table.a_table {
	border-style: none;
	margin: 0px;
	padding: 0px;
	border-collapse: collapse;
	text-align: left;
	width: 550px;
	margin-bottom: 35px;
	line-height: 1.6em;
	font-size: 11px;
	}
	.a_cell_edit {
	vertical-align: bottom;
	text-align: right;
	width: 230px;
	}
	.a_cell, .a_cell_1, .a_cell_2, .a_cell_3 {
	vertical-align: top;
	overflow: hidden;
	}
	.a_cell_1 {
	font-weight: bold;
	padding-top: 10px;
	}
	.a_cell_2 {
	padding-left: 20px;
	}
	.a_cell_3 {
	padding-left: 45px;
	font-style: italic;
	}
	.a_table tr:hover {
	background-color: #cbe3e0;
	}
	table.a_table a {
  	text-decoration: none;
  	padding: 2px;
	}
	table.a_table a:hover {
	background-color: #FFFFFF;
    text-decoration: none;
    padding: 2px;
	}
	.muokkaa {
	color: #f18800;
	}
	.lisaa {
	color: #037008;
	}
	.poista {
	color: #cc0000;
	}
	.muokkaatxt {
	color: #f18800;
	}
	.takaisin {
	margin-bottom: 20px;
	}
	.takaisin a {
	padding: 5px;
	color: #ffffff;
	background-color: #335460;
	}
	.vahvistus {
	color: #cc0000;
	font-weight: bold;
	}
		.vahvistus a {
		background-color: #cc0000;
		color: #ffffff;
		padding: 3px;
		}
		.vahvistus a:hover {
		text-decoration: underline;
		padding: 3px;
		}
	.talletettu {
	font-weight: bold;
	text-transform: uppercase; 
	color: #037008;
	margin-bottom: 10px;
	}

/** Footer **/
div#footer {
	clear:both;
	width:100%;
	}
	div#footer p {
	text-align: left;
	padding-bottom: 0px;
	padding-top: 20px;
	padding-left: 30px;
	font-size: 10px;
	color: #878787;
	}
	div#footer a {
	text-decoration: none;
	color: #878787;
	}
	div#footer a:hover {
	text-decoration: underline;
	color: #878787;
	}