@CHARSET "ISO-8859-1";
/* Reset CSS
 * --------------------------------------- */
a,abbr,acronym,address,applet,article,aside,audio,
b,big,blockquote,body,canvas,caption,center,cite,
code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,
figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,
hgroup,html,i,iframe,img,ins,kbd,legend,li,mark,
menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,
small,span,strike,strong,sub,summary,sup,table,tbody,
td,tfoot,th,thead,time,tr,tt,u,ul,var,video {

	margin:0;
	padding:0;
	border:0;
	font:inherit;
	vertical-align:baseline
}
	
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
	display:block
}

body {
	line-height:1
}

ol,ul {
	list-style:none
}

blockquote,q {
	quotes:none
}

blockquote:after,blockquote:before,q:after,q:before {
	content:'';
	content:none
}

table {
	border-collapse:collapse;
	border-spacing:0
}

input,textarea {
	border-radius:0;
	-webkit-border-radius:0
}

input {
-webkit-appearance:none
}

html {
-webkit-text-size-adjust: 100%; 
-moz-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
    padding: 0;
    margin: 0;
}
a{
	color: inherit;
	text-decoration:none;
	cursor:pointer; !important
}
table {
    border-spacing: 0;
}
fieldset,img {
    border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
    font-weight: normal;
    font-style: normal;
}
strong{
	font-weight: bold;
}
ol,ul {
    list-style: none;
    margin:0;
    padding:0;
}
caption,th {
    text-align: left;

}


/* Custom CSS
 * --------------------------------------- */
body{
	font-family: 'Open Sans', sans-serif;
	color: #000;
	color: rgba(0,0,0,0.5);
}
h1{
	font-size: 1.0em;
	font-weight: 700;
	letter-spacing: 0.3em;
	margin-bottom: 27px;
	text-align: center;
}
h2{
	font-size: 0.8em; 
	letter-spacing: 0.3em; 
	text-transform: uppercase; 
	text-align: center;
	margin-bottom: 30px;
	font-weight: 400;
}
p{
	font-size: 0.8em;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1.7em;
}
.content{
	padding-top: 170px;
	padding-bottom: 100px;
  	margin: 0 auto;
	width: 310px;
	text-align:left;
}
#header-bg{
	top: 0;
	position: fixed;
	z-index: 50;
	width: 100%;
	height: 95px;
	background-color: #fff;
}


/* Side-Menu
 * --------------------------------------- */
 

/* Logo top*/
#logo-top a{
	position:fixed;
	left: 30px;
	z-index: 300;
	width: 90px;
	height: 40px;
	background-image: url("../img/logo-sensus.svg");
	background-repeat: no-repeat;
	cursor: pointer;
	margin-top: 28px;
}
 
/* Nav-Icon */
#nav-icon {
	position:fixed;
	right: 30px;
	z-index: 100;
	height: 30px;
	width: 25px;
	background-image: url("../img/nav-icon.svg");
	cursor: pointer;
	margin-top: 31px;
	opacity: 0.5;
}

#nav-icon:hover {
	opacity: 1.0;
	-webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

/* The side navigation menu */
#menu li.active a{
	color: #fff;
	font-weight: 700;
}

.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 200; /* Stay on top */
    top: 0;
    right: 0;
    background-color: #393F45; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 150px; /* Place content 60px from the top */
    transition: 1s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
    padding: 16px 8px 8px 32px;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.3em;
    color: #979797;
    display: block;
    transition: 0.5s
}


/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 12px;
    right: 7px;
    font-size: 42px;
    margin-right: 165px;
}


/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 120px;}
    .sidenav a {font-size: 12px;}
}

/* Video
 * --------------------------------------- */

#myVideo{
	position: absolute;
	right: 0;
	bottom: 0;
	top:0;
	right:0;
	width: 100%;
	height: 100%;
	background-size: 100% 100%;
 	background-color: black; /* in case the video doesn't fit the whole page*/
  	background-image: /* our video */;
  	background-position: center center;
  	background-size: contain;
   	object-fit: cover; /*cover video background */
   	z-index:3;
	}
	
/*solves problem with overflowing video in Mac with Chrome */
#section0{
	overflow: hidden;
}

/* Kontaktformular
 * --------------------------------------- */

.invisible { 
	display: none; 
}

form {
	background-color: #eee;
	width: 270px; /* Breite des Formulars */
	font-family: 'Open Sans', sans-serif;
}

label > * {
	display: block;
	pointer-events:none;
}


textarea {
	resize: none;
	background-color: #fff;
	max-width: 270px;
	height: 130px;
	border: none;
	margin-bottom: 18px;
	font-weight: 600;
	font-size: 0.7em;
	padding-top: 14px;
	letter-spacing: 0.1em;
    padding: 13px 13px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	font-family: 'Open Sans', sans-serif;
}

input[type=text] {
	background-color: #fff;
	color: #393F45;
	width: 100%;
	height: 38px;
	border: none;
	margin-bottom: 12px;
	padding: 13px 13px;
	font-weight: 600;
	font-size: 0.7em;
	box-sizing: border-box;
	letter-spacing: 0.1em;
	font-family: 'Open Sans', sans-serif;
}

input[type=text]:focus {
	background-color: #e1e1e1;
	outline: none;
}



button[type=submit] {
	width: 100%;
	height: 35px;
	background-color: #BBC000;
	border: none;
	font-weight: 600;
	font-size: 0.7em;
	letter-spacing: 0.1em;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	cursor: pointer;
    	-webkit-transition: background-color .5s ease-in-out;
        -moz-transition: background-color .5s ease-in-out;
        -ms-transition: background-color .5s ease-in-out;
        -o-transition: background-color .5s ease-in-out;
        transition: background-color .5s ease-in-out;
}

button[type=submit]:hover {
	background-color: #393F45;
}

textarea:focus {
	background-color: #e1e1e1;
	outline: none;
}

.mycheckbox input {
	position: relative;
    z-index: -9999;
}

.mycheckbox span {
    width: 38px;
    height: 38px;
    display: block;
    background-image: url("../img/checkbox.png");
}

.mycheckbox input:checked + span {
    background-image: url("../img/checkbox-checked.png");
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	font-weight: 300;
  	color: #bdbdbd;
}
::-moz-placeholder { /* Firefox 19+ */
	font-weight: 300;
  	color: #bdbdbd;
}
:-ms-input-placeholder { /* IE 10+ */
	font-weight: 300;
  	color: #bdbdbd;
}
:-moz-placeholder { /* Firefox 18- */
	font-weight: 300;
  	color: #bdbdbd;
}



/* Fullscreen-BG-Foto
 * --------------------------------------- */
	
.section {
	background-size: cover;
}
.slide {
	background-size: cover;
}

#section1 {
	background-image: url(../img/bg-sensus-01.svg);
}
#section2 {
	background-image: url(../img/bg-sensus-03.jpg);
}
#section2 #slide2 {
	background-image: url(../img/events/bg-liebesglueck.jpg);
}
#section2 #slide3 {
	background-image: url(../img/events/bg-babyglueck.jpg);
}
#section3 {
	background-image: url(../img/bg-sensus-02.svg);
}

#section4 {
	z-index: 100;
}


/* Button Down
 * --------------------------------------- */

.btn-down a{
	position: absolute;
	bottom: 0px;
	left: 50%;
	margin-left: -20px;
	z-index: 300;
	height: 40px;
	width: 40px;
	background-image: url(../img/btn-down.svg);
	opacity: 0.6;
        -webkit-transition: opacity .5s ease-in-out;
        -moz-transition: opacity .5s ease-in-out;
        -ms-transition: opacity .5s ease-in-out;
        -o-transition: opacity .5s ease-in-out;
        transition: opacity .5s ease-in-out;
}

.btn-down a:hover {
	opacity: 1.0;
	cursor: pointer;
}

/* Profil Ansprechpartner
 * --------------------------------------- */

.person{
	height: 200px;
	width: 200px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	-webkit-clip-path: circle(50% at 50% 50%); 
	clip-path: circle(50% at 50% 50%);
}

.maillink{
	background-color: rgba(57, 63, 69, 0);
	padding-top: 25px;
	padding-bottom: 20px;
	height: auto;
	    -webkit-transition: background-color .5s ease-in-out;
        -moz-transition: background-color .5s ease-in-out;
        -ms-transition: background-color .5s ease-in-out;
        -o-transition: background-color .5s ease-in-out;
        transition: background-color .5s ease-in-out;
    cursor:pointer;
}
.maillink:hover{
	background-color: rgba(57, 63, 69, 0.1);
}

/* Kontakt
 * --------------------------------------- */
 .contactname{
 	width: 50px;
 	float: left;
 }
 

 
 /* Impressum
 * --------------------------------------- */
 
.backtopage{
	width: 100%;
	height: 35px;
	background-color: #BBC000;
	border: none;
	cursor: pointer;
	text-align: center;
	display: inline-block;
	font-weight: 600;
	font-size: 0.7em;
	letter-spacing: 0.1em;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    	-webkit-transition: background-color .5s ease-in-out;
        -moz-transition: background-color .5s ease-in-out;
        -ms-transition: background-color .5s ease-in-out;
        -o-transition: background-color .5s ease-in-out;
        transition: background-color .5s ease-in-out;
 }
 
 .backtopage:hover{
	background-color: #393F45;
 }

 /* Trenner
 * --------------------------------------- */
 
.divider{
	margin: 0 auto;
	margin-bottom: 20px;
	width: 35px;
	height: 3px;
	background-color: #393f45;
	opacity: 0.2;
}

.divider2{
	margin: 0 auto;
	margin-bottom: 20px;
	width: 35px;
	height: 3px;
	background-color: #fff;
	opacity: 0.4;
	z-index: 201;
	position: relative;
}


 /* Events
 * --------------------------------------- */

.btn-liebesglueck{
	width: 100%;
	height: 35px;
	background-color: #fff;
	border: none;
	cursor: pointer;
	text-align: center;
	display: inline-block;
	font-weight: 600;
	font-size: 0.7em;
	letter-spacing: 0.1em;
	color: #df699d;
	font-family: 'Open Sans', sans-serif;
	cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    	-webkit-transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
        -ms-transition: all .5s ease-in-out;
        -o-transition: all .5s ease-in-out;
        transition: all .5s ease-in-out;
 }
 
 .btn-liebesglueck:hover{
	background-color: #df699d;
	color: #fff;
 }
 
 .btn-babyglueck{
	width: 100%;
	height: 35px;
	background-color: #fff;
	border: none;
	cursor: pointer;
	text-align: center;
	display: inline-block;
	font-weight: 600;
	font-size: 0.7em;
	letter-spacing: 0.1em;
	color: #64aad7;
	font-family: 'Open Sans', sans-serif;
	cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    	-webkit-transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
        -ms-transition: all .5s ease-in-out;
        -o-transition: all .5s ease-in-out;
        transition: all .5s ease-in-out;
 }
 
 .btn-babyglueck:hover{
	background-color: #64aad7;
	color: #fff;
 }