/**********************************************************************************/
/* Motomarine CSS - Last Updated 11.1.2008 by KPM				  */
/**********************************************************************************/

html {
	background: url('../images/bg_dot.jpg') repeat; /* Safari fix */
}

body { 
	margin: 0 0 20px 0;
	padding: 0;
	font-size: 100%;
	font-family: arial, sans-serif;
	background: transparent url('../images/bg_body.jpg') repeat-x;
	vertical-align: top;	
}

/* Relating to print icon popuo */
.contentpane {
	background: white;
	margin: 15px;
}

/********************/
/*  Accessibility  */
/******************/

/* Accessibility options to be used when browser doesn't support CSS */

#accessibility {
	position: absolute;
	left: -2000px;
	top: -2000px;
	display: none;
}

#source {
	position: absolute;
	left: -2000px;
	top: -2000px;
	display: none;
}

/****************************************/
/*  Motomarine layout begins here	*/  
/*  Area positions For IE7, Mozilla	*/
/****************************************/

#masthead_talvi {
	width: 850px;
	height: 150px;
	padding: 0;
	margin: 0 auto;
	background: url('../images/bg_masthead_talvi.jpg') no-repeat;
}

#masthead {
	width: 850px;
	height: 150px;
	padding: 0;
	margin: 0 auto;
/*	background: url('../images/bg_masthead_talvi.jpg') no-repeat; */
	background: url('../images/bg_masthead_kesa.jpg') no-repeat; 
}


#container {
	width: 850px;
	padding: 0;
	margin: 0 auto;
	background: #fff url('../images/bg_container.jpg') repeat-y;
	text-align: left;
}

#sidebar_talvi {
	display: inline;
	float: left;
	text-align: left;
	width: 200px;
	min-height: 50px;
	height: auto;
	padding: 33px 0 0 0;
	margin: 0;
	background: url('../images/bg_sidebar_header_talvi.jpg') no-repeat;
}

#sidebar {
	display: inline;
	float: left;
	text-align: left;
	width: 200px;
	min-height: 50px;
	height: auto;
	padding: 33px 0 0 0;
	margin: 0;
/*	background: url('../images/bg_sidebar_header_talvi.jpg') no-repeat; */
	background: url('../images/bg_sidebar_header_kesa.jpg') no-repeat; 
}

#navigation {
	display: inline;
	float: left;
	width: 650px;
	height: 50px;
	margin: 0;
	padding: 0;
	background: url('../images/bg_navigation_kesa.jpg') no-repeat;

}

/* Few content area setting */
#maincontent {
	display: inline;
	float: left;
	width: 600px;
/*	min-height: 450px;                    */
	margin: 0 25px 0 25px;
	padding: 0;
	
}

#maincontent .column50 .moduletable, #maincontent .col {
	display: inline;
	float: left;
	width: 50%;
	text-align: left;
	margin: 0;
	padding: 0;
	font-size: 100%;
}
/* Affects on i.e. class readon */ 
.contentpaneopen_productlist {
	border: 0; 
	width: 600px;
	margin: 0;
	padding: 0;
}

#newsbox {
	display: inline;
	float: left;
	margin: 10px 0 20px 0;
	padding: 0;
}


#footer {
	clear: both;
	width: 850px;
	height: 130px;
	margin: 0;
	padding: 0;
	background: url('../images/bg_footer.jpg') no-repeat;
	font-family: verdana, arial, sans-serif;
	font-size: 7pt;
	font-weight: normal;
	color: #B6B6FF;
	text-decoration: none;
}
#footer .footnote {
	display: inline;
	float: left;
	width: 850px;
	margin: 16px 0 0 0;
	padding: 0;
	font-family: verdana, arial, sans-serif;
	font-size: 7pt;
	font-weight: normal;
	color: #B6B6FF;
	text-decoration: none;
	text-align: right;
	}


#footer .footnote a:link, #footer .footnote a:visited, #footer .footnote a:active {
	font-family: verdana, arial, sans-serif;
	font-size: 7pt;
	font-weight: normal;
	color: #B6B6FF;
	text-decoration: none;
}

#footer .footnote a:hover {
	text-decoration: none;
	color: white;
}
/* SIDEBAR STYLING & MENU */

.sidebar-icon {
	display: inline;
	float: left;
	margin: 7px 0 0 0;
	padding: 0;
	width: 60px;
	border: 0;
}

.sidebar-text {
	display: inline;
	clear: left;
	float: left;
	margin: 0;
	padding: 0;
	width: 60px;
	border: 0;
}

#sidebar ul, sidebar li {
	margin: 0;
	padding: 0;
}

#sidebar a {
	display: block;
	height: 17px;
	font-family: arial, sans-serif;
	font-size: 13px;
	font-weight: normal;
	color: #265687;
	margin: 0;
	padding: 0 0 0 14px;
	}

#sidebar ul {
	margin: 0 0 0 63px; /*was 0 0 15 77 */
	padding: 0;
	list-style: none;
}

#sidebar li span.mainlevel {
 	display: block; 
	font-family: arial, sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #FA760B;
	margin: 7px 0 0 0;
	padding: 0 0 0 0;
}

#sidebar a:link, #sidebar a:active, #sidebar a:visited {	
	text-decoration: none;
	background: url('../images/img_arrow_blue.gif') no-repeat 4px 50%;
}

#sidebar a:hover {
	color: blue;
	text-decoration: none;
	background: url('../images/img_arrow_blue_hover.gif') no-repeat 4px 50%;
}

/* NEWSBOX STYLING, for Latest news module and Display News by DK -module */

#newsbox .moduletable {
	display: inline;
	float: left;
	width: 322px;
	height: 150px;
	margin: 0 0 0 2px;
	padding: 0;
	background: transparent url('../images/bg_newsbox_lighter.jpg') repeat-x;
/*	border: 1px solid #A3BDDE; */
	}

#newsbox .moduletable H3 {
	font-family: arial, tahoma, sans-serif;
	color: white;
	font-size: 14px;
	font-weight: normal;
	padding: 4px 0 0 23px; /* with normal newsbox image 10px 0 0 23px */ 
	margin: 0;
	letter-spacing: 0.01em;
	}

#newsbox ul {
	margin: 10px 0 0 0;
	padding: 0;
}

#newsbox li {
	list-style: none;
	}

#newsbox ul .latestnews, #newsbox .moduletable .dn-whole {
	float: left;
	display: inline;
	margin: 0 0 2px 22px; /* with normal newsbox image 15px 0 0 15px */
	padding: 0;
	list-style: none;
}

#newsbox ul li, #newsbox .dn-whole .dn-each {
	margin: 0;
	padding: 0;
	width: 280px;
} 
#newsbox li.latestnews a, #newsbox .dn-whole .dn-each a {
	font-family: arial, sans-serif;
	font-size: 13px;
	font-weight: normal;
	margin: 0;
	padding: 0 0 0 10px;
}

#newsbox .moduletable .dn-whole .dn-each {
	clear: both;
}


#newsbox .moduletable .dn-each .dn-title {
	display: inline;
	float: left;
	margin-right: 2px;
}
	
/*date - pieni kikkailu että sai mukaan sulut*/
#newsbox .moduletable .dn-each .dnd-date {
	display: block;
	color: grey; /* #C10207; */
	font-size: 11px;
	font-family: arial;
	font-weight: normal;
	text-decoration: none;
	padding: 1px 0 0 0;
	margin: 0;
	}

#newsbox a:link, #newsbox a:active, #newsbox a:visited {
	color: #265687;
	text-decoration: none;
	background: url('../images/img_arrow_blue.gif') no-repeat 0 6px;
	vertical-align: bottom;
}

#newsbox a:hover {
	color: blue;
	text-decoration: none;
	background: url('../images/img_arrow_blue_hover.gif') no-repeat 0 6px;
}
/* alternative */
#newsbox .moduletable_newsbanner a{
	display: inline;
	float: left;
	width: 250px;
	height: 40px;
	font-family: arial, tahoma, sans-serif;
	color: white;
	font-size: 16px;
	font-weight: normal;
	letter-spacing: 0.02em;
	text-decoration: none;
	margin: 0 0 0 25px;
	padding: 10px 0 0 15px;
	background: transparent url('../images/bg_newsbanner_01.jpg') no-repeat;
}

#newsbox .moduletable_newsbanner a:hover {
	text-decoration: none;
	background: transparent url('../images/bg_newsbanner_02.jpg') no-repeat;
}




/* GENERAL CONTENT STYLING */

/* Headers */
h1, h3, #newsbox h1 {
	font-family: arial;
	font-size: 18px;
	font-weight: normal;
	padding: 0 0 1em 0;
	margin: 0;
	color: black;
	letter-spacing: 0.01em;

	
}

#newsbox h1 {
	padding-left: 25px;
	}

/* Joomla uses these also as headers */
.contentheading, .componentheading, .componentheading_productlist {
	font-family: arial;
	font-size: 18px;
	font-weight: normal;
	padding: 0 0 1em 0;
	margin: 0;
	color: black;
	letter-spacing: 0.01em;
	}
	

/* Also linked subheadings, search results headers */
h2, .contentheading_productlist, 
#maincontent a:link.contentpagetitle_productlist, #maincontent a:visited.contentpagetitle_productlist, #maincontent a:active.contentpagetitle_productlist {
	font-family: arial, tahoma;
	font-size: 13px;
	font-weight: bold;
	padding: 0 0 0.5em 0;
	margin: 0;
	color: black;
	text-decoration: none;
}

#maincontent a:hover.contentpagetitle_productlist {
	color: #000099;
	text-decoration: none;
}


#maincontent p, #maincontent .col p, #maincontent .search_results, #maincontent .search_result_box, .contentpane_registration, .message, .moduletable_login {	
	font-family: arial, verdana, sans serif;
	font-size: 0.9em;
	font-weight: normal;
	padding: 0 0 1em 0;
	margin: 0;
	color: #222;
	line-height: 1.2em;
	text-align: justify;
}

#maincontent a:link, #maincontent a:active, #maincontent a:visited, #maincontent .col a:link, #maincontent .col a:active, #maincontent .col a:visited {
	margin: 0;
	padding: 0;
	font-family: arial, verdana, sans serif;
	font-weight: normal;
	color: blue; /*was #265687; */
	text-decoration: none;
}

#maincontent a:hover, #maincontent .col a:hover {
	color: blue;
	text-decoration: underline;

}

.message {color: red;}


/* List ul, ol styling */

/* Pientä kikkailua että floating image ja ul toimivat */
#maincontent ul, #content ol {
	margin: 0;
	padding: 0 8px 0.8em 20px;
}

#maincontent ul {
	list-style: disc;
}

/* Unordered list li styling */
#maincontent ul li {
	margin: 0;
	padding: 0 0 0 5px;
	font-family: arial, verdana, sans serif;
	font-size: 0.9em;
	font-weight: normal;
	color: #222;
	line-height: 1.2em;
}

#maincontent ol li {
	margin: 0;
	padding: 0 0 0 5px;
	font-family: arial, verdana, sans serif;
	font-size: 0.9em;
	font-weight: normal;
	color: #222;
	line-height: 1.2em;
} 



/*content images basic*/

/*
#maincontent img {
	border: 0;
	padding: 0;
	margin: 10px 0 25px 0;
}
*/

#maincontent .pikkukuva {
	float: left;
	display: inline;
	padding: 0;
	margin: 0px 20px 10px 0px;
}

#maincontent .isokuva {
	display: block;
	clear: both;
	padding: 0;
	margin: 0px 0px 10px 0px;
}

#maincontent .vaihtokoneen_kuva {
	float: left;
	display: inline;
	padding: 0px 20px 15px 0;
	margin: 0;
}


#maincontent .kuva_oikealla {
	float: right;
	display: inline;
	padding: 0;
	margin: 0px 0px 20px 20px;
}


#maincontent img.float_right {
	border: 0;
	padding: 0;
	margin: 0 0 0 25px;
	display: inline;
	float: right;
}


#maincontent .readon, #maincontent a.readon, #maincontent .readon_productlist, #maincontent a.readon_productlist  {
	display: inline;
	float: right;
	margin: 0;
	padding: 0;
	color: blue;
	font-family: arial;
	font-weight: normal;
	font-size: 0.8em;
	text-decoration: none;
}

#maincontent a:hover.readon, #maincontent a:hover.readon_productlist {
	color: #000099;
	text-decoration: none;
}

/* Author */
#maincontent .small {
	text-align: left;
	margin: 0;
	padding: 0 0 0.3em 0;
	color: #666;
	font-family: arial;
	font-weight: normal;
	font-size: 0.70em;
	text-decoration: none;
	font-style: italic;
}


td.createdate {
	text-align: left;
	vertical-align: top;
	height: 17px;
	margin: 0;
	padding: 0;
	color: #C10207;
	font-family: arial;
	font-weight: normal;
	font-size: 0.70em;
	text-decoration: none;
}


#maincontent .article_seperator {
	height: 0;
	margin: 0;
	padding: 0;
	}
	
#maincontent .blog_productlist .article_seperator {
	display: block;
	height: 13px;
	width: 600px;
	background: transparent url('../images/dots_horizontal.gif') repeat-x 1px 0;
	}

/* Product line menus in content (Not dynamic menus yet) */
#maincontent p.productline {
	clear: both;
	color: #222; /* #FA760B; */
	font-size: 13px;
	margin: 10px 0 0 0;
	padding: 4px 10px 6px 10px;
	background: #EFEFEF; /* url('../images/dots_horizontal.gif') repeat-x 0 0; */
/*	text-align: center; */	

}

#maincontent p.productline a {
	color: #000099; /*  #265687; */
	text-decoration: none;

}


#maincontent p.productline a:hover {
	color: blue;
	text-decoration: none;

}


/* Information tables in content */
#maincontent .taulukko {
	display: inline;
	margin: 0;
	padding: 0;
}

#maincontent table.taulukko_tiedot, table.taulukko_tiedot {
	float: left; /* Mozilla requires float here, not in p element */
	padding: 0;
	margin: 5px 30px 15px 0;
}	

#maincontent .contentpaneopen td.taulukko_otsikko, td.taulukko_otsikko {
	font-family: arial, verdana, sans serif;
	font-weight: bold;
	font-size: 13px;
	color: #222;
	padding:0 0 1px 0;
	border: none;
	width: 130px;
}

#maincontent .contentpaneopen td.taulukko_vali, td.taulukko_vali {
	border: none;
	width: 10px;
}

#maincontent .contentpaneopen td.taulukko_tieto-otsikko, td.taulukko_tieto-otsikko {
	font-family: arial, verdana, sans serif;
	font-size: 13px;
	font-weight: bolder;
	color: #000066;
	font-size: 12px;
	padding: 2px 0 0 0;
	border-bottom: 1px solid #CCC;
}

#maincontent .contentpaneopen td.taulukko_tietorivi, td.taulukko_tietorivi {
	font-family: arial, verdana, sans serif;
	font-size: 13px;
	font-weight: normal;
	color: black;
	font-size: 12px;
	padding: 2px 0 0 0;
	border-bottom: 1px solid #CCC;
}


/* Lost Password styling */
/*** Also in p-styling */
.contentpane_registration td {
	padding-right: 17px;
	padding-bottom: 1em;
	}

 
/* This to last of content styling - overriding margins/paddings */
#maincontent p, #maincontent h1,  #maincontent h2,  #maincontentt h3, .componentheading, .contentheading, .componentheading_news, .contentheading_news, .createdate {
	padding-right: 0;
} 




/********************************/
/*  Module styling begins here  */
/********************************/

/*PATHWAY COMPONENT */

#maincontent .moduletable_pathway {
	display: block;
	margin: 5px 0 12px 0;
	padding: 0;
	width: 550px;
	text-align: left;
	color: #444;
	font-family: arial;
	font-weight: normal;
	font-size: 8pt;
	text-decoration: none;
}

#maincontent a:link.pathway, #maincontent a:visited.pathway, #maincontent a:active.pathway  {
	display: inline;
	text-align: left;
	margin: 0;
	padding: 0 2px 0 0;
	font-family: arial;
	font-weight: normal;
	font-size: 8pt;
	color: #265687;
	font-weight: normal;
	text-decoration: none;
}

#maincontent a:hover.pathway   {
	color: blue;
	text-decoration: none;
}


/* MAIN MENU */

#navigation .moduletable_mainmenu ul {
	padding: 20px 0 0 14px;
	margin: 0;
}

#navigation .moduletable_mainmenu ul li {
	display: inline;
	height: 27px;
	margin: 0;
	padding: 0;
	font-family: arial, sans-serif;
	font-size: 14px;
	list-style: none;
}

#navigation .moduletable_mainmenu a:link, #navigation .moduletable_mainmenu a:active, #navigation .moduletable_mainmenu a:visited {
	display: inline;
	float: left;
	font-family: arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	height: 27px;
	padding: 5px 10px 0 10px;
	margin: 0;
	color: white;
	text-decoration: none;
	background: transparent;
}

#navigation .moduletable_mainmenu a:hover {
	display: inline;
	float: left;
	height: 27px;
	padding: 0 0 0 10px;
	margin: 0;
	background: transparent url(../images/bg_navigation_button_01.jpg) 0 0;
	background-repeat: no-repeat;
	color: #265687;
}

#navigation .moduletable_mainmenu a:hover span {
	display: inline;
	float: left;
	height: 27px;
	margin: 0;
	padding: 5px 10px 0 0;
	background: transparent url(../images/bg_navigation_button_02.jpg) top right;
	background-repeat: no-repeat;
	color: #265687;
}


/*
}#navigation .moduletable_mainmenu a:hover.navi {
	display: inline;
	height: 27px;
	margin: 0 1px 0 0;
	padding: 0 10px 0 10px;
	background:  transparent url(../images/bg_navigation_button_02.jpg) no-repeat right;
}

#navigation .moduletable_mainmenu span a:hover   {
	display: block;
	background: transparent url(../images/bg_navigation_button_01.jpg) no-repeat;
	
}

*/

/* SECTIONNAV */

#maincontent .column50 .moduletable { 
margin: 0 0 15px 0; 
padding: 0; 
}

#maincontent .column50 .moduletable ul{
	list-style: none;
	margin: 0;
	padding: 0 0 1px 0;
}

#maincontent .column50 .moduletable ul li {
	margin: 0;
	padding: 0; 
}
	
#maincontent .column50 .moduletable ul li.sectionnav_section a{
	display: block;
	font-family: tahoma, arial;
	font-size: 15px;
	font-weight: bold;
	padding: 0 0 0 0;
	margin: 0;
	color: black;
	text-decoration: none;
}

#maincontent .column50 .moduletable ul li.sectionnav_category a {
	display: block; 
	font-family: arial, tahoma;
	font-size: 13px;
	font-weight: bold;
	padding: 3px 0 0 10px;
	margin: 0;
	color: black;
	text-decoration: none;
}

#maincontent .column50 .moduletable ul li.sectionnav_content a { 	
	display: block;
	font-family: arial, sans-serif;
	font-size: 13px;
	font-weight: normal;
	color: #265687;
	margin: 0;
	padding: 0 0 2px 29px;
	text-decoration: none;
	background: url('../images/img_arrow_blue.jpg') no-repeat 17px 5px;

}


/* SEARCH COMPONENTS IN SIDEBAR AND CONTENT */

#sidebar .moduletable_search {
	display: block;
	margin: 0;
	padding: 5px 0 10px 0;
}

#sidebar form, #maincontent form {
	margin: 0;
	padding: 0;
}

#sidebar input {
	margin: 0 0 0 2px;
	padding: 2px;
	width: 121px;
	font-family: arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: black;
	background: white;
	text-align: left;
	border-top: 1px solid #777777; /*#86AED2; */ 
	border-left: 1px solid #777777;
	border-right: 1px solid #E7E7E7;
	border-bottom: 1px solid #E7E7E7;
	
}

#maincontent .searchintro p {
	margin: 15px 0 6px 0;
	padding: 0;
font-weight: bold;
}

#maincontent .highlight {
	font-style: italic; 
	font-weight: normal;
}

#maincontent .search_results .pagenav_results {
	display: inline;
	margin: 0 5px 0 0;
	padding: 0;
}

#maincontent .search_result_box, #maincontent .search_result_header {
	font-family: arial, verdana, sans serif;
	font-size: 0.9em;
	font-weight: normal;
	padding: 0;
	margin: 0;
	color: #222;
	line-height: 1.2em;
	text-align: justify;
}


#maincontent .search_result_header a:link, #maincontent .search_result_header a:visited, #maincontent .search_result_header a:active  {
	margin: 0;
	padding: 0;
	font-family: arial, verdana, sans serif;
	font-weight: normal;
	color: blue; 
	text-decoration: none;
}

#maincontent .search_result_header a:hover {
	color: blue;
	text-decoration: underline;
}





/*** PAGENAVIGATION STYLING */
#maincontent .pagenav, #maincontent .pagenav_results, #maincontent .pagenav_next, #maincontent .pagenav_prev { 
	padding: 0 8px 0 8px;
	margin: 0;
	color: black;
	font-family: arial;
	font-weight: bold;
	font-size: 13px;
	text-decoration: none;
}

#maincontent .pagenav_results {
	display: block;
	font-weight: normal;
	padding-top: 3px;
}

#maincontent td.item_navigation {
/* Navigation between items */
}

#maincontent a:link.pagenav,#maincontent a:visited.pagenav,#maincontent a:active.pagenav,
#maincontent .pagenav_next a:link,#maincontent .pagenav_next a:visited,#maincontent .pagenav_next a:active,
#maincontent .pagenav_prev a:link,#maincontent .pagenav_prev a:visited,#maincontent .pagenav_prev a:active {
	padding: 0 8px 0 8px;
	font-weight: normal;
	color: blue;
	text-decoration: none;
}

#maincontent a:hover.pagenav, #maincontent .pagenav_prev a:hover, #maincontent .pagenav_prev a:hover {
	color: #000099;
	text-decoration: none;
}




/******************/
/*  Miscallenous  */
/******************/

/* Preloads images defined at the bottom of index.php */

#imagepreload {
	display: none; /* Must be added */
	margin: 0;
	padding: 0;
}


/* Wraps content in iframe */
/* PS. External form styling */
iframe.wrapper {
	z-index: 0;
	margin: 0;
	padding: 0;
} 

.moduletable_wrapper {
	width: 500px;
	margin: -10px 0 0 0;
	padding: 0;
	text-align: left;
}


 
/* Clears left and right floats */
 
.clr {	
	margin: 0;
	padding: 0;
	clear: both;
}


.image_float_right {
	display: inline; 
	float: right; 
	margin: 0 20px 10px 20px;

}

.image_float_left {
	display: inline; 
	float: left; 
	margin: 0 20px 10px 0;

}

#maincontent .hinta {
	font-weight: bold;
	float: right;
	display: inline;
	padding: 0;
	margin: 0px 30px 0px 0px;
}
