/*
Theme Name: roos-it
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,400,400italic,600,600italic,700,700italic);
@import url(https://fonts.googleapis.com/css?family=Abel);
@import url(https://fonts.googleapis.com/css?family=Ropa+Sans);

/*--------------------------------------------------------------
	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.02em;
	line-height: 1.35em;
	color: #5a5350;
}

strong {
	font-weight: 600;
}

section#home p.quote {
	font-family: 'Ropa Sans', sans-serif;
	font-weight: 400;
	font-size: 4.8em;
	line-height: 1.2em;
}

h1 {
	font-size: 1.15em;
	font-weight: 600;
	color: #f07d00;
}

body.impressum h1 {
	font-size: 2.4em;
	margin: 0;
	line-height: 1.3em;
	text-transform: uppercase;
}

body.impressum h1:nth-of-type(2) {
	margin-top: 20px;
}

h2 {
	font-size: 1.3em;
	font-weight: 600;
	color: #f07d00;
	margin-bottom: 0;
}

body.impressum h2 {
	font-size: 1.2em;
}

body.impressum h2.subline {
	margin-top: 0px;
	font-size: 1.1em;
	color: #5A5350;
	font-weight: 600;
}

body.impressum h3 {
	color: #f07d00;
	font-weight: 600;
	font-size: 1.1em;
}

body.impressum p {
	margin: 6px 0 0;
}

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

body:not(.impressum) {
	overflow-y: scroll;
}

body.impressum {
	padding: 0.1px;
}

section.page {
	position: relative;
	width: 100%;
	padding: 0.1px 0px 0px 0px;
	overflow: hidden;
}

section.page:not(#home) div.wrapper-1200 {
	padding: 0.1px 0px 80px 0px;
	border-bottom: 1px solid #5a5350;
	margin-bottom: 40px;
}

section.page#kontakt div.wrapper-1200 {
	margin-bottom: 0;
}

section.page h1 {
	position: relative;
}

section.page:not(.no-arrow) h1:before {
	content: "";
	position: absolute;
	width: 12px;
	height: 12px;
	border-bottom: 1px solid #f07d00;
	border-right: 1px solid #f07d00;
	top: 2px;
	left: -25px;
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

footer#page-footer {
	padding: 10px 20px;
	text-align: right;
	font-size: 0.75em;
	font-weight: 600;
}

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

section.page.fullpage {
	height: 100vh;
}

div.content-bg {
	position: absolute;
	top: 0px;
	z-index: -1;
	width: 100%;
	height: 100vh;
	background-image: url(img/bg_startseite.jpg);
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center;
}

div.content-bg:before {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.35);
}

div.block-bg {
	position: relative;
	margin: 25px 0 60px;
	height: 85vh;
	width: 100vw;
	/*margin-left: -421px;*/
	margin-left: calc((1080px - 100vw) / 2);
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center top;
}

div.btn-rect {
	position: relative;
	display: inline-block;
	padding: 5px 40px;
	text-transform: uppercase;
	border: 1px solid #5a5350;
	font-size: 1.2em;
	font-weight: 600;
	color: #5a5350;
	width: 135px;
}

div.arrow-wrapper {
	position: relative;
}

div.arrow {	
	position: absolute;
	width: 50px;
	height: 50px;
	border-bottom: 1px solid #f07d00;
	border-right: 1px solid #f07d00;
	bottom: -50px;
	left: calc(50% - 25px);
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

section#home {
	text-align: center;
}

section#home p.quote {
	margin-top: 200px;
	color: #f07d00;
}

header#page-header {
	position: absolute;
	height: 100px;
	left: 0;
	right: 0;
	z-index: 10;
}

.nav-wrapper img#logo {
	width: 70px;
	height: auto;
	margin: 15px 0 0 20px;
}

div#nav-button {
    position: fixed;
    top: 30px;
    right: 30px;
    height: 45px;
    width: 45px;
    cursor: pointer;
    background-color: #FFF;
    z-index: 100;
    padding: 10px;
    -webkit-border-radius: 100px;
	border-radius: 100px;
	display: none;
	-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;
}

body.scrolled div#nav-button {
	display: block;
}

div#nav-button .lines {
	display: block;
	width: calc(100% - 20px);
	height: 2px;
	background-color: #F07D00;
	-webkit-transition: 0s;
	transition: 0s;
	position: absolute;
	top: 21.5px;
}

div#nav-button .lines:before, .lines:after {
	display: inline-block;
	width: 100%;
	height: 2px;
	background-color: #F07D00;
	position: absolute;
	left: 0;
	content: '';
}

div#nav-button .lines:before {
	top: 6px;
}

div#nav-button .lines:after {
	top: -6px;
}

nav#main {
	display: block;
	float: right;
	line-height: 100px;
	font-size: 1.15em;
	font-weight: 600;
	color: #5a5350;
}

body.scrolled nav#main {
	display: none;
	position: fixed;
	right: 29px;
	top: 29px;
	background-color: rgba(255, 255, 255, 1);
	line-height: inherit;
	padding: 20px;
	-webkit-border-radius: 22px 0 22px 22px;
	border-radius: 22px 0 22px 22px;
	border: 1px solid #5B5350;
}

body.scrolled nav#main.open {
	display: block;
}

body.scrolled nav#main > li {
	display: block;
	float: none;
	margin-right: 0;
	margin-bottom: 5px;
}

body.scrolled nav#main ul.submenu {
	display: block !important;
	opacity: 1 !important;
	position: relative;
	top: 0;
	left: 0;
	margin: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	padding: 5px 0 10px;
	text-align: left;
	background-color: transparent;
}

body.scrolled nav#main ul.submenu:before {
	display: none;
}

nav#main a:hover {
	color: #f07d00;
}

nav#main > li {
	display: block;
	float: left;
	margin-right: 40px;
	position: relative;
}

nav#main ul.submenu {
	position: absolute;
	width: 200px;
	left: 50%;
	background-color: #FFF;
	-webkit-box-shadow: 1px -1px 3px 1px #DADADA;
	box-shadow: 1px -1px 3px 1px #DADADA;
	line-height: 1.3em;
	top: 85px;
	list-style: none;
	padding: 15px;
	margin: 0 0 0 -100px;
	font-size: 0.8em;
	text-align: center;
	display: none;
}

nav#main ul.submenu:before {
	content: "";
	position: absolute;
	width: 12px;
	height: 12px;
	border-bottom: 1px solid #f07d00;
	border-right: 1px solid #f07d00;
	top: -25px;
	left: calc(50% - 10px);
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	-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;
}

.contactbox {
	position: relative;
}

.contactbox img {
	position: absolute;
	width: 70px;
	top: -50px;
	left: -85px;
}

.floatbox {
	color: #f07d00;
	float: left;
	width: 180px;
	font-size: 0.85em;
	line-height: 1.3em;
}

.orange {
	color: #f07d00;
}

section.v-karte {
	margin: 20px 0 0;
	padding: 40px 25px 0;
	font-size: 0.85em;
	float: left;
	width: 50%;
}

section.v-karte p {
	margin: 8px 0;
	line-height: 1.3em;
}

section.v-karte p.orange {
	margin: 15px 0 -4px;
}

section.v-karte .vk-img {
	width: 220px;
	height: 220px;
	float: left;
	margin: -15px 15px 0 0;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center;
	-webkit-border-radius: 1000px;
	border-radius: 1000px;
}

section.half {
	width: 50%;
	padding: 0 50px;
	float: left;
}

section.full {
	margin-top: 80px;
	padding: 0 50px;
}

section.page#kontakt section.half {
	padding-left: 85px;
}

section.half p {
	margin-top: 30px;
}

section.page#kontakt section.half p {
	margin: 15px 0;
}

section.half ol {
	margin: 5px 0 25px;
	padding-left: 16px;
}

section.half ol.buchstaben {
	list-style-type: lower-alpha;
	margin: 0  0 25px;
	margin: 0px 0px 25px 20px;
}

section.half ol li {
	padding-left: 5px;
}

img.aligncenter {
	margin: 20px auto 50px;
	display: block;
}

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

.wrapper-1200 {
	width: 1080px;
	margin: 0 auto;
	position: relative;
}

@media only screen and (max-width: 1200px) {
	
	.wrapper-1200 {
		width: calc(100% - 70px);
		margin: 0 auto;
		position: relative;
	}

	div.block-bg {
		margin-left: calc((100% - 100vw) / 2);
	}

}

@media only screen and (max-width: 800px) {

	section#home:before {
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background-color: rgb(252, 252, 252);
		z-index: -1;
	}

	section#home p.quote {
		font-size: 3.8em;
	}

	div.content-bg {
		height: 70vh;
		bottom: 0;
		top: auto;
	}

	div.block-bg {
		height: 45vh;
	}

	section.half,
	section.v-karte {
		float: none;
		width: 100%;
		clear: both;
	}

	img.aligncenter {
		max-width: 100%;
	}

}

@media only screen and (max-width: 600px) {

	body.scrolled nav#main,
	nav#main {
		display: none;
		position: fixed;
		right: 20px;
		top: 20px;
		background-color: rgba(255, 255, 255, 0.8);
		line-height: inherit;
		padding: 20px;
		-webkit-border-radius: 22px 0 22px 22px;
		border-radius: 22px 0 22px 22px;
	}

	nav#main.open {
		border: 1px solid #5B5350;
	}

	nav#main > li {
		display: block;
		float: none;
		margin-right: 0;
		margin-bottom: 5px;
	}

	nav#main ul.submenu {
		display: block !important;
		opacity: 1 !important;
		position: relative;
		top: 0;
		left: 0;
		margin: 0;
		-webkit-box-shadow: none;
		box-shadow: none;
		padding: 5px 0 10px;
		text-align: left;
		background-color: transparent;
	}

	nav#main ul.submenu:before {
		display: none;
	}

	nav#main.open {
		display: block;
	}

	section#home p.quote {
		margin-top: 150px;
		color: #f07d00;
	}
	
	.wrapper-1200 {
		width: calc(100% - 20px);
		margin: 0 auto;
		position: relative;
	}

	.nav-wrapper img#logo {
		margin-left: 10px;
	}

	div#nav-button {
		display: block;
	}

	div#nav-button.border {
		-webkit-box-shadow: 0px 0px 2px 1px #DADADA;
		box-shadow: 0px 0px 2px 1px #DADADA;
	}

	section#home p.quote {
	    font-size: 1.8em;
	}

	section.page.fullpage {
		height: 100vh
	}

	div.content-bg {
		height: 60vh;
	}

	div.block-bg {
		height: 35vh;
	}

	section.half,
	section.full {
		padding: 0 15px;
	}

	section.v-karte {
		padding: 40px 20px 0px;
	}

	section.v-karte .vk-img {
		width: 80px;
		height: 80px;
	}

	section.v-karte p {
		padding-left: 95px;
	}

}

/*--------------------------------------------------------------
	6.0 Keyframe-Animationen 
--------------------------------------------------------------*/

.bounce {
  -moz-animation: bounce 2s infinite 1s;
  -webkit-animation: bounce 2s infinite 1s;
  animation: bounce 2s infinite 1s;
}

@-moz-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(30px);
    transform: translateY(30px);
  }
  60% {
    -moz-transform: translateY(15px);
    transform: translateY(15px);
  }
}
@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }
  60% {
    -webkit-transform: translateY(15px);
    transform: translateY(15px);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(30px);
    -ms-transform: translateY(30px);
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }
  60% {
    -moz-transform: translateY(15px);
    -ms-transform: translateY(15px);
    -webkit-transform: translateY(15px);
    transform: translateY(15px);
  }
}