
body {
  font-family: Verdana, sans-serif;
  margin: 0;
  background-color: #000;
}

* {
  box-sizing: border-box;
}

.row > .column {
  padding: 0 8px;
}

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

.column {
  float: left;
  width: 25%;
}
/* CV Table and Links*/
.cvlink-box {
	padding-left: 10%;
	padding-right: 10%;
	padding-top: 2%;
}

.cv-table {
	width: 100%;
	color: #FFF;
	margin-left: 25px;
}

.cv-table td {
	text-align: left;
	vertical-align: text-top;
	word-wrap: break-word;
}

cv-tablespace {
	width: 50px;
}

/* Added Flexbox first*/

.artbox {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	flex-direction: row;
	background-color: #000;
	background-size: cover;
}

.artbox div {
	width: 360px;
	margin-bottom: 20px;
	margin-top: 50px;
	padding-left:10px;
	padding-right:10px;
}

.artbox img {
	padding-bottom: 20px;
	width: 100%;
}

/*Single Art Image Pages */

.artimage {
	display: block;
	max-height:80vh; 
	margin-left:auto; 
	margin-right:auto;
	max-width:100%;
	height:auto;
	width:auto;
	padding-bottom:2%;
}

.artimageh {
	display: block;
	max-height:70vh; 
	margin-left:auto; 
	margin-right:auto;
	max-width:100%;
	height:auto;
	width:auto;
	padding-bottom:2%;
}

.figure {
    margin: auto;
	max-width: 1024px;
	display: grid;
	height: 100%;
    padding: 0;
}

.figcaption {
	text-align: center;
	width: 100%
}

.figthumbs {
	display: flex;
	flex-wrap: wrap;
	flex-direction; row;
	justify-content: center;
	width: 100%;
	height: 100hv;
}

.figthumbs img {
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10%;
}

.description {
	padding-left: 8%;
}

/*Menu Under Space of Gallery */

.menuspace {
	width: 100%; 
	height: 50px;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

.modaltopbox {
	display: flex;
	flex-direction: row;
    justify-content: space-between;
	height: 35px;
	width: 100%; 
	text-align: center;
	margin-bottom: 30px;
	font-size: 35px;
	font-weight: bold;
}

.modaltopbox>span:first-child {
	float: left;
}

.modaltopbox>span:nth-child(2) {
	float: center;
}
.madaltobox>span:nth-child(3) {
	float: right;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  right: 20px;
  top: 0px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.cursor {
  cursor: pointer;
}

/* Position the "next button" to the right */
.topnext {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.topprev:hover,
.topnext:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

img {
  margin-bottom: -4px;
  width: 100%;
  height: auto;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Footer/Header Previous Next Links */
#header {
	display: flex;
	flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footprevbar {
	display:inline-block;
	white-space: nowrap;
	font-size: 1.3em;
	text-align: center;
	font-weight: bold;
	color: #ffffff;
}
.footimage {
	width: 30px; 
	height: 22px;
}

.footmenu {
	display:inline-block;
	font-size: 1.3em;
	text-align: center;
	font-weight: bold;
	color: #ffffff;
}

.copyright {
	top: 0;
	left: 20px;
	width: auto;
	text-wrap: none;
}

	@media screen and (min-width: 800px) {
		.menuspace {
			width: 100%; 
			height: 100px;
		}
	
		.modalmenuspace {
			width: 100%; 
			height: 20px;
		}
	}

	@media screen and (max-width: 580px) {
		.footprevbar {
			display: none;
		}
	}