@import url('//cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css');
@import url('//cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css');

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

.slick-next:before, .slick-prev:before {
    color: #c0c0c0;
}

.slick-list {
  padding-left: 30px;
}

.slick-dots {
  bottom: 0px;
}

.slick-track
{
    display: flex !important;
}

.slick-slide
{
    height: inherit !important;
}
.slick-slide>div {
  height: 100%;
}

.resourceheader {
  display:flex; 
  align-items:center;
  border-top: 1px solid #eaeaea;
  padding: 32px 30px 10px;
}

.resourceheader h2 {
  margin: 0px;
}

.resource_subheader {
 font-size: 18px;
 font-weight: normal;
  padding: 0px 30px;
  font-family: Avenir,'Nunito',sans-serif;
}
.resourceimg {
  width: 100%;
}

.resource-read-more {
  color: #335F83;
  font-family: Avenir,'Nunito',sans-serif;
  font-size: 18px;
  font-weight: 900;
  background: url("https://fs.hubspotusercontent00.net/hubfs/5345251/ResourcesPage/arrowhead.svg") no-repeat;
  background-position: 95%;
  padding-right: 30px;
  background-size: 16px 16px;
  transition: 0.3s;
}
.news-article .Grid-item: hover .resource-read-more {
  background-position: 100%;
}
.resource-see-all-link {
  color: #333333;
  font-family: Avenir,'Nunito',sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 24px;
  background-image: url("https://fs.hubspotusercontent00.net/hubfs/5345251/ResourcesPage/arrow.svg");
  background-repeat: no-repeat;
  background-size: 7px 12px;
  background-position: 90%;
  padding: 8px 32px 8px 16px;
}
.resource-see-all-link:hover {
  background-color: #f5f5f5;
  border-radius: 4px;
}

.news-article .Grid {
  display: flex;
  flex-wrap: wrap;
  justify-content:space-between;
  margin-bottom: 25px;
}

.news-article .Grid-item {
  width: 100%;
  background: #fff;
  /*margin-top: 3%;*/
  /*box-shadow: 0px 6px 11px -1px rgba(112,112,112,0.27);*/
  padding: 30px 30px 16px;
  cursor:pointer;
  box-shadow: none;
  transition: 0.3s;
}

.news-article .Grid-item: hover{
  box-shadow: 0px 6px 11px -1px rgba(112,112,112,0.27);
}

 .news-article .Grid-item:before {
  content: "";
  float: left;
  padding-top: 100%;
}

.news-article .Grid-item h2 {
  font-family: Avenir,'Nunito',sans-serif;
  font-weight: 900;
  font-size: 24px;
  line-height: 32px;
  margin: 24px 0 0 0;
  text-transform: none;  
}  
.news-article .Grid-item-wrapper{
    display: flex;
    flex-direction: column;
  height:100%;
  justify-content:space-between;
}

.news-article .Grid-item-text-box{
    flex: 1 0 auto;
  max-height:120px;
}
.news-article h2.box-grid-header{
  padding-top:60px !important;
}



@media (min-width: 541px) {
 .news-article .Grid-item{
    /*width: 48%;*/
  }
 .news-article .Grid-item:nth-child(even) {
    /*margin-right: 2%;*/
  }


}

@media (min-width: 768px) {
 .news-article .Grid-item:not(:nth-child(2n)) {
   /* margin-right: 2%;*/
  }
  

  
}

  @media(min-width:1024px){
     .news-article  .Grid-item{
      max-width:395px;
       margin-bottom: 30px;
       height: calc(100% - 30px);
  }
  .news-article  .Grid-item.has-img{
      /*max-height:366px;*/
      max-width:395px;
    }
  }
@media(min-width:1200px){
 .news-article .Grid-item{
    /*max-height:366px;*/
  }
}



