 /* The Modal (background) */
.overlay-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden; /* Disables scroll */
  background-color: rgba(247, 248, 249, 0.9);
  padding-bottom: 10vh;
}

/* Modal Content/Box */
.modal-content {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 5px 20px 0 rgba(194, 194, 194, 0.2);
  margin: 10% auto; /* 10% from the top and centered */
  padding: 20px;
  width: 80%; /* Could be more or less, depending on screen size */
}

.modal-body{
  display: flex;
  justify-content: flex-start;
}

.modal-photo{
  margin-right: 32px;
  max-width: 300px;
  max-height: 300px;
}

.modal-body .details{
  display: flex;
  flex-direction: column;
  width: 70%;
}

.modal-body .details .description *{
  font-size: 14px !important;
  font-weight: 300;
  margin-top: 8px;
  overflow-y: auto;
}

/* The Close Button */
.modal-close {
  color: #8f8f8f;
  float: right;
  font-size: 32px;
  cursor: pointer;
}

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

/*/////////////////////////////*/


.tabbed-gallery-wrapper{
  display: flex;
  justify-content: space-between;
}

.tabbed-gallery-wrapper .name-list-container{
  display: flex;
  flex-direction: column;
}

.tabbed-gallery-wrapper .name-list-container .name-list-content{
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  cursor: pointer;
  width: 200px;
}

.name{
  color: #32bfc6;
  font-size: 18px;
}

.title{
  font-size: 14px;
  font-weight: 300;
}
  

.tabbed-gallery-wrapper .photo-gallery-container{
  display: flex;
  flex-wrap: wrap;
  width: 1000px;
  justify-content: center;
}

.tabbed-gallery-wrapper .photo-gallery-container .photo-container{
  position: relative;
  max-width: 300px;
  max-height: 300px;
  display: flex;
  justify-content: center;
  margin: 4px;
  cursor: pointer;
}

.tabbed-gallery-wrapper .photo-gallery-container .photo-container .photo{
  width: 100%;
  height: 100%
}

.tabbed-gallery-wrapper .photo-gallery-container .photo-container .after{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    color: #fff;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.tabbed-gallery-wrapper .photo-gallery-container .photo-container .after .name{
  color: #fff;
}

.tabbed-gallery-wrapper .photo-gallery-container .photo-container .after .title{
  margin-bottom: 16px;
}

.tabbed-gallery-wrapper .photo-gallery-container .photo-container:hover .after {
    display: flex;
    background-color: rgba(0, 0, 0, .6);
}

.tabbed-gallery-container{
  margin: 4.5em 0;
}

h2.tabbed-content-title {
  text-align: center;
}

section.tabbed-content .tab{
  overflow: hidden;
  display: flex;
  justify-content: center;
  margin-bottom: 64px;
}

/* Style the buttons that are used to open the tab content */
section.tabbed-content .tab .tablinks {
  background-color: transparent;
  border: 0px solid #ffffff;
  color: #fff;
  font-size: 1.6rem;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  margin: 0 8px;
}

/* Change background color of buttons on hover */
section.tabbed-content .tab .tablinks:hover {
  background-color: #ffffff
}

/* Create an active/current tablink class */
section.tabbed-content .tab .tablinks.active {
  background-color: #fff;
  color: white;
}

/* Style the tab content */
section.tabbed-content .tabcontent {
  display: none;
  padding: 6px 12px;
  border-top: none;
}