/*
Theme Name: LogiSec
Theme URI: http://www.logisec.fi
Description: LogiSec.fi template.
Version: 1.0
Author: Joni Korpi
Author URI: http://www.jonikorpi.com/
*/

* {padding: 0; margin: 0; outline: none;}

body {
	color: #444;
	background: #fff;
	font: 16px/24px Helvetica, Arial, sans-serif;
	width: 900px;
	padding: 24px 36px 48px 36px;
	margin: 0 auto;
}

a {text-decoration: none; color: #189818; border-bottom: 1px dotted #189818;}
a:hover {color: maroon; border-color: maroon;}
a img {border: 0;}

#nav {
	margin-left: -6px;
	width: 913px;
	height: 72px;
	position: relative;
	background: #3d3f3d;
}

#nav .deco {
	border-bottom: 6px solid #fff;
	border-right: 6px solid #000;
		position: absolute; left: 0; bottom: -6px;
	}

#nav .deco_right {left: auto; right: 1px; border-right: 0; border-left: 6px solid #067606;}

#nav li {display: block; float: left;}

#nav a {
	font-size: 13px;
	line-height: 16px;
	font-weight: bold;
	display: block;
	padding: 12px 6px 0;
	text-decoration: none;
	height: 60px;
	width: 101px;
	border-right: 1px solid #fff;
	background: #3D3F3D;
	color: #fff;
}

#nav a:hover, #nav .page-item-38 a, #nav .page-item-59 a, #nav .current_page_item a {background: #189818;}
#nav .page-item-38 a, #nav .page-item-59 a {position: absolute; right: 0; top: 0; border-left: 1px solid #fff; width: 102px;}

#header {
	position: relative;
	height: 96px;
	padding: 36px 0;
	border-bottom: 3px solid #3D3F3D;
	background-color: #fff;
}

.home #header {height: 240px;}
.home .en {background: url("headers/bg-august.png") top right no-repeat;}
.home .fi {background: url("headers/bg-august.png") top right no-repeat;}

h1 a {
	text-indent: -999em; 
	background: url("logo.png") no-repeat; 
	width: 183px; 
	height: 94px;
	position: absolute;
	left: 24px; top: 36px;
	display: block;
	border: 0;
}

.lang {
	position: absolute;
	left: 804px; top: 36px;
	text-transform: capitalize;
}

.lang li {list-style: none; font-size: 0.8125em;}
#header .lang a {border: 0; color: #000; text-shadow: 1px 1px 3px #fff;}
#header .lang a:hover {color: #189818; text-shadow: none;}
.lang a img {position: relative; bottom: -2px;}

#search {position: absolute; left: 624px; bottom: -78px; z-index: 10;}
#search label {display: none;}
#search input {font-size: 1em; padding: 6px 4px;}
#search #s {width: 186px;} 
#content {float: left; width: 100%; position: relative; padding-bottom: 48px; overflow: hidden;}

h2 {
	font-size: 40px;
	line-height: 48px;
	padding: 36px 312px 23px 0;
	margin-bottom: 24px;
	border-bottom: 1px dotted #aaa;
	color: #189818;
}

h3, hr, #content h5 {
	border-top: 1px dotted #aaa;
	padding: 23px 0 12px;
	font-size: 1em;
	clear: both;
}

h3, h4, h5, strong {color: #000;}

#content h5 {font-size: 1.5em; padding: 35px 0 24px;}
h6, .section em {font-size: 1em; font-style: italic; font-weight: normal; color: #000;}

hr {padding: 0; margin: 24px 0 23px; border-width: 1px 0 0 0; clear: both;}

h3:first-child {border: 0; padding-top: 0;}

p, #content .section ul, #content .section ol {
	margin-bottom: 1.5em;
}

.section img {float: left; display: block; padding: 0 36px 24px 0;}

.page-child .section {min-height: 552px;}

#content .section ul, #content .section ol {padding-left: 1.2em;}

#content .section {width: 588px; float: left; position: relative;}
.page-child #content .section {width: 432px;}
.aside {float: left; padding-left: 36px; width: 276px;}
.home .aside {padding-left: 23px; width: 252px;}
.home .section {padding-right: 36px; border-right: 1px dotted #aaa; width: 528px;}
.page-child #content .aside {width: 432px;}

.employees {font-size: 1.5em; line-height: 1.5em;}

.aside img {display: block; margin-bottom: 24px;}
.aside li {border-bottom: 1px dotted #aaa; padding: 12px 0 11px; list-style: none;}
.aside li a {border: 0;}
.aside h4 {font-size: 1em; font-weight: bold; padding-bottom: 11px; border-bottom: 1px dotted #aaa;}

.page-child .aside img {position: absolute; right: 0; bottom: 0; margin-bottom: 0; z-index: -2;}
.home .aside p {margin: 0;}

.wpcf7 {padding-top: 23px; border-top: 1px dotted #aaa;}
.contact_aside {position: absolute; right: -312px; top: 207px; width: 276px; border-top: 1px dotted #aaa; padding-top: 24px;}

.post {padding-bottom: 23px; border-bottom: 1px solid #aaa; margin-bottom: 24px;}

#footer {
	clear: both;
	border-top: 6px solid #189818;
	margin: 0 0 24px;
	padding-top: 24px;
	float: left;
	font-size: 0.8125em;
	line-height: 1.385em;
	position: relative;
	width: 100%;
}

#colophon, #footer ul, #partner {
	width: 276px;
	float: left;
	padding-right: 36px;
}

#colophon {

}

#footer ul {padding-right: 0; width: 312px;}
#footer li {
	width: 120px;
	float: left;
	margin-right: 36px;
	list-style: none;
}

#footer .lang {top: auto; left: auto; right: 0; bottom: -72px;}
#footer .lang ul {width: 276px; padding-right: 0;}
#footer .lang li {width: 90px; margin: 0;}
.admin a {color: #555;}

#partner {padding: 6px 0 0; position: relative;}
#partner h5 {position: absolute; left: 0; top: 0; font-size: 1em;}
#partner a {border: 0;}

#legal p {
	clear: both;
	border-top: 1px solid #aaa;
	font-size: 12px;
	line-height: 18px;
	padding: 24px 0 36px;
	color: #555;
}