@font-face {
    font-family: 'twenties' ;
    src: url('../fonts/bellerose.eot');
    src: url('../fonts/bellerose.eot?#iefix') format('embedded-opentype'),
         url('../fonts/bellerose.woff2') format('woff2'),
         url('../fonts/bellerose.woff') format('woff'),
         url('../fonts/bellerose.ttf') format('truetype'),
         url('../fonts/bellerose.svg#belleroselight') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'deco';
    src: url('../fonts/market_deco.eot');
    src: url('../fonts/market_deco.eot?#iefix') format('embedded-opentype'),
         url('../fonts/market_deco.woff2') format('woff2'),
         url('../fonts/market_deco.woff') format('woff'),
         url('../fonts/market_deco.ttf') format('truetype'),
         url('../fonts/market_deco.svg#market_decoregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
html, body {

	width: 100%;
	height: auto;
	font-family: twenties;
    padding: 0;
    margin: 0;
  }

p, h1 { margin: 0 }
h1 { margin-bottom: 0.2em }
h4 { margin-bottom: 0.2em }
p { line-height: 1.333em }

#allcontent {
	background-color: black;
	width: 100%;
	height:auto;
	overflow: hidden;
}

.vertical-bars {
	position: absolute;
	/* center the element */
	top:0;
	right: 0;
	left: 50%;
	margin-left: -441px;
	/* give it dimensions */
	height: 100%;
	max-width: 880px;
	border-left: 2px solid  black;
	border-right: 2px solid  black;
	pointer-events:none;     
}


.content-section {
	position:relative;
	top:0%;
	width:100%;
	overflow: hidden;
}

.content-section h1 {

	text-align: center;
	font-family: deco;
	 text-shadow: -2px 2px black;
	font-size:3.0em;
	text-decoration: none;
}

.content-section h2 {

	text-align: center;
	font-size:1.4em;
	 text-shadow: -1px 1px black;
	text-decoration: none;
}

.content-section h3 {

	text-align: center;
	font-size:1.8em;
	line-height: 2em;
	 text-shadow: -2px 2px black;
	text-decoration: none;
}

.page-layout {

	position: relative;
	background-color: #5050a0;
	max-width: 900px;
	margin-right: auto;
	margin-left: auto;
	overflow: hidden;

}

.google-map-container {

	position: relative;
	width: 100%;
	left:0;
	right:0;
	margin-left: auto;
	margin-right: auto;
    max-width: 512px;
    background-color: red;
    display:block;
}


/*
	first section
*/

#landingpage-container {
	height: 800px;
	background-color: black;
	border-bottom: 2px solid black;
}

#landingpage-image 
{
	position:absolute;
	top: 0;
	left:0;
	/* opacity: 0.3; */
}

#landingpage-text {
    font-family: deco;
	position: absolute;
	bottom:15%;
	color: white;
	width: 100%;
	text-align: center;
}

/*
	our story 
*/

#storypage-container {

	width:60%;
	background: url('../img/sky.png') no-repeat;
	background-size: 100%;
	color:white;
	padding: 100px 20% 100px 20%;
}


/*
	city layer
*/

#citylayer-container {
	margin-top:-100px;
	width: 100%;
	color:white;
    margin-right: auto;
    margin-left: auto;
}

#citylayer-image {
	display:block;
	width:100%;
}

#citylayer-contents {
	width:80%;
	padding: 0px 10% 20px 10%;
	color:white;
	background-color: #a97dcb;
}


/*
	crmi
*/

#crmi-container {
	width: 100%;
	color:white;
    margin-right: auto;
    margin-left: auto;
    background-color: #a97dcb;
}

#crmi-image {
	display:block;
	width:100%;
}

#crmi-contents {
	width:80%;
	padding: 100px 10% 20px 10%;
	color:white;
	background-color: black;

}

/*
	address book
*/

#addr-container {
	width: 100%;
	color:white;
	top:0;
	left:0;
	right:0;
    margin-right: auto;
    margin-left: auto;
	background-color: #9b8abd;
}

#addr-image {
	display:block;
	width:100%;
}

#addr-contents {
	/* center the element */
	top:0;
	right: 0;
	left: 0;
	margin-right: auto;
	margin-left: auto;
	/* give it dimensions */
	height: 100%;
	max-width: 600px;
	padding: 100px 0% 100px 0%;
	color: white;
}

#addr-contents a 
{
    text-align: center;
    text-decoration: none;
    font-size: 1.4em;
    color: white;
}
    

/*
	buttons and navigation
*/

#btn-rsvp {
	font-size: 2em;
}

.btn 
{
	color: white;
    border: 1px solid white; 
	font-family: deco;
	padding: 10px 10px 10px 10px;
	text-decoration: none;
	font-size: 1em;
	cursor: pointer;
}

.btn:hover {

	background-color: #8f8fc0;
	text-decoration: none;
}

.btn:active 
{
	position:relative;
	top:1px;
}

nav {
    position: fixed;
    z-index: 10;
    left:0;
    top:0;
	background-color: #d7ba63;
    width: 100%;
    border-bottom:1px solid black; 

}
nav ul {
    text-align: center;
    list-style: none;
    margin: 0;
}
nav li {
    display: inline-block;
    border-right: 1px solid black;
    padding: 0px 8px;
}
nav li:last-child {
    border: 0;
}

nav li a {
    color:black;
    font-size: 1.2em;
    text-decoration: none;
}
nav li a:hover {
    color:white;
}

.list-style-circle 
{
	list-style-type: circle;
	text-align: left;
	font-size:1.4em;
}

.list-style-square 
{
	list-style-type: square;
	text-align: left;
	font-size:1.4em;
}

.list-style-none 
{
	list-style-type: none;
	text-align: left;
	font-size:1.4em;
	text-decoration: none;
}

#address-book-list 
{
    font-size:1em;
    list-style-type: circle;
}

/* 
	loading screen 
*/

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background-color: #404040;
}
#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #3498db;
    -webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #e74c3c;
    -webkit-animation: spin 3s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
      animation: spin 3s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #f9c922;
    -webkit-animation: spin 1.5s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
      animation: spin 1.5s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */
}
 
@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}
@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);  /* IE 9 */
        transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);  /* IE 9 */
        transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
    }
}


#rsvp-form-popup {
	position:fixed;
	z-index: 30;

	top:0;
	left:0;
	width:100%;
	height:100%;
	opacity:.95;

	overflow: auto;
	display: none;
	background-color:#313131;

	display: none;
}

#rsvp-form-contents {
	position: absolute;
	
	height: 460px;
	width: 406px;


	display: block;
	text-align: center;
	left:0;
	right:0;
	margin-left: auto;
	margin-right: auto;
 	
 	margin-top:10%;
}

#rsvp-form {
	left:0;
	right:0;
	margin-left: auto;
	margin-right: auto;
}



img#close {
	position:absolute;
	right:-14px;
	top:-14px;
	cursor:pointer
}

form {
	max-width:300px;
	min-width:250px;
	padding:10px 50px;
	border:2px solid gray;
	border-radius:10px;
	background-color:#fff;
}

input[type=text] {
	width:82%;
	padding:10px;
	margin-top:30px;
	border:1px solid #ccc;
	padding-left:40px;
	font-size:16px;
	font-family:deco;
}

#email {
	margin: 0; 
	padding: 0;
	width: 100%;
}

#name {
	margin: 0; 
	padding: 0;
	width: 100%;
}

#attending {
	margin: 0; 
	padding: 0;
	width: 100%;
}

#guests {
	margin: 0; 
	padding: 0;
	width: 100%;
}


.submit-button {
	color: black;
    border: 1px solid black; 
	font-family: twenties;
	padding: 5px 30px 5px 30px;
	text-decoration: none;
	font-size: 1em;
	display: inline-block;
	text-align: center;
	margin-top:0;
	width: 100px;
	margin-bottom: 16px;
	margin-left: 10px;
	margin-right: 10px;
	cursor:pointer;
}
#submit:hover {

	background-color: #8f8fc0;
	text-decoration: none;
}



textarea {
	width:99%;
	height:95px;
	resize:none;
	margin-top:16px;
	margin-bottom:16px;
	border:1px solid #ccc;
	font-size:16px;
	font-family: deco;
	left:0;
}

