

body, html {
	background-color: #311641;
	}

body {
	background-color: #311641;
	background-image: url('../img/hearts-bottom.svg');
	background-repeat: no-repeat;
	background-position: 15% 98%;
	color: #555;
	font: 1.6em/1.25 "Goudy Bookletter 1911", Georgia, "Times New Roman", "Times", serif;
	padding-bottom: 8em;
	}

h1 {
	background: #311641 center no-repeat url("../img/hearts.svg");
	color: rgba(255,255,255,0.7);
	font-family: "Handlee", cursive;
	font-size: 30px;
	font-size: 3rem;
	font-weight: normal;
	letter-spacing: 0.06em;
	margin: 0;
	padding: 3.5em 0 2.5em 0;
	text-align: center;
	}

h1 a:link, h1 a:visited {
	font-weight: normal;
	color: rgba(255,255,255,0.7);
	text-decoration: none;
	background: none;
	}


a:link, a:visited {
	font-weight: normal;
	color: #0f7529;
	text-decoration: none;

background: -moz-linear-gradient(to bottom, rgba(15,117,41,0) 50%, rgba(15,117,41,0.5 ) 50%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, rgba(15,117,41,0)), color-stop(50%, rgba(15,117,41,0.5)));
background: -webkit-linear-gradient(to bottom, rgba(15,117,41,0) 50%, rgba(15,117,41,0.5) 50%);
background: -o-linear-gradient(to bottom, rgba(15,117,41,0) 50%, rgba(15,117,41,0.5) 50%);
background: linear-gradient(to bottom, rgba(15,117,41,0) 50%, rgba(15,117,41,0.5) 50%); /*  Medium Safari */

background-repeat: repeat-x;
background-position: 0 1em;
background-size: 2px 2px;
	}

a:hover {
	color: #a28e20;

background: -moz-linear-gradient(to bottom, rgba(162,142,32,0) 50%, rgba(162,142,32,0.5 ) 50%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, rgba(162,142,32,0)), color-stop(50%, rgba(162,142,32,0.5)));
background: -webkit-linear-gradient(to bottom, rgba(162,142,32,0) 50%, rgba(162,142,32,0.5) 50%);
background: -o-linear-gradient(to bottom, rgba(162,142,32,0) 50%, rgba(162,142,32,0.5) 50%);
background: linear-gradient(to bottom, rgba(162,142,32,0) 50%, rgba(162,142,32,0.5) 50%); /*  Medium Safari */

background-repeat: repeat-x;
background-position: 0 1em;
background-size: 2px 2px;
	}

.main {
	padding: 3em 2em 1em;
	background-color: #fff;
	}


h2, p {
	text-align: center;
	}

h2 { 
	color: #444;
	font-size: 48px;
	font-size: 4.8rem;
	font-weight: normal;
	margin: 0 auto -0.125em auto;
	}

h3 {
	font-size: 24px;
	font-size: 2.4rem;
	font-weight: normal;
	margin: 1.5em 0 -0.333em 0;
	}

.date-time, .rsvp {
	font-size: 24px;
	font-size: 2.4rem;
	}

.rsvp {
	margin-top: 2em;
	}

.home .rsvp {
	margin-left: -1.6em;
	}

.address {
	margin: 0;
	}

.reception {
	margin: 2em 0 1em 0;
	}

svg {
	fill: #333;
	}

.ornament-centre {
	margin: 0 0.25em;
	}

.ornament-left {
	margin-right: 0.25em;
	}

.ornament-right {
	margin-left: 0.25em;
	}

.donate a:link, .donate a:visited {
	font-weight: bold;
	}

form, .gifts-instructions, ul {
	max-width: 20em;
	margin: 1em auto;
	}

.gifts-instructions, ul {
	max-width: 30em;
	margin: 1em auto;
	padding: 0;
	list-style: none;
	}

.gifts-instructions, ul p {
	text-align: left;
	}

form p {
	margin: 1.5em 0 0;
	text-align: left;
	}

.instructions {
	font-size: 12px;
	font-size: 1.2rem;
	margin-bottom: 3em;
	}

.required, .error {
	color: #a00;
	}

.question {
	display: block;
	margin: 0 0 0.5em 0;
	}

.radio {
	margin-right: 1em;
	}

textarea, input[type="text"], button {
	background-color: #efefef;
	border: 1px solid #efefef;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	padding: 0.125em;
	resize: none;
	width: 100%;
	}

input[name="numberGuests"] {
	width: 25%;
	}

.error textarea, .error input[type="text"] {
	border-color: #a00;
	}

textarea:focus, input[type="text"]:focus {
	outline: none;
	background-color: #fff;
	border: 1px solid #417505;
	}

textarea { 
	height: 4.5em;
	}

.submit {
	text-align: right;
	}

button {
	background-color: #fff;
	border: 1px solid #0f7529;
	color: #0f7529;
	padding: 0.5em;
	position: relative;
	width: auto;
	}

button:hover {
	border-color: #a28e20;
	color: #fff;
	background-color: #a28e20;
	}

button:active {
	left: 0.125em;
	top: 0.125em;
	}
