
/* Style the tab */
.portfolio-tabs{
	display: flex;
	flex-direction: column;
}

.tab {
  display: flex;
 flex-direction: row;
  width: 100%;
}

/* Style the buttons inside the tab */
.tab button {
  display: block;
  background-color: inherit;
  color: #315315;
  padding: 2% 1%;
  width: 100%;
  border: none;
  outline: none;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  font-size: 17px;
  font-family: 'Ovo', serif;
	margin: auto;
	opacity: .5;	
}

/* Change background color of buttons on hover */
.tab button:hover {
  opacity: 1;
}

/* Create an active/current "tab button" class */
.tab button.active {
  opacity: 1;
  background-color: #FAF3DF;
}

/* Style the tab content */
.tabcontent {
  float: left;
  width: 100%;
  border-left: none;
}

.tabcontent p{
	width: 90%;
	margin: 5% auto;
	text-align: center;
	
}

.gallery-grid-row{
	width: 100%; 
	display:flex;
	height: auto;
}

.gallery-grid-row p{
	width: 100%;
	margin: 0;
}

.gallery-grid-column-3{
	width: 30%;
	margin: 0 auto;
}

.gallery-grid-column-2{
	width: 50%;
	margin: 0 auto;
}

.gallery-grid-column-1{
	width: 80%;
	margin: 0 auto;
	flex-direction: column;
}

.gallery-grid-column-1 iframe{
	margin: 0 5% 10% 5%;
	width: 100%;
	height: auto;
}

.gallery-grid-column-3 img, .gallery-grid-column-2 img{
	width: 90%;
	margin: 0 5% 10% 5%;
	border-radius: 8px;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(25,25,25,0.9);
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 50%;
  max-width: 1000px;
}

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

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

.mySlides {
  display: none;
}


.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.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);
}

.gallery-more{
	display:none;
}

@media only screen and (max-width: 800px) {

	.gallery-grid-row{
		display: inline !important;
		float: left;
	}
	
	.gallery-grid-column-2, .gallery-grid-column-3{
		width: 90% !important;
	}
	
}
