html {
  color: #FFF;
  font-size: 16px;
  line-height: 1.4;
  font-family: 'Open Sans', sans-serif;
}

body {
	
 overscroll-behavior: contain;	
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

header, footer{
	background-color: #000;
	width: 100%;
	height:100px;	
}

header nav {
	display:block;
	width:800px;	
	margin: 0 auto;		
	text-align:center; 	
	padding-top:32px;
}

header nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	text-align:center;
}

header nav ul li {
	margin-right:140px;	
	font-size:24px;	
	display:inline;
}
header nav ul li:last-child{
	margin-right:0px;
}

header nav ul a {
	text-decoration: none;
	color:#cbcbcb;
	display:inline-block;
	letter-spacing: 2px;
	font-family: 'Oswald', sans-serif;
}

header nav ul a:hover {
	text-decoration: underline;
}

header nav ul .nav-path-selected a {
	text-decoration: underline;
}

footer {
	height: 50px;
}

footer div {
	color:#cbcbcb;
	font-size:14px;	
	text-align:center;
}

.footer-small div {
	padding-top:14px;
}

.footer-large div {	
	color:#000;
}

h1 {
	font-size:28px;
	letter-spacing: 1px;
}


/* ==========================================================================
   Custom styles
   ========================================================================== */
header .header-container {
}
   
header .logo {
	float:left;
}  

.copyright-large {
	padding:0 0 15px 0;
}

.block-container {
	height:100%;	
}

.grid {
	overflow:hidden;
	margin:10px 0 10px 0;
}

.grid-item { 
	width: 33.333333333%; 
	overflow:hidden;
}

.grid-item img {
	width:100%;
	height:100%;
	  -webkit-transition: all 700ms linear;
    -moz-transition: all 700ms linear;
    -o-transition: all 700ms linear;
    -ms-transition: all 700ms linear;
    transition: all 700ms linear;	
}

.grid-item:hover img{
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);	
}

.grid-item .grid-frame {
	padding:0;
	margin: 5px;
}

.grid-item .grid-mask {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #FFF;
    opacity: 0;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}    

.grid-item:hover .grid-mask{
    opacity:.8;
}

.grid-text-projectname {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 55%;
    opacity: 0;
    z-index: 2;
    -o-transition: .3s;
    -ms-transition: .3s;
    -moz-transition: .3s;
    -webkit-transition: .3s;
    transition: .3s;	
	font-size: 16px;
	color:#000;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.grid-item:hover .grid-text-projectname {
    opacity: 1;
    top: 50%;
    margin-top: -6px;
}

.grid-frame {
	overflow:hidden;
}

.content-container, .overlay-content-text {
	color: #000;
	width: 960px;
	margin: 40px auto;
	
}
.content-container img {
	width:100%;
	height:100%;
	margin-bottom:20px;
}

.content-text-normal {
}

.content-text-special {
}

.footer-bg img {
	height: auto;
    width: 100%;
}


.footer-text {
	background-color: #000;
    text-align: center;
    line-height: 1.2;
    padding-top: 40px;
	color:#cbcbcb !important;
}

.footer-header {
	font-size: 28px;
	font-weight:bold;
	color:#cbcbcb;
	margin-top:14px;
}

.overlay {
	position: absolute;
    width: 100%;
	top: 0;
	left: 0;
	z-index: 20;
}

.overlay-content { 	
	width:100%;
	background-color: rgb(255,255,255);
	background-color: rgba(255,255,255,0.85);
	overflow-x: hidden; 	
}

.overlay-menu {
	background-color: rgba(255,255,255,1);
	height:75px;	
	width:100%;
	color:#000;
	font-size: 50px;
	text-align:center;	
}

.overlay a {
	text-decoration: none;
}

.overlay-top, .overlay-bottom, .overlay-left, .overlay-right {
	background-color: rgb(0,0,0);	
}

.overlay-top, .overlay-bottom {
	height:30px;
	width:100%;
}

.overlay-left, .overlay-right {
	width:30px;
	height:100%;
	position:fixed;
	top: 0;
	z-index: 21;
}

.overlay-top {	
}

.overlay-bottom {
}

.overlay-left {
	left: 0;	
}

.overlay-right {	
	right: 0;
}
 
.logo {
	position:absolute;
	left:30px;
	top:15px;
}

.subtext-logo {
	font-size: 30px;
	position:fixed;
	bottom:20%;
	text-align:center;
	width:100%;
	color:#cbcbcb;
	letter-spacing: 2px;
}

.robototext {
		font-family: 'Roboto', sans-serifz;
}
	
	
.container .error {
	text-align: center;
	color: #000;
	padding-top: 200px;
	height: 400px;
}	


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .centered {  
 display: table; margin: 0 auto;
 }
 
.hidden,
[hidden] {
  display: none !important;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}


@media only screen and (max-width : 1165px) {
	header nav ul li {
		margin-right:100px;		
	}
}


@media only screen and (max-width : 1000px) {
	header nav ul li {
		margin-right:50px;		
	}
	
	.content-container, .overlay-content-text {   
		width: 95%;
		margin: 40px 0;
		margin-left: 10px;
	}
}

@media only screen and (max-width : 800px) {
	
	header nav {		
		width: auto;
		float:right;
		margin-right:50px
	}
	
	header nav ul li {
		margin-right:30px;		
	}
}



@media only screen and (max-width : 570px) {
	
	header {
		height: 130px !important;
	}	
	
	header nav  {
		margin-top: 0px;
		padding-top: 0px;	
		font-size:22px;		
		margin-right:0px;
		float:none;
	}
	
	header  img {	
		display: block;
		margin: 0 auto;
		height:60px;
	}
	
	.logo {
		width: 100%;
		padding-top: 15px;
		top: auto;
		left: auto;
		position: relative;
		display:block !important;
	}
	
	.grid {
		height: auto !important;
		margin: 5px 0 5px 0;
	}
	
	.grid-item {
		width: 100%;
		/* overflow: hidden; */
		position: relative !important;
		left: auto !important;
		top: auto !important;
	}
}

@media only screen and (max-height : 360px) {
	
	header {
		height: 60px !important;
	}	
	
	header nav  {
		margin: 0 0 0 0 !important;		
		padding-top:12px !important;	
	}
	

	header nav ul {
		margin: 0 0 0 0 !important;
	}
	
		
	.logo {
		display:block !important;
		float:left;
		position: absolute;
		left:0;
		top:5px;
				
	}
	.logo img {
		height:50px;
	}

}

 @media only screen and (max-width : 600px) and (min-height : 500px) {	

 }




/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

