@import url("/css/reset.css");

body {
	background: #081b2a;
	color: white;
	color: rgba(255, 255, 255, 0.98);
	margin: 0;
	padding: 0;
	font-family: "brandon-grotesque", sans-serif;
	font-size: 1.875em;
	line-height: 1.3333em;
	text-align: center;
}
.container {
	padding: 1em 5%;
	margin: 0 auto;
}
.rule {
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	margin-bottom: 1.5em;
}
h1, h2, h3, h4 {
	
	text-transform: uppercase;
}
h1 {
	font-size: 1.6em;
	font-weight: 700;
	letter-spacing: 0.075em;
	line-height: 1;
	margin: 0;
}
h2 {
	font-size: 1.2em;
	font-weight: 700;
	letter-spacing: 0.025em;
	line-height: 1.111em;
	margin: 0.5em 0;
}
h3 {
	color: #ccae8b;
	font-weight: 500;
	font-size: 0.8em;
	line-height: 1.3333em;
	margin: 0 0 1.3333em 0;
}
p {
	margin: 0 0 1.3333em 0;
}
p:last-child {
	margin: 0;
}
em {
	font-style: italic;
	font-weight: 400;
	text-transform: none;
}
strong {
	font-weight: 700;
}
sup {
	font-size: 0.5em;
	top: -0.6667em;
	position: relative;
}
small {
	font-size: 0.8em;
}
.nobr {
	white-space: nowrap;
}
.opt { 
	color: #92918e;
}
a {
	color: #3fa3d1;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
img {
	display: block;
	height: auto;
	width: 100%;
}
.header {
	background: url('/images/mdpattern.png') center top;
	background-size: 640px 150px;
	border-bottom: 3px solid #3fa3d1;
	padding: 0.8em 0;
}
.header.big {
	border: none;
	padding: 4.2667em 0;
}
.logo {
	height: 120px;
	margin: 1.06667em auto;
	width: 120px;
}
.logo .print {
	display: none;
}
.header.big .logo {
	height: 150px;
	margin: 0 auto;
	width: 150px;
}
nav {
	margin-bottom: 0.3333em;
}
nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
nav ul li {
	display: inline-block;
	margin: 0 0.25em;
	padding: 0;	
}
nav ul li a {
	border: 3px solid transparent;
	display: inline-block;
	font-size: 0.8em;
	font-weight: 500;
	line-height: 1.3333em;
	text-transform: uppercase;	
	padding: 0.25em 0.5em;
}
nav ul li a:hover {
	color: white;
	color: rgba(255, 255, 255, 0.98);
	text-decoration: none;
}
nav ul li.active a {
	border-color: white;
	border-color: rgba(255, 255, 255, 0.98);
	color: white;
	color: rgba(255, 255, 255, 0.98);
}

.name-card {
	margin: 1.333em 0 2.6667em 0;
}
.name-card .divider {
	margin: 0 auto;
	max-width: 21.3333em;
	position: relative;
}
.name-card .divider .line {
	border-top: 0.0667em solid rgba(255, 255, 255, 0.5);
	margin-top: -0.0667em;
	position: absolute;
	top: 50%;
	width: 46%;
}
.name-card .divider .line-left {
	left: 0;	
}
.name-card .divider .line-right {
	right: 0;
}
.name-card .divider h1 {
	position: relative;
	z-index: 100;
}
.subsection {
	margin-bottom: 2.6667em;
}
.note {
	color: #92918e;
	font-size: 0.8em;
	line-height: 1.3333em;
}
.error {
	background: #e85a68;
	color: white;
	color: rgba(255, 255, 255, 0.98);
	padding: 1em 0;
}
.error p {
	font-size: 0.8em;
	line-height: 1.3333em;
	margin: 0;
}
.break {
	border-top: 0.0667em solid rgba(255, 255, 255, 0.5);
	margin: 1.0667em auto;
	width: 80px;
}
.date p {
	margin-bottom: 0.6667em;
}

.text-block {
	margin: 0 auto;
	max-width: 640px;
}

.user-input {
	background: #fcfaf5;
	color: #4b4b49;
	padding: 2.1333em 0;
}
.user-input h1 {
	color: #062e4d;
	font-weight: 500;
	margin: 0.6667em 0;
}

.wedding-details {
	background: black url('/images/wedding-bg.jpg') center bottom no-repeat;
	background-size: cover;
	padding: 0 0 15% 0;
	position: relative;
	text-shadow: 0px 2px 0 rgba(0, 0, 0, 0.3);
}
.wedding-details .header {
	background: none;
	border: none;
	padding-bottom: 5%;
}
.wedding-details a {
	color: rgba(255, 255, 255, 0.5);	
}
.wedding-details .header nav .active a {
	color: #fff;	
}
.wedding-details .name-card {
	font-size: 1.3333em;
	line-height: 1em;
}

.reception-details {
	background: #fcfaf5 url('/images/reception-bg.jpg') center center no-repeat;
	background-size: cover;
	color: #4b4b49;
	padding: 20% 0;
	position: relative;
}
.reception-details .break {
	border-color: rgba(0, 0, 0, 0.2);
}
.reception-details h2 {
	color: #062e4d;
}

.detail-block {
	font-weight: 500;
	text-transform: uppercase;	
}

.mini-details {
	border-top: 2px solid #cac8c4;
	border-bottom: 2px solid #cac8c4;
	margin: 2.1333em 0;
	padding: 1.3333em 0;
	position: relative;
}
.mini-details p {
	font-size: 0.8em;
	font-weight: 500;
	line-height: 1.3333em;
	margin-bottom: 0.6667em;
	text-transform: uppercase;
}
.mini-details p.more {
	font-size: 0.6em;
	margin: 0;
}
.rsvp-banner {
	background: #3fa3d1;
	color: white;
	color: rgba(255, 255, 255, 0.98);
	text-transform: uppercase;
}
.rsvp-banner h3 {
	color: rgba(255, 255, 255, 0.7);
	border: 3px solid rgba(255, 255, 255, 0.6);
	display: inline-block;
	padding: 0.25em 0.5em;
	margin-bottom: 1.3333em;	
}
.rsvp-banner h2 {
	margin: 0;
}
.rsvp-banner a {
	color: white;
	color: rgba(255, 255, 255, 0.98);
	display: block;
	padding: 1.06667em 0;
}
.rsvp-banner a:hover {
	background: #3191c6;
	text-decoration: none;
}
.bits-banner {
	background: #4b4b49;
}
.bits-banner a {
	color: white;
	color: rgba(255, 255, 255, 0.98);
	display: block;
	padding: 1.06667em 0;
}
.bits-banner a:hover {
	background: #3c3c3a;
	text-decoration: none;
}
.bits-banner h3 {
	border: 3px solid #ccae8b;
	display: inline-block;
	padding: 0.25em 0.5em;
	margin-bottom: 0.6667em;	
	margin-bottom: 0.6667em;
}
.bits-banner p {
	color: rgba(255, 255, 255, 0.6);
}

.group-form,
.group-action {
	margin-bottom: 2.6667em;
}
.group-field {
	margin-bottom: 0.6667em;
}
#home .group-action,
#home .group-field {
	margin: 0;
}
#home .group-form {
	margin-bottom: 2.1333em;
}
.input-text {
	background: white;
	border: 1px solid #d6d4d0;
	border-radius: 6px;
	display: block;
	font-family: "brandon-grotesque", sans-serif;
	margin: 0 auto;
	outline: none;
	padding: 0.3em 0.5em;
	width: 100%;
}
.button,
input[type="submit"] {
	background: none;
	border: 3px solid #062e4d;
	border-radius: 0;
	color: #062e4d;
	font-family: "brandon-grotesque", sans-serif;
	font-weight: 700;
	padding: 0.3em 0.5em;
	text-transform: uppercase;
}
.button {
	display: inline-block;
	font-size: 0.8em;
	margin: 0.5em 20px;
	padding: 0.25em 0.5em;
}
.user-input .button {
	width: 170px;
}
.button:hover,
input[type="submit"]:hover {
	background: #062e4d;
	color: #fff;
	text-decoration: none;
}
input#att-passcode {
	color: #be2d1e;
	font-family: monospace;
	font-size: 1.5em;
	text-align: center;
	padding: 0.5em 1em;
	max-width: 480px;
}

.button.light {
	border-color: rgba(255, 255, 255, 0.98);
	color: rgba(255, 255, 255, 0.98);
}
.button.light:hover {
	background: white;
	background: rgba(255, 255, 255, 0.98);
	color: #081b2a;
}

label {
	color: #92918e;
	display: block;
	font-size: 0.6em;
	line-height: 2.6667em;
	text-align: left;
	text-transform: uppercase;
	font-weight: 500;
}

.guest-list {
	border: 1px solid #d6d4d0;
	border-radius: 6px;
}
.guest-list label {
	color: #4b4b49;
	font-size: 1em;
	line-height: 1.3333em;
	padding: 0.4em 0.5em;
	position: relative;
	text-transform: none;
	z-index: 10;
}
.guest-field {
	border-bottom: 1px solid #d6d4d0;
	
	position: relative;
}
.guest-field:last-child {
	border: none;
}
.guest-list input[type="checkbox"] {
	display: none;
}
.guest-list input[type="checkbox"] + label span {
	background: white;
	border: 1px solid #d6d4d0;
	border-radius: 2px;
	display:inline-block;  
    height: 1em;
    width: 1em;
    margin: -0.3em 0.5em 0 0;
    vertical-align: middle;
}
.guest-list input[type="checkbox"]:checked + label span {
	background-image: url('/images/mdcheck.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 1em 1em;
}

.icon {
	height: 48px;
	width: 48px;
	margin: 0 auto 0.5em auto;
}
.user-input .icon {
	background: #fcfaf5;
	margin: 9 auto;
}
.user-input .icon img {
	opacity: 0.2;
}
.mini-details .icon {
	position: absolute;
	left: 50%;
	top: 0;
	margin: -24px 0 0 -24px;
}

.getting-there,
.accommodation,
.dress,
.schedule,
.registry {
	padding: 2.1333em 0;
}
.dress {
	background: #4b4b49;
	color: #eee;
}
.dress h2 {
	color: #ccae8b;
}
.accommodation {
	background: #dcf5f3;
	color: #424948;
}
.accommodation h2 {
	color: #4ec2c2;
}
.accommodation .break {
	border-color: rgba(0, 0, 0, 0.2);
}
.map {
	height: 576px;
	margin-top: 1.3333em;
}
.map iframe {
	width: 100% !important;
	height: 100% !important;
}
.registry {
	background: #4F4980;
}
.registry h2 {
	color: #bab4e9;
}

.timetable {
	border-top: 1px solid rgba(255, 255, 255, 0.5);
	list-style: none;
	
	margin: 0 0 2.6667em 0;
}
.timetable li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	overflow: auto;
	padding: 0.4em 0;
	text-align: left;
}
.timetable .type {
	color: rgba(255, 255, 255, 0.5);
	float: left;
	font-size: 0.75em;
	text-transform: uppercase;
	width: 20%;
}
.timetable .desc {
	float: left;
	width: 80%;
}
.timetable small {
	color: rgba(255, 255, 255, 0.65);
	display: block;
}
.timetable p {
	margin-bottom: 0.6667em;
}
.timetable p:last-child {
	margin-bottom: 0;	
}
.location-guide {
	margin: 0 auto 1.3333em auto;
	max-width: 800px;
}

.footer {
	font-size: 0.6em;
	font-weight: 500;
	padding: 2.1333em 0;
	text-transform: uppercase;
}
.footer p {
	margin: 0;
}
@media screen and (max-width: 720px) {
	body {
		font-size: 1.25em;
	}
	.wedding-details .name-card {
		font-size: 1em;
	}
	
	.logo {
		height: 80px;
		width: 80px;
	}
	.header.big .logo {
		height: 120px;
		width: 120px;
	}
	nav ul li a,
	.button,
	input[type="submit"] {
		border-width: 2px;
	}
	nav ul li {
		margin: 0;
	}

	.wedding-details {
		padding-bottom: 30%;
	}
	.wedding-details .header {
		padding-bottom: 10%;
	}
	.reception-details {
		padding: 30% 0;
	}
	.map {
		margin: -2.1333em 5% 5% 5%;
		height: 320px;
	}
}