/*
Theme name: mkmsaatio.fi -theme
Author: Petri Alankoja / Codeart Oy
Author URI: http://www.codeart.fi
Version: 1.0
*/

html {
	margin: 0;
	font-family: 'Open Sans', sans-serif;
	color: #555;
	font-size: 100%;
	background-color: #fff;
}

body {
	margin: 0;
	background-image: url('images/hexagonal-bgr3.jpg');
	background-repeat: no-repeat;
	background-position: top right;
	background-attachment: fixed;
	background-color: rgb(248, 248, 248);
}

div.header {

	background-color: rgba(255, 255, 255, 0.7);
}

footer {
	min-height: 150px;
}

div.header h1 {
	margin: 40px;
	padding: 0;
	font-size: 350%;
	color: rgba(0,156,220,1);
	text-shadow: 2px 4px 9px rgba(0,0,0,0.25);
}

div.header table {margin: 0 auto;}


/* Language menu */

div.langMenuContainer {
	margin: 0 auto;
	height: 34px;
}

ul.languageMenu {
	float: right;
	padding: 0;
	width: 300px;
	margin: 0;
}

ul.languageMenu li {
	list-style-type: none;
	float: left;
	padding: 5px 20px 5px 20px;
	margin: 1px;
	background-color: rgba(255, 255, 255, 0.2);
}

ul.languageMenu li a {
	color: #000;
}

li.current-lang {
	border: dotted #aaa 1px;
	border-top: 0;
}

#responsive-menu-button {border: solid rgba(255,255,255,0.2) 1px !important;}

/* Menu */ 

div.menuContainer {
	background-color: rgba(255, 255, 255, 0.8);
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
	border-top: solid rgba(0, 0, 0, 0.05) 1px;
	border-bottom: solid #ccc 1px;
	padding-top: 0px;
	width: 100%;
}

nav.menu {
	text-align: center;
	max-width: 1100px;
	margin: 0 auto;
	height: 55px;
	z-index: 999 !important;
}

#menu-english-menu,
#menu-finnish-menu,
#menu-swedish-menu  {
	margin: 0; padding: 0;
}
div.menu-english-menu-container,
div.menu-finnish-menu-container,
div.menu-swedish-menu-container {
	display: inline-table;
}

/* A fix for the home-icon */
div.menu-english-menu-container li:first-child,
div.menu-finnish-menu-container li:first-child,
div.menu-swedish-menu-container li:first-child {
	height: 23px;
}

div.menu-english-menu-container li:last-child,
div.menu-finnish-menu-container li:last-child,
div.menu-swedish-menu-container li:last-child {
	border-right: solid rgba(255,255,255,0.1) 1px;
}

div.menu-english-menu-container li,
div.menu-finnish-menu-container li,
div.menu-swedish-menu-container li {
	list-style-type: none;
	float: left;
	padding: 15px;
	border-left: solid rgba(255,255,255,0.1) 1px;
	border-bottom: solid rgba(0,0,0,0) 3px;
}

div.menu-english-menu-container a,
div.menu-finnish-menu-container a,
div.menu-swedish-menu-container a {
	color: #888; 
	padding: 10px 5px 10px 5px;
}

div.menu-english-menu-container a:hover,
div.menu-finnish-menu-container a:hover,
div.menu-swedish-menu-container a:hover {
	text-decoration: none;
	color: rgb(0, 156, 220);
	border-bottom: 0;
}

li.current_page_item a {
	color: #fff;
}

li.current_page_item a:hover {
	color: #fff;
}

li.current_page_item img{
        filter:brightness(200%);
}

li.current_page_item {
	background-color: rgba(0, 156, 220, 0.8);
}

div.menu-english-menu-container li:hover,
div.menu-finnish-menu-container li:hover,
div.menu-swedish-menu-container li:hover {
	border-bottom: solid rgb(0, 156, 220) 3px;
}

.fpHeader {
	background-image: url('images/slogan-bgr1.jpg');
	background-repeat: no-repeat;
	background-position: top center;
	height: 350px;
	border-bottom: solid rgba(0, 156, 220, 0.5) 8px;
	border-top: solid rgba(0, 0, 0, 0.3) 1px;
}

.fpHeader h1 {
	font-size: 250%;
	color: #fff;
	text-align: center;
	max-width: 1100px;
	margin: 0 auto;
	padding: 120px 50px 50px 50px;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
}


/* Content */

div.contentRow
{
	clear: both;
	max-width: 1200px;
	margin: 0 auto;
	width: 90%;
	margin-top: 1px;
	padding: 10px;
	min-height: 500px;
}

div.contentContainer 
{
	padding: 0 50px 0 50px;
	margin: 0 auto !important;
}

div.infoBox {
/*
	border-top: dotted #888 1px;
	border-bottom: dotted #888 1px;
*/	
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
	background-color: rgba(255, 255, 255, 0.6);
	padding: 30px;
	border-radius: 10px;
}

/* A container for the sub pages */

div.infoBox2 {
	background-color: rgba(255, 255, 255, 0.6);
	border-radius: 10px;
	margin-top: 65px;
}

div.infoBox2 p {text-align: left;}

div.infoBox p {
	text-align: justify;
	font-size: 125%;
	font-weight: 100;
	max-width: 600px;
	line-height: 1.5em;
	margin-top: 70px;
}

div.infoBox p.xLarge {
	text-align: center;
	font-size: 175%;
	color: rgba(0,70,130,1);
	line-height: 30pt;
	margin-top: 30px;
	max-width: 800px;
	margin: 0 auto;
}

.xLarge strong { color: rgba(0,70,130,1); }

/* Posts */

div.wrap {overflow: hidden;}

article.post {
	margin: 0;
	padding: 50px;
	overflow: hidden;
}

div.leftCol {
	width: 61.8%;
	float: left;
	min-height: 500px;
}

div.rightCol {
	width: 32.2%;
	float: left;
	min-height: 500px;
	margin: 0;
	padding: 30px 0 30px 0;
	margin-top: 65px;
}

div.articleListing ul, ul.display-posts-listing {list-style-type: none;}
div.articleListing ul li, ul.display-posts-listing li {margin: 10px 0 10px 0;}
div.articleListing {}

div.infoBox2 {padding: 30px;}

/* Images */

.mkImg {
	border: solid rgba(0, 156, 220, 0.9) 3px;
	border-radius: 50%;
	width: 100%;
	height: auto;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.2);
	margin: 0 auto;
}

.mkImg2 {
	border: solid #fff 5px;
	border-radius: 50%;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
	margin: 0 0 10px 10px;
	float: left;
}

.mkImgWide {
	width: 100%;
	max-width: 800px;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
	border-top: solid rgb(0, 156, 220) 8px;
}

.mkImgSquare {
	width: 100%;
	max-width: 500px;
	height: auto;
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.25);
	border-top: solid rgb(0, 156, 220) 8px;
	margin-top: 30px;
	margin-bottom: 30px;

}

img.pdfIcon {
	width: 30px;
	position: relative;
	top: 8px;
	margin-right: 10px;
	height: auto;
}

dd {line-height: 2.5em;}
dl {margin-left: 30px;}


/* Headings, text and links. */

h1 {font-weight: 100; font-size: 300%; color: #335b93; padding-top: 50px;}
h2 {font-weight: 100; font-size: 175%; color: #335b93;}
h3 {font-weight: 100; font-size: 150%; color: #335b93;}

h1.widget-title {margin-bottom: 0;}

p {text-align: justify; line-height: 20pt;}
p.postDate {text-align: right; border-bottom: dotted #ccc 1px; margin-top: 15px; display: none !important;}
strong {font-weight: 600; color: #555;}

a {text-decoration: none; color: #003e78;}
a:hover {color: rgb(0, 156, 220); border-bottom: dotted 1px;}
/* a:visited {color: #aaa;} */

img.roundImg {border-radius: 50% !important; margin: 0 auto; box-shadow: 0px 0px 15px rgba(0,0,0,0.3);}
p.large {font-size: 140%; text-align: center; color: #fff; margin-top: 30px;}
p.large > strong {color: #fff; font-size: 200%;}
.headingContainer {max-width: 1000px; margin: 0 auto;}

/* Credits */

div.credits {border-top: dotted rgba(0,0,0,0.2) 1px; max-width: 1000px; margin: 0 auto; margin-top: 50px; height: 75px;}
div.credits p {text-align: center; margin: 0; padding: 20px; text-shadow: 2px 2px 5px rgba(0,0,0,0.1)}
div.credits a {color: rgba(0,0,0,0.4);}
div.credits strong {font-weight: 600; color: rgba(0,0,0,0.4); letter-spacing: 0.8pt;}

@media (max-width: 1200px)
{
	div.infoBox p {margin-top: 40px;}
	.fpHeader h1 {padding-top: 80px;}

	div.leftCol {
		width: 100%;
		float: none;
		min-height: 500px;
	}

	div.rightCol {
		width: 95%;
		float: none;
		min-height: 500px;
		padding: 5px 10px 5px 10px;
		margin: 1%;
	}
}

@media (max-width: 1100px)
{
	div.menu-english-menu-container li,
	div.menu-finnish-menu-container li,
	div.menu-swedish-menu-container li {
		padding-left: 5px; padding-right: 5px;
	}

	.fpHeader h1 {font-size: 200%; padding-top: 100px;}

	div.infoBox p {margin-top: 20px;}

}

@media (max-width: 1000px)
{
	div.contentContainer {padding: 20px;}
	article.post {min-height: 0px;}

	div.header h1 {
		font-size: 250%;
	}

	img.logo {width: 100px;}
	div.header table {width: 75%;}

	div.infoBox p.xLarge {
		margin-top: 25px;
	}

}

@media (max-width: 900px)
{
	body{background-size: 200%;}

	div.contentRow {width: 99%;}

	div.contentContainer {padding: 0 25px 0 25px;}

	.fpHeader h1 {font-size: 200%; padding: 110px 50px;}

	article.post {padding: 5px;}

}

@media (max-width: 780px)
{

	ul.languageMenu {float: none;}
	div.infoBox p.xLarge {font-size: 150%; text-align: center; margin-top: 0px;}
	div.header table {width: 100%;}
	div.header h1 {
		font-size: 180%;
		margin-left: 0;

	}
	div.infoBox p {text-align: center;}
	.mkImg{ width: 100%; height: auto; max-width: 350px; }

	.fpHeader h1 {font-size: 180%; padding: 75px; padding-top: 10px;}

	h1 {font-size: 180%;}
	h2 {font-size: 150%;}
	h3 {font-size: 125%;}

}


@media (max-width: 700px)
{
	nav.menu {display: none;}
}