body {
  font-family: verdana;
  background: #fff;
  margin: 0;
}

@media screen {
  .sIFR-flash {
    visibility: visible !important;
    margin: 0;
    padding: 0;
  }
  
  .sIFR-replaced, .sIFR-ignore {
    visibility: visible !important;
  }
  
  .sIFR-alternate {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    display: block;
    overflow: hidden;
  }
  
  .sIFR-replaced div.sIFR-fixfocus {
    margin: 0pt; 
    padding: 0pt; 
    overflow: auto; 
    letter-spacing: 0px; 
    float: none;
  }
}

@media print {
  .sIFR-flash {
    display    : none !important;
    height     : 0;
    width      : 0;
    position   : absolute;
    overflow   : hidden;
  }
  
  .sIFR-alternate {
    visibility : visible !important;
    display    : block   !important;
    position   : static  !important;
    left       : auto    !important;
    top        : auto    !important;
    width      : auto    !important;
    height     : auto    !important;
  }
}

.sIFR-active h2{
  visibility: hidden;
  font-family: Verdana;
  font-size: 28px;
  line-height: 1;
}

a, a:hover, a:active {
  text-decoration: none;
  color: #ed6a00;
}

a:hover {text-decoration: underline;}

h2 {font-size:28px;font-weight:bold;line-height:1.2;}
h3 {font-size:16px;font-weight:bold;line-height:1.2;}

h4 {
	color:#999;
	font-size:10px;
	font-weight:bold;
	text-align:right;
	float:left;
  margin-right:20px;
  width:180px;
}

#header {position: relative;margin-bottom: 40px;float:left;}

#header h1 {
  width: 250px;
  height: 25px;
  position: relative;
  background: url(../img/logo.png) top left no-repeat;
  text-indent: -9999px;
  margin: 44px 0 0 70px;
  padding: 0;
}

#header h1 a {
  display: block;
  height: 100%;
  outline: none;
}


#navigation {
  list-style: none;
  margin: 0;
  position: absolute;
  top: 0;
  left: 390px;
  
  width: 500px;
}

#navigation li {
  float: left;
  width: 120px;
  margin-right: 10px;
  position: relative;
}

#navigation li.tyonaytteet {
  width: 150px;
}

#navigation a {
  text-decoration: none;
  display: block;
  height: 100%;
  padding-top: 30px;
  border-top: 6px solid #fff;
  padding-left: 5px;
  outline: none; 
}

#navigation a:hover, #navigation a.selected {
  border-top: 6px solid #fef118;
}

#navigation a.selected strong {font-weight: bold;}

#navigation strong {
  display: block;
  font-size: 1.5em;
  font-weight: normal;
  color: #000;
/*  background: url(../img/navigation.png) 0 0 no-repeat; 
  text-indent: -9999px;*/
  outline: none; 
}

#navigation .tyonaytteet strong {
  background-position: -130px 0;
}

#navigation .blogi strong {
  background-position: -266px 0;
}

#navigation span {
  color: #999;
  font-size: .8em;
  display: block;
  line-height: 1;
}

#news .span-20 {
  margin-bottom:20px;
}

#raise {
  margin: 20px 0;
}

#portfolio-container,#portfolio-image,#blog-image {
  height:400px;
  position: relative;
}
#portfolio-image {height:430px;}
#blog-image {height:400px;}
#portfolio-container .tyonayte,#portfolio-image .image,#blog-image .image {position:absolute;}

#portfolio-container .tyonayte img {
  margin-left: -10px;
}

#portfolio-container .buttons,#portfolio-image .buttons,#blog-image .buttons {
  position: absolute;
  z-index: 2;
  top: 361px;
  margin-left: 70px;
}
#blog-image .buttons {
  top: 323px;
}
#portfolio-container .buttons div,#portfolio-image .buttons div,#blog-image .buttons div {
  float: left;
  width: 65px;
  height: 29px;
  cursor: pointer;
  text-indent: -9999px;
  outline: none;
}

.buttons div span {
  background: url(../img/buttons.png) 0 0 no-repeat;
  display: block;
  height: 29px;
}

.buttons div.selected .button-1 {background-position:-130px 0;}
.buttons div:hover .button-1 {background-position:-65px 0;}

.buttons div .button-2 {background-position:0 -29px;}
.buttons div.selected .button-2 {background-position:-130px -29px;}
.buttons div:hover .button-2 {background-position:-65px -29px;}

.buttons div .button-3 {background-position:0 -58px;}
.buttons div.selected .button-3 {background-position:-130px -58px;}
.buttons div:hover .button-3 {background-position:-65px -58px;}

.buttons div .button-4 {background-position:0 -87px;}
.buttons div.selected .button-4 {background-position:-130px -87px;}
.buttons div:hover .button-4 {background-position:-65px -87px;}

.buttons div .button-5 {background-position:0 -116px;}
.buttons div.selected .button-5 {background-position:-130px -116px;}
.buttons div:hover .button-5 {background-position:-65px -116px;}

.buttons div .button-6 {background-position:0 -145px;}
.buttons div.selected .button-6 {background-position:-130px -145px;}
.buttons div:hover .button-6 {background-position:-65px -145px;}


.tyonayte .kuva {
  margin-right: 0;
}

.tyonayte .info h3 {
	font-weight: bold;
	font-size: 10px;
	color: #999;
	margin-bottom: 0;
}

.tyonayte .info h4 {
	font-size: 1.5em;
	margin-bottom: 40px;
	text-align: left;
	font-weight: normal;
}

.tyonayte .info h4 a {
  text-decoration: none;
  color: #000;
}

.tyonayte .info p {
  font-size: 10px;
}

#contactInfo {
  background: #ebebeb;
  padding: 15px 0 40px 0;
  font-family: Arial, Helvetica;
  font-size: 11px;
  color: #636363;
  margin-top: 30px;
  position: relative;
}

.vcard {padding-left:190px;}

.vcard strong {
  color: #000;
  font-weight: normal;
}

.vcard .adr strong, .vcard .invoice strong {
  display: block;
}

.vcard .adr, .vcard .phone-email, .vcard .bank, .vcard .invoice {
  float: left;
  width: 150px;
}
.vcard .phone-email {width: 180px;}
.vcard .adr {margin-left: 15px;}

.vcard a {
  color: #636363;
  text-decoration: none;
}

.vcard a:hover {text-decoration: underline;}


#portfolio-container {
  margin-bottom: 38px;
}


#news .title {
  text-align: right;
  font-weight: bold;
  color: #999;
  font-size: 10px;
}

.quote {position: relative;padding-top: 40px;}

.quote em {
  font-size: 19px;
  font-style: italic;
  color: #f7941d;
  font-family: serif;
  line-height: 1.2;
  margin-left:40px;
  display: block;
}
.quote span {
  color: #f7941d;
	font-family: serif;
	font-size:72px;
	font-style:normal;
	line-height:72px;
	position:absolute;
	margin-top: -20px;
	left: 3px;
}

.quote .by {
  font-size: .8em;
  margin-left:40px;
}

#subnavi ul {
  list-style: none;
  margin: 0;
}

#subnavi li {
	background: url(../img/navi-bullet-closed.png) 100% 8px no-repeat;
}

#subnavi li.selected {
  background-image: url(../img/navi-bullet-open.png);
}

#subnavi li li {
  background: none;
}

#subnavi ul ul {
  margin: 8px 0;
}

#subnavi li a,#subnavi li span {
  color: #000;
  text-decoration: none;
  padding: 2px 14px 2px 0;
  display: block;
  text-align: right;
  font-weight: bold;
  font-size: 14px;
}

#subnavi li a:hover {text-decoration: underline;}

#subnavi li li a {
	padding-right: 5px;
  font-weight: normal;
  font-size: 12px;
  margin-bottom: 2px;
}

#subnavi li li.selected a, #subnavi li li a:hover {background: #fff119;text-decoration:none;}

p.caption {font-size: .85em;}

.added {color: #fff;font-style: normal;background:transparent;margin-bottom:3px;display:block;}

#info, #project-brief {padding: 12px 15px;font-size: 10px;}

#info {background: #cacaca;}


.link-list,.tag-list {
  margin: 0;
  list-style: none;
  margin-bottom: 2em;
  font-size: .9em;
}

.link-list li {
  margin-bottom: .8em;
}

#blog-feed img {
  margin-bottom: 1em;
}

#blog-feed h3 {
  margin-bottom: .5em;
}

#blog-sidebar {
  margin-left:10px;
  width:170px;
}

#blog-sidebar h5 {
  margin-bottom: 0;
}

#blog-author {text-align: right;color: #999;font-size: .9em;}

a.more {font-weight: bold;display: block;}

