/*
Theme Name: reco
Theme URI: http://www.xiqit.de
Author: XIQIT GmbH
Author http://www.xiqit.de
Version: 0.1
*/


/*--------------------------------------------------------------
	1.0 Schriften 
--------------------------------------------------------------*/

@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic,600,600italic,700,700italic);
@import url(https://fonts.googleapis.com/css?family=Raleway:200,300,400,600,700,800,900);

/*--------------------------------------------------------------
	2.0 Reset 
--------------------------------------------------------------*/

html, 
body {
	padding: 0px;
	margin: 0px;
	height: 100%;
}

*,
*::before,
*:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.clearfix::before,
.clearfix:after {
	content: " ";
	display: table;
	clear: both;
}

.clear {
	clear: both;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section {
	display: block;
}

a {
	outline: none;
	text-decoration: none;
	color: inherit;
}

a > img{
	border: 0;
}

/*--------------------------------------------------------------
	3.0 Schriftarten 
--------------------------------------------------------------*/

body {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 400;
	font-size: 1.1em;
	line-height: 1.55em;
	color: #000;
	background-color: #F4F5F7;
}

h1, h2, h3 {
	font-family: "Raleway", sans-serif;
	font-weight: 400;
}

h2 {
	font-size: 2rem;
	margin: 1.7rem 0 0;
}

section.fulltext h3 {
	clear: both;
	font-size: 1.65rem;
	margin: 2.8rem 0.8rem 1rem;
	font-weight: 300;
	padding-bottom: 0.3rem;
	border-bottom: 1px solid #000;
}

section.fulltext h3:not(:first-of-type) {
	margin-top: 1.8rem;
}

body.home h2 {
	text-align: center;
	margin: 1.7rem 0;
}

.content {
	font-size: 0.95rem;
}

p.subtitle {
	margin-top: 0.4rem;
	font-family: "Raleway";
	font-size: 1rem;
	font-weight: 300;
}

p.description {
	margin: -0.8rem 0.8rem 1rem;
	color: #666;
}

/*--------------------------------------------------------------
	4.0 Layout 
--------------------------------------------------------------*/

body {
	overflow-y: scroll;
}

div#main-container {
	min-height: 100%;
	/*padding-bottom: 53px;*/
	position: relative;
}

div#body-container {
    min-height: 100%;
    position: relative;
    padding-bottom: 53px;
}

header#page-header {
	/*height: 25vh;*/
	height: 180px;
	background-color: #CCC;
	background-image: url("img/header-qmungo.jpg");
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center -600px;
	overflow: hidden;
	position: relative;
}

body.home header#page-header {
	height: 75vh;
	max-height: 650px;
	/*height: 100vh;*/
	background-position: center center;
}

body.page-kontakt header#page-header {
	background-position: center -575px;
}

header#page-header:before {
	content: "";
	position: absolute;
	z-index: 1;
	width: 100%;
	height: 100%;
	/*background-color: rgba(255,255,255,0.6);*/
	background-image: -webkit-linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.2) 45%); /* For Chrome 25 and Safari 6, iOS 6.1, Android 4.3 */
	background-image:    -moz-linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.2) 45%); /* For Firefox (3.6 to 15) */
	background-image:      -o-linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.2) 45%); /* For old Opera (11.1 to 12.0) */ 
	background-image:         linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.2) 45%); /* Standard syntax; must be last */
}

header#page-header > div {
	position: relative;
	z-index: 10;
	height: 100%;
}

header#page-header img#logo {
	position: absolute;
	width: 200px;
	height: auto;
	left: 2.5rem;
	top: 2.5rem;
}

header#page-header div.nav-wrapper {
	padding-top: 2.7rem;
	font-family: "Raleway", sans-serif;
	text-align: center;
	font-size: 1rem;
}

nav#header-nav {
	text-transform: uppercase;
	color: #F9F9F9;
	font-weight: 800;
}

nav#header-nav a {
	margin: 0 0.8rem;
	/*border-bottom: 2px solid #F9F9F9;*/
	padding: 0.4rem 0.6rem;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-ms-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
	position: relative;
}

nav#header-nav a:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background-color: #F9F9F9;
	z-index: -1;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-ms-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
}

nav#header-nav a:hover,
nav#header-nav a.active {
	color: #333;
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
}

nav#header-nav a:hover:before,
nav#header-nav a.active:before {
	height: 100%;
	background-color: #F9F9F9;
	-webkit-transition: all 350ms ease-in-out;
	-moz-transition: all 350ms ease-in-out;
	-ms-transition: all 350ms ease-in-out;
	-o-transition: all 350ms ease-in-out;
	transition: all 350ms ease-in-out;
}

nav#header-nav a:nth-child(-n+3):hover,
nav#header-nav a:nth-child(-n+3).active {
	color: #4db848;
}

nav#header-nav a:nth-child(-n+3):hover span,
nav#header-nav a:nth-child(-n+3).active span {
	color: #00437c;
}

nav#header-nav span {
	letter-spacing: 0.2em;
}

div#slogan {
	color: #333;
	font-weight: 600;
	font-size: 3.8rem;
	line-height: 4.4rem;
	position: absolute;
	bottom: 9rem;
	text-shadow: 1px 0 4px #FFF;
	left: 0;
	right: 0;
	text-align: center;
}

div#content {
	position: relative;
	z-index: 100;
}

body.home div#content {
	margin-top: -3rem;
}

div#content section.content {
	padding: 3rem;
}

.produkt {
	width: calc(33% - 30px);
	/*min-height: 331px;*/
	float: left;
	background-color: #FFF;
	margin: 0 45px 45px 0;
	padding: 0.7rem;
	cursor: pointer;
	overflow: hidden;

}

.produkt:nth-of-type(3n) {
	margin-right: 0;
}

.produkt div.image-wrapper {
	width: 100%;
	position: relative;
	/*display: inline-block;*/
	overflow: hidden;
	background: #207A77;
	background-image: -webkit-linear-gradient(165deg, rgba(255,255,255,0.5) 30%, #003460 65%); 
	background-image:    -moz-linear-gradient(165deg, rgba(255,255,255,0.5) 30%, #003460 65%); 
	background-image:      -o-linear-gradient(165deg, rgba(255,255,255,0.5) 30%, #003460 65%); 
	background-image:         linear-gradient(165deg, rgba(255,255,255,0.5) 30%, #003460 65%); 
}

/*.produkt div.image-wrapper:before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: rgba(255,255,255,0.5);
	background-image: -webkit-linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0.1) 50%); 
	background-image:    -moz-linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0.1) 50%); 
	background-image:      -o-linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0.1) 50%); 
	background-image:         linear-gradient(135deg, rgba(255,255,255,0.5), rgba(255,255,255,0.1) 50%); 
	z-index: 10;
}*/

.produkt div.image-wrapper img {
	width: 100%;
	/*opacity: 0.95;*/
	vertical-align:top; 
}

.produkt div.image-wrapper h2 {
	position: absolute;
	font-family: "Raleway", sans-serif;
	top: 0;
	left: 1.8rem;
	z-index: 10;
	font-size: 1.7rem;
	font-weight: 900;
	color: #4db848;
}

.produkt div.image-wrapper p:not(.details) {
	font-family: "Raleway", sans-serif;
	position: absolute;
	top: 2.4rem;
	left: 1.8rem;
	z-index: 10;
	font-size: 0.9em;
}

.produkt div.image-wrapper h2 span {
	letter-spacing: 0.2em;
	color: #00437c;
}

.produkt p.details {
	margin-bottom: 0;
	font-size: 0.9rem;
	line-height: 1.4rem;
	padding: 0 1.8rem;
	bottom: 1.5rem;
	color: #FFF;
	text-shadow: 0 0 2px #000;
}

.fulltext div.column {
	width: 47%;
	float: left;
	padding: 0 0.9rem 0 2rem;
	position: relative;
}

.fulltext div.column:nth-of-type(even) {
	margin-left: 5%;
	position: relative;
	padding: 0 2rem 0 0.9rem;
}

.fulltext div.column:nth-of-type(odd):before {
    position: absolute;
    top: 0px;
    right: -5%;
    display: block;
    width: 1px;
    height: 100%;
    content: "";
    background-color: #E1E1E1;
}

div.column blockquote {
	margin: 65px 0px 0px;
	font-family: "Raleway",sans-serif;
	font-size: 155%;
	line-height: 2.5rem;
	color: rgb(35, 100, 155);
	font-weight: 400;
}

section.bg-image {
	width: 100%;
	height: 550px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center center;
	text-align: center;
	position: relative;
}

section.bg-image p {
	position: relative;
	margin-top: 250px;
	z-index: 10;
}

section.bg-image:before {
	content: "";
	position: absolute;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: transparent;
	-webkit-transition: all 900ms ease-in-out;
	-moz-transition: all 900ms ease-in-out;
	-ms-transition: all 900ms ease-in-out;
	-o-transition: all 900ms ease-in-out;
	transition: all 900ms ease-in-out;
}

/*section.bg-image:hover:before {
	background-color: rgba(0,0,0,0.2);
}*/

section#more-about > div {
	text-align: center;
}

p.button {
	font-family: "Raleway", sans-serif;
	display: inline-block;
	margin: 0 3rem;
	padding: 0.6rem 1.5rem;
	color: #00223F;
	font-weight: 600;
	border: 2px solid #E1E1E1;
	font-size: 1.1rem;
	cursor: pointer;
	-webkit-border-radius: 0.6rem;
	border-radius: 0.6rem;
	background-color: rgba(255,255,255,0.5);
	z-index: 10;
}

.white {
	background-color: #FFF;
}

footer#page-footer {
	position: absolute;
	bottom: 0;
	width: 100%;
}

footer#page-footer > div {
	padding: 0 3rem;
	font-size: 0.8rem;
	/*color: #00437c;*/
	color: rgba(0,0,0,0.6);
}

footer#page-footer p {
	display: inline-block;
	margin-right: 25px;
}


footer#page-footer p:last-of-type {
	float: right;
}

footer#page-footer p a {
	margin-right: 5px;
}

footer#page-footer p > a:not(:last-of-type):after {
	content: "\00b7";
	margin-left: 5px;
}

/* Produkt-Kacheln */

section.card {
    width: 24.4%;
    position: relative;
    float: left;
    margin: 0px 0.8% 0.75% 0px;
    background-color: #FCFCFC;
    border: 1px solid transparent;
    box-sizing: border-box;
    -webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
	cursor: pointer; /*FIX ME */
}

section.card:hover {
	/*border: 1px solid #E1E1E1;*/
}

div.grid section.card:nth-of-type(4n) {
	margin-right: 0;
}

section.card::before {
    content: "";
    display: block;
    padding-top: 100%;
}

section.card figcaption {
	position: absolute;
	top: 0;
	text-align: center;
	font-weight: 600;
	font-size: 1.1rem;
	color: #444;
	width: 100%;
}

section.card figcaption img {
	width: 100%;
}

section.card figcaption p {
	margin-bottom: 0.2rem;
}

/* Map */

div.infobox {
	position: relative;
	height: 100%;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	padding: 1rem;
}

div.infobox h3 {
	color: rgb(35, 100, 155);
	margin: 0 0 0.3rem;
}

div.infobox p {
	margin: 0;
	line-height: 1.3rem;
}

div.infobox div#routenplaner {
	margin-top: 1rem;
	color: rgba(0,0,0,0.8);
	font-weight: 600;
	position: relative;
}

div.infobox #routenplaner a {
	padding-left: 25px;
	
}

div.infobox #routenplaner a:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 4px;
    width: 20px;
    height: 20px;
    background-image: url(img/icon_route.png);
}

div.infobox:before {
	content: "";
	position: absolute;
	bottom: calc(50% - 17.5px);
	right: calc(-0.8rem + 0px);
	width: 35px;
	height: 35px;
	background-color: #FFF;
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}


div.infobox:after {
	content: "";
	position: absolute;
	bottom: calc(50% - 15px);
	right: -0.8rem;
	width: 30px;
	height: 30px;
	z-index: -1;
	-webkit-box-shadow: 2px 0px 5px 0 #949494;
	box-shadow: 2px 0px 5px 0 #949494;
	background-color: rgba(255,255,255,1);
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

span.tel,
span.mail,
span.fax {
	display: block;
	padding-left: 50px;
	position: relative;
}

span.tel a,
span.mail a,
span.fax a {
	border-bottom: 1px dotted #666;
}

span.tel:before,
span.mail:before,
span.fax:before {
	position: absolute;
	left: 0;
}

span.tel:before {
	content: "Tel.:";
}

span.fax:before {
	content: "Fax:";
}

span.mail:before {
	content: "E-Mail:";
}

/* Effekte */

.effect-chico img {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(1.12);
	transform: scale(1.12);
	opacity: 0.75;
}

.effect-chico:hover img {
	opacity: 0.3;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.effect-chico figcaption::before {
	position: absolute;
	top: 15px;
	right: 15px;
	bottom: 15px;
	left: 15px;
	border: 1px solid #fff;
	content: '';
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.effect-chico figcaption::before,
.effect-chico p.details {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

.effect-chico h2 {
	/*padding: 20% 0 20px 0;*/
}

.effect-chico p.details {
	position: absolute;
	bottom: 1.7rem;
	margin: 0 auto;
	/*max-width: 200px;*/
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
	line-height: 1.1rem;
}

.effect-chico:hover figcaption::before,
.effect-chico:hover p.details {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

body.home div.copyright {
	position: absolute;
	bottom: 0px;
	right: 20px;
	z-index: 100;
	font-size: 0.8rem;
	line-height: 1.2rem;
	color: #FFF;
}

/*--------------------------------------------------------------
	5.0 Responsive 
-------------------------------------------------------------- */

.wrapper-1600 {
	width: 1280px;
	margin: 0 auto;
}

.wrapper-1200 {
	width: 1180px;
	margin: 0 auto;
}