/*
Ilmari CSS
Typografiaa ja sisältöalueen elementtejä määritellään content.css-tiedostossa!
*/


#flash_on_page { float: right; }

body {
	background-color: #fff;
	text-align: center;
}

#wrapper1 {
	margin:0; 
	padding: 0;
	background: #ffffff url("/img/marinediesel/body24.png") no-repeat top center scroll;
	padding-top: 27px;
}

div#divbody {
	background-color: #fff;
	width: 950px;
	margin: 0 auto 0 auto;
	text-align: left;
}



div#headerblock {
	background-color: #fff;
}
	#logo h1 { margin:0;padding:0;}
	#logo h1 a {
		display: block;
		height: 74px;
		width: 600px;
		background: url('/img/marinediesel/md-logo.png') no-repeat left top scroll;
	}
	#logo h1 span {display: none;}


/* YLÄNAVIGOINTI */
div#navigation {
	height: 41px;
	clear: both;
	background: #2c75ab url('/img/marinediesel/navbg.png') repeat-x top left scroll;
}
	ul#ulTopnavi {
		height: auto;
		list-style-type: none;
	}
	ul#ulTopnavi li {
		float: left;
		list-style-type: none;
		margin: 0; padding: 0;
		border-right: 1px solid #1c69b1;
	}
	ul#ulTopnavi li.last {
		border-right: 0;
	}
	ul#ulTopnavi li a { 
		color: #fff;
		/* background-color: #eee;  */
		float: left; display: block; 
		padding: 0 24px;
		height: 41px;
		line-height: 41px;
	}
	ul#ulTopnavi li a:hover { 
		background: #2c75ab url('/img/marinediesel/navbghover.png') repeat-x top left scroll;
		/* background-color: #ccc; */
	}
	ul#ulTopnavi li.current a {
		background: #2c75ab url('/img/marinediesel/navbghover.png') repeat-x top left scroll;
	}
	ul#ulTopnavi li.current a:hover {}

	
	
	
div#fool p {
	font-size: 100%;
	color: #003d00;	
}
	div#fool h3 a {
		font-size: 13px;
		color: #003d00;
		text-decoration: none;
	}
	div#fool div {
		margin-bottom: 30px;
	}
	
td#viewNews span {
	font-size: 13px;
	color: #003d00;
	font-weight: bold;
}

	td#viewNews p {
		font-size: 100%;
		color: #003d00;
		text-decoration: none;
	}	
	
	
	

	
div#fiilis {
	padding:0; margin:0;
	background-color: #4a82af;
}
div#fiilis object, div#fiilis embed { margin:0; padding:0; }

	


/***************************************
* SISÄLTÖOSA                           *
***************************************/

div#content {
	clear: both;
	padding:0;
}


#contentcell-width-subnav ul, .template ul {
	margin-left: 3em;
}

/* Vasemman ja oikean reunan marginaalit. */
td#contentcell {
}
td#contentcell-width-subnav {
	background: #fff url("/img/marinediesel/content-topbg.png") repeat-x top left scroll;
	padding: 10px 20px;
}



#front-page-content-cell { 
	padding: 0 10px;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
}


div#frontpageboxes {
	margin: 10px 0;
}
	div#frontpageboxes div {
		width: 300px;
		float: left;
		margin: 0 8px 0 0;
		background-color: #f4f4f4;
		padding: 16px;
	}
	div#frontpageboxes a { color: #003d00; }
	div#frontpageboxes a:hover { color: #003d00; text-decoration: none; }
	div#frontpageboxes h3 {
		color: #007100;
		margin: 0;
		padding-bottom: 4px;
		border-bottom: 1px dotted #003d00;
	}
	div#frontpageboxes img {
		margin: 5px 0 10px 10px;
		float: right;
	}
	div#frontpageboxes h3 a {
		color: #007100;
	}





td.spot-cell {
	vertical-align: top; text-align: left;
}
td#spot-cell-left { /* border-right: 1px solid #ccc; */ } 
td#spot-cell-left div.newscontainer {
	width: 150px;
}

td#spot-cell-right { /* border-left: 1px solid #ccc; */ }
td#spot-cell-right div.newscontainer {
	width: 150px;
}

div.spot {
	margin: 0 10px 18px 10px;
}

	div.spot h1,	div.spot h2,	div.spot h3,	div.spot h4,
	div.spot h1 a,div.spot h2 a,div.spot h3 a,div.spot h4 a{ 
		color: #020202; 
		font-weight: bold;
		font-size: 100%;
	}




td#leftmenucell {
	background: #c5d8e8 url("/img/marinediesel/sidebar-topbg.png") repeat-x top left scroll;
}

td#leftmenucell div.inner {
	padding: 0 10px 20px 10px;
	width: 200px;
}

div.sidebar-contactinfo {
	margin-top: 20px;
	color: #000;
}
div.sidebar-contactinfo h3 {
	color: #000;
	margin: 5px 0;
	font-size: 12px;
		padding-bottom: 4px;
		border-bottom: 1px dotted #003d00;
}
div.sidebar-contactinfo p {
	margin: 5px 0;
	color: #000;
	font-size: 12px;
}
	
	
/* Sivunavigaatio */
h1.subnavigation-title {
	color: #000;
	margin: 15px 0 5px 0;
	font-size: 12px;
	padding-bottom: 3px;
	border-bottom: 1px dotted #ffffff;
	font-weight: bold;
}
div.subnavigation { margin-left: 10px;}

	div.subnavigation li h3, 
	div.subnavigation li h3 a:link,
	div.subnavigation li h3 a:visited,
	div.subnavigation li h3 a:active {
		font-size: 100%;
		color: #000;
		font-weight: normal;
	}
	div.subnavigation li h3 a:link,
	div.subnavigation li h3 a:visited,
	div.subnavigation li h3 a:hover,
	div.subnavigation li h3 a:active {
		padding-left: 14px;
		display: block;
		background: url('/img/marinediesel/spotarrow.png') no-repeat center left scroll;
	}
	
	div.subnavigation li.current h3, 
	div.subnavigation li.current h3 a:link,
	div.subnavigation li.current h3 a:visited,
	div.subnavigation li.current h3 a:active {
		font-size: 100%;
		color: #000;
		font-weight: bold;
	}
	
	.menulevel1 li a { font-weight: normal; }
	.subnavigation li.current li a { font-weight: normal !important; }
	.subnavigation li.current li.current a { font-weight: bold !important; }
	

	/* listan määrityksiä */
	div.subnavigation ul { margin: 0; padding: 0; list-style-type: none; }
	.menulevel0 li { margin: 6px 0; padding: 0; list-style-type: none; }
	.menulevel1 li { margin: 2px 0 0 10px !important; padding: 0; list-style-type: none; }
	.menulevel1 li {
		font-size: 95%;
	}



	
	
	
div#footer {
	clear: both;
	padding-top: 25px;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	background: #ffffff url('/img/marinediesel/footerbg.png') no-repeat top center scroll;
}	
	
	
	
	
#gallery div {
	margin: 10px;
	float: left;
	height: 120px;
	width: 150px;
}
	

/***************************************
* KALENTERI                            *
***************************************/

a.calendar,
a.calendar:link {
	color: #ff0000;
	text-decoration: none;
}

a.calendar:visited {
	color:#ff0000;
	text-decoration: none;
}

a.calendar:hover {
	color:#ff0000;
	text-decoration: none;
}

.calendartitle {
	background: #eecc66;
	color: #233c65;
	font-family: arial, helvetica;
	font-weight: bold;
	font-size: 10pt;
}

.calendardaystitle {
	background: #eecc66;
	color: #233c65;
	font-family: arial, helvetica;
	font-weight: bold;
	font-size: 8pt;
}

.calendardays {
	background: #f0f0f0;
	color: #000000;
	font-family: arial, helvetica;
	font-size: 8pt;
}

.calendartoday {
	background: #e7e3d5;
	color: #000000;
	font-family: arial, helvetica;
	font-size: 8pt;
}

.calendarevent {
	background: #cccccc;
	font-size: 8pt;
}








/***************************************
* FORUM                                *
***************************************/

.forumtitle {
	background: #eecc66;
	color: #233c65;
	font-family: arial, helvetica;
	font-weight: bold;
	font-size: 10pt;
}

.forumbg1 {
	background: #e7e3d5;
	color: #000000;
}

.forumbg2 {
	background: #f0f0f0;
	color: #000000;
}

.forumbg {
	background: #ffffff;
}

















/***************************************
* ETUSIVU / TIEDOTELISTAUS             *
***************************************/
/* Uutiset etusivun vasemmassa laidassa */
div#uutiset	{ color: #fff; }
div#uutiset	div.newsitem { }
div#uutiset h2 { 
	font-weight: bold;
	color: #000;
	font-size: 100%;
	padding-bottom: 3px;
	border-bottom: 1px dotted #fff;
}

div#uutiset	div.newsitem h3 a { 
	display: block;
	color: #000; 
	font-size: 12px; 
	padding-left: 24px;
	background: url('/img/marinediesel/spotarrow.png') no-repeat 4px 3px scroll;
}


div#news {
	border-top: 1px solid #c0c0c0;
	margin-top: 15px;
}

div.newsitem{
	border-top: 1px solid #c0c0c0;
	clear: both;
	padding-bottom: 8px;
	margin-bottom: 0px;
}

	div.newsitem a.readmorelink {
		display:block; clear: none;
		width: 70px;margin:0;float:right;
		text-align: center;
		font-size: 10px;
		color: #000 !important;
		background-color: #ccc;
		-moz-border-radius-bottomleft: 6px;
		-moz-border-radius-bottomright: 6px;
	}

	div.newsitem div.newsimage{
		float: left; 
		width: 90px;
		margin: 0 10px 10px 0;
	}
	div.newsitem div.newstext { }
	div.newsitem div h3 { 
		line-height: normal; 
		height: auto;
		margin: 3px 0;
		padding: 1px 0;
		font-size: 18px;
		background: none;
		font-weight: normal;
		color: #000; 
	}
	div.newsitem div h3 a { color: #000 !important; }
	div.newsitem div a { color: #000 !important; }











/***************************************
* TUOTEKORTIT JA TUOTELISTAUS          *
***************************************/


a.card:link,
a.card:visited,
a.product:link,
a.product:visited {
  color: #000000;
  font-weight: bold;
}

.card_image {
  padding-right: 10px;
}

img.product {
  background-color: #ffffff;
  border: 1px solid #a0a0a0;
  padding: 1px;
}

div.card_desc {
  color: #707070;
}










/***************************************
* ÄLÄ KOSKE NÄIHIN                     *
***************************************/

a.nounderline:link,
a.nounderline:visited,
a.nounderline:hover {
	text-decoration: none;
}

.littletitle {
	font-weight: bold;
}

.fullwidth {
	width: 100%;
}

