/* =============================================================================
   HTML5 Boilerplate CSS: h5bp.com/css
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html { font-family: sans-serif; color: #eee; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #fff; }
a:visited { color: #fff; }
a:hover { color: #fff; text-decoration:none; }
a:focus { outline: none; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; border: 0; border:0; background:url(../img/double-line.png) no-repeat center left; height:10px;}
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }

sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; text-align:center; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

svg:not(:root) { overflow: hidden; }

figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }
@font-face {
    font-family: 'ProximaNovaThBold';
    src: url('../fonts/proxima_nova_xbold-webfont.eot');
    src: url('../fonts/proxima_nova_xbold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/proxima_nova_xbold-webfont.woff') format('woff'),
         url('../fonts/proxima_nova_xbold-webfont.ttf') format('truetype'),
         url('../fonts/proxima_nova_xbold-webfont.svg#ProximaNovaThBold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'GreatVibesRegular';
    src: url('../fonts/GreatVibes-Regular-webfont.eot');
    src: url('../fonts/GreatVibes-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/GreatVibes-Regular-webfont.woff') format('woff'),
         url('../fonts/GreatVibes-Regular-webfont.ttf') format('truetype'),
         url('../fonts/GreatVibes-Regular-webfont.svg#GreatVibesRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* ===== Initializr Styles =====================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body{ 
	font:14px/26px Helvetica, Helvetica Neue, Arial;
	background:#000;
}
.scroll-top {
	display:none;
}
.lt-ie9 .scroll-top { /* ie8 */
	background:#000;
}
.scroll-top:hover {
	background:rgba(0,0,0,1);
	border:3px solid #7C2929;
}
#thanks {
	float:right;
	width:50%;
}
#thanks h1 {
	font-size:120px;
	font-family: 'GreatVibesRegular';
	color:#993333;
	line-height:130px;
	text-shadow:0 3px 0 #000;
}
#thanks .note {
	background:rgba(0,0,0,.8);
	padding:20px;
	border-radius:5px;
}
.lt-ie9 #thanks .note {
	background:#000;
}
#thanks p {
	font-size:20px;
	line-height:25px;
}

/* ===================
    ALL
   =================== */

#bg1, #bg2, #bg3, #bg4, #bg5, #bg6, #bg7, #bg8 {
	display:none;
}
/* Webkit Specific */
@media screen and (-webkit-min-device-pixel-ratio:0){
	nav a {
		padding:10px 16%;
	}
}
#header-container {
	border-bottom: 5px solid #7C2929;
	width:100%;
	z-index:50;
	background:#993333 url(../img/bg-nav.png);
	padding:0 0 10px 0;
}
#story,
#photos,
#bride-attendants,
#groomsmen,
#event,
#gifts,
#thanks {
	padding:20px 0;
}
.wrapper {
	margin:0 5%;
}
#title {
	cursor:pointer;
	margin:0 auto;
	width:125px;
}
.thanks #main-container {
	padding-top:50px;
}
.lt-ie9 #info-container { /* ie 8 */
	background:transparent url(../img/bg-ie8.png);
}
nav {display:none;}
#intro {
	width:538px;
	height:538px;
	background:url(../img/bg-intro.png) no-repeat 0 0;
	margin:0 auto;
	padding-top:98px;
	text-align:center;
	position:relative;
	z-index:1;
	display:none;
}
#story img,
#photos img,
#bride-attendants img,
#groomsmen img,
#event img,
#gifts img { margin:10px 0 0 0; }

.two-col,
.three-col {
	margin:0 0 50px 0;
	width:100%;
}
h1, h2, h3, h4, h5 {
	margin:0;
	padding:0;
	font-weight:normal;
}
h1 span {
	display:block;
}
h1 span.line-one,
h1 span.line-four {
	color:#993333;
	font-size:77px;
	font-family: 'GreatVibesRegular';
	line-height:77px;
}
h1 span.line-one span {
	color:#000;
	display:inline;
}
h1 span.line-two,
h1 span.line-three,
h1 span.line-five {
	font-family:'ProximaNovaThBold';
	font-size:80px;
	line-height:80px;
	text-transform:uppercase;
	color:#000;
}
h1 span.line-three {
	font-size:30px;
	line-height:30px;
}
h1 span.line-four {
	font-size:138px;
	line-height:120px;
	letter-spacing:-3px;
}
h1 span.line-five {
	font-size:80px;
	line-height:80px
}
h2, h4 {
	text-align:center;
	text-transform:uppercase;
	font-family:'ProximaNovaThBold';
	font-size:30px;
	font-weight:normal;
	color:#fff;
	margin:0 0 50px 0;
	padding:0;
	background:url(../img/double-line.png) no-repeat center center;
	text-shadow: 0 2px 0 #000000;
}
h2 {margin:0 auto 70px auto;}
h2 span {	
	padding:10px 50px;
	display:inline-block;
	/*text-shadow: 0 2px 0 #000;*/
}
h3 {
	font-family:'GreatVibesRegular';
	color:#CB4040;
	font-size:40px;
	text-shadow: 0 2px 0 #000;
}
h4 {
	font-size:16px;
	text-align:left;
	margin:5px 0 0 0;
	background:none;
	line-height:normal;
}
p {
	color:#eee;
	text-shadow: 0 2px 0 #000;
	margin:10px 0;
	line-height:22px;
}
#story p {
	line-height:28px;
}
#story p:first-letter,
#bride-attendants p:first-letter,
#groomsmen p:first-letter,
p.dropcap:first-letter {
	font-size:45px;
	float:left;
	margin:10px 15px 0 0;
	font-family:'GreatVibesRegular';
	display:inline-block;
}
#bride-attendants p:first-letter,
#groomsmen p:first-letter,
p.dropcap:first-letter {
	font-size:30px;
	margin:5px 20px 0 0;
}
ul.photo-grid {
	margin:0;
	padding:30px 0 0 0;
	list-style-type:none;
	text-align:center;
}
ul.photo-grid li {
	margin:0 0 1% 0;
	padding:0;
	display:inline-block;
}
ul.photo-grid li a {
	opacity:.75;
	-moz-transition: all 0.3s ease 0s;
	-webkit-transition: all 0.3s ease 0s;
	-opera-transition: all 0.3s ease 0s;
	-ms-transition: all 0.3s ease 0s;
	display:block;
	margin:0;
	padding:0;
}
#photos ul.photo-grid li a img {
	margin:0;
}
ul.photo-grid li a:hover {
	opacity:1;
}
ul.photo-grid li.last {
	margin:0 0 2% 0;
}
#photos ul.photo-grid li a img:hover {}
#bride-attendants p,
#groomsmen p,
#story p {
	background:url(../img/double-line.png) no-repeat bottom left;
	padding:0 0 30px 0;
}
/* Footer */
#footer-container {
	margin:0;
	padding:20px 0;
	min-height:70px;
	background:#993333 url(../img/bg-nav.png) repeat;
	position:relative;
}
footer {
	padding:0;
	margin:0;
}
footer p {
	margin:0;
	padding:0;
}
footer p.thanks {
	font-family:'GreatVibesRegular';
	font-size:35px;
	color:#fff;
	text-shadow:none;
	margin:0 0 10px 0;
}
footer p.copyright {
	font-size:10px;
}
/* RSVP Form */
form {
	background:rgba(0,0,0,.5);
	padding:10px 20px 20px 20px;
	margin:20px 0;
	border-radius:5px;
}
.lt-ie9 form {
	background:#000;
}
label {
	cursor: pointer;
	display:block;
	font-size:16px;
	font-weight:bold;
	margin:15px 0 0 0;
}
label.error {
	background:#CB4040;
	padding:3px 5px;
	color:#000;
	font-size:13px;
	font-weight:normal;
	width:87%;
	margin:0;
}
label.error.checked {
	padding:0;
}
input.text, select, textarea {
	font-family:Helvetica, Arial, sans-serif;
	color:#333;
	padding:10px;
	border:0;
	border-radius:3px;
	width:90%;
	font-size:16px;
	background:#eee;
}
input.text.error {
	border:2px solid #CB4040;
}
input.text:focus,
select:focus,
textarea:focus {
	background:#fff;
}
select {
	width:95%;
}
input.submit-button,
#thanks a.button {
	padding:10px 20px;
	background:red;
	border:0;
	color:#fff;
	text-transform:uppercase;
	border-radius:5px;
	background:#CB4040;
	font-family: 'ProximaNovaThBold';
	font-size:18px;
	text-shadow:0 1px 0 #000;
	margin-top:20px;
	cursor:pointer;
	text-decoration:none;
	display:inline-block;
	
	-moz-transition: all 0.5s ease 0s;
	-webkit-transition: all 0.5s ease 0s;
	-opera-transition: all 0.5s ease 0s;
	-ms-transition: all 0.5s ease 0s;
}
input.submit-button:hover,
#thanks a.button:hover {
	background:#7C2929;
}
label em {
	color:#CB4040;
}
form p {
	padding:5px 0 0 0;
	margin:0;
	line-height:normal;
}
form.wedding-gift {
	width:40%;
	text-align:center;
	padding:10px;
	float:left;
	margin:10px 20px 0 0;
}
form.wedding-gift table {
	width:100%;
}
form.wedding-gift select {
	margin:0 0 10px 0;
}
::-moz-selection { background: #993333; color: #fff; text-shadow: none; }
::selection      { background: #993333; color: #fff; text-shadow: none; }

#main {
	padding:30px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */


/* ===== Primary Styles ========================================================
   Author:
   ========================================================================== */



/* =============================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

#header-container {
	position:fixed;
	padding:0;
}
/* ====================
    INTERMEDIATE: Menu
   ==================== */
   
#bg1, #bg2, #bg3, #bg4, #bg5, #bg6, #bg7, #bg8 {
	position:fixed;
	z-index:0;
	width:2000px;
	height:750px;
	left:50%;
	margin:0 0 0 -1000px;
	opacity:0;
	top:160px;
	display:block;
}
.lt-ie9 #bg2,
.lt-ie9 #bg3,
.lt-ie9 #bg4,
.lt-ie9 #bg5,
.lt-ie9 #bg6,
.lt-ie9 #bg7,
.lt-ie9 #bg8 {display:none;} /* ie8 */
#bg2 {
	background:#000 url(../img/bg2.jpg) no-repeat top center;
	z-index:-1;
}
#bg3 {
	background:#000 url(../img/bg3.jpg) no-repeat top center;
	z-index:-2;
}
#bg4 {
	background:#000 url(../img/bg4.jpg) no-repeat top center;
	z-index:-3;
}
#bg5 {
	background:#000 url(../img/bg5.jpg) no-repeat top center;
	z-index:-4;
}
#bg6 {
	background:#000 url(../img/bg6.jpg) no-repeat top center;
	z-index:-5;
}
#bg7 {
	background:#000 url(../img/bg7.jpg) no-repeat top center;
	z-index:-6;
}
#bg8 {
	background:#000 url(../img/bg8.jpg) no-repeat top center;
	z-index:-7;
	top:0;
	opacity:1;
}
.lt-ie9 .thanks #bg8 {
	top:0;
}
#bg1 {
	height:900px;
	top:0;
	opacity:1;
	background:#000 url(../img/bg.jpg) no-repeat center 160px;
}
#main-container {
	padding-top:146px;
}
#info-container {
	background:rgba(0, 0, 0, 0.7);
	padding:40px 0;
	position:relative;
	z-index:2;
}
.wrapper {
	width:90%;
	margin:0 5%;
	position:relative;
	z-index:1;
}
#story,
#photos,
#bride-attendants,
#groomsmen,
#event,
#gifts,
#thanks {
	min-height:800px;
	padding:50px 0;
}
nav {
	display:block;
	position:relative;
	bottom:-10px;
}
nav a {
	color:#fff;
	font-size:13px;
	text-transform:uppercase;
	text-decoration:none;
	font-family: 'ProximaNovaThBold';
	text-shadow:0 2px 0 #7C2929;
	float:left;
	display:block;
	text-align:center;
	padding:10px 5%;
}
nav a:hover {
	color:#fff;
	text-decoration:none;
}
.lt-ie9 nav a {
	width:12%;
}
nav a.on {
	background:#7C2929;
	text-shadow:none;
}
nav ul {
	position:relative;
	text-align:center;
}
nav ul li {
	display:inline-block;
}
#intro {display:block;}

.two-col,
.three-col {
	float:left;
	width:45%;
	margin:0 10% 20px 0;
}
.three-col {
	width:45%;
	margin-right:5%;
}
.full-col {
	width:100%;
	margin:0 0 20px 0;
}
.two-col.last,
.three-col.last {
	margin-right:0;
}
#story h3 {
	font-size:50px;
}
#bride-attendants p {
	min-height:330px;
}
#story p {
	min-height:470px;
}
#groomsmen p {
	min-height:400px;
}
/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

.oldie nav a{}
}

@media only screen and (min-width: 768px) {
.skrollable {
    -moz-transition: all 0.3s ease 0s;
	-webkit-transition: all 0.3s ease 0s;
	-opera-transition: all 0.3s ease 0s;
	-ms-transition: all 0.3s ease 0s;
}
.ie9 nav a {
	padding:10px .75em;
	display:block;
}
ul.photo-grid li {
	margin:0 0 3px 0;
}
/* ====================
    WIDE: CSS3 Effects
   ==================== */


/* ============
    WIDE: Menu
   ============ */

	nav {width:100%;}

/* ============
    WIDE: Main
   ============ */

}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */
.scroll-top {
	display:block;
	width:60px;
	height:60px;
	position:fixed;
	bottom:20px;
	right:20px;
	cursor:pointer;
	opacity:0;
	background:rgba(0,0,0,1);
	text-align:center;
	line-height:60px;
	border-radius:50px;
	font-family:'ProximaNovaThBold';
	text-transform:uppercase;
	border:3px solid #000;
	z-index:50;
}
nav a {
	font-size:15px;
	padding:10px 15%;
}
.ie9 nav a {
	padding:10px 1.75em;
	display:block;
}
.lt-ie9 nav ul li {}
.lt-ie9 nav a {
	width:160px;
	display:block;
	text-wrap:none;
	padding:10px 0;
}
.two-col,
.three-col {
	width:45%;
	margin:0 5% 20px 0;
}
.three-col {
	width:30%;
	margin-right:3%;
}
.full-col {
	width:100%;
	margin:0 0 20px 0;
}
.two-col.last,
.three-col.last {
	margin-right:0;
}
.wrapper {
	width:1026px; /* 1140px - 10% for margins */
	margin:0 auto;
}
ul.photo-grid li {
	margin:0 1% 2% 0;
}

}
/* =============================================================================
   Non-Semantic Helper Classes
   ========================================================================== */

.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }
/*.hidden { display: none !important; visibility: hidden; }*/
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* =============================================================================
   Print Styles
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
