﻿/* Start of CMSMS style sheet 'Necesa' */
body {
	margin:0 auto;
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
	line-height:18px;
	color:#272727;
	background-color:#ebebeb;
}
/*if img is inside "a" it would have borders, we don't want that*/
img {
	border: 0;
}

h1 {	
	font-size:18px;
	line-height:24px;
	font-weight:bold;
	text-transform:uppercase;
	text-align:left;
	color:#7b0782;
}

h2 {
	font-size:16px;
	line-height:20px;
	font-weight:bold;
	text-align:left;
	color:#7b0782;	
	margin-bottom:2px;
}

p {
	margin-top:2px;
}

#wrapper {
	margin:0 auto;
	width:1024px;
	margin-bottom:25px;
	background-image:url('images/ylabanneri_etusivu.jpg');
	background-position:center top; 
	background-repeat:no-repeat;
}

#wrapper2 {
	margin:0 auto;
	width:1024px;
	margin-bottom:25px;
	background-image:url('images/ylabanneri_sisasivu.jpg');
	background-position:center top; 
	background-repeat:no-repeat;
}


/* navi */
a.navi, a.navi:link, a.navi:active, a.navi:visited {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#272727;
	font-weight:bold;
	text-decoration:none;
}

a.naviactive, a.naviactive:link, a.naviactive:active, a.naviactive:visited, a.navi:hover {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#7b0782;
	font-weight:bold;
	text-decoration:none;
}


a.navi:hover {
	color:#7b0782;
}

a, a:link a:active {
/* set all links to have underline */
	text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
	background-color: inherit;
/* this is a bluish color, you change this for all default link colors */
	color: #7b0782;
}
a:visited {
/* keeps the underline */
	text-decoration: underline;
	background-color: inherit;
/* a different color is used for visited links */
	color: #7b0782;
}
a:hover {
/* remove underline on hover */
	text-decoration: none;
	background-color: inherit;
/* using a different color makes the hover obvious */
	color: #7b0782;
}
/* End of 'Necesa' */

