
html {
	height: 100%;
	box-sizing: border-box;
	overflow-y: scroll;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

body {
	position: relative;
	margin: 0;
	min-height: 100%;
	background-color: #415695;
	background-color: #505e88;
	background-color: #2a3573;
	font-family: 'Roboto', sans-serif;
	padding-bottom: 5em;
}

header {
	background-color: white;
	border-top: 3px double red;
	padding: 40px 0px 0px 0px;
}

header .logo {
	display: block;
	margin: auto;
	width: 344px;
}
.logo a{
	display: inline-block;
	padding: 0 20px;
}
header nav {
	padding: 0;
	width: 100%;
	margin: 25px 0px 0px 0px;
	border-top: 1px dashed lightgray;
	border-bottom: 3px solid slategray;
}

header nav ul {
	list-style-type: none;
	display: flex;
	flex-direction: row;
	max-width: 680px;
	margin: auto;
	padding: 0;
}

header nav ul li {
	list-style: none;
	flex-grow: 1;
	text-align: center;
	padding: 0;
}

header nav ul li .subnav {
	display: none;
	position: absolute;
	z-index: 1;
	border: 2px solid slategray;
	border-bottom: 3px solid slategray;
	border-top: 0px;
	background-color: ghostwhite;
}

header nav ul li.hassubnav a {
	display: block;
}

header nav ul li.hassubnav:hover a {
	background-color: whitesmoke;
}

header nav ul li .subnav a:hover {
	background-color: gainsboro; 
	color: black;
}

header nav ul li.hassubnav:hover .subnav {
	display: block;
}



header nav ul li a {
	display: block;
	text-decoration: none;
	color: darkslategray;
	padding: 30px 10px;
	font-size: 18px;
}

header nav ul li a:visited {
	color: darkslategray;
}

header nav ul li a:hover {
	background-color: whitesmoke;
}

header nav ul li ul li a {
	text-align: left;
	padding: 20px 10px;
}

@media (max-width: 600px) {
	header nav ul {
		flex-direction: column;
	}

	header nav ul li a {
		padding: 20px 10px;
		font-size: 20px;
	}

	header nav ul li:first-child {
		display: none;
	}
	
	header nav ul li.hassubnav:hover .subnav {
		display: none;
	}
}

main {
	padding: 0;
	margin: 0;

}

main a { 
	color: deepskyblue;
	text-style: normal;
	text-decoration: none;
}

main h1 {
	color: azure;
	max-width: 600px;
	font-size: 2em;
	text-decoration: none;
	font-style: normal;
	font-weight: 700;
	text-align: center;
	margin: auto;
	padding: 70px 12px 30px 12px;
}

main h2 {
	color: azure;
	max-width: 600px;
	font-size: 1.5em;
	text-decoration: none;
	font-style: normal;
	font-weight: 400;
	margin: auto;
	padding: 20px 12px;
}

main h3 {
	color: azure;
	max-width: 600px;
	font-size: 1.4em;
	text-decoration: none;
	font-style: normal;
	font-weight: 400;
	margin: auto;
	padding: 20px 12px;
	text-align: center;
}

main h3 a {
	text-decoration: none;
	color: deepskyblue;
	font-style: normal;
}

main h3 a:visited {
	color: deepskyblue;
}

main p {
	max-width: 600px;
	font-size: 19px;
	margin: auto;
	padding: 10px 15px;
	color: white;
	line-height: 1.6em;
	font-weight: 100;
}

main figure {
	margin: 15px auto;
	width: 90%;
	max-width: 500px;
	display: block;
	position: relative;
}

main figure img {
	width: 100%;
	border: 1px solid azure;
}

main figure figcaption {
	color: azure;
	font-size: 12;
	text-align: right;
	font-weight: 100;
	padding: 5px 10px;
}

main a figure figcaption {
	position: absolute;
	background-color: black;
	color: white;
	opacity: 0.7;
	left: 10px;
	top: 10px;
	font-size: 16;
	font-weight: 400;
}

main .contactus {
	color: white;
	text-decoration: none;
	line-height: 1.5em;
	max-width: 300px;
	margin: auto;
}

main .contactus address {
	text-decoration: none;
	font-style: normal;
	margin-bottom: 40px;
}

main .contactus a {
	color: deepskyblue;
	text-decoration: none;
}

.diglargeimg {
	max-width: 640px;
	margin: auto;
	padding: 5px;
	position: relative;
}

.diglargeimg img {
	max-width: 100%;
	max-height: 100%;
	border: 1.5px solid azure;
}

.diglargeimg .diglargeimgbef {
	position: absolute;
	left: 15px;
	top: 15px;
	z-index: 1;
	background-color: black;
	opacity: .7;
	color: white;
	font-size: 20px;
	padding: 1px 5px;
}

.diglistcontainer {
	max-width: 660px;
	margin: auto;
}

.diglist {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding 0;
	max-width: 100%;
	/* max-width: 660px;
	margin: auto;*/
}

/* .diglist ul {
	list-style: none;
} */

.diglist .digcell {
	height: 90px;
	float: left;
	margin: 3px;
	position: relative;
}

.diglist .digtext {
	position: absolute;
	left: 5px;
	top: 5px;
	color: azure;
	/*z-index: 1;*/
	background-color: black;
	opacity: .7;
	padding: 0px 2px;
}

.diglist .digcell img {
	max-width: 100%;
	height: 90px;
	border: 1px solid azure;
	cursor: pointer;
}

object, object html {
	height: 100%;
}

.galleryobj {
	height: 100%;
}

footer {
	text-align: center;
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: white;
	border-top: 4px solid slategray;
	padding: 1em;
}
