@import url('https://fonts.googleapis.com/css?family=Raleway:100&display=swap');
@import url('https://fonts.googleapis.com/css?family=Amatic+SC:400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300&display=swap');
/*@import url(http://fonts.googleapis.com/css?family=Raleway:100);
@import url(http://fonts.googleapis.com/css?family=Amatic+SC:400);
@import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300);*/

/* generic styles */

html, body {
	padding: 0;
	margin: 0;
	height: 100%;
	background: none;
	font-size: 100%;
	line-height: 1.5;
}

.slide {
	position: relative;
	margin: 0;
	padding: 0;
	height:100%;
}

.content-wrap {
	position: absolute;
	overflow: visible;
	top: 50%;
	left: 0;
	right: 0;
	width: 960px;
	max-width: 100%;
	margin: auto auto;
}

h1 {
	font-family: Amatic SC, Open Sans, Liberation Sans, Arial;
	font-size: 3em; /* = 48px */
    line-height: 1em;
	text-align: center;
	margin-bottom: 45px;
}

h2 {
	font-family: Amatic SC, Open Sans, Liberation Sans, Arial;
    font-size: 2em;
}

h3 {
    font-size: 1em; /* 16px */
	font-family: Open Sans Condensed, Liberation Sans, Sans, Arial;
    font-weight: bold;
	text-align: left;
	line-height: 1.5em;
}

p {
	font-size: 1em; /* 16px */
	font-family: Open Sans Condensed, Liberation Sans, Sans, Arial;
	text-align: left;
	margin-bottom: 15px;
}

a, a:hover, a:visited, a:focus, a:active {
	text-decoration: none;
	color: #00aaab;
    outline: none;
}

a.popup {
    color: #008b8c;
}

ul {
	list-style-type: none;
}


/* top navigation bar */

nav {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	background-color: #333;
	opacity: 0.7;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	color: white;
	z-index: 5;
	/*display:none;*/
}

nav ul {
	display: block;
	text-align: center;
	padding: 15px;
}

nav ul li {
	display: inline;
	margin: 15px;
}

nav a, nav a:visited {
	text-decoration: none;
	font-family: Raleway, Open Sans Condensed, Liberation Sans, Arial;
	font-weight: bold;
	color: #fff;
}

nav a:hover {
	color: #00aaab;
	color: #00ced1;
}


/* next button (activated by jquery */

a.next {
	display: none;
	width: 120px;
	position: fixed;
	bottom: 16px;
	left: 50%;
	margin-left: -60px;
	border: 2px solid #888;
	text-decoration: none;
	color: #888;
	text-align: center;
	padding: 7px 0;
	border-radius: 5px;
	font-family: Open Sans Condensed, Liberation Sans, Arial;
	font-weight: bold;
}

a:hover.next {
	color: #fff;
	border-color: #fff;
	background-color: #00ced1;
}




/* formatting of frames */

.home {
	background: url(./images/bunting.png), url(./images/bg03.jpg);
    background-position: right 54px, center center;
    background-repeat: no-repeat, repeat;
}

.home .content-wrap {
	margin-top: -88px; /* -0.5*104px [h1] -0.5*72px [h2] = -52px - 36px = -88px */
}

.home h1 {
	display: block;
	height: 104px;
	background: url(./images/title.png) center center no-repeat;
	text-indent: -5000px;
	margin-bottom: 0;
}

.home h2 {
	font-family: Raleway, Amatic SC, Open Sans, Liberation Sans, Arial;
	display: block;
	width: 52.83333333%; /* 500px / 960px = 52.083333333% */
	margin: 10px auto;
	/*font-size: 3em; /* Amatic SC: 48px / 16px = 3 */
    font-size: 2em; /* Raleway: 32px / 16px = 2 */
	text-align:center;
	padding: 24px 0 0 0;
	border-top: 1px solid #333;
}


.about {
	background: url(./images/bg04.jpg) center center;
}

.about .content-wrap {
	margin-top: -250px;
}

.about .gallery {
    position: relative;
	height: 500px;
    width: 735px;
    overflow: visible;
    margin: 0 auto;
}

.gallery img.photo {
    display: block;
	height: 470px;
    width: 705px;
	margin: 0 auto;
	padding: 0;
    border: 15px solid #fff;
            box-shadow:0 3px 6px rgba(0,0,0,.25);
    -webkit-box-shadow:0 3px 6px rgba(0,0,0,.25);
       -moz-box-shadow:0 3px 6px rgba(0,0,0,.25);
}

.gallery img.badge {
    position: absolute;
    z-index: 2;
    width: 125px;
    height: 125px;
    top: -35px;
    right: -35px;
}


.event {
	background: url(./images/bg03.jpg) center center;
}

.event h2 {
	font-family: Amatic SC, Open Sans, Liberation Sans, Arial;
	font-size: 1.75em; /*amatic sc: 1.75em */
}

.event .content-wrap {
	margin-top: -209px; /* -0,5 * (48px + 45px + 325px) = -199px */ 
}

.info {
	position: relative;
	width: 440px; /*46%*/
	float: left;
	border: 0px solid blue;
}

.info div {
    width: 440px;
}

#accommodation {
    position:relative;
    background: url(images/bg04.jpg);
    width:620px;
    height:auto;
    margin:0 auto;
    padding:15px;
}

#accommodation h2 {
    text-align: center;
}

#accommodation ul {
    display: block;
    margin: 15px 0 0;
}

#accommodation li {
    display: inline-block;
    width: 200px;
}

.map {
	position: relative;
	overflow: hidden;
	float: right;
	/*width: 50%;*/
	width: 480px;
	margin-left: 1%;
	height: 325px;
	background: url(./images/map/map-fallback.png) left bottom no-repeat;
	background-size: 100% auto;
}

.map svg { width: 100%; height: 100%; overflow:visible}

[id^="road"] {
    fill: none;
    stroke: #333333;
    stroke-width: 2.5px;
    stroke-miterlimit: 4;
    stroke-linecap: "butt";
    stroke-linejoin: "miter";
}

[id^="sign"] {
    fill: #333333;
    stroke: none;
    display: none;
}

#road0001 {
    stroke-dasharray: 71;
    stroke-dashoffset: 71;
}
#road0002 {
    stroke-dasharray: 95;
    stroke-dashoffset: 95;
}
#road0003 {
    stroke-dasharray: 222;
    stroke-dashoffset: 222;
}
#road0004, #road0005 {
    stroke-dasharray: 275;
    stroke-dashoffset: 275;
}

#road0006, #road0007 {
    stroke-dasharray: 205;
    stroke-dashoffset: 205;
}

#road0008 {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
}

.map div.map-info {
	position: absolute;
	top: 0;
	left: 0;
	width: 200px;
	width: 41.6666667%;
	height: 200px;
	overflow: hidden;
	border: 0px solid red;
}

.map-info div.fallback h2 {
    font-size: 1.4em;
    line-height: 1.2em;
}

.map-info div.fallback p {
	line-height: 1.2em;
	font-size: 0.875em;
	margin-bottom: 10px;
}

.map-info a.marker {
	padding-left: 15px;
	background: url(./images/map/icon-marker.png) left center no-repeat;
}

.map-info ul {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.map-info ul li {
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    display: none;
}

.map > span {
    display: block;
    position: absolute;
    font-family: Amatic SC;
    font-size: 1.625em;
    line-height: 1em;
}

.map > .icon-home {
    padding: 4px 0 4px 38px;
	top: 6px; /* 6px / 325px * 100 = 1.846153846% */
	right: 24px; /* 24px / 480px * 100 = 5% */
	background: url(./images/map/icon-home.png) left center no-repeat;
}

.map > .icon-church {
    padding: 33px 0 0 0;
	top: 169px; /* vor svg: 165px */
	left: 350px;
	background: url(./images/map/icon-church.png) left top no-repeat;
}

.map > .icon-reception {
    padding: 4px 0 4px 38px;
	bottom: 2px;
	left: 28px;
	background: url(./images/map/icon-reception.png) left center no-repeat;
}

.map > .label-fuerth {
    bottom: 2px;
    left: 310px;
}

.map > .label-langenzenn {
    bottom: 80px;
    left: 25px;
}
    


.witnesses {
	background: url(./images/bg04.jpg) center center;
}

.witnesses .content-wrap {
    margin-top: -235px;
}

.witnesses .content-wrap > p {
    text-align: center;
    margin: -15px 0 35px 0;
}

.witnesses .content-wrap > div {
    height: 280px;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

.witnesses img {
    border: 10px solid #fff;
    position: absolute;
    top: 0;
            box-shadow:0 3px 6px rgba(0,0,0,.25);
    -webkit-box-shadow:0 3px 6px rgba(0,0,0,.25);
       -moz-box-shadow:0 3px 6px rgba(0,0,0,.25);

}

.witnesses img.hers {
    left: 0;
            transform:rotate(-3deg);
    -webkit-transform:rotate(-3deg);
       -moz-transform:rotate(-3deg);
        -ms-transform:rotate(-3deg);
}

.witnesses img.his {
    right: 0;
            transform:rotate(1deg);
    -webkit-transform:rotate(1deg);
       -moz-transform:rotate(1deg);
        -ms-transform:rotate(1deg);
}

.witnesses .content-wrap > div > div {
    width: 430px;
    position: absolute;
}

div.hers {
    top: 0;
    left: 290px;
}

.witnesses div.his {
    bottom: 0;
    right: 290px;
}

.witnesses div.his, .witnesses div.his p {
    text-align: right;
}

.witnesses div a {
    display: inline;
    padding-left: 28px;
    background: url(./images/map/icon-mail.png) left center no-repeat;
}

.witnesses svg {
    position: absolute;
    top: 0;
    width: 247px;
    height: 322px;
}

.witnesses rect {
    stroke: #333333;
    stroke-width: 1px;
    fill: none;
}

.witnesses svg.hers {
    left: 0;
            transform:rotate(-3deg);
    -webkit-transform:rotate(-3deg);
       -moz-transform:rotate(-3deg);
        -ms-transform:rotate(-3deg);
}

.witnesses svg.hers rect.outer, .witnesses svg.his rect.inner {
    stroke-dasharray: 1130;
    stroke-dashoffset: 1130;
}
.witnesses svg.hers rect.inner, .witnesses svg.his rect.outer {
    stroke-dasharray: 1130;
    stroke-dashoffset: -1130;
}

.witnesses svg.his {
    right: 0;
            transform:rotate(1deg);
    -webkit-transform:rotate(1deg);
       -moz-transform:rotate(1deg);
        -ms-transform:rotate(1deg);
}



.wishlist {
    background: url(./images/bg03.jpg) center center;
}

.wishlist .content-wrap {
    margin-top: -250px;
}

.wishlist .content-wrap > p {
    text-align: center;
    width: 100%;
    margin: -10px auto 35px;
}

#worldmap {
    width: 100%;
    height: 320px;
    background: url(./images/worldmap.png) center center no-repeat;
}
