﻿@charset "utf-8";

 /* The grid: buttons */
.columnbtn {
  position: relative;
  float: left;
  width: 3%;
  height: 200px;
  padding: 4px;
  box-sizing: border-box;
}

.columnbtn img {
  position: absolute;
  opacity: 0.5;
  cursor: pointer;
  height: auto;
  width: 90%;
  max-height: 200px;
  top: 50%;                         
  transform: translate(0, -50%) ;
}

.columnbtn img:hover {
  opacity: 1;
}


 /* The grid: Four equal columns that floats next to each other */
.column {
  position: relative;
  float: left;
  width: 23%;
  height: 200px;
  padding: 4px;
  box-sizing: border-box;
}

/* Style the images inside the grid */
.column img {
  position: absolute;
  opacity: 1;
  cursor: pointer;
  height: auto;
  width: 98%;
  max-height: 200px;
  top: 50%;                         
  transform: translate(0, -50%) ;
}

.column img:hover {
  opacity: 0.7;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* The expanding image container (positioning is needed to position the close button and the text) */
.container {
  padding: 6px;
  position: relative;
  display: none;
}

/* Expanding image text */
#imgtext {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  font-size: 20px;
}

/* Closable button inside the image */
.closebtn {
	padding: 6px 6px 6px 6px;
	position: absolute;
	top: 10px;
	right: 15px;
	color: white;
	font-size: 35px;
	cursor: pointer;
	background-color: black;
	opacity: 0.4;
} 

.closebtn:hover {
	opacity: 0.8;
}