/*#############################################
 MAIN.CSS
	by Blackmilk
###############################################*/

/*#############################################
 IMPORTIT
###############################################*/

@import url("reset.css");
@import url("menu.css");
@import url("typography.css");
@import url("forms.css");
@import url("colorbox.css");
@import url("calendar.css");

/*#############################################
 YLEISET MÄÄRITTELYT
###############################################*/

html {

	height: 100%;
	width: 100%;
	padding: 0;
	margin: 0;

	background:url(../gfx/background.jpg) #e7e7e7 no-repeat top center;	
}

body{

	width: auto;
	height: auto;
	padding: 30px 0px 20px 0px;
	margin: 0;


}

table tr td {

	padding: 3px 5px;
}

/*#############################################
 CONTENT ALUEET
###############################################*/

#wrapper{

	position: relative;
	width:970px;
	height: auto;
	margin:0 auto;
	padding:0;

}

#inner-wrapper{

	width:950px;
	height: auto;
	margin:0;
	padding:0;

	border-left: 10px solid #fff;
	border-right: 10px solid #fff;
	
	background:#fff;
}


#header {
	
	position: relative;
	display:block;
	
	width:950px;
	height:300px;
	
	padding: 0;
	margin: 0;

}

#header img {

	z-index: 50;
	display: block;
}

#header-wave {

	z-index: 100;
	position: absolute;
	display: block;
	
	left: 0;
	bottom: 0;
	
	width: 950px;
	height: 57px;
	
	margin: 0;
	padding: 0;
	
	background: url(../gfx/header-wave.png) no-repeat;
	
}

#content-header {

	display: block;
	width:auto;
	height: 20px;
	padding: 0;
	margin: 0 0 7px 0;
	overflow: hidden;
		
	border-bottom: 1px dotted #797979
}

#logo {

	z-index: 50;
	position: absolute;
	display: block;
	
	left: 5px;
	top: 25px;
	
	width: 269px;
	height: 59px;
	
	margin: 0;
	padding: 0;
	
	background: url(../gfx/villa-vuosanta-logo.png) no-repeat;
}

#content {

	display: block;
	width:950px;
	height:100%;
	
	margin: 0;
	padding:0;
	
	overflow: hidden;
	
	background: url(../gfx/content-bg.jpg) no-repeat;
}

#left{

	float:left;
	display: block;	
	
	width: 210px;
	height: auto;
	
	margin: 0;
	padding: 10px 20px;
	
}

#right{

	display: block;	
	float:right;
	
	width:630px;
	height: auto;
	
	padding: 10px 35px;
	margin: 0;
}

#footer {

	position: relative;
	display: block;
	width: 930px;
	height: 50px;
	padding: 20px 10px 10px 10px;
	margin: 15px 0 0 0;

	background: url(../gfx/footer.png) no-repeat;
	
	overflow: hidden;

}

#search {

	z-index: 50;
	position: absolute;
	display: block;

	top: 0;
	right: 0;
	
	width: 246px;
	height: 29px;
	
	margin: 0;
	padding: 8px 0 10px 30px;
		
	background: url(../gfx/search-bg.png) no-repeat;
	
}


#search .search-input {
	
	display: inline-block;
	
	width: 150px;
	height: 15px;
	
	color:#bf604e;
	font-family: Arial, tahoma;
	font-size: 12px;
	font-weight: bold;
	
	margin: 0;
	padding: 5px 10px;
	
	border: none;
	background: url(../gfx/search-input.png) no-repeat;
	
}

#search .search-button {
	
	display: inline-block;
	
	width: 66px;
	height: 24px;
	
	color:#f1f1f1;
	font-family: Arial, tahoma;
	font-size: 10px;
	text-transform: uppercase;
	outline: none;
	
	margin: 0;
	padding: 0;

	border: none;
	background: url(../gfx/search-submit.png) no-repeat;
	
	cursor: pointer;
	
}

#newsflash {

	z-index: 100;
	position: absolute;
	display: block;
	
	right: 10px;
	top: 60px;
	
	width: 216px;
	height: 120px;
	
	padding: 20px 7px 5px 7px;
	margin: 0;
	
	background: url(../gfx/nostoboxbg.png) no-repeat;
	
	overflow: hidden;
	
	-moz-box-shadow: 0 0 10px rgba(255,255,255,1);
	-webkit-box-shadow: 0 0 10px rgba(255,255,255,1);
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
	
}

#newsflash .scroller {

	position: relative;
	display: block;

	width: 216px;
	height: 120px;

	padding: 0;
	margin: 0;
	
	overflow: hidden;
}

#newsflash .scroller a {

	position: relative;
	display: block;

	width: 216px;
	height: 120px;

	overflow: hidden;
}

#newsflash .scroller a:hover {

	text-decoration: none;
}

#newsflash h3 {

	color: #000;
	font-family: Arial;
	font-size: 12px;
	line-height: 12px;
	text-align: center;
	font-weight: bold;


}

#newsflash p {

	color: #333;
	font-family: Arial;
	font-size: 10px;
	line-height: 12px;
	text-align: center;


}

#newsflash .close {

	position: absolute;
	display: block;
	
	right: 5px;
	top: 5px;
	
	width: 14px;
	height: 15px;
	
	margin: 0;
	padding: 0;
	
	background: url(../gfx/box.png) no-repeat;
	
	cursor: pointer;
	
}


/*#############################################
 SEARCH RESULTS
###############################################*/

#results {
	z-index: 150;
	font-size: 10px;
	font-family: arial;
	padding: 0px;
	display: none;
}

#results div {
    border-bottom: 1px solid #666;
    padding: 3px 5px;
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.75);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.75);
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#results div:hover {
	cursor: pointer;
}

#results .selected {
	background-color: rgba(102,102,102,0.85);
	color: #fff;
}

#results .unselected {
	background-color: rgba(255,255,255,0.85);
	color: #666;
}


/*#############################################
 MISC
###############################################*/

.fanbox {

	display: block;

	width: 202px;
	height: 80px;

	margin: 0;
	padding: 10px 0 0 0;
}


.banners {

	display: block;

	width: 202px;
	height: auto;

	margin: 20px 0 0 0;
	padding: 0;
	
	overflow: hidden;
}


.header-top-corners{

	display: block;
	width:950px;
	height: 10px;
	margin:0;
	padding:0;
	
	background:url(../gfx/header-topbar.png) no-repeat;
	
	overflow: hidden;
}
.top-corners{

	display: block;
	width:970px;
	height: 10px;
	margin:0;
	padding:0;
	
	background:url(../gfx/top-whiteborder.png) no-repeat;
	
	overflow: hidden;
}

.bottom-corners{

	display: block;
	width:970px;
	height: 10px;
	margin:0;
	padding:0;
	
	background:url(../gfx/bottom-whiteborder.png) no-repeat;
	
	overflow: hidden;
}

.pageimage {

	display: block;
	float: right;
	margin: 0 10px 10px 10px;
	padding: 0;

}

.news-postdate {

	margin: -12px 0 10px 0;
	font-style: italic;
}


.title, .selected-title{
		
	clear:both;
	
	display:block;
	
	width:195px;
	height:26px;
	line-height: 26px;
	
	font-family:tahoma;
	font-size:14px;
	font-weight:bold;
	
	color:#fff;
	
	padding:0px 0px 0px 15px;
	
}

.title {

	background:url(../gfx/navibg-neutral.gif) repeat-x;
}

.selected-title {

		background:url(../gfx/navibg-active.gif) repeat-x;
}

.sidebar-text{
	display:block;
	width: auto;
	height: auto;
	padding:5px 5px 10px 15px;
}

.news-morelink a {

	display: block;
	width: 175px;
	height: 20px;
	padding: 0;
	margin: 5px 0 0 0;

	text-align: center;
	font-family: tahoma, Arial;
	color: #fff;
	font-size: 12px;
	line-height: 19px;
	font-weight: bold;

	background:url(../gfx/vihrea-nappi.png) no-repeat;

	cursor: pointer;
}

.news-morelink a:hover {

	background:url(../gfx/vihrea-nappi2.png) no-repeat;
}
	
.breadcrumbs {

	display: block;
	float: left;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	
	line-height: 20px;

	color:#444;
}

.breadcrumbs a {

	font-size:10px;
	color: #555;
}		

.breadcrumbs a:hover {

	text-decoration: underline;
}
	
.clearfix {
	
	clear: both;
}

.hideme {

	display: none;

}

.nopadding {

	padding: 0;
}

.nomargin {

	margin: 0;
}
