body{
  user-select: none;
}
#grid
{
  height: 35vw;
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 1vw;
}
::-webkit-scrollbar-thumb {
  background: #0270a2;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px black;
  border-radius: 10px;
}
.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}
.column img {
  margin-top: 2vh;
}
.photoClass
{
  margin: 1vw;
  background-color: #c3d4e3;
  border-radius: 1vw;
}
.imgDiv
{
  padding: 0 1vw;
}
.imgClass
{
  object-fit: contain;
}
.subDiv
{
  background-color: burlywood;
  border-radius: 1vw;
}
.msgClass{
  margin-top: -3vh!important;
  transform: rotate(-8deg);
}
.nameClass
{
  margin: 1vh 0;
  font-family:'Times New Roman', Times, serif;
  font-weight: bold;
  padding: 0 1vw;
  font-size: 1.5vw;
}
.noPadding
{
  padding: 0%!important;
}

.modal 
{
   
    display: none; 
    position: fixed; 
    z-index: 1;
    padding-top: 20vh;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
}
.overlay
{
  z-index: 10;
  background-color: rgba(0,0,0,0.5);
}
.modal-content
{
  margin-top: 25vh;
	background-color:rgba(38, 59, 95, 0.611764705882353);
	box-shadow: 17px 25px 14px rgb(0, 0, 0), inset -98px 0px 100px rgb(38, 59, 95);
	border: 4px solid white;
}    
.closed {
  opacity: 1 !important;
  margin: 2vw!important;
  font-size: 3vw!important;
}
#viewPhotoDiv
{
  margin-top: 5vh;
}

.prev, .next , .closed {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 1vw;
  color: #f3f4f5 !important;
  font-weight: bold;
  font-size: 4vw;
  user-select: none;
  box-shadow: none !important;
}
.prev:hover, .next:hover ,.closed:hover{
  background-color: rgba(0,0,0,0.8);
  text-decoration: none;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 600px) {
  .column {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}
@media screen and (max-width: 800px) {
  .column {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}