/*
Theme Name: Floatwork Template
Theme URI: http://floatwork.at
Description: Standard Floatwork Template
Author: Andreas Mauritz
*/

/* FONTS */
@font-face {
	font-family:'Cormorant Garamond', "Padaloma Italic";
	src:url("../fonts/padaloma/padalomai.eot?") format("eot"),
	url("../fonts/padaloma/padalomai.woff") format("woff"),
	url("../fonts/padaloma/padalomai.ttf") format("truetype"),
	url("../fonts/padaloma/padalomai.svg#PadalomaItalic") format("svg");
	font-weight:normal;
	font-style:normal;
}

@font-face {
	font-family:'BlackChancery';
	src: url('../fonts/black-chancery/BlackChancery.eot');
	src: url('../fonts/black-chancery/BlackChancery.eot?#iefix') format('embedded-opentype'),
	url('../fonts/black-chancery/BlackChancery.woff2') format('woff2'),
	url('../fonts/black-chancery/BlackChancery.woff') format('woff'),
	url('../fonts/black-chancery/BlackChancery.svg#BlackChancery') format('svg');
	font-weight: 5;
	font-style: normal;
	font-stretch: normal;
	unicode-range: U+0020-00FC;
}
/* END FONTS */


/* CSS RESET */
html, body, div, span, applet, object, iframe,
blockquote, pre, a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

body {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	-khtml-opacity: 0;
	opacity: 0;
}

strong {
	font-weight: 400;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

em {
	font-style: italic;
}

p, h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;	
}

h1, h2, h3, h4, h5, h6, p {
	line-height: 100%;
}

input, select, textarea {
	margin:0;
	padding:0;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
}

input[type="submit"] {
	-webkit-appearance: none;
}

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

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

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* END CSS RESET*/


/* GENERAL STYLES */
html {
	-webkit-font-smoothing: subpixel-antialiased!important;
}

body {
	-webkit-text-size-adjust: none;
}

p {
	-webkit-font-smoothing: subpixel-antialiased!important;
}

body {
	font-family: 'Raleway', Helvetica;
	min-width: 320px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Cormorant Garamond', "Padaloma Italic";
}

.black-chancery {
	font-family: 'BlackChancery';
}

h1 {
	font-size: 4em;
}

h2 {
	font-size: 90px;
}

h3 {
	/*font-size: 2em;*/
	font-size: 50px;
	letter-spacing: 0.05em;
}

h3 .black-chancery {
	font-size: 70px;
}

h4 {
	font-size: 1.4em;
}

p {
	font-size: 1.4em;
}

.clear {
	clear: both;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

.left {
	float: left;
}

.right {
	float: right;
}

.fixed {
	position: fixed;
}

.vCenter {
	text-align: center;
	font-size: 0px;
}

.vCenter > div, .vCenter > img, .vCenter > a, .vCenter > p {
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: middle;
	font-size: 16px;
	width: auto;
	height: auto;
}

.vCenter:after {
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: middle;
	height: 100%;
	width:1;
	content: ""
}

html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {
	height: 1%;
}

img.alignright {
	float: right; margin: 0 0 1em 1em;
}

img.alignleft {
	float: left; margin: 0 1em 1em 0;
}

img.aligncenter {
	display: block; margin-left: auto; margin-right: auto;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

.aligncenter {
	display: block; margin-left: auto; margin-right: auto;
}

/* END GENERAL STYLES */


/* HEADER STYLES */
body {
	background: #fff;
	color: #000;
}

#logo {
	position: absolute;
	width: 90px;
	/*margin: 135px auto;*/
	left: 50%;
	bottom: 170px;
	margin-left: -45px;
}

#logo img {
	width: 100%;
	height: auto;
}

#video {
	position: relative;
	height: 100vh;
	background: #920914;
	overflow: hidden;
	/*padding-bottom: 180px;*/
}

#video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;


/*	position: absolute;
	width: 100%;
	height: 0;
	top: 0;
	left: 0;
	padding-bottom: 56.5%;*/
}

#video video {
	display: block;
	width: 100%;
}

video img {
	width: 100%;
	height: auto;
}

#video_overlay {
	position: absolute;
	background: rgba(0,0,0,0.4);
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	color: #fff;
	/*padding-bottom: 20px;*/

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#video_overlay.vCenter > div {
	vertical-align: bottom;
}

#video_overlay h3 {
	margin-bottom: 0;
}

#donation {
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: 300px;
	margin: 0 auto;
}

.euro {
	position: absolute;
	left: -50px;
}

#teaser p {
	/*text-shadow: 1px 1px 5px #000;*/
	font-size: 22px;
	line-height: 29px;
	font-weight: 100;
	margin-bottom: 0;
	letter-spacing: 0.03em;
}

#teaser h2 {
	margin-bottom: 0;
}

#btn_submit	{
	cursor: pointer;
	margin-top: 30px;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.4em;
	letter-spacing: 0.15em;
	-webkit-transition: .3s all;
	-moz-transition: .3s all;
	-o-transition: .3s all;
	transition: .3s all;
	font-family: 'Cormorant Garamond', "Padaloma Italic";
    background: white;
    color: #920914;
    padding: 10px 32px;
    margin-bottom: 30px;
    max-width: 100%;
    white-space: normal;
}

.section h3, .section h4 {
	margin-bottom: 0;
	display: inline-block;
	color: #e2b53b;
}

.section h3 {
	/*text-shadow: -6px -3px 0 #000;*/
}

.section h4 {
	/*text-shadow: -4px -2px 0 #000;*/
}

.section a h4 {
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.15em;

	-webkit-transition: .3s all;
	-moz-transition: .3s all;
	-o-transition: .3s all;
	transition: .3s all;
}

.section a:hover h4 {
	color: #ccc;
	/*text-shadow: -4px 2px 0 #000;	*/
}

/*.section h3:after {
	content: "20. Juni 2015";
	position: absolute;
	display: block;
	bottom: 0;
	right: 0;
	color: #000;
	font-size: 1.2em;
	}*/

	.section {
		position: relative;
		background: #920914;
		color: #fff;
		text-align: center;
		padding: 25px 0;
	}

	.section.basic_infos {
		position: absolute;
		width: 100%;
		height: 140px;
		bottom: 0;
		left: 0;
		border-top: 2px solid #e2b53b;

/*	-webkit-box-shadow: 0px -1px 15px #444;
	-moz-box-shadow: 0px -1px 15px #444;
	box-shadow: 0px -1px 15px #444;*/
}

.section.form {
	border-bottom: 2px solid #e2b53b;
}

#kontaktform {
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
}


input, textarea, button, select, label, a {
	-webkit-tap-highlight-color: transparent;
}

input,
select,
textarea,
button {
	margin: 0;
	padding: 0;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;

	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border: 0;
	font-size: 18px;
}

textarea {
	resize: none;
	width: 100%;
}

input:focus,
input:active,
select:focus,
select:active,
textarea:focus,
textarea:active,
button:focus,
button:active {
	outline: 0;
}

label,
legend {
	display: block;
}

.field_container, .select_container {
	position: relative;
	margin: 0 0;
}
@media only screen and (max-width: 768px) {
	.field_container, .select_container {
		max-width: none;
	}
}

.input_container input, .select_container {
	display: inline-block;
	vertical-align: top;
	width: 100%;
	margin: 5px 0;
	font-family: 'Raleway';
	font-weight: 100;
	letter-spacing: 0.03em;
	background: transparent;
	border: 2px solid white;
	color: #fff;

	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}

.input_container.has-error input {
	background: #fff;
	color: transparent;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #fff;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #fff;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #fff;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #fff;
}

@media only screen and (max-width: 1023px) {
	.input_container input, .select_container {
		width: 100%;
	}
}
@media only screen and (max-width: 768px) {
	.input_container input, .select_container {
		max-width: none;
	}
}

@media only screen and (max-width: 767px) {
	#kontaktform {
		max-width: 100%;
		padding: 0 10px;
		margin-bottom: 30px;
	}

	#teaser {
		padding: 0 30px;
	}
}

.field_container {
	overflow: hidden;
}

.input_container {
	position: relative;
}

.form-error {
	position: absolute;
	top: 5px;
	left: 0;
	color: #e00;
	text-align: left;
}

.input_container input, .select_container, .form-error {
	height: 40px;
	line-height: 40px;
}

.input_container input, .input_container textarea, .select_container, .select_dropdown li, .form-error {
	padding-left: 16px;
	padding-right: 16px;
}

.select_container {
	cursor: pointer;
	border: 1px solid #666;
}
.select_container span {
	display: block;
	overflow: hidden;
	height: 40px;
}

.select_label {
	display: table;
	height: 40px;
}

.select_label p {
	display: table-cell;
	vertical-align: middle;
	line-height: 40px;
}

.select_container {
	line-height: 40px;
}

.select_container:after {
	content: "";
	width: 0;
	height: 0;
	position: absolute;
	background-image: none;
	right: 10px;
	top: 50%;
	border-width: 10px 10px 0;
	border-style: solid;
	border-color: #666 transparent;
	-webkit-transition: all 0.8s;
	-moz-transition: all 0.8s;
	-o-transition: all 0.8s;
	transition: all 0.8s;
}

.select_dropdown {
	position: absolute;
	z-index: 1;
	background: #fff;
	top: 100%;
	left: -1px;
	right: -1px;
	margin-top: 0px;
	list-style: outside none none;
	border: 1px solid #666;
	pointer-events: none;
	overflow: hidden;
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=$opacity-ie)";
	filter: alpha(opacity=0);
	-moz-opacity: 0;
	-khtml-opacity: 0;
	opacity: 0;
}

.select_dropdown li {
	display: block;
	min-height: 40px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.select_dropdown li:hover {
	background: #666;
	color: #fff;
}

.select_container.active .select_dropdown {
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=$opacity-ie)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
	pointer-events: auto;
}

.hidden_input {
	visibility: hidden;
	display: none;
}

.no-opacity .select_dropdown,
.no-pointerevents .select_dropdown {
	display: none;
	pointer-events: auto;
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=$opacity-ie)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
}

.no-opacity .select_container.active .select_dropdown,
.no-pointerevents .select_container.active .select_dropdown {
	display: block;
}

.radio_container {
	padding: 10px 0px 0px;
}
.radio_container label {
	position: relative;
	display: inline-block;
	vertical-align: top;
	cursor: pointer;
	padding-left: 30px;
	margin-right: 10px;
}
.radio_container label:before {
	position: absolute;
	content: "";
	display: inline-block;
	vertical-align: top;
	width: 24px;
	height: 24px;
	margin-right: 10px;
	left: 0;
	bottom: 0px;
	background: #fff;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}
.radio_container input[type=radio]:checked + label:before {
	background: #fff;
	border: 1px solid #666;
}
.radio_container .radio_option {
	display: inline-block;
	vertical-align: top;
	margin-bottom: 1em;
}

.form_sent {
	pointer-events: none;
}







.section.teaser {
	padding: 50px 0;
	background: #111;
}

.section.credits {
	border-top: 2px solid #e2b53b;
	padding: 20px 0;
}

#current_infos {
	position: absolute;
	z-index: 1;
	top: -32px;
	right: 10%;
}

#flyer {
	position: absolute;
	z-index: 1;
	top: -32px;
	left: 10%;
}

#facebook {
	display: block;
	width: 50px;
	margin: 25px auto 50px;
}

#facebook img {
	max-width: 100%;
}

.section h3 {
	margin-bottom: 0;
}

.section.basic_infos h4 {
	margin-bottom: .5em;
}

#gallery {
	display: flex;
	flex-wrap: wrap;
}

#gallery .img_container {
	position: relative;
	height: 0;
	flex: 1;
	padding-bottom: 12.6%;
	overflow: hidden;
	background: #000;
	border: 1px solid #FFF;
	border-left: 0;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#gallery a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	-webkit-transition: 0.3s transform ease-out, 0.3s opacity ease-out;
	-moz-transition: 0.3s transform ease-out, 0.3s opacity ease-out;
	-o-transition: 0.3s transform ease-out, 0.3s opacity ease-out;
	transition: 0.3s transform ease-out, 0.3s opacity ease-out;

	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#gallery .img_container:hover a {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);

	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
}

.gallery_year {
	position: absolute;
	bottom: 10px;
	right: 10px;
	color: #fff;
	pointer-events: none;
}

.gallery_year p {
	margin-bottom: 0;
	font-size: 32px;
	text-shadow: 0 0px 50px #000, 0 0 30px #000, 0 0 10px #000;
}

#gallery a:last-child {
	border-right: 0;
}
/* END HEADER STYLES */


/* MAIN STYLES */

.hidden.piwik-div{
	width: 0;
	height: 0;
	overflow: hidden;
}

/* END MAIN STYLES */


/* FOOTER STYLES */
footer {
	text-align: center;
}

#google_maps {
	width: 100%;
	height: 600px;
}
/* END FOOTER STYLES */


/* MEDIA QUERIES */
@media only screen and (max-width:1024px) {
	html {
		-webkit-text-size-adjust: 100%;
		-ms-text-size-adjust: none;
	}

	#gallery .img_container {
		flex: 33.3333%;
		padding-bottom: 25%;
	}

	#gallery .img_container:first-child {
		flex: 100%;
	}

	#teaser p {
		/*display: none;*/
	}

	#flyer, #current_infos {
		position: relative;
		top: 0;
		left: 0;
	}

	#flyer {
		float: left;
	}

	#current_infos {
		float: right;
	}

	h3 {
		font-size: 1.8em;
	}

	.section.basic_infos {
		height: auto;
	}

	.section.basic_infos h3 {
		margin-top: 20px;
		line-height: 70px;
	}

	#logo {
		margin: 75px auto;
	}

	#google_maps {
		height: 480px;
	}

	#video_overlay {
		pointer-events: none;
	}
}

@media only screen and (max-width:768px) {
	#logo {
		margin: 35px auto;
		margin-left: -45px;
	}

	#google_maps {
		height: 420px;
	}
}

@media only screen and (max-width:480px) {
	.section.basic_infos h3 {
		margin-bottom: 40px;
		line-height: 55px;
	}

	#logo {
		bottom: 210px;
	}
}
/* END MEDIA QUERIES */