@charset "utf-8";

html,
html * {
	margin: 0;
    padding: 0;
}

header {
	width: 100%;
	height: 8em;
	top: 0;
	position: fixed;
	background-color: #00549F;
	z-index: 1000;
}

body {
	padding-top: 8em;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
	border: none;
}

a {
	text-decoration: none;
	cursor: pointer;
}

h1 {
	color: black;
	font-size: 2em;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	margin-top: 1em;
}

h2 {
	font-size: 1.2em;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	margin-top: 2em;
}

h2 a {
	color: #00549F;
	text-decoration: none;
}

p {
	color: black;
	font-size: 1.2em;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	text-align: justify;
	margin-top: 1em;
}

p a {
	color: black;
	font-weight: bold;
}

p a:hover {
	border-bottom: solid black 2px;
}

footer {
	background-color: #00549F;
	margin-top: 2em;
	padding-top: 2em;
	padding-bottom: 2em;
}

footer p {
	font-size: 1em;
	text-align: center;
	color: white;
	padding-top: 0;
	max-width: 85%;
	margin: auto;
}

#top {
	display: none;
	position: fixed;
	right: 1em;
	top: 7.7em;
	z-index: 1000;
	font-size: 1.2em;
	border: none;
	outline: none;
	background-color: #00549F;
	color: white;
	cursor: pointer;
	padding: 1em;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
}

/* width */
::-webkit-scrollbar {
	width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
	background: #00000050; 
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: #000; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	
}

/*--------------------------------------------------------------------------*/

.templatelogo {
	position: relative;
	display: block;
	float: left;
	max-height: 8em;
}

.templatelogo img {
	max-height: 5em;
	padding: 1.5em;
}

.templatenav {
    position: relative;
    float: right;
    margin: 1.5em;
}

.templatenav ul li {
	display: inline-block;
	margin-left: 1.5em;
	margin-top: 1.5em;
}

.templatenav ul li a {
    font-size: 1.2em;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	color: white;
    padding-bottom: .5em;
    text-decoration: none;
    font-style: normal;
    font-weight: 400;
}

.templatenav ul li a:hover {
	color: yellow;
	border-bottom: .2em solid yellow;
}

/*--------------------------------------------------------------------------*/

.landing {
	width: 100vw;
	height: 100vh;
	background-image: url(images/lastsupper.jpg);
	background-position: center;
	background-size: cover;
}

.landingmenu {
	margin: auto;
	background-image: url(images/schematic.jpg);
	background-size: cover;
	width: 50%;
	height: 100%;
}

.landing button {
	width: 80%;
	height: 80vh;
	margin-left: 10%;
	margin-top: 10vh;
	border: none;
	text-decoration: none;
	background-size: cover;
	background-position: center;
	color: white;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	font-size: 4em;
	text-shadow: 5px 5px 0 black;
	cursor: pointer;
	text-align: center;
	padding: 1em;
}

.landing button:hover {
	color: black;
	text-shadow: 5px 5px 0 white;
}

/*--------------------------------------------------------------------------*/

.featured {
	overflow-x: auto;
	cursor: pointer;
}

.featuredbox {
	width: 20em;
	height: 20em;
	background-size: 100% 100%;
	background-repeat: no-repeat;
}

.featuredbox:hover > h1 {
	color: #00549F;
	text-shadow: .1em .1em 0 yellow;
}

.featuredbox h1 {
	margin: 0;
	max-width: 90%;
	padding-top: .2em;
	padding-left: .2em;
	line-height: .9em;
	text-transform: uppercase;
	font-size: 2.7em;
	color: yellow;
	text-shadow: .1em .1em 0 #00549F;
}

.featuredmenu {
	z-index: 1001;
	width: 100%;
	background-color: #00549F;
}

.featuredmenu img {
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	background-color: white;
	margin: .5em;
	vertical-align: middle;
}

.featuredmenu img:hover {
	background-color: yellow;
	cursor: pointer;
}

.featuredmenu a {
	display: inline-block;
	font-size: 1.2em;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	color: white;
	margin-right: .5em;
	vertical-align: middle;
}

.featuredmenu a:hover {
	color: yellow;
}

/*--------------------------------------------------------------------------*/

.home {
	margin: 4em;
	padding: 2em;
	width: calc(100% - 12em);
}

.home h1 {
	margin-top: 0;
}

.home p {
	text-align: left;
}

/*--------------------------------------------------------------------------*/

.content {
	width: 100%;
	background-color: white;
}

.contentbox {
	display: inline-block;
	vertical-align: middle;
	background-size: cover;
	width: calc(33.3333% - 9.3333em - 4px);
	margin: 4em;
	margin-right: 0;
	padding: 2em;
}

.contentbox:hover {
	cursor: pointer;
}

.contentbox:hover > h1 {
	color: #00549F;
	text-shadow: 4px 4px 0 yellow;
}

.contentvideo {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.contentvideo iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.contentbox h1 {
	text-align: center;
	text-transform: uppercase;
	color: yellow;
	text-shadow: 4px 4px 0 #00549F;
	background-color: #00000080;
	margin: 0;
	padding: .5em;
}

.contentbox p {
	text-align: center;
	color: white;
	background-color: #00000080;
	margin: 0;
	padding: 1em;
	padding-top: 0;
}

.contentgallery {
	overflow-x: auto;
	white-space: nowrap;
	width: 100%;
}

.contentgallery img {
	max-width: 100%;
	max-height: 30em;
	margin-right: -4px;
	margin-bottom: 0;
	vertical-align: top;
}

/*--------------------------------------------------------------------------*/

.plateindexlabel {
	text-align: center;
	padding: 1em;
	background-color: yellow;
	text-transform: uppercase;
}

.plateindexlabel h1 {
	font-size: 3em;
	margin: 0;
}

.plateindex {
	overflow-x: auto;
}

.plateindex img {
	height: 30em;
	cursor: pointer;
	border: solid black 5px;
	margin: 1em;
}

.plateindex h1 {
	margin: .5em;
}

.plateindex td {
	text-align: center;
}

/*--------------------------------------------------------------------------*/

.globaltext {
	max-width: 90%;
	margin: auto;
    position: relative;
}

.globaltext figure {
	margin: 2em;
}

.globaltext img {
	max-height: 80vh;
	max-width: 100%;
}

.globaltext figcaption {
	color: black;
	overflow-y: auto;
	text-decoration: underline;
}

.globaltextcentered p {
	text-align: center;
}

.globaltextquote p {
	padding-left: 1em;
	font-style: italic;
	border-left: solid black 2px;
}

.referencetext {
	text-indent: -2em;
	padding-left: 2em;
}

/*--------------------------------------------------------------------------*/

.gallery {
	overflow-x: auto;
	white-space: nowrap;
	width: 100%;
	background-color: yellow;
}

.gallery img {
	height: 10em;
	border: 3px solid black;
	margin: 4px;
	margin-bottom: 0;
}

.gallery img:hover {
	cursor: pointer;
	opacity: .8;
}

/*--------------------------------------------------------------------------*/

.container {
	width: 100%;
	height: 35em;
	margin-top: -1em;
	margin-bottom: -2em;
}

.containerimg {
	float: left;
	max-width: 50%;
}

.containerimg img {
	float: right;
	height: 35em;
}

.containerimg svg {
	height: 35em;
	background-size: 100% 100%;
	background-repeat: no-repeat;
}

.containerimg g {
	fill: transparent;
}

.containerimg g:hover {
	opacity: .5;
	fill: black;
}

.containertext {
	overflow-y: hidden;
	height: 35em;
}

.containermenu {
	width: 100%;
	overflow-x: auto;
	background-color: #00549F;
}

.containermenu a p {
	font-size: 1.2em;
	font-weight: normal;
	text-align: center;
	color: white;
	background-color: transparent;
	padding: .5em;
	margin: 0;
}

.containermenu a p:hover {
	color: yellow;
	cursor: pointer;
}

.containercontent {
	overflow-y: auto;
	height: 30em;
}

/*--------------------------------------------------------------------------*/


#map {
	z-index: 1000;
	width: 100%;
	height: calc(100% - 8em);
	position: absolute;
}

#mapmenu {
	z-index: 1001;
	position: fixed;
	top: 9em;
	left: 35%;
	width: 30%;
	padding: 1em;
	background-color: #00549F;
}

#mapmenu button {
	width: 20%;
	display: inline-block;
    border: none;
    padding: 0;
    margin: 0;
	margin-right: -4px;
    text-decoration: none;
    background: transparent;
    color: #ffffff;
    font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
    font-size: 1em;
    cursor: pointer;
    text-align: center;
}

#mapmenu button:hover {
	color: yellow;
}

/*--------------------------------------------------------------------------*/

/* The popup bubble styling. */
      .popup-bubble {
        /* Position the bubble centred-above its parent. */
        position: absolute;
        top: 0;
        left: 0;
        transform: translate(-50%, -100%);
        /* Style the bubble. */
        background-color: white;
        padding: 5px;
        border-radius: 5px;
        font-family: sans-serif;
        overflow-y: auto;
        max-height: 60px;
        box-shadow: 0px 2px 10px 1px rgba(0,0,0,0.5);
      }
      /* The parent of the bubble. A zero-height div at the top of the tip. */
      .popup-bubble-anchor {
        /* Position the div a fixed distance above the tip. */
        position: absolute;
        width: 100%;
        bottom: /* TIP_HEIGHT= */ 8px;
        left: 0;
      }
      /* This element draws the tip. */
      .popup-bubble-anchor::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        /* Center the tip horizontally. */
        transform: translate(-50%, 0);
        /* The tip is a https://css-tricks.com/snippets/css/css-triangle/ */
        width: 0;
        height: 0;
        /* The tip is 8px high, and 12px wide. */
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: /* TIP_HEIGHT= */ 8px solid white;
      }
      /* JavaScript will position this div at the bottom of the popup tip. */
      .popup-container {
        cursor: auto;
        height: 0;
        position: absolute;
        /* The max width of the info window. */
        width: 200px;
      }

/*--------------------------------------------------------------------------*/

@media screen and (max-width: 1440px) {
	header {
		position: relative;
	}
	
	body {
		padding-top: 0em;
	}
	
	#top {
		left: 1em;
		top: 1em;
	}
	
	/*----------------------------------------------------------------------*/
	
	.templatelogo img {
		padding: none;
	}
	
	.templatenav {
		white-space: nowrap;
		overflow-y: none;
		overflow-x: auto;
		max-width: calc(100% - 10em);
		height: 5em;
	}
	
	/*----------------------------------------------------------------------*/
	
	.landingmenu {
		width: 80%;
	}
	
	.landing button {
		font-size: 3em;
	}
	
	/*----------------------------------------------------------------------*/
	
	.featuredmenu {
		white-space: nowrap;
		overflow-x: auto;
		width: 100%;
	}
	
	/*----------------------------------------------------------------------*/
	
	.home {
		margin: 2em;
		width: calc(100% - 8em);
	}
	
	/*----------------------------------------------------------------------*/
	
	.content {
		padding-bottom: 2em;
	}
	
	.contentbox {
		margin-top: 2em;
		margin-left: 2em;
		margin-bottom: 0;
		width: calc(100% - 8em);
	}
	
	/*----------------------------------------------------------------------*/
	
	.plateindex img {
		height: auto;
		width: calc(100vw - 2em - 10px);
	}
	
	/*----------------------------------------------------------------------*/
	
	.globaltext img {
		display: block;
		max-width: 100%;
		padding-top: 1.5em;
	}

	.globaltext figcaption {
		display: block;
		max-width: 100%;
		padding-left: 0;
		text-decoration: underline;
	}
	
	/*----------------------------------------------------------------------*/
	
	.container {
		width: 100%;
		height: auto;
		margin-bottom: 2em;
	}

	.containerimg {
		float: none;
		max-width: none;
		width: 100%;
	}

	.containerimg img {
		float: none;
		width: 100%;
		height: auto;
	}
	
	.containerimg svg {
		width: 100%;
		height: auto;
	}
	
	.containertext {
		height: auto;
	}
	
	.containercontent {
		height: auto;
		max-height: 100%;
		margin-top: -1em;
	}
	
	/*----------------------------------------------------------------------*/
	
	#mapmenu {
		z-index: 1001;
        position: fixed;
        top: 35vh;
        left: 0;
        width: auto;
        padding: .5em;
        background-color: #00549F;
	}
	
	#mapmenu button {
		width: auto;
        display: block;
		padding: .5em;
	}
}