.j51news {
  margin: 0 auto;
  text-align: left;
}
.j51news .newsitem {
  display: inline-block;
  box-sizing: border-box;
  padding: 10px;
  vertical-align: top;
}

.j51news figure {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  margin: 0;
  background-color: #fff;
  overflow: hidden;
}
.j51news figcaption {
  display: flex;
  flex-direction: column;
  padding: 20px 25px 10px;
}
.j51news .newsimg {
  flex: 1 0 auto;
  position: relative;
  overflow: hidden;
}
.j51news .newsimg img {
  width: 100%;
}
.j51news .newsdate {
  font-size: 0.8rem;
  line-height: 0.5rem;
  opacity: .6;
  margin-bottom: 8px;
}
.j51news h3 {
  margin-top: 0;
}
.j51news p {
  margin-bottom: 20px;
}
.j51news-btn {
  display: block;
  margin: auto -25px -10px;
  padding: 13px;
  border-radius: 0;
}
.j51news .tags {
  position: relative;
  z-index: 1;
}
.j51news .newslink {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.j51news .hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  opacity: 0;
  transition: opacity linear .2s;
}
.newsitem:hover .hover-overlay  {
  opacity: .7;
}

.j51news .link-icon-outer {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.j51news .link-icon {  
  height: 38px;
  width: 38px;
  transform: scale(.5);
  transition: transform ease .3s;
  opacity: 0;
}
.j51news .link-icon {
  fill: #fff;
}
.newsitem:hover .link-icon {
  transform: scale(1);
  opacity: 1;
}

@keyframes bounceIn {
  0%{
    transform: translate3d(0,100%,0);
  }
  100%{
    transform: translate3d(0,0,0);
  }
}
@keyframes bounceOut {
  0%{
    transform: translate3d(0,0,0);
  }
  100%{
    transform: translate3d(0,100%,0);
  }
}

.j51_news_layout_col-c-i figure {
  flex-direction: column-reverse;
}
.j51_news_layout_row-i-c figure {
  flex-direction: row;
}
.j51_news_layout_row-c-i figure {
  flex-direction: row-reverse;
}
.j51_news_layout_row-i-c .newsimg,
.j51_news_layout_row-c-i .newsimg {
  border-bottom: 0 none; 
}
.j51_news_layout_row-i-c .newsimg a,
.j51_news_layout_row-c-i .newsimg a {
  display: flex;
  height: 100%;
  width: 100%;
}
.j51_news_layout_row-i-c .newsimg img,
.j51_news_layout_row-c-i .newsimg img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}