/* relevant styles */
.img__wrap {
  position: relative;
  width: 100%;
}

.img__description_layer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(256, 256, 256, 0.4);
  color: #3a3939;
  visibility: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* transition effect. not necessary */
  transition: opacity .2s, visibility .2s;
}

.img__wrap:hover .img__description_layer {
  visibility: visible;
  opacity: 1;
}

.img__description {
  transition: .2s;
  transform: translateY(1em);
}

.img__wrap:hover .img__description {
  transform: translateY(0);
}





html {
  overflow-y: scroll;
}

.vertspacer{
height: 10px;  
}

body
{
	text-align: left;
	font-size: 12px;
	font-family: 'Rubik', sans-serif;
}

a:link {
  text-decoration: none;
	font-family: 'Rubik', sans-serif;
 	color: #888888;
}

a:visited{
	color: #888888;
}

a:hover{
	color: #f2f2f2;
}


/* basics */

#textpage	{
	max-width: 600px;
}

.entry-title	{
	font-size: 13px;
	font-weight: bold;
 	text-transform: uppercase;
}

.main-navigation a {
	font-size: 13px;
	color: #888888;
	list-style: none;
  float: right;
  margin-left: 20px;
}

.main-navigation a:hover{
	color: #f2f2f2;
}

.projtitle	{
	font-size: 13px;
	font-weight: bold;
	text-transform: uppercase;
}

.pastemployees {
	color: #c1c1c1;
}

.title a {
	font-size: 12px;
	color: #888888;
	list-style: none;
}

.title a:hover{
	color: #f2f2f2;
}


#tops {
    display: block;
    position: relative;
    top: -250px;
}

.nextbutton	a{
	font-size: 11px;
	color: #888888;	
}

.nextbutton	a:hover{
	color: #f2f2f2;	
}

.credits {
	font-size: 9px;	
}


/* project list */

ul {
  list-style-type:none;
  margin: 0;
  padding: 0;
}

listing-item {
  margin: 0;
}

#fade a:link img {
   opacity: 1;
   transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
   }

	  #fade a:hover img {
      opacity: 0.5;
      }

    /* columns */

.spacehome {
  height: 0px;
}

	.testtest {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
  	right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
    /* give it dimensions */
    width: 60%;
  	z-index:0;  
 		padding-top: 150px;
    max-width: 850px;
  	min-width: 1px;
}

	.leftcol {
    flex: 0 0 250px;
	  padding: 15px;
}

	.rightcol {
    flex: 1 1 auto;
		align-content: left;
	  padding-right: 15px;
    min-width: 360px;
  	background-color: white;
}

	.rightcol a:link img {
   opacity: 1;
   transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;
   }

#projphotos img {
padding-bottom: 10px; 
   }

	.rightcol a:hover img {
      opacity: 0.5;
      }

	.homepadding {
	padding: 10px;
}


    /* header */

ul#primary-menu1 li {
  display:inline;
  padding-right: 10px;
}

	.navnav {
	min-width: 200px;
  width: 80%;
  float: left;
  padding-top: 108px;
}

	.instatop {
  float: left;
  padding-top: 81px; 
  width: 20%;
}

	.dmalogo {
	margin-top:49px
}


	.topcont {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
  	right: 0;
    left: 0;
		background-color: white;
}


.site-header {
    position: fixed;
    /* center the element */
    right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
    /* give it dimensions */
    width: 60%;
		height: 130px;
		top: 0px;
   	z-index:1;
		background-color: white;
  	max-width: 850px;
}


/* google map */

.map-black-white {
 -webkit-filter: grayscale(100%);
 -moz-filter: grayscale(100%);
 -ms-filter: grayscale(100%);
 -o-filter: grayscale(100%);
 filter: grayscale(100%);
}


/* MENU TOGGLE*/
/*
 * Made by Erik Terwan
 * 24th of November 2015
 * MIT License
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */



  .hide {
	display: none;
}




#menuToggle
{
  display: block;
  position: absolute;
  top: 30px;
  right: 30px;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #cdcdcd;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  opacity: 1;
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 250px;
  height: 1500px;
  margin: -100px 0 0 0;
  padding: 25px;
  padding-top: 125px;
  right: -150px;
  background: white;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 18px;
}

/*
 * And let's fade it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: scale(1.0, 1.0);
  opacity: 1;
}





/* GALLERY IMAGES */

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 8px;
}


/* Create three equal columns that sits next to each other */
.column {
  flex: 33%;
  max-width: 33%;
  padding-right: 16px;
}


.column img {
  vertical-align: middle;
    	min-width: 140px;
}


/* PROJGALLERY IMAGES */

.rowproj {
  display: flex;
  flex-wrap: wrap;
  padding: 0 8px;
}


/* Create three equal columns that sits next to each other */
.columnproj {
  flex: 33%;
  max-width: 33%;
  padding-right: 16px;
}


.columnproj img {
  padding-bottom: 16px;
  vertical-align: middle;
    	min-width: 140px;
}





/* Responsive layout - makes a two column-layout instead of three columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }

}

@media screen and (max-width: 1220px) {

    .columnproj {
    flex: 50%;
    max-width: 50%;
  }
}


/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}
@media screen and (max-width: 720px) {
  .columnproj {
    flex: 100%;
    max-width: 100%;
  }
}




/* MUST KEEP FOR MOBILE */

@media screen and (max-width: 575px) {
  .testtest {
    display: block;
    width: 100%;
  }
  .site-header {
    display: block;
    width: 100%;
  }
 
  .main-navigation a {
	font-size: 20px;
}
  
  .instatop a {
	display: none;
}
  
  .navspaces a {
	display: none;
}
  
  .logotop {
	display: none;
}
  
  .hide {
	display: block;
}

  .rightcol {
	padding-left: 15px;
  min-width: 1px;
}
  
  
  #primary-menu1{
	display: none;
}
  
	.dmalogo {
	margin-top:0px
}

 	.navnav {
	display: none;
}
  		
  .column {
  padding-right: 0px;
}
  
  .columnproj {
  padding-right: 0px;
}
  
  
}

