.my-gallery {
  width: 100%;
  float: left;
  padding-bottom: 10px;
}

.my-gallery figure {
  display: block;
  float: left;
  margin: 0 10px 10px 0;
  /*width: 240px;*/
  width: 170px;
  padding: 0;
  background: transparent;
  border: none;

  border: 1px solid #ccc;
  border-radius: 4px;

  -webkit-box-shadow: 6px 6px 29px -9px rgba(0,0,0,0.75);
  -moz-box-shadow: 6px 6px 29px -9px rgba(0,0,0,0.75);
  box-shadow: 6px 6px 29px -9px rgba(0,0,0,0.75);
}

.my-gallery figure.hidden {
    display: none;
}

.my-gallery figcaption {
  display: none;
}
.pswp__caption__center {
	text-align: center;
	max-width: 100%;
}

.my-gallery figure a {
	display: block;
	/*width: 230px;*/
  width: 170px;
  height: 170px;
	/*height: 230px;*/
	text-align: center;
	overflow: hidden;
	position: relative;
  margin: 0 auto;
}

.my-gallery figure a img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto !important;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
  max-width: none !important;
}

.my-gallery figure a img.portrait {
  width: 100%;
  height: auto;
}

p.linkShowAll {
  padding-bottom: 20px;
  clear: both;
}

p.linkShowAll a:link, p.linkShowAll a:visited {
    display: inline-block;
    padding: 2px 4px;
    background: #0D749B;
    color: #fff;
    border: 1px solid #0D749B;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 85%;
}

p.linkShowAll a:active, p.linkShowAll a:hover {
    text-decoration: underline;
}



/* Laxy loading styles */
.lazyload {
  opacity: 0;
}

.lazyloading {
  opacity: 1;
  transition: 300ms opacity;
  background: #f7f7f7 url(//afarkas.github.io/lazysizes/assets/imgs/loader.gif) no-repeat center;
  min-height: 60px;
}
