
@import url(http://fonts.googleapis.com/css?family=Roboto:300,500,300italic,500italic|Fjalla+One);


* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /* border: 1px solid red !important; */
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

.header {
    display: block;
    padding: 0.7em;
    margin-bottom: 1.5em;
    margin-top: 1.3em;
    position: relative;
    border-bottom: 2px solid lightgrey !important;
}

.header h1 {
    font-family: 'Fjalla One', sans-serif;
    margin-bottom: 0;
    padding: 0em;
    display: block;
    font-size: 2.0em;
    color: black;
    float: left;
    text-transform: uppercase;
    position: absolute;
    bottom: 0;
}

.header a {
    text-decoration: none;
    color: black;
}

.menu {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: block;
    float: right;
    bottom: 0;
    right: 0;
    position: absolute;
}

.menu li {
    float: left;
}

.menu a {
    font-size: x-large;
    padding-left: 10px;
    padding-right: 10px;
    display: block;
    text-decoration: none;
    color: black;
    text-transform: lowercase;
}

.menu a:hover
{
    color: darkgrey;
}

a.selected {
    color: darkgrey;
}

.gallery {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 90%;

}

.page {
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    background-color: white;
}

img.main {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    float: left;
    padding: 1em;
}

.subtitle {
    text-align: center;
    font-family: 'Roboto', italic;
    font-weight: 500;
    font-size: x-large;
}

.image-area {
    height: 90vh;
    max-height: 90vh;

    width: 100vw;
    /* border: 1px solid blue !important; */
    position: relative;
}

.image-area img {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    margin-bottom: -50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-height: 90%;
    max-width: 90%;
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.image-area-mobile img {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    margin-bottom: -50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-height: 90%;
    max-width: 90%;
    opacity: 0;
}

.nav-buttons {
    display: block;
    /*position: fixed; bottom: 3%; */
    clear: both;
    width: 100%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 3vh;
}

.nav-buttons i {
    color: lightgrey;
    margin-left: 0.2em;
    margin-right: 0.2em;
}

.nav-buttons i:hover {
    color: darkgrey;
}

.content {
    display: block;
    clear: both;
}

.box {
    width: 35em;
    padding: 0.5em;
    margin-top: 2em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
}

.center-box {
    width: 35em;
    padding: 0.5em;
    margin-top: 2em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

h1 {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    /*font-size: 1em;*/
    font-weight: 500;
}

h2 {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    /*font-size: 1em;*/
    font-weight: 500;
}

p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    line-height: 150%;
    text-align: justify;
    text-justify: newspaper;
}

.center {
    text-align: center;
}

a {
    text-decoration: none;
    color: blue;
}

.reveal {
    font-size: 20px;
}

/* Overrides for reveal white theme */
.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
    margin: 0 0 20px 0;
    font-family: 'Roboto', Helvetica, sans-serif;
    font-size: 1em;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    text-shadow: none;
    word-wrap: break-word;
}

.reveal h1 {
    font-size: 2.5em;
}

.reveal h2 {
    font-size: 1.6em;
}

.reveal h3 {
    line-height: 1.0;
    margin-bottom: 0;
    font-size: 1.3em;
    font-style: italic;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.blurb {
    clear: both;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    width: 30em;
    background-color: rgba(240, 240, 240, 0.0);
    color: rgba(0, 0, 0, 0.0);
    /* border: 1px solid red !important; */

}

.blurb:hover {
    display: inline-block;
    background-color: rgba(240, 240, 240, 0.9);
    color: rgba(0, 0, 0, 1.0)
}

.blurb h3 {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 20px;
    margin-right: 1em;
}

.blurb p {
    font-family: 'Roboto', Helvetica, sans-serif;
    font-weight: 300;
    font-size: 0.9em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 20px;
    margin-right: 1em;
    line-height: 120%;
    text-align: justify;
    text-justify: newspaper;
}

p.stats {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin-bottom: 1em;
}

img.thumb {
    display: inline-block;
    height: 20em;
    margin: 2em;
    padding: 1.6em;
    border: 0px solid red !important;
}

@media screen and (min-width: 300px)
and (max-width: 667px) {
    .page {
        max-width: 100vw;
        max-height: 100vh;
        margin: 0;
    }


    .header {
	padding: 0.1em;
	border-bottom: 2px solid lightgrey !important;
	margin: 2px;
	margin-bottom: 10px;
    }

    .header h1 {
	position: static;
	font-family: 'Fjalla One', sans-serif;
	margin-bottom: 0;
	width: 100%;
	padding: 0em;
	font-size: 1.8em;
	color: black;
	text-transform: uppercase;
	text-align: center;
	bottom: 0;
    }

    .header a {
	text-decoration: none;
	color: black;
    }

    .center {
	position: static;
	margin-left: auto;
	margin-right: auto;
    }

    .menu {
	position: static;
	padding: 0;
	list-style-type: none;
	bottom: 0;
	float: none;
	text-align: center;
    }

    .menu a {
	font-size: 1.2em;
	padding-left: 10px;
	padding-right: 10px;
	display: inline;
	text-decoration: none;
	color: black;
	text-transform: lowercase;
    }

    .menu li {
	float: none;
	display: inline;
    }

    .box {
        width: 100vw;
        padding: 10px;
        margin-top: 2em;
        margin-bottom: 0.5em;
        margin-left: auto;
        margin-right: auto;
    }

    .center-box {
        padding: 0;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        width: 100vw;
        text-align: center;
    }

    p {
	font-size: 1.0em;
	margin-top: 0px;
	margin-bottom: 8px;
    }

    h1 {
	font-size: 1.5em;
    }
    
    h2 {
	font-size: 1.2em;
    }
    
.image-area {
    height: 70vh;
    max-height: 70vh;
}

.gallery {
    height: 80%;
}

}


