* {
  box-sizing: border-box;
  background-color: #333;
  padding: 0px;
}

:root {
  height: auto;
}

body {
  font-family: "Lato", sans-serif;
  margin: 0px;
}


/* Close button */
.close {
  position: absolute;
  top: 5px;
  right: 20px;
  color: #bdb9b9;
  font-size: 30px;
  font-weight: bold;
  transition: 0.3s;
     background-color: white;
}

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

/* Prev / Next controls */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 35px;
  right: 20px;
  width: auto;
  padding: 0px;
  margin-top: 0px;
  color: #7caae6;
  font-weight: bold;
  font-size: 24px;
  user-select: none;
  -webkit-user-select: none;
 /* background: rgba(0,0,0,0.2); */
 background-color: white;
  border-radius: .1px;
}

/* Prev / Next controls 
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  margin: 0px;
  width: auto;
  padding: 0px;
  margin-top: 0px;
  color: #7caae6;
  font-weight: bold;
  font-size: 24px;
  user-select: none;
  -webkit-user-select: none;
 /* background: rgba(0,0,0,0.2); */
 /*
 background-color: white;
  border-radius: .1px;
}
*/

.prev:hover, .next:hover { background: rgba(255,255,255,0.08); }
.prev { left: 20px; }
.next { right: 20px; }

/* Zoom animation */
.modal-content, #caption {
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.4s;
  animation-name: zoom;
  animation-duration: 0.4s;
}

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


img {
  display: block;
  color: rgba(8, 8, 8, .5);
  filter: drop-shadow(4px 4px 3px);
  /* Removed auto-centering so global images don't force horizontal centering.
     Column-specific rules control image alignment inside the gallery. */
  margin: 0;
  height: auto;
}

/* Classes */
.button {
  float: right;
}

.banner {
  float: left;
}



.block {
  display: block;
  width: 100%;
  border: none;
  background-color: #333;
  color: #999;
  padding: 14px 28px; 
  font-size: 16px;
  cursor: pointer;
  text-align: center;
}

.block:hover {
  background-color: #666;
  color: white;
}

.button {
  background-color: #333;
}

.clearfix {
  overflow: auto;
}

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

/* Create four equal columns that sits next to each other */
.column {
  -ms-flex: 20%; /* IE10 */
  flex: 20%;
  max-width: 90%;
  padding: 0 0px;
  /* layout children vertically; align children at the left so single items on a wrapped
     row begin on the left edge instead of being horizontally centered */
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  /* ensure there's some height to allow vertical centering */
  min-height: 220px;
}

/* Ensure images scale and are centered inside their flex column */
.column img {
  display: block;
  max-width: 100%;
  max-width: 144px;
  /* Allow the column to control horizontal placement; re-center images on small screens
     in the media query below. */
  margin-left: -80px;
}

/* Small-screen and other media queries have been moved to CSS/media_queries.css */

.header {
  text-align: center;
    margin-top:0px;
  padding: 0px;
  font-family: helvetica;
  color: teal;
  font-size: 36px;
}

/* Modal gallery styles moved from HTML/paintings.html */
#myModal.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stick to viewport */
  z-index: 9999; /* Sit on top */
  top: var(--topnav-height, 0px);
  left: -140px;
  right: 0;
  width: 95%;
  height: calc(auto - var(--topnav-height, 48px));
  overflow: auto; /* Allow scrolling inside modal if content is tall */
  background-color: rgba(0,0,0,0.9); /* dark overlay */
  background-color: white;
}

/* Modal Content (image) */
.modal-content {
  margin: 24px auto;
  margin-right
  display: block;
  max-width: 900px;
  width: calc(95% - 150px);
  background-color: transparent;
  text-align: center;
  color: #ccc;
  padding: 0px 0;
  bottom:30px;
}

.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 0px;
    margin-top: 0px;
    /* Use valid flexbox alignment keywords so wrapped rows start at the left */
    align-items: flex-start;
    align-content: flex-start;
    justify-content: flex-start;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: black;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 8px;
  text-decoration: none;
  font-size: 16px;
  background-color: #000;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: white;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  background-color: #666;
}

/* Close button hover state: make the × blue for better affordance */
.sidenav .closebtn {
  /* ensure close button text has a default color and a smooth transition */
  color: #666;
  transition: color 120ms ease;
  background-color: black;
}

/* On hover only change the × color; keep the background the same */
.sidenav .closebtn:hover {
  color: white; /* blue */
  cursor: pointer;
}

.top {
margin-top: 0;        
}

.text {
 margin:10px;
 font-family: Helvetica;
 text-align: center;
 color: #999; 
}

.topnav-right {
  float: right;
}

/* Id markers */

#hrunderleftnavhead {
  /* Make the hr span the full left-nav iframe/window edge.
     Some leftnav variants add an inline margin-left (20px) to the header; compensate here so
     the rule visually reaches the left edge without changing each HTML file. */
  display: block;
  width: calc(100% + 20px);
  margin-top: 0px;
  margin-right: 0px;
  margin-left: -20px; /* compensate for inline margin-left in leftnav.html */
  padding: 0;
  border: none;
  border: 0pt solid red;
  box-sizing: border-box;
}




#leftframe {
 width: 20px;
}

#myspan {
z-index: 2;
}

#overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  z-index: -2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}

/* Slide label used under thumbnails in paintings.html */
.slidelabel, #slidelabel {
  font-size: 12px;
  text-align: center;
  position: relative;
  top: 10px;
  z-index: 1;
  color: rgb(146, 141, 141);
  padding: 5px;
}


   


