.component-content-four-columns .content-item {
  width: calc(25% - 17px);
  display: inline-block;
  margin: 10px 0;
  vertical-align: top;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  height: 397px;
}

.component-content-four-columns .middle-item-left {
  margin: 10px 20px;
}
.component-content-four-columns .middle-item-right {
  margin-right: 20px;
}

.component-content-four-columns img {
  height: 410px;
  width: 100%;
}

.component-content-four-columns .content-meta {
  bottom: 0;
  background-color: #F4F4F4;
  height: 160px;
  width: 100%;
}

.component-content-four-columns .content-meta .content-date {
  font-size: 15px;
  padding-left: 10px;
  padding-top: 15px;
  padding-bottom: 5px;
  color: #666666;
}

.component-content-four-columns .content-meta h3 {
  /*width: 80%;*/
  width: 97%;
  padding-left: 10px;
  margin-top: 0;
  /*font-size: 20px;*/
  font-size: 16px;
  font-weight: 800;
  max-height: 112px;
  overflow: hidden;
  text-align: justify;
}

.component-content-four-columns .content-meta .arrow-button {
  padding: 15px;
  background-color: rgb(154, 0, 39);
  position: absolute;
  right: 0;
  bottom: 0;
}

.component-content-four-columns .content-meta .arrow-button:before {
  content: url(/sites/all/themes/memrimodern/img/arrow-white.png?d=1);
  position: relative;
  top: 3px;
}

.component-content-four-columns .content-meta .link {
  font-size: inherit;
  color: inherit;
  display: -webkit-box;
  line-clamp: 7;
  overflow: ellipsis;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}

.component-content-four-columns .content-meta .link.has-author {
  line-clamp: 6;
  -webkit-line-clamp: 6;
}

.component-content-four-columns .component-footer {
  text-align: center;
  padding-top: 35px;
  padding-bottom: 65px;
  clear: both;
}

.component-content-four-columns img {
    height: 157px;
  }

  .component-content-four-columns .content-item .content-meta {
    height: 240px;
 /*   top: -53px;
    position: relative;*/
  }
  .component-content-four-columns .content-item .content-meta h3 {
    max-height: 156px;
    margin-bottom: 0;
    padding-bottom: 37px;
  }

  .component-content-four-columns .content-item .jttm-only {
	position: absolute;
	left: 0;
	bottom: 0;
	font-size: 14px;
	background-color: #e5e5e5;
	color: rgb(154, 0, 39);
	padding: 7px;
	font-weight: bold;
	padding-left: 38px;
  }

  .component-content-four-columns .content-item .jttm-only::before {
  	width: 32px;
	height: 32px;
	z-index: 99;
	display: block;
	position: absolute;
	left: 5;
	top: 5;
	content: "\f023";
	font-family: "Font Awesome 5 Free";
	font-size: 28px;
  }

@media (max-width: 1100px) {
}

@media (max-width: 1024px) {
  .component-content-four-columns .content-item {
    width: calc(33% - 17px);
    margin: 15px 0;
  }

  .component-content-four-columns .middle-item {
    margin: 15px 25px;
  }

  .component-content-four-columns .content-meta h3 {
    margin-top: 0;
    font-size: 18px;
    max-height: 99px;
  }

  .component-content-four-columns .component-footer {
    padding-bottom: 55px;
    padding-top: 45px;
  }
  .component-content-four-columns .content-meta .link {
    line-clamp: 6;
    -webkit-line-clamp: 6;
  }

  .component-content-four-columns .content-meta .link.has-author {
    line-clamp: 4;
    -webkit-line-clamp: 4;
  }
}

@media (max-width: 940px) {
  .component-content-four-columns .content-item {
    width: calc(50% - 10px);
    margin: 0;

  }
  .component-content-four-columns .middle-item {
    margin: 0;
  }

  .component-content-four-columns .left {
    margin: 10px 10px 10px 0;
  }

  .component-content-four-columns .right {
    margin: 10px 0 10px 10px;
  }

  .component-content-four-columns .content-meta h3 {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .component-content-four-columns .content-meta .content-date {
    font-size: 14px;
  }


  .component-content-four-columns .content-meta h3 {
    margin-top: 0;
  } 
  .component-content-four-columns .content-item {
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }

   .component-content-four-columns .content-item .content-meta {
    height: 180px;
  }

  .component-content-four-columns .content-meta h3 {
    font-size: 18px;
    width: 98%;
    max-height: 113px;
    line-height: 20px;
}

  .component-content-four-columns .content-meta .link {
    line-clamp: 4;
    -webkit-line-clamp: 4;
  }

  .component-content-four-columns .content-meta .link.has-author {
    line-clamp: 3;
    -webkit-line-clamp: 3;
  }

  .component-content-four-columns .content-item img {
    height: auto;
  }

  .component-content-four-columns .content-item .content-meta h3 {
    max-height: none !important;
  }
}

@media (max-width: 414px) {
  .component-content-four-columns .content-item .content-meta {
    height: auto;
  }
  .component-content-four-columns .content-item {
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .component-content-four-columns .content-meta .link {
    line-clamp: 7;
    -webkit-line-clamp: 7;
  }

  .component-content-four-columns .content-meta .link.has-author {
    line-clamp: 6;
    -webkit-line-clamp: 6;
  }

  .slick-prev, .slick-next {
    top: 23%;
  }
}

