* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
body {
    line-height: 1.7em;
    color: #7f8c8d;
    font-size: 13px;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #34495e;
}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */
.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.is-center {
    text-align: center;
}


/*
 * -- PURE BUTTON STYLES --
 * I want my pure-button elements to look a little different
 */
.pure-button {
    background-color: #1f8dd6;
    color: white;
    padding: 0.5em 2em;
    border-radius: 5px;
}

a.pure-button-primary {
    background: white;
    color: #1f8dd6;
    border-radius: 5px;
    font-size: 120%;
}


/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */

.splash-container {
    background: #323232;
    background-image: url("/images/background-image.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 3em 0;
    position: relative;
}

.splash-overlay {
    background: rgba(0,0,0,.65);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
}

.splash {
    /* absolute center .splash within .splash-container */
    width: 80%;
    height: 50%;
    margin: auto;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-size: 20px;
    font-weight: bold;
    color: white;
    border: 3px solid white;
    padding: 1em 1.6em;
    font-weight: 100;
    border-radius: 5px;
    line-height: 1em;
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    color: white;
    letter-spacing: 0.05em;
    font-weight: bold;
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }

    /* We increase the height of the splash-container */
/*    .splash-container {
        height: 500px;
    }*/

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        width: 50%;
        height: 50%;
    }

    .splash-head {
        font-size: 250%;
    }


    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }

}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 300%;
    }
}



/* GALLERY LAYOUT */

.gallery-container {
    background: white;
}

.l-box {
    padding: 1.5em;
}

.photo-box, .text-box {
    overflow: hidden;
    position: relative;
    height: 250px;
    text-align: center;
}

.photo-box-thin {
    height: 120px;
}


.photo-box img {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-height: 250px;
}

.photo-box aside {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 1em 0.5em;
    color: white;
    width: 100%;
    font-size: 80%;
    text-align: right;
    background: linear-gradient(to bottom,  rgba(16,27,30,0) 0%,rgba(12,2,2,1) 90%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00101b1e', endColorstr='#0c0202',GradientType=0 ); /* IE6-9 */

}

.photo-box aside span {
    color: #aaa;
}

.photo-box aside span a {
    color: #ccc;
    text-decoration: none;
}

.text-box {
    background: rgb(49, 49, 49); /* bluish grey */
    color: rgb(156, 233, 255); /* steel blue */
}

.text-box-head {
    color: #fff;
    padding-bottom: 0.2em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 24px;
}

.text-box-subhead {
    font-weight: normal;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 30em) {
    .photo-box, .text-box {
        text-align: left;
    }

    .photo-box-thin {
        height: 250px;
    }
}


/* WEDDING DAY PAGE STYLES */
body.wedding-day {
    background-color: #D9AFD9;
    background-image: linear-gradient(0deg, #D9AFD9 0%, #97D9E1 100%);
}
.wedding-day .splash-head {
    border: none;   
}
.wedding-day .splash-container {
    background-image: url("/images/joe-lindsey-outside.jpg");
}
.wedding-day .l-content {
    margin: 0 auto;
    text-align: center;
    padding: 2.5em 0;
}
.wedding-day .wedding-info {
    max-width: 980px;
    margin: 0 auto;
    background: #FFF;
    padding: 1.5em 2.5em;
    text-align: left;
    box-shadow: 0 0 .5em #666;
}

.wedding-day .schedule {
    display: flex;
    flex-wrap: wrap;
}
.wedding-day .schedule > .time,
.wedding-day .schedule > .thing,
.wedding-day .schedule > .desc {
    padding: .5em 1em;
}
.wedding-day .schedule > .time {
    width: 15%;
    text-align: right;
    font-weight: 600;
}
.wedding-day .schedule > .thing {
    width: 85%;
    font-weight: 600;
}
.wedding-day .schedule > .desc {
    width: 85%;
    margin-left: 15%;
    padding-top: 0;
}