@font-face {
    font-family: 'open_sanslight'; src: url('fonts/opensans-light-webfont.eot'); src: url('fonts/opensans-light-webfont.eot?#iefix') format('embedded-opentype'), url('fonts/opensans-light-webfont.woff2') format('woff2'), url('fonts/opensans-light-webfont.woff') format('woff'), url('fonts/opensans-light-webfont.ttf') format('truetype'), url('fonts/opensans-light-webfont.svg#open_sanslight') format('svg'); font-weight: normal; font-style: normal;
}

*{
	margin: 0px;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0;
	font-family: "open_sanslight", sans-serif;
	outline: none;
	color: #C398A3;
	font-weight: normal;
}

b, strong{
	font-weight: bold;
}

.fotoalbum{
	width: 1060px;
}

footer{
	position: fixed;
	bottom: 15px;
	right: 25px;
}

#mobile_burger{
	display: none;
}

#loading, #login{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 120%;
	background-color: #000;
	z-index: 9999;
	display: none;
}

#login{
	background-color: #FFF7F9;
	display: block;
}

#login form{
	position: absolute;
	top: 20%;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}

#login form input[type=password]{
	padding: 10px;
	font-size: 20px;
	border: 1px solid;
	background-color: rgba(195, 152, 163, 0.3);
	transition: .2s ease-out;
}

#login form input[type=password]:focus{
	background-color: #FFF;
}

#login form input[type=submit]{
	background-color: #C398A3;
	color: #FFF;
	border: 0px none;
	padding: 10px;
	height: 49px;
	margin-top: -24px;
	position: relative;
	top: -3px;
}

a{
	text-decoration: none;
}

nav{
	width: 100%;
	position: fixed;
    top: 0px;
    left: 0px;
    background-color: #FFF;
    height: 100px;
	border-bottom: 1px solid;
	z-index: 5000;
}

nav ul{
	width: 1060px;
	list-style: none;
	position: absolute;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}

nav ul li{
	float: left;
}

nav a{
	transition: .2s ease-out;
	color: #c398a3;
	font-size: 16px;
	text-transform: uppercase;
	padding: 15px;
	padding-right: 8px;
}

nav div#title{
    width: 1050px;
    margin: 15px auto;
    padding-left: 15px;
}

nav a.title{
	padding: 0px;
	font-size: 28px;

}

nav a:hover{
	color: #af3f70;
}

header.large{
	margin-top: 100px;
	width: 100%;
	height: 670px;
	overflow: hidden;
	position: relative;
	background-image: url(/frontend/img/video_fallback.jpg);
	background-size: cover;
	background-position: center;
}

header.large h1.header_title{
	position: absolute;
	top: 50%;
	width: 50%;
	max-width: 600px;
	color: #EAE1E2;
	font-size: 32px;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	left: 23%;
}

header.large h1.header_title span{
	display: block;
	color: #EAE1E2;
	font-size: 64px;
}

header.large img.header_image, header.large img.header_image2 {
    position: absolute;
    top: 50px;
    height: 550px;
    width: auto;
    right: 280px;
    border: 10px solid #FFF;
    -webkit-transform: rotate(8deg);
    -moz-transform: rotate(8deg);
    -ms-transform: rotate(8deg);
    box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
}

header.large img.header_image2{
	margin-top: 70px;
	width: 570px;
	height: auto;
}

iframe{
	border: 0px !important;
}

header.small{
	margin-top: 100px;
	width: 100%;
	height: 150px;
	background-image: url(/frontend/img/header.jpg);
	background-size: cover;
    background-position: center;
    position: relative;
}

header.small h1{
	display: block;
	width: 100%;
	color: #FFF;
	text-align: center;
	font-size: 48px;
	position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

div#countdown{
	margin-top: 20px;
	text-align: center;
}

div#countdown div{
    display: inline-block;
	font-size: 23px;
    color: #8c72b3;
    width: 100px;
}

div#countdown div span{
	display: block;
	font-size: 13px;
    color: #000;
	margin-top: 10px;
}

header video{
	min-width: 100%;
	min-height: 100%;
}

main{
	display: block;
	width: 1060px;
	margin: 0px auto;
	text-align: center;
	margin-top: 50px;
	padding-bottom: 50px;
}

.border{
	border: 10px solid #FFF;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
	max-width: calc(100% - 20px);
}

.vip_button{
	display: inline-block;
	background-color: #C398A3;
	padding: 10px 20px;
	color: #FFF;
	text-decoration: none;
	font-size: 30px;
	border-radius: 10px;
	letter-spacing: 1px;
	width: 400px;
	max-width: 90%;
	text-align: center;
	border-bottom: 4px solid #DEC9CE !important;
	margin-bottom: 15px;
	position: relative;
}

#langChoose{
	margin-bottom: 10px;
	padding: 5px 0px;
	width: 100%;
	background-color: rgb(236, 217, 222);
	border: 1px solid;
}

.vip_button:hover{
	background-color: #D6B1BA;
}

.vip_button:active{
	top: 4px;
	border-bottom: 0px;
	border-right: 0px;
	margin-bottom: 19px;
}

main h1 {
	font-size: 44px;
	text-align: center;
}

main h2{
	font-size: 34px;
}

	main table h1, main table h2, main table h3, main table h4{
		padding-right: 30px;
	}

div.purple{
	border-bottom: 4px solid #8c72b3;
	position: relative;
	top: 50px;
}

div.purple img{
	width: 110px;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    top: -40px;
}

main h1.title{
	font-size: 64px;
	font-family: "open_sanslight", sans-serif;
	margin-top: 40px;
}

.sternenhimmel_button{
	font-size: 16px;
    line-height: 18px;
    padding: 12px 24px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background: #C398A3;
    border-bottom: 4px solid #DEC9CE;
    color: #FFF;
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    display: block;
    width: 110px;
    text-align: center;
}

main p{
	font-size: 16px;
	font-family: "open_sanslight", sans-serif;
	font-weight: 300;
	text-align: left;
	margin-bottom: 10px;
}

main img {
	max-width: calc(100% - 20px);
	height: auto;
	border: 10px solid #FFF;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
}

main section article{
	padding-left: 30px;
	margin-bottom: 30px;
}

main section article h2{
	text-align: center;
}

main form .checkbox{
	height: 39px;
    width: 39px;
    border: 1px solid;
    display: block;
    background-size: contain;
    background-position: center;
}

main form .checkbox input{
	display: none;
}

img.braut {
	height: 550px;
	margin-right: 70px;
    width: auto;
    max-width: none;
    border: 10px solid #FFF;
    -webkit-transform: rotate(8deg);
    -moz-transform: rotate(8deg);
    -ms-transform: rotate(8deg);
    box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
}

main form{
	padding: 30px;
	text-align: left;
	max-width: 100%;
}

main table td{
	vertical-align: top;
	padding: 30px 0px;
	text-align: center;
	border-bottom: 4px solid #8c72b3;
}

main table.mobile_trauzeugen td{
	border-bottom: 0px;
}

main table.mobile_trauzeugen tr:nth-of-type(5) td, main table.mobile_trauzeugen tr:nth-of-type(1) td{
	border-bottom: 4px solid #8c72b3;
}

main table.mobile_trauzeugen{
	display: none;
}

main table.trauzeugen td img{
	height: 650px;
	width: auto;
	border: 10px solid #FFF;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
	margin-right: 10px;
}

main table.mobile_trauzeugen td img{
	border: 10px solid #FFF;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
	max-width: calc(100% - 20px);
}

main table td p{
	padding: 0px 30px 0px 0px;
}

main form input[type=text], main form select, main form textarea{
    width: 400px;
    padding: 5px;
    font-size: 20px;
    border: 1px solid;
    margin-bottom: 20px;
    max-width: 100%;
}

main > section > p > iframe{
	width: 100%;
}

main section div.fotoalbum img{
    width: 225px;
    float: left;
    margin: 15px;
    box-shadow: 0 0 5px #888;
    border: 5px solid #FFF;
}

main form select{
	width: 412px;
	max-width: calc(100% + 12px);
}

main form textarea{
	height: 200px;
	resize: none;
}

main form input[type=submit]{
	background-color: #C398A3;
	color: #FFF;
	padding: 10px;
	border: 0px;
}


main p{
	text-align: center;
}

.unbreakable{
	border: 10px solid #FFF;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
	margin-right: 10px;
	max-width: calc(100% - 20px);
}


main form input[type=text], main form select, main form textarea, main form .checkbox, main form input[type=submit]{
	position: relative;
	left: 50%;
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	transform: translate(-50%);
}

@media(max-width: 1640px){
	header.large h1.header_title{
		left: 15%;
	}
}

@media(max-width: 1500px){
	header.large h1.header_title{
		width: 30%;
	}
}

@media(max-width: 1400px){
	header.large img.header_image2{
		margin-top: 100px;
		width: 450px;
	}
}

@media(max-width: 1270px){
	header.large img.header_image, header.large img.header_image2{
		top: 130px;
		height: 400px;
		right: 160px;
	}

	header.large img.header_image2{
		top: 20px;
		height: auto;
		width: 400px;
	}
}

@media(max-width: 1060px){
	header.large img.header_image2 {
		top: 100px;
		height: auto;
		width: 380px;
		right: 30px;
	}
}

@media(max-width: 870px){
	header.large img.header_image, header.large img.header_image2{
		position: static;
		margin-top: -60px;
	}

	header.large h1.header_title span{
		font-size: 54px;
	}

	header.large{
		text-align: center;
	}

	header video{
		position: absolute;
		top: 0px;
		left: 0px;
	}

	header.large h1.header_title{
		width: 550px;
		position: static;
		margin: 0px auto;
		margin-top: 110px;
	}

	header.large img.header_image2 {
		margin-top: -40px;
		width: 500px;
		height: auto;
	}
}

@media(max-width: 1100px){
	main{
		width: 90%;
	}

	.fotoalbum {
		width: 800px;
		margin: 0px auto;
	}

	table.mobile_trauzeugen b{
		font-size: 20px;
	}

	table.mobile_trauzeugen td img{
		width: 50%;
	}

	main form input[type=text], main form select, main form textarea, main form .checkbox, main form input[type=submit]{
		position: relative;
		left: 50%;
		-moz-transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		transform: translate(-50%);
	}

	main form input[type=submit]{
		padding: 15px;
		font-size: 20px;
	}

	main table.mobile_trauzeugen{
		display: table;
	}

	main table.trauzeugen{
		display: none;
	}

	#mobile_burger{
		display: block;
		position: absolute;
		top: 16px;
		right: 10px;
		width: 40px;
		cursor: pointer;
	}

	main h1 {
		font-size: 34px;
	}

	nav{
		height: 70px;
	}

	nav ul {
		width: 100%;
		display: none;
		background-color: #FFF;
	}

	nav ul li {
    	float: none;
	}

	nav ul li a{
		display: block;
		text-align: left;
		padding: 10px 10px 10px 20px;
		border-bottom: 1px solid #e6e6e6;
	}

	header.large, header.small{
		margin-top: 70px;
	}

	main p{
		text-align: center;
	}

	main section article{
		padding-left: 0px;
	}

	main section article h2 {
    	text-align: center;
	}

	main table{
		width: 100% !important;
	}

	main table td{
		display: block;
		text-align: center;
		padding-left: 0px !important;
		width: 100% !important;
	}

	main table td p{
		text-align: center !important;
		padding-right: 0px;
	}

	img.braut{
		margin-right: 0px;
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
	}

	.vip_button {
		position: static;
		left: 0%;
		-webkit-transform: translateX(0%);
		-moz-transform: translateX(0%);
		-ms-transform: translateX(0%);
		max-width: 86%;
	}

	iframe{
		max-width: 100%;
	}
}

@media(max-width: 1024px){
	header video{
		visibility: hidden;
	}
}

@media(max-width: 900px){
	.fotoalbum {
		width: 530px;
	}
}

@media(max-width: 700px){
	div#countdown div{
		width: 60px;
	}
}

@media(max-width: 600px){
	header.large img.header_image, header.large img.header_image2{
		height: 320px;
		margin-top: -90px;
	}

	main h1, main h2 {
    	font-size: 27px;
	}

	.fotoalbum {
		width: 267px;
	}

	header.large{
		text-align: center;
	}

	header.large h1.header_title {
		width: 350px;
		position: static;
		margin: 0px auto;
		margin-top: 170px;
		font-size: 29px;
	}

	header.large img.header_image2 {
		height: auto;
		margin-top: -30px;
		width: 370px;
	}
}

@media(max-width: 450px){

	header.small h1{
		font-size: 30px;
	}

	header.large{
		height: 560px;
	}

	table.mobile_trauzeugen td img{
		width: calc(100% - 20px);
	}

	header.large h1.header_title{
		width: 290px;
		position: static;
		margin: 0px auto;
		margin-top: 90px;
		font-size: 18px;
	}

	header.large img.header_image, header.large img.header_image2{
		margin-top: -110px;
	}

	header.large img.header_image{
		margin-top: -30px;
	}
	
	header.large img.header_image2{
	    width: 230px;
	    height: auto;
	    margin-top: -10px;	
	}

	header.large h1.header_title span{
		font-size: 34px;
	}

	img.braut{
		max-width: 90%;
		height: auto;
	}

	div#countdown div{
		width: 50px;
		font-size: 17px;
	}

	div#countdown div span{
		font-size: 10px;
	}

	nav div#title {
		margin: 21px auto;
	}

	nav a.title {
		font-size: 20px;
	}
}