.page-title:before{
  content:"";
  display: inline-block;
  width: 100px;
  height: 100px;
  background-image: url('/files/public/images/tile/gallery.png');
  background-size: 100px 100px;
  margin-bottom: -10px;
  margin-right: 10px;
}

.page-gallery .view-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.page-gallery .views-row {
	position: relative;
	width: 160px;
	height: 160px;
	border: 0px solid pink;
	margin: 10px;
}
.page-gallery .image {
	position: absolute;
	border: 0px solid orange;
}

.page-gallery .image img {
  align-items: stretch;
  text-align: center;
  margin: 0;
  border-radius: 10px;
  box-sizing: border-box;
  border: 0px solid green;
}

.page-gallery .caption {
  display: block; 
  padding: 0 5px 0 5px;
  width: 160px;
  height: auto;
  position: absolute;
  bottom: 0px;
  border-radius: 0 0 10px 10px;
  text-align: center;
  white-space: normal;
  border: 0px solid blue;
  background-color: black;
  color: white;
  opacity: 0.6;
  overflow: hidden;
}

.page-gallery .caption-tooltip {
  position: relative;
  bottom: 150px;
  left: 0%;
  font-size: 0.7em;
  width: 100%;
  text-align: center;
  border-radius: 10px;
  padding: 5px;
  opacity: 0;
}

.page-gallery .image-tooltip {
  display: none;
  text-align: center;
  height: 40px;
  position: relative;
  top: -190px;
  left: 15%;
  font-size: 0.7em;
  width: 70%;
  border-radius: 10px;
  padding: 5px;
  opacity: 0;
}

.page-gallery .image-caption:hover,
.page-gallery .gallery-image:hover ~ .image-caption {
  opacity: 1;
}

.page-gallery .gallery-image:hover ~ .image-tooltip {
  opacity: 1;
  transition: 2s ease 1s;
}

.page-gallery .image-caption:hover ~ .caption-tooltip {
  opacity: 1;
  transition: 2s ease 1s;
}

.page-gallery .gallery-image:hover {
  opacity: 0.5;
  transition: 0.5s ease 0s;
}

.page-gallery .image-caption a,
.page-gallery .image-caption a:hover {
  width: 100%;
  height: 100%;
  display: block;
}

.page-gallery .field-title a {
  display: block;
  width: 160px;
  white-space: nowrap;
  overflow: hidden;
  font-style: italic;
  font-size: 0.9em;
}

.image-field-caption {
  font-family: 'GoodDog', Comic;
  font-size: 1.5em;
}
.page-gallery .views-exposed-form {
  width: 100%;
}
.page-gallery .form-radios {
  display: flex;
  justify-content: center;
}
.page-gallery .form-radios .js-form-item:last-child {
display: none;
}
.page-gallery .form-radios .js-form-item {
  margin-right: 30px;
}

.page-gallery .fieldset-legend {
  display: none;
}

@media (max-width: 560px) {
  x.page-gallery .views-row {
    width: 45vw;
    height: 45vw;
    margin: 1vw;
  }
}
