/* ## BASICS
--------------------------------------------- */

* {margin:0;padding:0;} 

html {
	height: 100%;
	background: #F6F3F0 url('../img/html_bg.jpg') repeat-x top;
	}
body {
	height: 100%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 62.5%;
	}
body > div#pagewrap {
	height: auto; 
	min-height: 100%;
	}
h1 	{
	font-size: 2.6em;
	}
h2 	{
	font-size: 2em;
	}
h3 	{
	font-size: 1.6em;
	}
a:link, a:visited {
	color: #006EAF;
	}
a:hover,
a.active {
	color: #D46000;
	}
p 	{
	line-height: 1.5em;
	}
	
	
	

/* ## Structure
-------------------------------------------- */
	

div#pagewrap {
	margin: 0 auto;
	width: 960px;
	height: 100%;
	font-size: 1.2em;
	}
div#pagetop {
	padding-top: 40px;
	}
div#topcontent {
	padding-top: 35px;
	}
div#maincontent {
	padding-bottom: 200px; /* same as the stickyfooter */
	}
div#centerbox {
	background: url('../img/center_bg.png') no-repeat top center;
	height: 330px;
	margin-top: 50px;
	}
div#bottombox {
	height: 200px;
	}
div#footer {
	position: relative;
	margin-top: -199px; /* negative value of footer height, includes top border */
	height: 199px;
	clear:both;
	background: #29415F url('../img/footer_bg.jpg') repeat-x top;
	border-top: solid 1px #FFFFFF;
	}
div#footercontent {
	margin: 0 auto;
	width: 900px;
	height: 150px;
	position: relative;
	}
	
	
/* helpers */

.left {
	float: left;
	}
.right {
	float: right;
	}
.hide {
	display: none;
	}
	
/* ## Header pics
-------------------------------------------- */

div.frontpage {
	background: url('../img/top_frontpage.png') no-repeat 100% 120px;
	}
div.yllapito {
	background: url('../img/top_yllapito.png') no-repeat 100% 100px;
	}
div.websolutions {
	background: url('../img/top_webratkaisut.png') no-repeat 100% 140px;
	}
div.toiminnanohjaus {
	background: url('../img/top_toiminnanohjaus.png') no-repeat 98% 100px;
	}
div.ohjelmistoratkaisut {
	background: url('../img/top_ohjelmistoratkaisut.png') no-repeat 100% 120px;
	}
	
	
			
/* ## Logo
-------------------------------------------- */

h1#logo {
	float: left;
	}
h1#logo a {
	display: block;
	width: 100px;
	height: 65px;
	background: url('../img/logo.png') no-repeat;
	text-indent: -9999px;
	}
	
	
	
/* ## Top navigation
-------------------------------------------- */

ul#topnav {
	float: right;
	}
ul#topnav li {
	float: left;
	}
ul#topnav li a {
	display: block;
	padding: 5px 10px;
	background: #368CBF;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	margin: 0 3px;
	color: #FFFFFF;
	text-shadow: #207CAF 0 1px 0;
	}
ul#topnav li a:hover,
ul#topnav li a.active {
	background: #29415F;
	text-shadow: none;
	}
ul#topnav li.webmail a {
	margin-left: 40px;
	text-shadow: #3F5C7F 0 1px 0;
	font-weight: bold;
	}
ul#topnav li.remote a {
	text-shadow: #3F5C7F 0 1px 0;
	font-weight: bold;
	}
ul#topnav li.home a {
	margin-right: 40px;
	}	




/* ## Center navigation
-------------------------------------------- */

ul.centernav {
	width: 100%;
	margin-left: 9px;
	}
ul.centernav li {
	float: left;
	}
ul.centernav li a {
	display: block;
	padding: 14px 20px;
	height: 18px;
	background: #FAF8F6 url('../img/centernav_bg.jpg') repeat-x bottom;
	margin-right: 1px;
	border-top: solid 1px #FFFFFF;
	font-size: 1.2em;
	text-shadow: #FFFFFF 0 1px 0;
	}
ul.centernav li a.active,
ul.centernav li a:hover {
	background: #FFFFFF;
	}

/* ## Get in touch
-------------------------------------------- */

div#centerbox ul.getintouch {
	margin: 30px 0 0 0;
	padding: 0;
	border: none;
	}
div#centerbox ul.getintouch li {
	padding: 0;
	margin-right: 20px;
	float: left;
	}
div#centerbox ul.getintouch li a {
	background: #368CBF;
	color: #FFFFFF;
	padding: 6px 8px;
	font-size: 1.2em;
	display: block;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	text-shadow: #003D5F 0 1px 0;
	}
div#centerbox ul.getintouch li a:hover {
	background: #29415F;
	}
div#centerbox ul.getintouch span {
	font-size: 1.4em;
	font-weight: lighter;
	margin-left: 10px;
	color: #598F67;
	}

/* ## more details links
-------------------------------------------- */

ul.moredetails {
	margin-top: 20px;
	}

ul.moredetails li {
	float: left;
	}
ul.moredetails li a {
	padding: 4px 8px;
	display: block;
	margin-right: 10px;
	background: #FFFFFF;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	}


/* ## Typography 
-------------------------------------------- */

h1.slogan {
	padding: 0 20px;
	width: 60%;
	height: 70px;
	font-weight: 100;
	color: #FFFFFF;
	}
div#centerbox div.textblock h2 {
	font-size: 2em;
	font-weight: bold;
	padding-bottom: 15px;
	}
div#bottombox div.textblock h2 {
	font-size: 1.6em;
	padding-bottom: 10px;
	font-weight: 100;
	}
div#footercontent h3 {
	padding-bottom: 10px;
	}


/* ## Textblocks 
-------------------------------------------- */

div#centerbox div.textblock {
	width: 410px;
	padding: 50px 0 0 50px;
	}

div#bottombox div.textblock {
	width: 260px;
	padding: 0 20px 5px 20px;
	border-left: solid 1px #FFFFFF;
	border-right: solid 1px #DFD7D1;
	min-height: 180px;
	_height: 180px; /* IE6 move this away */
	margin-bottom: 30px;
	margin-top: 5px;
	}
div#bottombox div.wide {
	width: 520px;
	}
div#bottombox div.first {
	margin-left: 30px;
	border-left: none;	
	}
div#bottombox div.last {
	border-right: none;
	}

/* ## Portfolioblock
-------------------------------------------- */

div.portfolioblock {
	background: url('../img/portfolio_bg.jpg') no-repeat;
	background-position: top left;
	width: 450px;
	height: 200px;
	margin-top: 10px;
	padding: 40px 0 0 40px;
	} 
div.portfoliowindow {
	width: 375px;
	height: 151px;
	overflow: hidden;
	position: relative;
	}
div.portfolioslider {
	width: 9000px;
	height: 151px;
	overflow: hidden;
	position: relative;
	}
div.portfolioitem {
	width: 375px;
	height: 151px;
	float: left;
	overflow: hidden;
	position: relative;
	}
ul.balls {
	height: 20px;
	width: 375px;
	margin: 8px 0 0 20px;
	padding: 0;
	text-align: center;
	}
ul.balls li {
	display: inline-block;
	padding: 0;
	margin: 0;
	}
ul.balls li a {
	margin-right: 3px;
	display: block;
	width: 11px;
	height: 12px;
	background: url('../img/balls.jpg') no-repeat -12px 0;
	text-indent: -9999px;
	}
ul.balls li a:hover,
ul.balls li a.active {
	background-position: 0 0;
	}
ul.portfolioitemlist {
	padding: 0 20px;
	width: 110px;
	list-style-image: url('../img/bullet.jpg');
	line-height: 1.4em;
	float: left;
	}
a.portfoliolink {
	display: block;
	padding: 6px;
	background: #FFF;
	position: absolute;
	bottom: 0;
	right: 0;
	}

/* ## News block on frontpage
-------------------------------------------- */

div.newsblock {
	width: 300px;
	height: 205px;
	overflow: hidden;
	display: inline;
	margin: 35px 50px 0 0;
	}
div.newsblock h3 {
	margin-bottom: 10px;
	}
div.newsblock ul.newslist li {
	width: 300px;
	float: none;
	border-bottom: solid 1px #eee;
	}
div.newsblock ul.newslist li a {
	float: right;
	width: 245px;
	padding: 4px;
	border-left: solid 1px #EEE;
	}
div.newsblock ul.newslist li a:hover {
	background: #F8F7F5;
	}
div.newsblock ul.newslist li span {
	float: left;
	width: 30px;
	display: block;
	padding: 4px;
	text-align: right;
	color: #7F7F7F;
	}
div.newsblock a.newsarchive {
	padding: 3px 6px;
	display: block;
	width: 90px;
	text-align: center;
	margin-top: 10px;
	float: right;
	color: #FFFFFF;
	background:#2783B4;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	}
div.newsblock a.newsarchive:hover {
	background: #29415F;
	}


/* ## Fancycontact
-------------------------------------------- */

div#fancycontact {
	color: #226F99;
	font-size: 1.2em;
	width: 295px;
	}
div#fancycontact fieldset {
	width: 280px;
	margin-bottom: 10px;
	}
div#fancycontact label {
	width: 280px;
	display: block;
	margin-bottom: 3px;
	text-align: left;
	color: #000000;
	font-size: 1.2em;
	font-weight: 100;
	}
div#fancycontact input {
	padding: 6px;
	background: #29415F url('../img/footer_bg.jpg') repeat-x top;
	width: 280px;
	border: solid 1px #FFFFFF;
	color: #FFFFFF;
	font-size: 1.2em;
	}
div#fancycontact textarea {
	padding: 6px;
	background: #29415F url('../img/footer_bg.jpg') repeat-x top;
	width: 280px;
	border: solid 1px #FFFFFF;
	color: #FFFFFF;
	font-size: 1.1em;
	font-family: Arial, Helvetica, sans-serif;
	}
div#fancycontact #submit {
	width: 140px;
	float: left;
	margin-right: 10px;
	background: #21729D;
	}
div#fancycontact a.cancel {
	width: 100px;
	display: block;
	float: left;
	padding: 8px;
	}

/* ## Contactdetails
-------------------------------------------- */

div#contactdetails {
	font-size: 1.2em;
	}
div#contactdetails ul {
	margin-top: 20px;
	margin-right: 50px;
	}
div#contactdetails ul li {
	padding: 2px 0;
	}





/* ## Footer content
-------------------------------------------- */

div#footer ul {
	width: 230px;
	margin-left: 20px;
	margin-right: 50px;
	margin-top: 30px;
	color: #FFFFFF;
	}
div#footer ul li {
	font-size: 1.2em;
	border-bottom: solid 1px #1B2C3F;
	}
div#footer ul li.title {
	border: none;
	}
div#footer ul li a {
	display: block;
	padding: 3px;
	color: #FFFFFF;
	}
div#footer ul li a:hover {
	background: #1B2C3F;
	}
div#footer ul.contactdetails li {
	border: none;
	}
div#footer a.totop {
	position: absolute;
	right: 0;
	top: 30px;
	display: block;
	text-indent: -9999px;
	width: 25px;
	height: 25px;
	background: url('../img/totop.jpg') no-repeat top;
	}
div#footer a.totop:hover {
	background-position: bottom;
	}
	
/* ## Clearfix
-------------------------------------------- */

.group:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
	.group {display: inline-block;}
	/* Hides from IE-mac \*/
	* html .group { height: 1%;}
	.group {display: block;}
	/* End hide from IE-mac */