html, body, h1, h2, h3, h4, ul, ol, li, p, a, div {
  padding: 0;
  border: 0;
  margin: 0;
  font: inherit;
  font-size: 100%;
}

body {
	font-family: 'work sans', serif;
	background-color:#28292B;
}

html, body, {
  height:100%;
}

/*h1 {	
	font-size: 40px;
	text-align: center;
	font-family: 'Roboto', sans-serif;
	font-weight:100;
	
}*/


* {
    box-sizing: border-box;
}



.main-header {
    position: relative;
}

main-section {
	display: flex;
	flex-wrap: wrap;
	
	
}

.gdd {
  /* position: absolute;*/
    padding-bottom: 5%;
	margin-left:19.75%;
	padding-top:10%;
    font-size: 2.5em;
	top: 50%;
  	letter-spacing: 5pt;
    /*right: 50%;*/
    bottom: 10%;
    /*transform: translate(-20%, -20%);*/
	font-family: 'work sans', sans-serif;
	font-weight:100;
	color:#969696;
	text-transform: uppercase;
}	

/*.main-header img { 
    width: 100%;
    height: 10%;
    opacity: 0.5;
	margin-bottom: 1%;
}*/


.about-section {
	
	
	width: 450px;
	position: relative; left:20.9999%; top:0;
	padding-top: 3px;
}

.about-section p {
	line-height: 1.5em;
	font-weight: 100;
	color: #D7D7D7;
}

.reslink {
	text-decoration: none;
	color:#717171;
	transition: color 1s ease;
}

.reslink a:hover {
		color: #64889F;
}



p {
	font-family: roboto, sans-serif;
	font-size: 1em;
	font-weight: 300;
	padding-bottom: 2%;
	color: #717171;
	line-height: 1.1em;
}


.nav-group {
	display: flex;
}

.nav {
	position: absolute; left:0;
	/*background-color: white;*/
	height: 70%;
	border-right: 1px dotted #666;
	text-align:right;
	display:inline-block;
	/*float:left;*/
	
	width: 19.99999%;
	padding-right: 1%;
	margin-right: 1%;
	padding-bottom:30%;
	
	
}

.nav li {
	list-style-type: none;
	/*display: inline;*/
	/*margin: 0 auto 0 auto;*/
	padding-bottom: 2%;
	padding-top: 1%;
	padding-right: 2%;
	/*margin-bottom: 2%;*/
	display: block;	
	/*background: #000000;*/
}

.nav a {
	text-decoration: none;
	font-family: 'Roboto', sans-serif;
	font-size: .85em;
	font-weight:900;
	letter-spacing: 1pt;
	transition: color 1s ease;
 	color:#717171;
}


.nav a:hover {
	color: #64889F;
}
	

.gallery {
	width:80%;
	/*display: flex;
	flex-wrap: wrap;*/
	position: relative; left:20.9999%; top:0;
	padding-right: 2%;
	
}

/*.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

.card .thumb:hover .overlay {
  opacity: 1;
}

.imgtext {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
*/
div.thumb img {
    flex-shrink: 2;
    max-height: 175px;
	flex-basis: auto;
	
}

div.thumb-ins img {
    flex-shrink: 2;
    max-height: 225px;
	flex-basis: auto;
}

div.sign-thumb img {
    flex-shrink: 2;
    max-height: 300px;
	flex-basis: auto;
	
}

.overlay {
  position: relative;

  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

.thumb:hover .overlay {
  opacity: 1;
}

.hovtext {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

/*div.desc {
    padding: 15px;
    text-align: center;
	
	margin-top:0;
}*/


.card {
	/*background-color:#E5E5E5;*/
    margin: 0% 1% 1% 0%;
	/*display:inline-block;*/
    /*float: left;*/
/*    width: 24.99999%;*/
	/*font-family: Arial, Helvetica, sans-serif;*/
	vertical-align:top;
	display: inline-flex;
	font-size: 8pt;
	color:#090;
	font-variant: all-caps;
}



.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

footer {
	position: absolute; bottom:0;
	display: block;
	float: bottom;
	padding-left: 20.9999%;
	padding-bottom: 2%;
}



footer p {
	font-family: 'work sans', sans-serif;
	font-size: .5em;
	color: #98A5A1;
	text-transform: uppercase;
}

@media (max-width : 700px ){
    
	/*body {
		display:flex;
		flex-direction: column;
	}*/
	.gallery {
		width: 50%;
		position: relative; left:30.9999%; top:0;
	}
	
	.nav {
		width: inherit;
		
	}
	
		.nav li {
		width: 100%;
		margin-left: 5%;
	}
	
	
	div.thumb img {
		width: 100%;
		max-height: inherit;
		flex-direction: column;
		flex-basis: auto;
	}
	
	.about-section {
		width: 75%;
	}
	
}	


.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

@media (max-width : 480px ){
    
	/*body {
		display:flex;
		flex-direction: column;
	}*/
	.card {
        width: 100%;
		height: inherit;
		
    }
	.nav {
		margin: 0 auto 0 auto;
		width: 100%;
		text-align: center;
		padding-bottom:10px;
		display: block;
		position: relative;
		border-right: none;
		
	}
	
	.nav li {
		display: block;
		width: 100%;
		font-size: 1em;
		padding-left: 2%;
		padding-right: 2%;
		margin: 0 auto 0 auto;
	}
	
	.gdd {
		position:relative;
		font-size: 2em;
		margin: 0 auto 0 auto;
		text-align: center;
	
	}
	
	div.thumb img {
    width: 100%;
	max-height: inherit;
    flex-direction: column;
	flex-basis: auto;
	}	
	
	div.thumb-ins img {
    width: 100%;
	max-height: inherit;
    flex-direction: column;
	flex-basis: auto;
		margin: 0 auto 0 auto;
	}	
	
	
	div.sign-thumb  img {
    width: 100%;
	max-height: inherit;
    flex-direction: column;
	flex-basis: auto;
		margin: 0 auto 0 auto;
	}	
	
	.gallery {
		display: flex;
		flex-direction: column;
		width:100%;
		position: relative; left:0;
		padding-left: 2%;
		padding-right: 2%;
	}
	
	footer {
		position: relative; bottom:0;
		padding-left: 0;
		text-align: center;
		font-size:1.5em;
	}
	
	.about-section {
		
		width:85%;
		margin-left: 10%;
		margin-right: 10%;
		font-size: 1em;
		position: relative; left:0; top:0;
	}


.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
}


}
