/*
Theme Name: InstoDunder
Theme URI: http://www.instodunder.fi
Author: Janne Kallunki
Author URI: http://www.kallunki.org/
Description: Custom themefor Instodunder.fi.
Version: 0.1
License: All rights reserved
*/

body {
	font-family: OpenSansLight, sans-serif;
	margin: 0;
	padding: 0;
	background: #668595;
	color: #3c5867;
}

.main {
	background: #f8f8f8 url('img/main-bg-2.jpg') no-repeat center top;
	padding-top: 20px;
}

.header {
	background: #fff;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.05);
	padding: 25px 0;
}

.content {
	padding: 20px 0 40px 0;
	text-shadow: 1px 1px 0px #fff;
	line-height: 1.5em;
}

h1, h2, h3 {
	font-family: CorbertRegular, Arial, sans-serif;
	color: #1e7eaf;
	font-weight: normal;
}

a {
	text-decoration: none;
	color: #1e7eaf;
}

a img {
	border: none;
}

strong {
	font-family: OpenSansSemibold, sans-serif;
}

h1.logo {
	float: left;
	font-size: 28px;
	line-height: 30px;
	margin: 0 20px 0 0;
	padding: 0;
}

h1.logo a {
	color: #1e7eaf;
	margin: 0;
	padding: 0;
}

h1.logo a:hover {
	color: #1b71a7;
}

h2.slogan {
	color: #b2c6d1;
	font-family: OpenSansLight, sans-serif;
	letter-spacing: 2px;
	text-transform: uppercase;
	float: left;
	font-size: 20px;
	line-height: 30px;
	margin: 0;
	padding: 4px 0 0 0;
}

.main-nav {
	background: #1e7eaf;
}

.main-nav .menu {

}

.main-nav .menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.main-nav .menu ul li {
	float: left;
}

.main-nav .menu ul li a {
	text-decoration: none;
	display: block;
	color: #fff;
	font-family: OpenSansLight, sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 13px;
	padding: 7px 15px;
}

.main-nav .menu ul li a:hover {
	background: #1b71a7;
}

.main-nav .menu ul li.current_page_item a {
	background: #1b71a7;
}

.footer {
	position: relative;
	color: #cbdde6;
	padding: 10px 0 30px 0;
}

.footer a {
	color: #cbdde6;
}

.footer-slogan {
	font-size: 22px;
	line-height: 36px;
}

.footer-contact-box {
	border-left: 1px solid #7a9daa;
	font-size: 14px;
	padding: 5px 20px;
	line-height: 18px;
}

.footer-landscape {
	background: transparent url('img/landscape.png') no-repeat right bottom;
	width: 105px;
	height: 120px;
	position: absolute;
	right: 0;
	top: -119px;
}

.wpcf7-form {

}

.wpcf7-form br {
	/*display: none;*/
}

.wpcf7-form label {
	display: inline-block;
	padding-top: 10px;
	color: #668595;
}

.wpcf7-form input[type="text"],
.wpcf7-form textarea,
.wpcf7-form select {
	width: 98%;
}

.wpcf7-form input[type="text"],
.wpcf7-form textarea {
	border: 1px solid #d0d0d0;
	font-size: 16px;
	font-family: OpenSansRegular, sans-serif;
	line-height: 16px;
	padding: 5px;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form textarea:focus {
	outline: none;
	box-shadow: 0px 0px 10px #1e7eaf;
	border-color: #1e7eaf;
}

.wpcf7-form textarea {
	height: 100px;
}

.wpcf7-form input[type="submit"] {
	border: none;
	background: #1e7eaf;
	color: #fff;
	font-family: OpenSansLight, sans-serif;
	font-size: 16px;
	padding: 5px 15px;
	cursor: pointer;
	float: right;
	margin-top: 30px;
}

.wpcf7-form input[type="submit"]:hover {
	background: #1b71a7;
}

div.wpcf7-validation-errors {
	border: none;
	margin: 0;
	padding: 10px 0;
	font-size: 14px;
	color: #f03030;
	font-family: OpenSansRegular, sans-serif;
}

div.wpcf7-mail-sent-ok {
	border: none;
	margin: 0;
	padding: 10px 0;
	font-size: 14px;
	color: #308030;
	font-family: OpenSansRegular, sans-serif;
}

.wpcf7-form .submit br {
	display: none;
}

.wpcf7-form .wpcf7-not-valid-tip {
	left: 5px;
	top: 0;
	background: transparent;
	border: none;
	line-height: 16px;
	font-size: 16px;
	font-family: OpenSansRegular, sans-serif;
	color: #f03030;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
	.footer-landscape {
		background-image: url('img/landscape-2x.png');
		background-size: 100% 100%;
    }
}

@media screen and (max-width: 1350px) {
	.footer-landscape {
		display: none;
	}
}

@media screen and (max-width: 767px) {
	h1.logo, h2.slogan {
		text-align: center;
		float: none;
	}

	.main-nav .grid-container,
	.main-nav .grid-100 {
		padding: 0;
		margin: 0;
		text-align: center;
	}

	.main-nav .menu ul li {
		float: none;
		display: block;
		border-bottom: 1px solid #1b71a7;
	}

	.main-nav .menu ul li a {
		float: none;
		display: block;
	}
	.footer-contact-box {
		border: none;
	}
}