/* Main */
body {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    min-height: 100vh;
    padding-bottom: 8rem;
    position: relative;
}
strong, b {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
}
em, i {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'EB Garamond', serif;
    font-weight: 500;
}
img {
    max-width: 100%;
}
.hidden {
    display: none !important;
}

/* Hero */
.hero {
    background: #111;
    height: 17rem;
    position: relative;
    overflow: hidden;
}
.hero.large {
    background: #111;
    height: 50rem;
    height: 80vh;
    min-height: 47rem;
    max-height: 60rem;
}
.hero .background {
    background: url(../img/hero.jpg) center -40rem no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.hero.large .background {
    background: url(../img/hero.jpg) center center no-repeat;
}
.hero:after {
    z-index: 1;
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.30);
    background: -moz-linear-gradient(top, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0.30)), color-stop(100%, rgba(0,0,0,0.55)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
}
.hero .text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    z-index: 2;
    opacity: 0.9;
}
.hero .text a {
    color: #fff !important;
    text-decoration: none !important;
}
.hero .text h1 {
    margin: 4.25rem 0 2rem;
    font-family: 'EB Garamond', serif;
    letter-spacing: 1px;
    font-size: 4rem;
    text-shadow: 2px 5px 3px rgba(0, 0, 0, 0.25);
}
.hero .text h2 {
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 2px 5px 2px rgba(0, 0, 0, 0.25);
}
.hero.large .text h1 {
    margin: 14rem 0 2rem;
}
@media (max-width: 660px) {
    .hero.large {
        height: 35rem;
        min-height: 35rem;
    }
    .hero.large .background {
        background: url(../img/hero.jpg) center -28rem no-repeat;
    }
    .hero .text h1 {
        margin: 4.5rem 0 1.25rem;
        font-size: 2.25rem;
    }
    .hero.large .text h1 {
        margin: 4.5rem 0 1.25rem;
    }
    .hero .text h2 {
        font-size: 1.2rem;
    }
}
.countdown {
    background: #f5f5f5;
    text-align: center;
    width: 100%;
    color: #777;
    padding: 1.11rem 0;
    font-size: 1.33rem;
}

/* Body */
.container { margin-top: 3rem; }
hr.small {
    width: 5rem;
    margin: 1rem auto 1rem 0;
}
.location-block blockquote {
    padding-left: 1rem;
    border-left: 1px solid #ccc;
    margin-top: 0.5rem;
    color: #555;
}
.location-block { margin-top: 1rem; }
.map {
    width: 100%;
    border: 0;
    transition: 0.5s;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.22);
}
.map:hover {
    opacity: 0.7;
}
section {
    margin: 2rem 0;
    float: left;
    width: 100%;
}
.whats-that {
    border-bottom: 1px dotted #ccc;
    color: #AAA;
    font-size: 0.7rem;
    display: inline-block;
    margin-left: 0.25rem;
}
.whats-that:hover {
    color: #777;
    text-decoration: none;
}
.photo-viewer {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 1rem;
    background: #fafafa;
}
.photo-viewer img {
    max-height: 600px;
    max-width: 100%;
}
.photo-viewer-wrap {
    padding-top: 1rem;
    width: 100%;
    text-align: center;
}
.photos {
    margin: 0;
    padding: 0;
    text-align: center;
}
.photos img {
    margin: 0 1rem 1rem 0;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.33);
    transition: all 0.33s;
    opacity: 0.7;
}
.photos img:hover {
    opacity: 1;
}

/* RSVP */
.rsvp-form {
    width: 25rem;
    max-width: 100%;
}
.rsvp-confirmation-form .row {
    margin-bottom: 0.5rem;
}
.rsvp-confirmation-form .note {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #aaa;
    background: #fcfcfc;
}
.no-results {
    color: #e45252;
    font-size: 0.8rem;
}
.error-txt {
    color: #dc3535;
    margin: 1rem 0 2rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    margin-top: 5rem;
    height: 3rem;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(200,200,200,0);
    background: -moz-linear-gradient(top, rgba(200,200,200,0) 0%, rgba(200,200,200,0.55) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(200,200,200,0)), color-stop(100%, rgba(200,200,200,0.55)));
    background: -webkit-linear-gradient(top, rgba(200,200,200,0) 0%, rgba(200,200,200,0.55) 100%);
    background: -o-linear-gradient(top, rgba(200,200,200,0) 0%, rgba(200,200,200,0.55) 100%);
    background: -ms-linear-gradient(top, rgba(200,200,200,0) 0%, rgba(200,200,200,0.55) 100%);
    background: linear-gradient(to bottom, rgba(200,200,200,0) 0%, rgba(200,200,200,0.55) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
}