.modal-body {
    background-image: linear-gradient(to top, #eeeeee 0%, #f3f3f3 100%);
    min-height: 100vh;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: transparent;
}

.flex-container .filter-button{
    font-size: 14px;
    border: 1px solid #AAA;
	padding:5px 20px;
    text-align: center;
    color: #3F6184;
    margin: 5px;
	background:#ffffff;
}
.filter-button:hover,
.filter-button:focus,
.filter-button.active{
    color: #ffffff;
	background-color: #1E90FF;
	outline:none;
	border: 1px solid #1E90FF;
}	

.gallery-container h1 {
    text-align: center;
    margin-top: 70px;
    font-family: sans-serif;
    font-weight: bold;
    color: #58595a;
}

.gallery-container p.page-description {
    text-align: center;
    margin: 30px auto;
    font-size: 18px;
    color: #85878c;
}

.tz-gallery {
    padding: 20px;
}

.tz-gallery .thumbnail {
    padding: 0;
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 4px;
    border: none;
    transition: 0.15s ease-in-out;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.tz-gallery .thumbnail > img {
	overflow-y: hidden;	
}	

.tz-gallery .thumbnail:hover {
    transform: translateY(-10px) scale(1.02);
}

.tz-gallery .lightbox img {
    border-radius: 4px 4px 0 0;
}

.tz-gallery .caption{
    padding: 26px 30px;
    text-align: center;
}

.tz-gallery .caption h3 {
    font-size: 14px;
    font-weight: bold;
    margin-top: 0;
}

.tz-gallery .caption p {
    font-size: 12px;
    color: #7b7d7d;
    margin: 0;
	padding-bottom: 5px;
}

.poolsize {
	display: inline-block;
    border: 1px solid #AAA;
	border-radius: 50%;
	padding:6px;
    text-align: center;
    font-size: 11px;	
}

.baguetteBox-button {
    background-color: transparent !important;
}


.btn-group button {
  background-color: #ffffff;
  border: 0px;	
  border-top: 1px solid #e8e8e8;  
  color:   #85878c;
  padding: 9px 20px; 
  cursor: pointer; 
  float: left; /* Float the buttons side by side */
  font-size: 12px !important;  
}

.btn-group button:not(:last-child) {
  border-right:	1px solid #e8e8e8;
  /* border-right: none; /* Prevent double borders */
}

/* Clear floats (clearfix hack) */
.btn-group:after {
  content: "";
  clear: both;
  display: table;
}

/* Add a background color on hover */
.btn-group button:hover {
    color: #ffffff;
	background-color: #1E90FF;
}

@media all and (max-width: 414px) {
	.tz-gallery {
	padding-left: 0px;
	padding-right: 0px;	
	} 
	.flex-container .filter-button {
    font-size: 12px !important;
	}
	.flex-container > button {
    font-size: 11px !important;
	font-weight: 200 !important;
	}	

}