body {
    font-family: 'Ovo', serif;
    font-size: 1.9em;
    background: url("images/bg.png") no-repeat;
    background-size: 100% 100px;
    color: #333;
}

.align_center {
    align-items: center;
}

.flex_row {
    display: flex;
    flex-direction: row;
}

.container {
    margin-bottom: 0;
}

#navbar {
    min-height: 100px;
    justify-content: space-between;
    align-items: center;
    display: flex;
    flex-direction: row;
    padding: 10px 0 10px;
    background-color: #559bac;
}

#navbar > .menu {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#navbar > .menu a {
    color: #fff;
}

#logo {
    display: block;
    width: 145px;
    height: 80px;
    background-image: url("images/logo.png");
    line-height: 0;
    font-size: 0;
    color: transparent;
}

#app-container > div {
    border-bottom: dashed 1px #ddd;
}

.margin_right_25px {
    margin-right: 25px;
}

#app-container a,
#app-container a:hover,
#app-container a:active,
#app-container a:visited {
    color: #559bac;
}

#app-container h1 {
    padding-bottom: 15px;
    border-bottom: dashed 1px #ddd;
}

h1 {
    font-size: 2em;
    text-align: center;
}

h2 {
    font-size: 1.3em;
}

#resources {
    text-align: center;
}

#resources a:first-child {
    margin-right: 10px;
}

.galleryGrid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    max-width: 1024px;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0.5em -4px 1.5em -4px;
}

.galleryGrid > a,
.galleryGrid > span {
    padding: 4px;
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 33.33%;
    -ms-flex: 1 0 33.33%;
    flex: 1 0 33.33%;
}

.galleryGrid > a img,
.galleryGrid > span img {
    width: 100%;
    max-height: inherit;
    border: solid 1px #ccc;
    padding: 3px;
}

.galleryGrid > span > span {
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 1.1em;
    margin: 3px 0;
}

.navigation-item {
    display: block;
    text-align: center;
    margin-bottom: 20px;
}

#photo {
    background: url("images/photo.jpg") center center no-repeat;
    width: 132px;
    height: 200px;
    margin: 0 auto 15px;
    border: solid 1px #999;
}

.footer {
    text-align: center;
    padding: 10px 0;
}

@media (max-width: 767px) {

    body {
        font-size: 1.7em;
        background-size: 100% 120px;
    }

    #navbar {
        flex-wrap: wrap;
        padding: 0;
    }

    #navbar > .menu {
        margin: inherit;
    }

    #logo {
        display: block;
        width: 109px;
        height: 60px;
        background-image: url("images/logo-s.png");
    }

    #navbar .menu.left {
        flex-basis: 100%;
        height: 80px;
        justify-content: center;
        border-bottom: 1px solid #E8E8E8;
    }

    #navbar .menu.right {
        flex-basis: 100%;
        height: 40px;
        justify-content: center;
    }

    #navbar_section > .section {
        padding-left: 0;
        padding-right: 0;
    }
}