/* 
 
 		Haupt-Stylesheet
 		
		Prüfling:						Betrieb:
		Markus Pfahler					3We GmbH
		Dörnigstraße 21					Amalienstraße 2
		76694 Forst						76646 Bruchsal
		pfahler.markus@3we.de
		
		Prüflingsnummer: 				Ausbilder:
		138 40367						Gerald Zum Gahr
		07251/932-412
		zum_gahr.gerald@3we.de


*/

html, body {
	margin: 0px;
	padding: 0px;
	font-family: 'Rubik', sans-serif;
}
* {
	box-sizing: border-box;
}

.clear {
	padding: 0px;
	margin: 0px;
	height: 0px;
	clear: both;
	opacity: 0;
}

body.js_activated {
	overflow: hidden;
}
.scroll_helper {
	display: none;
}

.js_activated #main {
	 transition: all 1s ease-in-out;
}

.js_activated #main.section_1 {
	margin-top: 0vh;
}
.js_activated #main.section_2 {
	margin-top: -100vh;
}
.js_activated #main.section_3 {
	margin-top: -200vh;
}
.js_activated #main.section_4 {
	margin-top: -300vh;
}
.js_activated #main.section_5 {
	margin-top: -400vh;
}
.js_activated #main.section_6 {
	margin-top: -500vh;
}
.js_activated #main.section_7 {
	margin-top: -600vh;
}

/* Fonts */

@font-face {
  font-family: 'Satisfy';
  font-style: normal;
  font-weight: 400;
  src: local('Satisfy'), url('fonts/satisfy.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}
/* latin */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300;
  src: local('Rubik Light'), local('Rubik-Light'), url('fonts/rubik_300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 500;
  src: local('Rubik Medium'), local('Rubik-Medium'), url('fonts/rubik_500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

/* Sections */

section {
	min-height: 100vh;
	width: 100%;
	position: relative;
}
section .text_box {
	font-size: 24px;
	font-weight: 300;
	line-height: 1.5em;
}
section .text_box {
	background-color: rgba(207,255,179,1);
	width: 39%;
	height: 100%;
	float: left;
	position: absolute;
	transition: all 1s ease-in-out;
	padding-left: 3%;
	padding-right: 3%;
	padding-top: 65px;
	color: rgba(46,58,58,1);
	height: 100vh;
}
section form {
	max-height: 95%;
	padding-right: 10px;
}
section form::-webkit-scrollbar {
	-webkit-appearance: none;
	width: 10px;

	background-color: rgba(0,0,0,0);
	
}
section form::-webkit-scrollbar-thumb {
	border-radius: 5px;
	background-color: rgba(0,0,0,.5);
}
section form::-webkit-scrollbar-corner {
  background: rgba(0,0,0,0);
}
section .text_box h1 {
	font-size: 68px;
	padding: 0px;
	margin: 0px;
	line-height: 60px;
	font-weight: 400;
	padding-bottom: 50px;
}

section .text_box h3 {
		margin: 0px;
		padding: 0px;
		margin-top: 15px;
		margin-bottom:15px;
		font-size: 1em;
	}
}
section .text_box b {
	font-weight: 500;
}

/* Img-Box*/

.img_box {
	float: right;
	width: 61%;
	background-image: url('../img/bg/event.jpg');
	background-size: auto 100%;
	background-position: center 0px;
	height: 100vh;
	display: block;
	transition: all 1s ease-in-out;
}
.inactive .img_box {
	background-size: auto 105%;
}

/*section.inactive .text_box {
	background-color: rgba(255,172,128,1);
}*/

#event .text_box, #rezepte .text_box, #kontakt .text_box {
	background-color: rgba(255,172,128,1);
}
/*#event.inactive .text_box, #rezepte.inactive .text_box, #kontakt.inactive .text_box {
	background-color: rgba(207,255,179,1);
}*/

/* Menu */
#main .menu {
	position: fixed;
	right: 0px;
	top: 0px;
	height: 100%;
	background-color: rgba(46,58,58,0.9);
	color: rgba(255,255,255,1);
	width: 85px;
	z-index: 9999;
}
#main .menu ul {
	padding: 0px;
	margin: 0px;
	top: 25%;
	position: absolute;
	left: 35px;
}
#main .menu ul li {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
	padding-top: 15px;
	padding-bottom: 15px;
}
#main .menu ul li a{
	color: rgba(255,255,255,1);
	position:relative;
	width: 50px;
}

/* Menu > Circle Animations and Names */
#main .menu ul li a .circle{
	color: rgba(0,0,0,0);
	background-color: rgba(0,0,0,0);
	width: 20px;
	height: 20px;
	border-radius: 8px;
	display: block;	
	text-decoration: none;
	position: relative;
}
#main .menu ul li a .circle .inner, #main .menu ul li a .circle .outer{
	position: absolute;
	top: 2px;
	transition: all 0.5s ease-in-out;
}
#main .menu ul li a .circle .inner {
	background-color: rgba(255,255,255,1);
	top: 3px;
	left: 3px;
	width: 14px;
	height: 14px;
	border-radius: 7px;
	z-index: 9999;
}
#main .menu ul li a .circle .outer {
	background-color: rgba(0,0,0,0);
	border: 3px solid rgba(255,255,255,0);
	top: 0px;
	left: 0px;
	width: 20px;
	height: 20px;
	border-radius: 10px;
	z-index: 9998;
	transition: all 0.5s ease-in-out;
}
#main .menu ul li.active a .circle .outer, #main .menu ul li:hover a .circle .outer  {
	border: 3px solid rgba(255,255,255,1);
	
}
#main .menu ul li.active a .circle .inner, #main .menu ul li:hover a .circle .inner  {
	background-color: rgba(0,0,0,0);
	top: 10px;
	left: 10px;
	width: 0px;
	height: 0px;
}

#main .menu ul li a .name {
	top: 7px !important;
	position: absolute;
	right: 50px;
	width: 200px;
	text-align: right;
	opacity: 0;
	transition: all 0.5s ease-in-out;
	font-size: 24px;
	font-weight: 300;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
	
}
#main .menu ul li.active a{
	/*color: rgba(255,0,0,1);*/
}
#main .menu ul li.active a .name, #main .menu:hover ul li a .name{
	opacity: 100;
	
}

#main .menu .social {
	position: absolute;
	bottom: 0px;
	padding: 15px;
	
}
#main .menu .social a img {
	max-width: 100%;
	margin-top: 15px;
	transition: all 0.5s ease-in-out;
}
#main .menu .social a:hover img {
	opacity: 0.5;
}

/* Headings */

h1 {
	font-family: 'Satisfy', cursive;
}

/* Inputs */
.white_bg {
	background-color: rgba(255,255,255,1);
	margin-bottom: 7px;
}
input[type=text],input[type=email],button {
    width: 100%;
    margin: 0px;
    font-family: 'Rubik', sans-serif;
    font-weight: 300;
    background-color: rgba(255,255,255,1);
    border: none;
    font-size: 1em;
    padding: 10px;
    padding-left: 15px;
    -webkit-appearance: none;
   -moz-appearance:    none;
   appearance:         none;
   margin-bottom: 7px;
   height: 45px
}
input[type=text]:focus,input[type=email]:focus {
	border: 3px solid rgba(46,58,58,1);
	padding: 7px;
	padding-left: 12px;
}

.white_bg input[type=text] {
	margin-bottom: 0px;
}

.last {
	margin-right: 0px;
}

.half_left, [type=text].half_left {
	width: 49%;
	float: left;
	margin-right: 1%; !important
	margin-left: 0px; !important
}
.half_right, [type=text].half_right {
	width: 49%;
	float: left;
	margin-left: 1%; !important
	margin-right: 0px; !important
}

input[type=radio], input[type=checkbox]  {
	background-color: rgba(255,255,255,1);
	border: 3px solid rgba(46,58,58,1);
	width: 28px;
	height: 28px;
	 -webkit-appearance: none;
   -moz-appearance:    none;
   appearance:         none;
   margin-bottom: -5px;
   margin-right: 10px;
   
}
input[type=radio]:disabled {
	border: 3px solid rgba(180,180,180,1);
}

input[type=radio] {
	border-radius: 14px;
}
input[type=radio]:checked, input[type=checkbox]:checked {
	background: rgba(46,58,58,1);
	background: -moz-radial-gradient(center, ellipse cover, rgba(46,58,58,1) 0%, rgba(46,58,58,1) 50%, rgba(255,255,255,1) 52%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
background: -webkit-radial-gradient(center, ellipse cover, rgba(46,58,58,1) 0%,rgba(46,58,58,1) 50%,rgba(255,255,255,1) 52%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: radial-gradient(ellipse at center, rgba(46,58,58,1) 0%,rgba(46,58,58,1) 50%,rgba(255,255,255,1) 52%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2e3a3a', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	
}

.full_width {
	width: 100%;
	position: relative;
	padding-left: 70px;
	min-height: 45px;
	height: auto !important;
}
.full_width .text {
	padding-left: 40px;	
}
.full_width input[type=checkbox] {
	position: absolute;
	left: 7px;
}
.one_third input[type=radio] {
	display: none;
}
.one_third {
	padding: 0px;
	width: 32%;
	margin-right:1%;
	float: left;
}
.one_third img {
	max-height: 60px;
	max-width: 25px;
	display: inline;
	margin-bottom: -15px;
	
}
.one_third label {
	height: 100px;
	width: 100%;
	display: block;
	padding: 8px;
	background-color: rgba(255,255,255,1);
	font-size: 0.6em;
	text-align: center;
}
.one_third input[type=radio]:checked+label{ 
	border: 3px solid rgba(46,58,58,1);
	padding: 5px;
}

.input_radio {
	float: left;
	background-color: rgba(255,255,255,1);
	line-height: 28px;
	padding: 5px;
	margin-bottom: 7px;
	font-size: 0.9em;
	display: block;
	height: 45px;
	cursor: pointer;
}
.dates {
	font-size: 0.8em;
}
.input_radio.float {
	margin-right: 7px;
	padding-right: 10px;
}


button, .div_button {
	background-color: rgba(46,58,58,1);
	color: rgba(255,255,255,1);
	font-weight: 500;
	width: 49%;
	margin-top: 4%;
	height: 45px;
	line-height: 27px;
	cursor: pointer;
}
button {
	float: right;	
}
.div_button {
	text-align: center;
	padding: 10px;
	float: left;
	cursor: pointer;
}
.div_button.center {
	float: none;
	margin: 0 auto;	
}
button:hover, .div_button:hover {
	background-color: rgba(46,58,58,0.8);
}


/* Sections > Startseite */

#startseite .text_box {
	background-color: rgba(255,255,255,0.9);
	margin: 0 auto;
	width: 65vh;
	height: 65vh;
	border-radius: 50%;
	float: none;
	position: relative;
	z-index: 99;
	display: block;
	opacity: 100;
	transition: all 1s ease-in-out;
	overflow: hidden;
}
#startseite {
	margin: 0 auto;
	width: 100%;
	height: 100%;
	padding-top: 15vh;
	z-index: 9;
	background-image: url('../img/bg/startseite.jpg');
	background-size: cover;
	background-position: center 0px;
	transition: all 1s ease-in-out;
	overflow: hidden;
}
#startseite.inactive .text_box {
	opacity: 0;
	
}
#startseite.inactive {
	background-position: center 600px;
	/*padding-top: 30vh;*/
	
}
#startseite .text_box {
	padding: 25px;
}

#startseite .text_box img {
	max-width: 100%;
}


/* Sections > Event */

#event {
	z-index: 20;
	overflow: hidden;
}
#event .text_box {
	width: 61%;
	
}
#event .img_box {
	width: 39%;
	background-image: url('../img/bg/event.jpg');
}
#event.inactive .img_box {
	background-size: auto 120%;
	/*padding-top: 30vh;*/
	
}
#event .lower_half {
	position: relative;
}
#event .lower_half .left {
	max-width: 30%;
	float: left;
}
#event .lower_half .micro_box {
	background-color: rgba(255,255,255,1);
	width: 235px;
	text-align: center;
	padding: 10px;
	margin-top: 20px;
}
#event .lower_half .karte {
	float: right;
	width: 70%;
	position: relative
}
#event .lower_half .karte img {
	max-width: 100%;
	margin-top: -50px;
	margin-bottom: -200px;
}

#event .circle {
	background-color: rgba(207,255,179,1);
	border-radius: 130px;
	width: 260px;
	height: 260px;
	position: absolute;
	right: -100px;
	top: 30px;
	text-align: center;
	font-size: 18px;
	padding-top: 50px;
	line-height: 1.1em;
	-moz-transform: rotate(-15deg);
	-ms-transform: rotate(-15deg);
	-o-transform: rotate(-15deg);
	-webkit-transform: rotate(-15deg);
	transform: rotate(-15deg);
	
}
#event .circle b {
	font-size: 24px;
}
#event .circle .fourx {
	font-family: 'Satisfy', cursive;
	font-size: 160px;
	line-height: 120px;
}

/* Sections > Anmeldung */
#anmeldung .text_box {
	overflow: hidden;	
}
#anmeldung .img_box {
	background-image: url('../img/bg/anmeldung.jpg');
	
}

#anmeldung-formular {
	width: 212%;
	
	margin-right: -3%;
	transition: all 0.5s ease-in-out;
}
#anmeldung-formular .teil_1, #anmeldung-formular .teil_2 {
	width: 50%;
	float: left;
}
#anmeldung-formular .teil_1 {
	padding-right: 3%;
}
#anmeldung-formular .teil_2 {
	padding-left: 4%;
}
#anmeldung-formular.termine {
	margin-left: -112%;
}

/* Sections > Rezepte */
#rezept_container {
 	width: 100vw;
 	height: 100vh;	
 	overflow: hidden;
}
#rezepte {
	overflow: hidden;
}

#rezepte #rezept_container .img_box {
	background-image: url('../img/bg/schwarzwurzel.jpg');
}
#rezepte #rezept_container.rezept_2 .img_box {
	background-image: url('../img/bg/gruenkohl.jpg');
}
#rezepte #rezept_container.rezept_3 .img_box {
	background-image: url('../img/bg/pastinaken.jpg');
}
#rezepte .text_box {
	min-width: 600px;
 	overflow: hidden;
 	position: relative;
 	padding: 0px;
 	margin: 0 auto;
 	float: none;
 	transition: all 0.5s ease-in-out;
 	padding-top: 65px;
 	text-align: center;
 	z-index: 999;
 	height: auto;
	transition: all 0.5s ease-in-out;
	padding-bottom: 30px;
 	
}
#rezepte .previous_button img, #rezepte .next_button img {
	max-height: 50px;
}
#rezepte .previous_button, #rezepte .next_button {
	position: absolute;	
	top: 198px;
	width: 50px;
	height: 50px;
}
#rezepte .previous_button {
	left: 20px;
}
#rezepte .next_button {
	right: 20px;
}
#rezepte .div_button {
	margin-top: 30px;
}
#rezepte .text_box .rezept_box {
  	width: 300%;
  	transition: all 0.5s ease-in-out;
  	
 }
#rezepte .rezept_2 .text_box .rezept_box {
	margin-left: -100%;
} 
#rezepte .rezept_3 .text_box .rezept_box {
	margin-left: -200%;
} 
#rezepte .text_box .rezept_box .rezept {
  	width: 33.33%;
  	float: left;
  	display: block;
  	padding-right: 3%;
  	padding-left: 3%;
 }

#rezepte .rezept_text {
 	display: none;
}
#rezepte .rezept_active .rezept_text {
 	display: block;
 	text-align: left;
 	
}
#rezepte .rezept_active .einblenden {
	display: none;
}

#rezepte .rezept_active .text_box {
	height: 100vh;
}
#rezepte .angabe {
	display: inline-block;
	width: 90px;
}

#rezepte .img_box {
	width: 100%;
	height: 100vh;
	position: absolute;
	left: 0px;
	top: 0px;
	background-size: 100% auto;
	/*background-size: cover;*/
	z-index: 1;
	transition: all 0.5s ease-in-out;
}
#rezepte .rezept_active .img_box {
	-webkit-filter: blur(30px); /* Safari */
    filter: blur(30px);
}


/* Sections > Bio-Kiste */
#bio-kiste .text_box {
	overflow: hidden;	
}
#bio-kiste .img_box {
	background-image: url('../img/bg/bio-kiste.jpg');
	
}

#bio-kiste-formular {
	width: 212%;
	
	margin-right: -3%;
	transition: all 0.5s ease-in-out;
}
#bio-kiste-formular .teil_1, #bio-kiste-formular .teil_2 {
	width: 50%;
	float: left;
}
#bio-kiste-formular .teil_1 {
	padding-right: 3%;
}
#bio-kiste-formular .teil_2 {
	padding-left: 4%;
}
#bio-kiste-formular.adressen {
	margin-left: -112%;
}

/* Sections > Kontakt */
#kontakt {
	position: relative;
	padding-top: 30vh;
	
}
#kontakt .img_box {
	background-image: url('../img/bg/kontakt.jpg');
	width: 100%;
	height: 100vh;
	position: absolute;
	left: 0px;
	top: 0px;
	background-size: cover;
	z-index: 1;
}

#kontakt .text_box {
	width: 
	overflow: hidden;
 	z-index: 999;
 	margin: 0 auto;
 	height: auto;
 	float: none;
 	position: relative;
 	text-align: center;
 	padding: 0px;
 	padding-top: 65px;
 	padding-bottom: 40px;
 	
}

/* Sections > Impressum */

#impressum .img_box {
	background-image: url('../img/bg/impressum.jpg');
	
}

/* Height-optimizations */

@media (min-width: 769px) and (max-height: 700px) 
{
	section .text_box {
		font-size: 18px;
		line-height: 1.2em;
		padding-top: 35px;
	}
	section .text_box h1 {
		font-size: 50px;
		padding-bottom: 20px;
	}
	input[type=text],input[type=email] {
		height: 35px;
		margin-bottom: 5px;
	}
	.white_bg {
		margin-bottom: 5px;
	}
	.input_radio {
		line-height:15px;
		padding: 7px;
		font-size: 0.6em;
	}
	input[type=radio] {
		height: 20px;
		width: 20px;
		margin-top: -5px;
	}
	h3 {
		margin-top:5px;
		margin-bottom:5px;
		font-size: 1em;
	}
}
