﻿.j51news {
  margin: 0 auto;
  text-align: left;
}
.j51news figure {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  margin: 0;
  background-color: #fff;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0px 10px 30px 0px rgba(50, 50, 50, 0.16);
}
.j51news figcaption {
  display: flex;
  flex-direction: column;
  padding: 7px 10px 0px;
}
.j51news .newsimg {
  flex: 1 0 50%;
  position: relative;
  border-bottom: 5px solid;
  overflow: hidden;
}
.j51news .newsimg img {
  width: 100%;
  min-height: 183px;
}
.j51news .newsitem {
  display: inline-block;
  box-sizing: border-box;
  padding: 10px;
  vertical-align: top;
  width:24%;
      float: right;
}
.j51news .newsdate {
  font-size: 0.8rem;
  line-height: 0.5rem;
  opacity: .6;
  margin-bottom: 8px;
      color: #000000;
    text-align: -webkit-center;
}
.j51news h3 {
  margin-top: 0;
  font-size: 15px;
    text-align: center;}
.j51news p {
  margin-bottom: 20px;
}
.j51news-btn {
  display: block;
  margin: auto -25px -10px;
  padding: 13px;
}
.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: .5;
}

.j51news .link-icon-outer {
  position: absolute;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.j51news .link-icon {  
  height: 44px;
  width: 44px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50%;
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMS4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbn");
  transform: translate3d(0,100%,0);
  transition: transform ease .3s;
}
.newsitem:hover .link-icon {
  transform: translate3d(0,0,0);
}

@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: 66%;
}
.j51_news_layout_row-i-c .newsimg img,
.j51_news_layout_row-c-i .newsimg img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.j51_news_layout_row-i-c .link-icon-outer {
  justify-content: flex-start;
}

