﻿/*
Theme Name: peyerlaw
Author: schattenwerk
Author URI: http://schattenwerk.ch/
Description: peyerlaw Theme, handmade by schattenwerk.
Version: 1.31111
*/


 
body { 
	font-size:16px;
    font-family: 'Nunito Sans', sans-serif;
	line-height:22px;
	color:#fff;
}

html, body, body div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, figure, footer, header, 
hgroup, menu, nav, section,
time, mark, audio, video, a {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	vertical-align:baseline;
	background:transparent none no-repeat 0 0;
	font-weight: normal;
}

strong, b {
    font-family: 'Nunito Sans', sans-serif;
	font-weight: 700;
}

article, aside, figure, footer, header, hgroup, nav, section { display:block; }

body {
	background:#202020;
}

body, html {
	width:100%;
	height: 100%;
}


a {
	color:#fff;
	text-decoration:none;
}

a:hover {
	text-decoration: underline;
}

ul {
	list-style:none;
}

.wrapper {
	position:relative;
	max-width:950px;
	margin: 0 auto;
	padding:0;
}

/* header */

header {
	position:relative;
	width:auto;
	margin:0;
	padding:0;
	height:235px;
	text-align:left;
}

.burger {
	display:none;
}

header .logo {
	padding-top: 50px;
}

header .meta {
	text-transform: uppercase;
	position: absolute;
	right:25px;
	top:20px;
	font-size: 12px;
	letter-spacing: 1.5px;
}

header .meta li {
	display: inline;
	margin-left: 25px;
}

header .meta li.current_page_item a {
	text-decoration: underline;
}

nav {
	max-width: 950px;
	margin:0 auto;
	padding-top: 40px;
	text-align:left;
}

nav ul {
	position:relative;
	padding:0;
	margin:0;
}

nav li {
	display: inline;
	margin-right:35px;
}

nav li a {
    font-family: 'Nunito Sans', sans-serif;
	font-size: 16px;
	line-height: 20px;
	text-transform: uppercase;
	text-decoration:none;
	letter-spacing: 1.5px;
}

nav li a:hover, nav li.current_page_item a, nav li.current-menu-item a, nav li.current_page_parent a {
	text-decoration:underline;
}


/* content */
.bgimg {
	background-size: cover;
	background-position: top center;
	min-height: 70%;
	padding-bottom: 50px;
}

article {
	max-width: 700px;
	margin-bottom: 2px;
}

h1 {
	font-weight: normal;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-size: 30px;
	line-height: 36px;
	margin-bottom: 25px;
	letter-spacing: 1.5px;
}

.bg {
	background:rgba(255,255,255,0.8);
	padding: 45px 50px 50px 50px;
	color: #202020;
}

.bg p {
	margin-bottom: 22px;
}

iframe {
	width:100%;
	height:300px;
}

article.team {
	max-width: 950px;
}

section {
	width:300px;
	height: 340px;
	padding: 25px;
	box-sizing: border-box;
	float:left;
	background:rgba(255,255,255,0.85);
	margin:0 25px 25px 0;
	color: #202020;
}

section:hover {
	cursor: pointer;
}

section a {
	color:#202020;
}

section:hover a {
	text-decoration: underline;
}

section:nth-child(3n+1) {
	margin-right: 0;
}

section img {
	width:100%;
	height: auto;
	margin-bottom: 15px;
}

h2, section h2 {
	text-transform: uppercase;
	font-size: 16px;
	line-height: 22px;
	margin-bottom: 10px;
	letter-spacing: 1.5px;
}



.team_member {
	background:rgba(255,255,255,0.85);
	padding: 50px;
	color: #202020;
}

.team_member h2 {
	font-size: 30px;
	line-height: 36px;
	color: #202020;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.team_member h3, h3 {
	font-size: 16px;
	line-height: 22px;
	color: #202020;
	font-weight: 700;
	margin-bottom: 5px;
}

.col_left, .col_right {
	width:400px;
	float: left;
}

.col_left {
	margin-right: 50px;
}

article .bg a, .col_right a {
	color:#808080;
}

.team_member img {
	width:100%;
	height:auto;
	margin-bottom: 25px;
}

.team_member p {
	margin-bottom: 22px;
}

.team_member li {
	margin-bottom: 10px;
}

.team_member ul {
	padding-bottom: 12px;
}

.btn_back {
	background: url(img/arrow_back.png) no-repeat left top;
	display: inline-block;
	padding-left: 25px;
	line-height: 18px;
	height: 19px;
	margin-bottom: 35px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.services {
	background:rgba(229,229,229,0.85);
	color: #202020;
	margin-bottom: 2px;
	padding:20px 25px 20px 25px;
}

.services.open {
	background:rgba(255,255,255,0.85);
}

.services h2 {
	font-size: 16px;
	line-height: 22px;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	/*background:url(img/arrow_down.png) right center no-repeat;*/
	margin-bottom: 0;
}

/*
.services h2:hover {
	cursor: pointer;
	text-decoration: underline;
}
*/

.services.open h2 {
	background:url(img/arrow_up.png) right center no-repeat;
}

.service_text {
	display: none;
	padding:25px 50px 25px 0;
}

article.kontakt {
	max-width: 950px;
}

.kontakt img {
	width:400px;
	height: auto;
	margin-right: 45px;
	margin-bottom: 0;
}

.kontakt img:nth-child(2) {
	margin-right: 0;
}


/* footer */

footer {
	margin:0px 0 0 0;
	padding:50px 0 50px 0;
	clear:both;
	background: #202020;
	color:#929292;
}

footer h4 {
	color:#fff;
	letter-spacing: 1.5px;
	font-size:16px;
	line-height: 22px;
}

.footer_text {
	max-width: 950px;
	margin:0 auto;
}

.imprint {
	font-size: 12px;
	letter-spacing: 1.5px;
}

/* fields */

.wpcf7 {
		margin: 30px 0 0 0 !important;
}

input, textarea, select {
	font-size:16px;
    font-family: 'Nunito Sans', sans-serif;
	line-height:22px;
	color:#202020;
	background:#fff;
	border:2px solid #e5e5e5;
	width:96%;
	padding:2%;
	margin-bottom: 10px;
}

textarea {
	resize:none;
	vertical-align: top;
	height:125px;
}

select {
	width:100%;
}

input[type='submit'] {
	font-size:14px;
	width:auto;
	background:#929292;
	color:#fff;
	border:none;
	width:100%;
	padding:3%;
	text-transform:uppercase;
	letter-spacing: 1.5px;
}

input[type='submit']:hover {
	cursor:pointer;
	text-decoration:underline;
}

input.wpcf7-quiz {
	width: 20%;
}

span.wpcf7-not-valid-tip {
	font-size:12px !important;
	margin-top:0px !important;
	color: #990000 !important;
	font-weight: normal;
	display: block;
}

.wpcf7-validation-errors {
	border: none !important;
	color: #990000 !important;
	font-size:12px !important;
}

.wpcf7-response-output {
	font-size:12px !important;
	line-height:15px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.wpcf7-mail-sent-ok {
	border: none !important;
	font-size:14px !important;
}

.wpcf7-not-valid {
	border-bottom:2px solid #990000;
}

@media only screen and (max-width:990px) {
	
	nav {
		padding:40px 20px 20px 20px;
	}
	
	.wrapper {
		padding:0 20px 0 20px;
	}

	section:nth-child(3n+1) {
		margin-right: 25px;
	}

	section:nth-child(2n+1) {
		margin-right: 0;
	}

	.footer_text {
		padding:0 20px 0 20px;
	}

	.col_left {
		float: none;
	}
	
	.col_right {
		width:auto;
		float: none;
	}

	.col_left {
		margin-right: 0;
	}

	.kontakt img {
		margin-bottom: 45px;
	}
	
}


@media only screen and (max-width:720px) {
	
	
	.burger {
		position: absolute;
		display: block;
		right:2%;
		top: 25px;
		background: url(img/burger.png) no-repeat;
		width:22px;
		height: 21px;
	}
	
	.wrapper {
		width:auto;
		padding:20px 2% 2% 2%;
	}
	
	header {
		height:auto;
		margin-bottom: 30px;
	}

	header .logo {
		text-align: center;
		padding:0;
		background:#eaebeb;
		height: 80px;
	}
	
	header .logo img {
		height: 100%;
		width: auto;
	}

	header .meta {
		display: none;
		text-align: center;
		position: relative;
		right:auto;
		top:auto;
	}

	header .meta li {
		display:block;
		margin-left: 0;
	}

	nav {
		display: none;
		max-width: 950px;
		margin:0 auto;
		padding-top: 40px;
		text-align:center;
	}

	nav ul {
		position:relative;
		padding:0;
		margin:0;
	}

	nav li {
		display: block;
		margin-right:0px;
	}

	nav li a {
		font-size: 22px;
		line-height: 26px;
	}

	.bg {
		padding: 5%;
	}

	.bgimg {
		min-height:inherit;
		padding-bottom: 100px;
	}

	section {
		width:auto;
		height: auto;
		padding: 15px 15px 30px 15px;
		box-sizing: border-box;
		float:left;
		background:rgba(255,255,255,0.85);
		margin:0 0 25px 0;
	}

	
	section:nth-child(2n+1), section:nth-child(3n+1) {
		margin-right: 0;
	}

	.team_member {
		padding: 25px;
	}

	.col_left, .col_right {
		width:auto;
		float: none;
	}

	.service_text {
		padding:25px 25px 25px 0;
	}

	.kontakt img {
		width:100%;
		height: auto;
		margin-right: 0;
		margin-bottom: 25px;
	}
	
}

@media only screen and (max-width:400px) {

	header .logo img {
		width: 80%;
		height: auto;
	}

	header .logo {
		height: auto;
	}
	
	.burger {
		top: 15px;
	}
}



.clear {
	clear:both;
}


/* iphone */
html {
	-webkit-text-size-adjust: none;
}

