/*Demarinuoret css*/

body, html {
	height: 100%;
	background-image: url(images/nuoli.png);
	background-repeat: repeat;
	background-attachment: fixed;
	color: #707070;
	margin: 0;
	padding: 0;
	text-align: left;
	font-family: Arial;
	font-size: 10px;
}

div#page {
	background-color: #FFFFFF;
	margin-left: 10px;
	width: 735px;
	min-height: 100%;
	height: auto;
	_height: 100%; /*IE only*/
}

/********banner starts*********/
div#banner {
	height: 110px;
	padding-top: 20px;
	/*color: #db6f6f;*/
	color: #cc3333;
	margin: 0 30px;
	/*font-weight: bold;*/
	line-height: 1;
	font-size: 7.5pt;
}

div#bannerLeft {
	float: left;
}

div#bannerRight {
	float: right;
	margin-right: 0;
	text-align: right;
}

div#banner img {
	border: 0;
}

div#banner p {
	margin-top: 8px;
	font-size: 10px;
	line-height: 13px;
	word-spacing: 0.1px;
	/*font-size: 9px;
	font-weight: bold;*/
}

div#logo {
	position: absolute;
	top: 40px;
	left: 588px;
}

span#bannerAddress {
	text-transform: uppercase;
	font-size: 9px;
	line-height: 11px;
	/*letter-spacing: 0.1px;*/
}

div#language {
	position: absolute;
	top: 110px;
}
/*****banner ends*******/

div#main {
	border-top: 1px solid #e8e8e9;
	margin: 0 20px;
	/*padding-top: 20px;*/
	padding: 10px 10px 20px 10px;
}

div#sidebar {
	width: 180px;
	float: left;
	margin-top: 0;
}

div#content {
	width: 475px;
	float: right;
	padding: 0;
	margin-top: 0;
	font-size: 11px;
}

div.footer {
	clear: both;
	height: 20px;
	margin: 0;
	padding: 0;
}

div.clear {
	clear: both;
}

div#lippu {
	float: left;
	width: 230px;
	margin-right: 20px;
	margin-bottom: 30px;
}

div#kalenteri { /*etusivun kalenteriosio*/
	float: right;
	width: 225px;
	margin-bottom: 30px;
}

div.event {
	padding: 5px 10px 5px 10px;
	background-color: #EFEFEF;
}

h5.title a {
	color: #d86565;
	text-transform: uppercase;
}

div.vp {
	float: left;
	width: 230px;
	margin-right: 20px;
}

div.op {
	float: right;
	width: 225px;
}

/*div#mainos {
	position: fixed;
	bottom: 50px;
	margin-left: 780px;
}*/

div#mainos {
	position: fixed;
	bottom: 50px;
	left: 775px;
	width: 123px;
	text-align: center;
}

/*Henkilöt*/
div.henkilo {
	width: 110px;
	/*height: 400px;*/
	height: auto;
	padding: 10px 40px 0 0;
	/*padding: 0 10px 0 0;*/
	float: left;
}

p.tiedot {
	color: #cc3333;
	text-transform: uppercase;
	margin-top: 10px;
}

p.kuvaus {
	font-style: italic;
}

p.puhelin {
	color: #000000;
	font-weight: bold;
	height: 40px;
}

/******Lists*******/

div#sidebar ul {
	width: 180px;
	background: #000000;
	color: #ffffff;
	margin: 0;
	padding: 10px 0 10px 0;
	/*padding: 0;*/
	/*padding: 10px 0;*/
	list-style-type: none;
}

div#sidebar li {
	margin: 0 0 0 10px;
	padding: 3px 0;
	text-indent: -1em;
}

div#sidebar li.last {
	padding: 3px 0 0 0;
	/*margin-bottom: 3px;*/
}

div#sidebar li a {
	padding: 0;
	margin: 0 10px;
}

div#sidebar li.active a {
	border-bottom: 1px solid #CC3333;
}

div#sidebar li.active a:hover {
	text-decoration: none;
}

div#sidebar li ul {
	/*padding: 5px 10px 5px -10px;*/
	padding: 5px 0;
	background-color: #FFFFFF;
	margin: 7px 0 0 -10px;
	/*margin: 0;*/
}

div#sidebar li ul li {
	background-color: #FFFFFF;
	/*padding-left: 0;*/
	padding-left: 15px;
	text-indent: -1em;
}

div#sidebar li ul li.last {
	padding-left: 15px;
	/*margin-top: 3px;*/
}

div#sidebar li ul li a {
	color: #CC3333;
	/*text-decoration: underline;*/
	text-decoration: none;
	font-size: 12px;
}

div#sidebar li ul li a:hover {
	text-decoration: none;
	border: 0;
	color: #CC3333;
}

div#lippu a {
	color: #000000;
	font-weight: bold;
}

div#kalenteri a {
	color: #000000;
	font-weight: bold;
}

div#kalenteri p {
	margin-bottom: 0;
}

/*********Links**********/

a {
	color: #666666;
	text-decoration: none;
}

a:hover {
	color: #666666;
	text-decoration: underline;
}

a.lisaa {
	color: #707070;
	text-decoration: none;
}

a.lisaa:hover {
	text-decoration: underline;
}

div#sidebar a {
	color: #ffffff;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 15px;
}

div#sidebar a:hover {
	text-decoration: underline;
}


/*********Text**********/

h1 {
	color: #000000;
	font-size: 18px;
	margin-bottom: 0;
}

h2 {
	color: #000000;
	font-size: 16px;
	margin-bottom: 0;
}

h3 {
	color: #000000;
	font-size: 14px;
	margin-bottom: 0;
}

h4 {
	color: #000000;
	font-size: 12px;
	margin-bottom: 0;
}

h5 {
	color: #000000;
	font-size: 11px;
	margin-bottom: 0;
}

p.date {
	margin-top:0;
	/*color: #000000;*/
}

p.break {
	margin-top:0;
}

/*******Separators*******/

hr {
	width: 100%;
	height: 1px;
	border: 0;
	color: #e8e8e9;
	background-color: #e8e8e9;
}

img {
	border: 0;
}

div#mainos p {
	margin-top: 20px;
}

div#tapahtumat {
	/*position: absolute;
	width: 113px;*/
	position:relative;
	width: 109px;
	height: 109px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	background: url(/assets/images/mainos_tausta.png);
}

div#tapahtumat img{
	position:absolute;
	display:block;
	border:none;
	margin: 0 auto;
	left: 0;
	width: 109px;
	padding: 0;
}


.otsikko {
	color: #000000;
	font-weight: bold;
	margin-bottom: 0;
}

p.tiedot {
	margin-top: 8px;
}

.mask{
	position:relative;
	width: 120px;
	height: 120px;
	margin-bottom: 20px;
	/*overflow:hidden;*/
}
.mask img{
	position:absolute;
	display:block;
	border:none;
}

.thumbscontainer .thumbs li img{
	display: block;
	width: 80px;
	height: 80px;
	overflow: hidden;
}