/*
Theme Name: PHS.fi theme
Theme URI: http://wordpress.org/
Description: Custom theme created for PHS.fi
Version: 0.9
Author: Antti Sinisalo
Author URI: http://www.anttisinisalo.info
Tags: Light, Simple, Minimalistic
*/

* {
	margin: 0px;
	padding: 0px;
}

img {
	border: 0px;
}

p {
	padding-bottom: 15px;
}

a {}

a:focus, a:active {
	outline: 0;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {
	height: 1%;
}

body {
	background-image: url("images/background.jpg");
	font-family: Georgia;
	font-size: 14px;
}

#page {
	position: relative;
	width: 961px;
	margin-left: auto;
	margin-right: auto;
}

#header {
	position: relative;
	height: 124px;
	border-bottom: 1px solid #cccccc;
	width: 960px;
}

.header-logo {
	top: 26px;
	position: absolute;
}

#header .header-language-selection {
	position: absolute;
	float: right;
	top: 25px;
	right: 0px;
}

.header-navigation {
	position: absolute;
	bottom: 5px;
	width: 700px;
	height: 15px;
	padding: 7px 0px 9px 0px;
	overflow: hidden;
}

.header-navigation li{
	color: #000000;
	clear: none;
	float: left;
	margin:0 0 0 -1px;
	list-style-type: none;
	
}

.header-navigation li a {
	color: #000000;
	text-decoration: none;
	margin:0 0 0 0;
	padding:7px 17px 7px 17px;
	background:url("images/separator.gif") no-repeat 0px 9px;
}

.header-navigation li a:hover, .header-navigation li.active a{
	color:#cc071e;
	padding:7px 17px 7px 17px;
	margin:0 0 0 0;
	background-color: #000000;
	text-decoration:none;
	position:relative;
	background-image: none;
}

.header-navigation li.current_page_item a{
	position:relative;
	background-color: #eeeeee;
	margin:0 0 0 0;
	color: #cc071e;
	background-image: none;
	z-index: 999;
}

.sub-navigation {
	position: relative;
	width: 940px;
	height: 15px;
	padding: 7px 0px 19px 0px;
	overflow: hidden;
	font-size: 12px;
}

.sub-navigation li{
	color: #000000;
	clear: none;
	float: left;
	margin:0 0 0 -1px;
	list-style-type: none;
}

.sub-navigation li a{
	color: #000000;
	text-decoration: none;
	margin:0 0 0 0;
	padding:7px 17px 7px 17px;
	background:url("images/separator.gif") no-repeat 0px 8px;
}

.sub-navigation li span{
	color: #919191;
	text-decoration: none;
	margin:0 0 0 0;
	padding:7px 17px 7px 2px;
	background:url("images/separator.gif") no-repeat 0px 8px;
}

.sub-navigation li a:hover, .sub-navigation li.active a{
	color:#cc071e;
	padding:7px 17px 7px 17px;
	margin:0 0 0 0;
	background-color: #000000;
	text-decoration:none;
	position:relative;
	background-image: none;
}


.sub-navigation li.sub-navigation-hover a{
	position:relative;
	background-color: #eeeeee;
	margin:0 0 0 0;
	color: #cc071e;
	background-image: none;
	z-index: 999;
}

#content {
	position: relative;
	width: 960px;
	padding: 10px 0px 0px 0px;
	min-height: 400px;
}

.cases {
	clear: none;
	float: left;
	width: 605px;
	height: 255px;
	border: 10px solid #eeeeee;
	background-color: #ffffff;
	margin: 0px 0px 10px 0px;
	/*overflow: hidden;*/
}

.news {
	margin: 0px 0px 0px 15px;
	clear: none;
	float: left;
	width: 300px;
	height: 275px;
}

.news .header, .blogs .header, .works .header  {
	font-weight: bold;
	font-size: 22px;
	padding: 0px 0px 5px 5px;
}

.works .header {
	padding: 0px 0px 5px 0px;
}

.news .item a, .blogs .item a {
	color: #000000;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	line-height: 18px;
}

#content .news li{
	border: 1px solid #000;position:relative;
	color: #000000;
	clear: none;
	float: left;
	margin:0 0 0 -1px;
	list-style-type: none;
}


div.item {
	padding: 5px;
}

div.item:hover {
	background-color: #000000;
	color: #ffffff;	
}

div.item:hover a{
	color: #ffffff;	
}

.blogs {
	padding: 0px 0px 0px 0px;
	clear: none;
	float: left;
	width: 300px;
	height: 275px;
}

.works {
	position: relative;
	clear: left;
	float: left;
	width: 642px;
	height: 295px;
}

.hline {
	clear: both;
	height: 1px;
	width: 960px;
	margin: 10px 0px 10px 0px;
	padding: 0px;
	border-bottom: 1px solid #cccccc;
}

.hline-small {
	clear: both;
	height: 1px;
	width: 144;
	margin: 0px 0px 10px 0px;
	border-top: 1px solid #cccccc;
}


.small-grey {
	font-size: 12px;
	color: #878888;
}

#footer {
	clear: both;
	position: relative;
	left: 0px;
	right: 0px;
	width: 100%;
	min-width: 100%;
	height: 55px;
	background-color: #000000;
	text-align: center;
	z-index: 99;
}

#footer .slider {
	margin: -340px 0px 0px 0px;
	width: 100%;
	left: 0px;
	right: 0px;
	height: 324px;
	background-color: #000000;
}

#footer .footer-contact {
	margin: -27px 0px 0px 0px;
}

#footer .footer-content {
	position: relative;
	width: 930px;
	margin-left: auto;
	margin-right: auto;
}

#footer .absolute-content {
	height: 324px;
	top: -10px;
}

.footer-close {
	top: 0px;
}

#footer .footer-contact a, #footer .footer-close a{
	color: #ffffff;
	font-weight: bold;
	text-decoration: none;
}

#footer .footer-content .social {
	position: absolute;
	right: 0px;
	top: 17px;
}

.contact-info {
	position: relative;
	margin: 25px 0px 0px 0px;
	float: left;
	width: 225px;
	height: 250px;
	color: #ffffff;
	text-align: left;
	line-height: 22px;
	font-size: 13px;
}

.wide-contact-info {
	margin: 0px 20px 0px 0px;
	float: left;
	width: 290px;
	color: #000000;
	line-height: 20px;
}

.wide-contact-info p {
	width: 290px;
}


.googlemaps {
	margin: 0px;
	float: left;
	text-align: left;
	width: 620px;
	height: auto;
}

.smalltext {
	font-size: 12px;
}

.italictext {
	font-style: italic;
}

.contact-info a {
	color: #ffffff;
	text-decoration: none;
}

.contact-info a:hover {
	color: #ffffff;
	text-decoration: underline;
	color: #d5d5d5;
}

.inner-padding {
	position: relative;
	width: 930px;
	margin: 15px 6px 60px 15px;
	line-height: 19px;
}

.inner-small-padding {
	position: relative;
	width: 960px;
	margin: -3px 6px 60px 15px;
	line-height: 19px;
}

h2 {
	font-size: 22px;
	font-weight:bold;
	padding: 0px 0px 20px 0px;
	width: 550px;
}

h2.uppercase {
	text-transform:uppercase;
}

.placeholder {
	position: relative;
	height: 50px;
}

.small-post p {
	width: 650px;
}

.small-post {
	float:left;
}

.grid-item {
	position: relative;
	float: left;
	clear: none;
	width: 143px;
	height: 108px;
	overflow:hidden;
	margin: 0px 14px 17px 0px;
}

.attachment-post-thumbnail {
	border: 0px;
}

.tighter {
	margin: 0px 12px 12px 0px;
}
.grid-item a{
	text-decoration: none;
}

.grid-image {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 133px;
	height: 98px;
	border: 5px solid #eeeeee;
}

.grid-image img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.grid-infobox {
	width: 121px;
	height: 100px;
	position: absolute;
	top: 108px;
	left: 0px;
	padding: 10px;
	color: #ffffff;
	font-size: 11px;
	line-height: 15px;
	background-image: url("images/grid_om_bg.png");
}

.grid-infobox a {
	color: #fff;
	text-decoration: none;
}

.grid-infobox a:hover {
	border-bottom: 1px solid #fff;
}

.grey {
	color: gray;
}

.nobottompadding {
	padding: 0px 0px 2px 0px;
}

.bottompadding {
	padding: 0px 0px 15px 0px;
}

.showtime {
	margin: 0px 0px 15px 0px;
}

.work-back-button {
	margin: -10px 0px 0px -15px;
	height: 20px;
	color: #000000;
	font-size: 11px;
}

.work-back-button a{
	color: #000000;
	font-size: 11px;
	text-decoration: none;
}

.work-back-image {
	float: left;
	margin: 0px 3px 0px 0px;
	
}


#footer{
	width:100%;
	clear:both;
}

.footer-top{
	width:100%;
	background:#000000;
	position:relative;
	height:55px;
	margin:0 0 14px;
}

.contact-box{
	width:100%;
	position:absolute;
	bottom:0;
	left:0;
	background:#000000;
}

.footer-top div.active .footer-arrow{
	background:url(images/arrowdown.png) no-repeat;
	width:27px;
	top:-1px;
}

.footer-arrow{
	position:absolute;
	top:-12px;
	left:49%;
	width:26px;
	height:24px;
	overflow:hidden;
	background:url(images/arrow.png) no-repeat;
}

.open-link{
	color:#ffffff;
	font-size:14px;
	text-transform:uppercase;
	font-weight:bold;
	padding-right:12px;
	background:url(images/bg-close-link.gif) no-repeat 100% 50%;
	text-decoration: none;
}

.footer-holder{
	width:961px;
	margin:0 auto;
	padding:19px 0;
	text-align:center;
	overflow:hidden;
	position:relative;
}

.icons-list{
	position:absolute;
	top:12px;
	right:12px;
	margin:0;
	padding:0;
	list-style:none;
}
.icons-list li{
	float:left;
	padding:0 3px 0 0;
}

.icons-list li a img{
	display:block;
}

/*.contact-holder{
	width:100%;
	overflow:hidden;
	height: 300px;
	padding-top: 10px;
	display:none;
}*/

.contact-holder{
	width:100%;
	overflow:hidden;
	padding-top: 10px;
	display:none;
}

.contact-holder p {
	color: #fff;
	line-height: 17px;
	text-align: left;
	padding-bottom: 10px;
}

.error {
	color: #ff0000;
}

.contact-list{
	float:left;
	color:#ffffff;
	width:240px;
	text-align:left;
	line-height:16px;
}

/*.contact-list{
	float:left;
	color:#ffffff;
	width:960px;
	text-align:left;
	line-height:16px;
}*/

.contact-list-item-vas {
	width: 300px;
	float: left;
	padding-right: 10px;
}

.contact-list-item-kesk {
	width: 340px;
	float: left;
	padding-right: 10px;
}

.contact-list-item-oik {
	width: 300px;
	float: left;
}

.footer-holder .contact-list .title{
	margin:0;
}

.contact-list address{
	margin:0 0 20px;
}

.contact-list a{
	color:#ffffff;
}

.footer-holder .title{
	font-size:14px;
	margin:0 0 14px;
}

.footer-list{
	margin:0;
	padding:0 0 7px;
	list-style:none;
	font-size:12px;
}

.footer-list li{
	display:inline;
	padding:0 6px;
}

.footer-list li a{
	color:#acacac;
}

.right-bar {
	/*position: absolute;
	right: 0px;*/
	float: right;
	margin: 19px 0px 0px 0px;
	width: 144px;
	text-align: left;
	font-size: 12px;
	color: #000000;
}



.right-bar a {
	color: #000000;
	text-decoration: none;
}

.right-bar a:hover {
	color: #3d3d3d;
	text-decoration: underline;
}

.clear {clear: both}