h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

margody {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}
a {
    color: #508ff4;
    text-decoration: none;
}
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Bradley Greenwood
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    height: 100%;
    position: relative;
    width: 90%;
    margin: 0 5%;
}


/* =============================================================================
   GOOGLE MAPS
   ========================================================================== */
#gmap {
    text-align: center;
    margin: 20px auto 20px auto;
}

#gmap iframe {
    width: 93%;
    height: 200px;

    border: 10px solid #090909;

    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

/* ===================
    Theme
   =================== */

.heading {
    position: fixed;
    top: 0px;
    width: 100%;
    background: black;
    z-index: 10;
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(0, 0, 0);
    /* RGBa with 0.9 opacity */
    background: rgba(0, 0, 0, 0.8);
    line-height:8px;
    display: none;
}

.title {
    color: black;
}
#introtext {
    display: block;
    padding: 10px 0 10px 0;
}

#introtext .head-names.amp {
    margin-left: 2%;
    margin-right: 2%;
}

#introtext .head-names {
    font-family: 'Merriweather', serif;
    font-size: 1.8em;
    line-height: 100%;
}

#introtext .date {
    margin-top: 10px;
    font-family: 'Merriweather', serif;
    font-size: 1.5em;
}

nav {
    z-index: 42;
}

nav ul {
    font-family:"Merriweather", sans-serif;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 5px 0;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: white;
    background: transparent;
    white-space: nowrap;
    outline: none;
}

nav li a:hover {
    color: #fff;
    background: #508ff4;
    text-decoration: none;
    outline: none;
}
nav li a.selected {
    color: #fff;
    background: #508ff4;
    text-decoration: none;
    outline: none;
}

/** firefox remove outline **/
nav ul li a:focus {outline:none;}
nav ul li a::-moz-focus-inner {border:0;}

* { 
    margin: 0;
    padding: 0;
}

html {

}

body {
    font-family:"Merriweather", sans-serif;
    color: #fff;
    text-align: center;

}

.main {
    padding: 5% 0;
}

.main header {
    float: left;
    width: 100%;
}
#bg-image {
    position: fixed; 
    top: -50%; 
    left: -50%; 
    width: 200%; 
    height: 200%;
}

#bg-image img {
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    margin: auto; 
    min-width: 50%;
    min-height: 50%;
}

#bg-container {

}

section {
    text-align: left;
    padding: 25px;
    background-color: white;
    height: 100%;
    margin-top: 50px;
    color: #333;

    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

section h1 {
    font-family: 'Parisienne', cursive;
    font-size: 1.7em;
}
section h2 {
    font-size: 1.2em;
    line-height: 120%;
    padding: 0 0px;
}

.column {
    float: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

.big-text {
    font-size: 1em;
    line-height: 1.3;
    padding: 0;
}

.small-text {
    font-size: 0.8em;
    line-height: 1.2;
    padding: 0;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.hr {
    margin: 40px auto 40px auto;
    width: 97%;
    border-top:#1e1e1e solid 1px;
    opacity:0.4;
}

.img-container {
    text-align: center;
}

.img-grid {
    padding: 0;
    margin: 10px;
    width: 80px;
    height: 80px;
    object-fit: cover;
    overflow: hidden;
    display: inline-block;
}

input {
    font-family: 'Merriweather', serif;
    padding: 5px;
    font-size: 0.9em;
    border-radius: 10px;
    border: 1px solid transparent;
    border-top: none;
    border-bottom: 1px solid #DDD;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.39), 0 -1px 1px #FFF, 0 1px 0 #FFF;
}

blockquote {
    quotes: "\201C""\201D""\2018""\2019";
}

blockquote:before {
    color: #ccc;
    content: open-quote;
    font-size: 2.5em;
    line-height: 0.1em;
    vertical-align: -0.4em;
}

blockquote:after {
    visibility: hidden;
    content: close-quote;
}

blockquote p {
    display: inline;
}

td {
    padding-right: 10px;
}


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

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

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    body {
        background-position: 50% 20%;
    }

    #introtext .head-names {
        font-size: 3em;
    }

    #introtext .date {
        font-size: 2em;
    }

    nav {
        display: block;
    }

    nav ul {
        text-align: center;
        margin: auto;
        padding: 0;
        text-align: center;
    }
    nav ul li {
        display: inline;
        padding: 0;
        margin: 0;
    }

    nav a {
        padding: 15px 1%;
        margin-bottom: 0;
        display:inline-block;
        font-size: 60%;
        white-space: nowrap;

        -moz-font-smoothing: antialiased;
        -o-font-smoothing: antialiased;
        -ms-font-smoothing: antialiased;
        -webkit-font-smoothing: antialiased;
        font-smoothing: antialiased;

        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        -o-transition: all .3s ease;
        -ms-transition: all .3s ease;
        transition: all .3s ease;
    }

    section {
        padding: 40px 40px 70px 40px;
    }
    section h1 {
        font-size: 2.5em;
    }
    section h2 {
        font-size: 1.5em;
    }

    .big-text {
        font-size: 1em;
        line-height: 1.3;
    }

    .small-text {
        font-size: 0.9em;
        line-height: 1.3;
    }

    #gmap iframe {
        height: 400px;
    }
}

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

    section h1 {
        font-size: 4em;
    }
    section h2 {
        font-size: 2.0em;
    }

    #introtext .head-names {
        font-size: 4em;
    }
    #introtext .date {
        font-size: 2em;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    nav a {
        padding: 15px 2%;
        font-size: 90%;
    }

    .img-grid {
        width: 100px;
        height: 100px;
    }

}

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

    .heading {
        display: block;
    }

    #introtext {
        margin-bottom: 300px;
    }

    section {
        margin-top: 100px;
    }

    section h1,
    section h2 {
        margin-left: 20px;
    }
    section h1 {
        font-size: 4em;
    }

    .column.full {
        clear: both;
        float: none;
        width: 100%;
    }

    .column.dense {
        clear: both;
        float: none;
        width: 85%;
    }

    .column {
        float: left;
        width: 50%;
    }

    .column p, ul {
        margin-left: 20px;
    }

    .big-text {
        font-size: 1.2em;
        line-height: 1.4;
    }

    .small-text {
        font-size: 1em;
        line-height: 1.4;
    }

    .column table {
        margin-left: 20px;
    }

    .img-grid {
        width: 150px;
        height: 150px;
    }

}


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

    nav a {
        padding: 15px 3%;
        font-size: 120%;
    }

    .wrapper {
        width: 1026px;
        margin: 0 auto;
    }

    #introtext .head-names {
        font-size: 5em;
    }
    #introtext .date {

        font-size: 2.5em;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .main header {
        margin-top: 4%;
        margin-bottom: 0;
        float: left;
        width: 100%;
    }

}
