/* ---- Type ---- */

/** {
	text-rendering: optimizeLegibility!important;
	-webkit-font-smoothing: antialiased!important;
}*/


@font-face {
	font-family: 'IsabelSemiCondensed-Bold';
	src: url('fonts/isabel-semicondensed-bold.eot');
	src: url('fonts/isabel-semicondensed-bold.eot?#iefix') format('embedded-opentype'),
             url('fonts/isabel-semicondensed-bold.woff2') format('woff2'),
	     url('fonts/isabel-semicondensed-bold.woff') format('woff'),
	     url('fonts/isabel-semicondensed-bold.ttf') format('truetype'),
	     url('fonts/isabel-semicondensed-bold.svg#youworkforthem') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* ---- Base ---- */

body {
	font-family: 'Source Sans Pro', sans-serif;
	height: 100%;
	color: #000000;
	background: #ffffff;
	font-weight: 300;
}

h1, h2, h3, h4 {
	font-family: 'Source Sans Pro', sans-serif;
    color: #000000;
    font-weight: 400;
}

h1, h2 {
	font-weight: 700;
}

a {
	font-family: 'IsabelSemiCondensed-Bold';
}

.is {
	font-family: 'IsabelSemiCondensed-Bold';
	color: #a7bf77;
	font-size: 1.5rem;
	text-transform: uppercase;
	letter-spacing: .4em;
}

.left {
		float: left;
}
	
.right {
	float: right;
}

.row {
    max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
}

a {
	font-family: 'IsabelSemiCondensed-Bold';
}

.button {
	position: relative;
	background: none;
	border: 3px solid #a5c17b;
	color: #a5c17b;
	display: block;
	width: 250px;
	font-size: 22px;
	margin-bottom: 0;
	padding: 10px 1em;
	vertical-align: middle;
	margin-top: 2.5em;
	text-transform: uppercase;
	letter-spacing: .2em;
	z-index: 300;
}

.button:focus, .button:hover {
	background-color: #a5c17b;
}

/* ---- Animations ---- */	
	
@-webkit-keyframes rotateIn {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -70deg);
    transform: rotate3d(0, 0, 1, -70deg);
    opacity: 0;
  }

  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes rotateIn {
  from {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: rotate3d(0, 0, 1, -70deg);
    transform: rotate3d(0, 0, 1, -70deg);
    opacity: 0;
  }

  to {
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.rotateIn {
  -webkit-animation-name: rotateIn;
  animation-name: rotateIn;
}	
	
	
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 20%, 0);
    transform: translate3d(0, 20%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 20%, 0);
    transform: translate3d(0, 20%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

	
/* ---- Logo ---- */

#logo {
	position: absolute;
	margin-top: 3em;
}	
	
.ident {
    text-indent: -9999px;
    display: block;
    background-image: url("../img/coos.png");
    background-size: 100%;
	width: 219px;
	height: 143px;
    background-repeat: no-repeat;
    
	animation-duration: 1s;
	animation-delay: .4s;
	animation-name: fadeInUp;
	animation-fill-mode: forwards;
	animation-timing-function: cubic-bezier(.215,.61,.355,1);
	opacity: 0;
}

.v-c{
	text-indent: -9999px;
    display: block;
    background-image: url("../img/vic-and-cam.png");
    background-size: 100%;
	width: 219px;
	height: 143px;
    background-repeat: no-repeat;
	position: absolute;
	top: -36px;
	left: 2px;
    
	animation-duration: .8s;
	animation-name: rotateIn;
	animation-fill-mode: forwards;
	animation-timing-function: cubic-bezier(.215,.61,.355,1);
	opacity: 0;
}

/* ---- Home Section ---- */

.home{
	height: 100%;
	position: relative;
	background: #fcfbee;
	display: inline-block;
	width: 100%;
	padding: 1em 3% 3em;
}

header {
	position: relative;
	width: 100%;
	display: inline-block;
}

.howdy {
	position: relative;
	float: left;
	width: 100%;
	display: inline-block;
	padding: 7em 0 5em;
}

.hello {
	z-index: 2;
	position: absolute;
	top: 43%;
	left: 0;
	
	animation-delay: 1s;
	animation-duration: 1s;
	animation-name: fadeInUp;
	animation-fill-mode: forwards;
	animation-timing-function: cubic-bezier(.215,.61,.355,1);
	opacity: 0;
}

.howdy h1 {
	color: #731522;
	line-height: 1;
	max-width: 21em;
	margin: -15px auto 0;
	font-size: 5em;
	font-size: 6vw;
	z-index: 2;
}

.howdy h2 {
	color: #e8c4b4;
	display: block;
	font-size: 12.6em;
	font-size: 16.5vw;
	padding-top: 0;
	line-height: .9em;
	/* margin-top: -1px; */
	z-index: 1;
	margin-bottom: 0;
	left: 0;
	
	animation-delay: 1s;
	animation-duration: 1s;
	animation-name: fadeInUp;
	animation-fill-mode: forwards;
	animation-timing-function: cubic-bezier(.215,.61,.355,1);
	opacity: 0;
}

.intro-text {
	position: relative;
	display: inline-block;
}

.intro {
	width: 65%;
	position: relative;
	
	animation-delay: 1.4s;
	animation-duration: 1s;
	animation-name: fadeInUp;
	animation-fill-mode: forwards;
	animation-timing-function: cubic-bezier(.215,.61,.355,1);
	opacity: 0;
}

.intro-text p {
	font-size: 1.5rem;
	line-height: 1.5;
	color: #731522;
}
.intro-text p span {
	font-weight: 700;
}

.intro-text p.no-margin {
	margin-bottom: 0;
}

.the-moment {
    z-index: 1;
    animation-delay: 1.4s;
    animation-duration: 1s;
    animation-name: fadeInUp;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(.215,.61,.355,1);
    opacity: 0;
    margin-right: 3%;
    width: 30%;
}

.header h1 {
	color: #720037;
}

@media screen and (max-width: 480px) { 
	#logo {
		left: 50%;
		transform: translate(-50%, -50%);
		margin-top: 6em;
	}
	
	header .right {
		float: none;
		margin: 0 auto;
		/* left: 50%; */
		/* transform: translate(-50%, -50%); */
		width: 100%;
		position: relative;
		margin-top: 12em;
	}
	
	header .right .button {
		margin: 0 auto;
	}
	
	.howdy h1 {
		font-size: 8vw;
	}
	
	.howdy h2 {
		font-size: 17.5vw;
	}
	
	.intro {
		width: 90%;
	}
}

@media screen and (max-width: 930px) {
    .home {
		float: none;
		text-align: center;
		height: auto;
    }
    
    .v-c {
		width: 180px;
		height: 127px;
    }
    
    .ident {
		width: 179px;
		height: 92px;
    }
    
    .button {
		width: 150px;
    }
    
    .howdy {
		float: none;
		padding: 3em 0 2em;
    }
    
    .hello {
		top: 50%;
		transform: translate(-50%, -50%);
		width: 100%;
    }
    
    .howdy h1 {
		width: 100%;
    }
    
	.the-moment {
		float: none;
		width: 40%;
		margin: 0 auto;
	}
	
	.intro {
		margin: 2em auto 0;
		float: none;
	}
	
	.intro-text p {
		font-size: 1.1rem;
	}
	
	#gift-list #pictures {
		position: relative;
		width: 100%;
	}
	
	#gift-list #text-block {
		width: 90%;
		position: relative;
		text-align: center;
		margin-top: 3em;
		margin-left: auto;
		margin-right: auto;
	}
	
	.img-wrap  {
		float: none!important;
		text-align: center;
	}
	
	.img-wrap img.lrg {
		position: relative;
	}
	
	.img-wrap img.sm {
		position: absolute;
		width: 22%;
		top: 89%;
		left: 50%;
		transform: translate(-50%, -50%);	
    }
	
	#gift-list .button {
		float: none!important;
		margin: 2em auto 0!important;
		width: 250px;
	}
	
	.form-wrapper {
		width: 90%!important;
	}
}

@media screen and (max-width: 700px) {
	.img-wrap img.sm {
		width: 30%;
	}
}

@media screen and (max-width: 500px) {
	.img-wrap img.sm {
		display: none;
	}
}


@media screen and (min-width: 1900px) {
    .howdy h2 {
        font-size: 12.5vw;
    }
    
    .howdy h1 {
	    font-size: 5vw;
    }
}
	
	#pics {
		position: relative;
	}
	
	#pics img {
		    width: 100%;
	}
	
	#pics .no-pad {
		padding: 0;
		position: relative;
	} 
	
	.amp {
		position: absolute;
		z-index: 3;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	
	#pics h2 {
		top: 50%;
		position: absolute;
		z-index: 5;
		font-size: 5vw;
		color: #fcfbee;
		line-height: 1;
	}
	
	h2.vic {
		text-align: right;
		top: 50%;
		right: -6%;
		transform: translate(-50%, -50%);
	}
	
	h2.cam {
		text-align: left;
		top: 50%;
		left: -6%;
		transform: translate(50%, -50%);
	}
	
	.cell {
		width: 50%;
}
	
@media screen and (max-width: 930px) {
	.amp {
		width: 30%;
	}
	
	#pics h2 {
		font-size: 8vw;
	}	
}
		
	#the-date, #rsvp {
		position: relative;
		background-image: url(../img/claret_bg_seamless.png);
		background-repeat: repeat;
		background-color: #731522;
		text-align: center;
		padding: 6em 0;
	}
	
	#the-date:before {
		background: url(../img/date-ferns.png) no-repeat center center;
		z-index: 500;
		display: inline-block;
		content: "";
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
	}
	
	.title {
		font-family: 'IsabelSemiCondensed-Bold';
		color: #e8c4b4;
		font-size: 1.5rem;
		text-transform: uppercase;
		letter-spacing: .2em;
	}
	
	#the-date h1 {
		margin: 0;
		font-size: 14.5vw;
		color: #fcfbee;
		line-height: 1;
		margin-bottom: 20px;
	}
	
	#the-date p, #rsvp p {
		margin: 0;
		font-size: 1.5rem;
		line-height: 1.5;
		color: #fcfbee;
	}
	
	#the-date p span, #rsvp p span {
		font-weight: 700;
	}
	
	.details {
		background-color: #be553c;
		padding: 10em 0;
		display: inline-block;
		width: 100%;
		height: 100%;
		position: relative;
		float: left;
	}
	
	.details h2, #gift-list h2, #rsvp h2 {
		font-size: 4em;
		color: #fcfbee;
		line-height: 1;
		clear: both;
	}
	
	.details p, #gift-list p {
		font-size: 1.5rem;
		color: #fcfbee;
	}
	
	.the-date {
		text-align: center;
		padding: 9em 0;
	}
	
	.the-date h1 {
		font-size: 9vw;
		color: #fcfbee;
		line-height: 1;
		margin: 0;
	}
	
@media screen and (max-width: 550px) {
	#the-date p, #rsvp p {
		font-size: 1.3rem;
	}
	
	.details h2, #gift-list h2, #rsvp h2 {
		font-size: 2.8em;
	}
	
	#the-date:before {
		background-position: -9% 106px;
	}	
}
	
.boxy-box {
	position: relative;
	display: inline-block;
	width: 45%;
	float: left;
	margin-right: 3%;
	z-index: 400;
}

.d-container {
	position: relative;
	display: inline-block;
	margin-bottom: 5em;
	width: 100%;
	padding-left: .625rem;
	padding-right: .625rem;
}

.d-container:last-child {
	margin: 0;
}

.d-container .info {
    width: 40%;
    float: left;
}

.right.d-container .boxy-box {
    float: right;
    margin-left: 3%;
    margin-right: 0;
}

.right.d-container .info {
    float: right;
    text-align: right;
}

.run-down {
	position: relative;
	
}

@media screen and (max-width: 912px) {
	
	.d-container .info, .right.d-container .info {
		float: none;
		text-align: center;
		width: 100%;
		display: inline-block;
		margin-top: 1em;
	}
	
	.boxy-box, .right.d-container .boxy-box {
		width: 100%;
		margin: 0 auto;
		text-align: center;
	}
	
}

	/* ---- GIFT LIST ---- */
	
	#gift-list {
		padding: 6em 0;
		background-color: #fcfbee;
		display: inline-block;
		width: 100%;
	}
	
	#gift-list h2, #rsvp h2 {
		line-height: 1.4;
	}
	
	#gift-list h2, #gift-list p {
		color: #731522;
	}
	
	#gift-list .button {
		float: left;
		margin-top: 1em;
	}
	
	.img-wrap {
		position: relative;
		display: inline-block;
		width: 100%;
		float: left;
		height: 100%;
		max-height: 630px;
	}
	
	img.lrg {
		position: absolute;
		z-index: 1;
	}
	
	img.sm {
		position: absolute;
		z-index: 3;
		width: 50%;
		right: 0;
		bottom: 0%;
		left: 50%;
	}
	
	#picture {
		padding: 0em 0;
		min-height: 450px;
		background-image: url(../img/vik-cam-large.jpg);
		background-position: center 25%;
		background-attachment: fixed;
		background-repeat: no-repeat;
		background-size: cover;
	}
	
	@media screen and (max-width: 480px) {
		#picture {
			min-height: auto;
			height: auto;
			background-position: center center;
			padding: 7em 0;
			background-attachment: scroll;
		}
	}
	
	
	/* ---- RSVP ---- */
	
	#rsvp {
		padding-bottom: 10em;
		overflow: hidden;
	}
	
	.form-wrapper {
		margin: 3em auto;
		width: 75%
	}
	
	fieldset.guest {
		margin-left: -2%
	}
	
	.form-wrapper .field-title {
		text-align: left;
		color: #e8c4b4;
		font-size: 1.5rem;
		margin-bottom: 2px;
	}
	
	.name .field-title, .additional-name .field-title {
		margin-left: 2%;
	}
	
	fieldset.guest .field.first-name, fieldset.guest .field.last-name {
		width: 48%;
		float: left;
		margin-left: 2%;
	}
	
	.field.email, .field.diet, .field.song {
		float: left;
		width: 100%;
	}
	
	.form-wrapper input.name, input.email, input.diet, input.song {
		border: 1px solid #480c15;
		margin-bottom: 0;
		background-color: #fcfbee;
		width: 100%;
	}
	
	.form-wrapper label {
		text-align: left;
		color: #a5c17b;
	}
	
	input[type="checkbox"], input[type="radio"] {
		margin-right: 5px;
	}
	
	input:focus {
		box-shadow: none;
	}
	
	.form-wrapper > div {
		margin-bottom: 15px;
	}
	
	[type=color], [type=date], [type=datetime-local], [type=datetime], [type=email], [type=month], [type=number], [type=password], [type=search], [type=tel], [type=text], [type=time], [type=url], [type=week], textarea {
		color: #731522;
		font-weight: 700;
	}
	
	.since-2007 h3 {
		position: absolute;
		bottom: -250px;
		left: 50%;
		margin-bottom: 0;
		font-family: 'IsabelSemiCondensed-Bold';
		text-transform: uppercase;
		letter-spacing: .05em;
		transform: translate(-50%, -50%);
		font-size: 13.5vw;
		width: 100%;
		color: #e8c4b4;
		opacity: .09;
		z-index: 1;
	}
	
	@media screen and (max-width: 1700px) {
		.since-2007 h3 {
			bottom: -26px;
		}
	}
	
	@media screen and (min-width: 550px) {
		.since-2007 h3 {
		    bottom: -76px;
		}
	
	}
	
	@media screen and (min-width: 768px) {
		.since-2007 h3 {
		    bottom: -145px;
		}
	}
	
	@media screen and (min-width: 1023px) {
		.since-2007 h3 {
			bottom: -164px;
		}
	}
	
	@media screen and (min-width: 1200px) {
		.since-2007 h3 {
			bottom: -243px;
			font-size: 14em;
		}
	}

/* ---- Success ---- */

body.thank-you .the-moment {
    width: 100%;
}

body.thank-you .intro-text {
	margin-top: 15em;
}

body.thank-you .howdy {
    padding: 3em 0;
}

body.thank-you .howdy h1 {
	margin: -6px auto 0;
}

body.thank-you .home {
	height: 100vw;
}