/*html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}*/
body{
	margin:0;
    color:#999;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
header{
	/*background: url("images/masthead.jpg")no-repeat center center;*/
	background-size: cover;
}
header img{
	display:block;
	margin:0 auto;
	padding:100px 1em;
	max-width:80%;
}
nav{
	background: #ffffff;
}
nav ul{
	margin:0;
	padding: 0.5em 0;
	text-align: justify;
	text-transform: uppercase;
}
nav li{
	display: inline;
	margin:0;
}
nav li.justify {
    display: inline-block;
    width: 100%;
}
nav a {
	margin:0 1em;
    text-align: left;
    display: inline-block;
    text-decoration: none;
}
a, a:active, a:visited{
	color:#4A4A4A;
	text-decoration: underline;
}
ul{
	list-style-type: none;
	padding: 0;
}
li{
	margin-top:2em;
}
h1{
	text-align: inherit;
	color:#4A4A4A;
	font-size: 3em; /* 16px / 48px */
	font-weight: 300;
	text-transform: uppercase;
	margin-top:0;
	margin-bottom: 0.5em; /* 48px / 24px */
}
section .wrapper{
	padding:4.5em 1em; /* 16px / 72px */
}
.wrapper{
	max-width: 800px;
	margin:0 auto;
	overflow: auto;
}
.photo-background{
	color:white;
	position:relative;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size:cover;
}
.photo-background:before{
	content:"";
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	background: #000;
	opacity: 0.65;
	z-index:0;
}
.photo-background * {
    position: relative;
    /* hack */
}
.photo-background h1, .photo-background a{
	color:white;
}
.column-half{
	width:50%;
	box-sizing: border-box;
	float:left;
	padding:0 1em;
}
.column-three-fifths{
	width:60%;
}
#wedding img{
	height:100%;
	background:whitesmoke;
}
#events{
	text-align: center;
	/*background-image: url("images/events.jpg");*/
}
#events ul{
	overflow: auto;
}
#events li{
	box-sizing: border-box;
	float:left;
	width:33.3333333%;
	padding-left: 1em;
	padding-right: 1em;
	text-align: center
}
#events img{
	display:block;
	margin:0 auto 1em;
	height:48px;
	width:48px;
}
#travel {
	text-align: center;
}
#travel .wrapper{
	max-width:450px;
}
#accomodations{
	/*background-image: url("images/accomodations.jpg");*/
}
#party{
	position:relative;
	/*background-image: url("images/party.jpg");*/
}
#party-bkg{
	visibility: hidden;
}
#party.photo-background{
	background-position: 50% 100%;
}
#party.photo-background:before{
	opacity:0;
}
#party:after{
	content:"";
	position: absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	background-image: url("images/party-text.png");
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: 100%;
}
#gifts{
	text-align: center;
}
@media only screen and (max-width : 768px){
	section{
		text-align: center;
		overflow: hidden;
	}
	h1{
		font-size: 2em; /*32pt*/
	}
	.column-three-fifths{
		width:100%;
	}
	.column-half{
		width:100%;
		padding:0;
		margin-top: 1em;
	}
	.column-half:first-child{
		margin-top:0;
	}
	#events li{
		width:100%;
		padding:0;
		margin-top: 2em;
	}
}
.parallax-window {
    min-height: 400px;
    background: transparent;
}
