/* for centering layout vertically and horizontally */
html {
	height: 100%;
}
body { 
	font-family: Georgia, Arial;
	font-size: 12px;
	background-color: #ffffff;
	width: 100%;
	height: 100%;
	margin: 0px; 
	padding: 0px;
}

a {
	color: #d61010;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

li {
	list-style-type: none;
}

h3 {
	margin-top: 5px;
}

ul {
	margin-bottom: 30px;
}

img {
	border: 0px;
}

.center {
	text-align: center;
}

#service-list {
	margin-left: 90px;
}

#container {
	margin: 0px;
	padding: 0px;	
	display: table;
	min-width: 800px;
	min-height: 600px;
	width: 100%;
	height: 100%;
	vertical-align: middle;
}

#position {
	text-align: center;
	position: relative;
	display: table-cell;
	vertical-align: middle;
}

#content {
	text-align: left;
	width: 824px;
	margin: 0px auto; 
}

.header {
	height: 130px;
	width: 802px;
	clear: both;
	padding: 10px;
	background: #000000;
	color: #ffffff;
	font-family: Georgia, Arial;
}

#header-slogan {
	overflow: hidden;
	position: relative;
	font-weight: bold;
	font-size: 30px;

	display: table;
	position: static;	
}


#header-middle{
	position: static;
	display: table-cell;
	vertical-align: middle;
}

#header-inner {
	text-align: center;
	width: 550px;
	margin-left: auto;
	margin-right: auto;
}

#header-default {
	height: 100px;
	background: #ffffff;
	color: #000000;	
}

#logo {
	float: left;
	width: 100px;
	height: 100px;
}

#header-default h1 {
	float: left;
	position: relative;
	top: 18px;
	padding-right: 10px;
	font-weight: normal;
	letter-spacing: 1px;
}

#header-default h2 {
	float: right;
	font-weight: normal;
	position: relative;

	top: 25px;
	right: 10px;
	letter-spacing: 1px;
}

#page {
	min-height: 350px;
	padding: 10px;
}

#page-left {
	margin-top: 25px;
	padding-left: 20px;
	float: left;
	width: 76%;
}
#navigation {
	margin-top: -35px;
	width: 15%;
	float: right;
	text-align: center;
}

#navigation li {
	list-style-type: none;
	padding: 3px;
}

#navigation li a{
	display: block;
	height: 70px;
	width: 70px;
	background: url(../images/dashed-circle-sprite.gif) no-repeat 0px 0px;
	font-size: 14px;
	color: #000000;
	text-decoration: none;
}

#navigation li a:hover{
	color: #d61010;
	background: url(../images/dashed-circle-sprite.gif) no-repeat 0px -70px;
}


#navigation .singleline {
	position: relative;
	top: 25px;
}

#navigation .multiline {
	position: relative;
	top: 15px;
}


#footer {
	font-family: Arial;
	padding: 10px;
	clear: both;
	height: 50px;
	width: 802px;
	font-size: 11px;
	text-align: center;
}

hr {
	border: 0px;
	background: url(../images/border-dash.gif) repeat-x top left;
	color: #ffffff;
	background-color: #ffffff;
	height: 2px;
	width: 96%;
}

hr#top {
	width: 81%;
	position: relative;
	top: -10px;
}

#footer div{
	float: left;
	width: 100%;
}

#footer-contact {
	height: 30px;
}

.footer-data {
	padding: 0px 20px;
}

#footer-background-data {
	position: relative;
	text-align: left;
	margin-left: 0px;
	margin-top: -16px;
	color: #000000;
	font-size: 9px;
	z-index: 10;
}

#footer-background-data span {
	padding: 2px 5px;
	background:#ffffff;
	border: 1px solid;
}

#logo {
	width: 130px;
}



/* CONTENT STYLES */

.left {
	float: left;
}
.right {
	float: right;
}

.clear {
	clear: both;
}

#page-left-service {
	margin-top: 25px;
	padding-left: 20px;
	width: 80%;
}

p.service-description {
	line-height: 1.5;
	letter-spacing: 1px;	
	text-align: right;
	padding-left: 30px;
	margin-top: 90px;
	margin-left: auto;
	margin-right: auto;
	float: right;
}

img.service-description {
	padding-top: 5px;
	float: right;
	margin-top: 60px;
	margin-left: auto;
	margin-right: auto;

}


/* FRAME BORDER STYLES */
#top-center, #center, #bottom-center, #top-left, #frame-left, #bottom-left, #top-right, #frame-right, #bottom-right {
	float: left;
	position: relative;
	width: 100%;
}

#top-center, #bottom-center {
	height:12px;
	left: 12px;
}

#center {
	min-height: 550px;
	height: auto !important;
	height: 550px;
	width: 822px;
	left: 12px;
	background: white;
}

#top-left, #bottom-left, #frame-left {
	right: 24px;
}

#top-right, #bottom-right, #frame-right {
	left: 12px;
}

#top-left { background: url(../images/corner-left.png) no-repeat 0px 0px;}
#top-right { background: url(../images/corner-right.png) no-repeat 797px 0px; }
#bottom-left { background: url(../images/corner-right.png) no-repeat 0px -13px; }
#bottom-right { background: url(../images/corner-left.png) no-repeat 797px -13px; }

#top-center { background: url(../images/top-bottom-sprite.png) repeat-x 0px 0px; }
#bottom-center { background: url(../images/top-bottom-sprite.png) repeat-x 0px -13px; }

#frame-left { background: url(../images/left-right-sprite.png) repeat-y 0px 0px; }
#frame-right { background: url(../images/left-right-sprite.png) repeat-y 797px 0px; }


/* Etusivu specific */
#company-intro {
	text-align: center;
	line-height: 1.3;
	letter-spacing: 2px;
	font-size: 16px;
	width: 300px;
	position: relative;
	left: 200px;
}

#membership-logos {
	clear:both;
	position: relative;
	top: 20px;
	left: -35px;
}

#membership-logos li {
	position: relative;
	display: inline;
	float: left;
}

#membership-logos a:hover {
	text-decoration: none;
}

#membership-logos a span{
	position: relative;
	z-index: -1;
}

#hvm-link a {
	margin-left: -10px;
	display: block;
	height: 34px;
	width: 91px;
	background: url(../images/logo-hvm2.gif) no-repeat 0px 0px;
}

#svml-link a {
	margin-left: 20px;
	display: block;
	height: 34px;
	width: 110px;
	background: url(../images/logo-svml2.gif) no-repeat 0px 0px;
}

#services-panel-etusivu {
	position: relative;
	left: 200px;	
}

#services-panel-header{
	padding: 20px;
	line-height: 1.5;
	text-align: center;
	font-size: 14px;
	font-weight: normal;
	width: 100px;
}

#services-panel {
	position: relative;
	top: 0px;
	left: 200px;
}

.services-link {
	font-size: 8px;
	display: block;
	height: 70px;
	width: 70px;
}
.services-link:hover {
	text-decoration: none;
}
.services-link span {
	position: relative;
	z-index: -1;
}

#services-2, #services-4 {
	height: 80px;
}

#services-1 a{
	background: url(../images/palvelu-button-1a.gif) no-repeat 0px 0px;
}
#services-2 a{
	background: url(../images/palvelu-button-2a.gif) no-repeat 0px 0px;
}
#services-3 a{
	background: url(../images/palvelu-button-3a.gif) no-repeat 0px 0px;
}
#services-4 a{
	background: url(../images/palvelu-button-4a.gif) no-repeat 0px 0px;
}

#services-1 a:hover {
	background: url(../images/palvelu-button-1b.gif) no-repeat 0px 0px;

}
#services-2 a:hover {
	background: url(../images/palvelu-button-2b.gif) no-repeat 0px 0px;
}
#services-3 a:hover {
	background: url(../images/palvelu-button-3b.gif) no-repeat 0px 0px;
}
#services-4 a:hover {
	background: url(../images/palvelu-button-4b.gif) no-repeat 0px 0px;
}




/* Tietoa meistä */
.page-paragraph {
	margin-left: 30px;
}

#employees li {
	margin-left: -10px;
}

#map {
	position: relative;
	top: -30px;
}

#map img {
	border: 1px dashed;
}

#owner-left, #owner-right {
	margin-top: 130px;
	margin-left: 30px;
	margin-right: 30px;
}
#owner-right {
	margin-right: 0px;
}

/* Linkit */

#links {
	width: 100%;
	text-align: center;
}
#links li {
	margin-left: -40px;
}

/* Kuvagalleria */

#image-navigation {
	margin-left: 10px;
	margin-bottom: 50px;
}

#image_container {
	margin-left: 10px;
	margin-top: 5px;
	margin-bottom: 10px;
	width: 590px;
	height: 350px;
	overflow: hidden;
}

#image_container img {
	margin: 0 auto;
}

#image_container .caption {
	display: none;
}

.hidden {
	position: absolute;
	top: -10000px;
}

.galleria {
	list-style:none; width:100%;
}

.galleria {
	margin-left: -30px;
}

.galleria li {
	position: relative;
	display:block;
	width:80px;
	height:80px;
	overflow:hidden;
	float:left;
	margin:0px 17px 17px 0;
}

.galleria li div.watermark {
	position: absolute;
	bottom: 0;
	left:50px;
	width: 30px;
	height: 15px;
	background-color: #000000;
	color: #ffffff;
	font-size: 10px;
	text-align: center;
	opacity:.55;	
}

.galleria li a {
	display:none;
}

.galleria li img.thumb {
	cursor: pointer;
	top: auto;
	left: auto;
	display: block;
	width: auto;
	height: auto;
}

.gallery_deg li{border: 2px solid #c0c0c0; background:#f0f0f0;}
.gallery_deg li.hover{border:2px solid #d61010;}
.gallery_deg li.active{border:2px solid #d61010;}
.gallery_deg li div{left:240px}
.gallery_deg li div .caption{font:italic 0.7em/1.4 georgia,serif;}