.pattern {
  padding: 0%;
}

.list li {
  display: table;
  border-collapse: collapse;
  width: 100%;
}
.inner {
  display: table-row;
  overflow: hidden;
}
.li-img {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  padding: 2%;
}
.li-img img {
  display: block;
  width: 97.5%;
  height: auto;
}
.li-head {
  margin: 0;
}
.li-sub {
  margin: 0;
}

@media all and (min-width: 45em) {
  .list li {
    float: left;
    width: 50%;
  }
}

@media all and (min-width: 75em) {
  .list li {
    width: 30%;
  }
}

.list li {
	margin-bottom: 0.5em;
}

.post-component {
  text-align: left !important;
}

.img__description_layer {
  position: absolute;
  top: 2%;
  bottom: 2%;
  left: 2%;
  right: 0.5%;
  margin-right: 10px;
  background: rgba(36, 62, 206, 0.6);
  color: #fff;
  visibility: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  /* transition effect. not necessary */
  transition: opacity .2s, visibility .2s;
}

.img__description_layer2 {
  position: absolute;
  top: 80%;
  bottom: 2%;
  left: 2%;
  right: 0.5%;
  margin-right: 3.5%;
  padding-left: 5%;
  background: rgba(36, 62, 206, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
  transition: all 0.25s;
  text-transform: uppercase;
}

.img__description {
  text-align: center;
  transition: .2s;
  transform: translateY(1em);
  padding: 1em;
}

.img-list .block{
  display: none;
}

.img__description_layer2 a span {
  width: 80%;
  color: #FFF;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.img__description_layer2 a {
  color: #FFF;
}

.img__description_layer2 a {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  text-align: center !important;
}
.blockline {
  display: none;
}

.item-page {
 padding-top: 20px;
}