.search-result {
  padding: 35px 0 25px;
}
.search-result #title-es{
  position: relative;
}
#title-es h2{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
.heading-Alt{
  height: 100px;
} 
.search-list.views-infinite-scroll-content-wrapper .row-search:first-child{
  margin-top: 139px;
}
.wrapper-count{
  margin-top: 1rem;
}
.wrapper-count h5 strong{
  color: #000000;
  font-size: 14px;
}
#facet-custom{
   position: absolute;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    top: 411px;
    left: 0;
    right: 0;
    z-index: 10;
    margin-top: 1rem;
  }
  #facet-custom .nav-tabs{
    border-bottom: none;
  }
  .facet-item.active{
    border-bottom: 2px solid #cccccc;
  }
  .facets-widget-links .facet-item__value{
    text-transform: capitalize;
    color: #555;
  }
  .facets-widget-links .facet-item__count
  {
    color: #555;
  }
  .search-result .heading-Alt {
    margin: 0 0 15px !important;
  }
  .search-result .heading-Alt h5 {
    margin: 0 !important;
  }
  .row-search{
    display: flex !important;
    flex-direction: column;
    margin-bottom: 10px !important;
  }
  .row-search .views-field-title{
    order:1;
    margin-bottom: 10px;
  }
  .row-search  .views-field-field-keyword{
    order:2;
  }
  .views-field-title .field-content a{
    color: #0f2236;
    margin-top: 10px;
    font-size: 22px;
  }
  .views-field-field-keyword .field-content{
    color: #0f2236;
    letter-spacing: 0.02rem;
    font-size: 16px;
  }

/*-----------------------------------------------------------------------*/
/*             Landscape phones and portrait tablets - 767px             */
/*-----------------------------------------------------------------------*/

@media (max-width: 767px)
{  
  #facet-custom{
    top: 327px;
  }
  .search-result #title-es {
    height: 100%;
  }
  #title-es h2{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
  }
  #title-es h2 span{
    font-size: 18px;
  }
  .wrapper-count h5 strong{
    font-size: 14px;
  }
  .search-list.views-infinite-scroll-content-wrapper .row-search:first-child {
    margin-top: 135px;
  }

}

/*-----------------------------------------------------------------------*/
/*             Portrait tablets and small desktops - 768px               */
/*-----------------------------------------------------------------------*/

@media (min-width: 768px) and (max-width: 991px) 
{
  #title-es h2 span{
    font-size: 18px;
  }
  #title-es h2{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
  }
  .wrapper-count h5 strong{
    font-size: 14px;
  }
  #facet-custom{
    top: 327px;
  }
  #title-es {
    height: auto;
  }
  .search-list.views-infinite-scroll-content-wrapper .row-search:first-child {
    margin-top: 135px;
  }
}

/*-----------------------------------------------------------------------*/
/*                       IPAD Pro - Landscape                            */
/*-----------------------------------------------------------------------*/

@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1.5) 
{

  #title-es h2 span{
    font-size: 18px;
  }
  .wrapper-count h5 strong{
    font-size: 14px;
  }
  #facet-custom{
    top: 423px;
  }
  .search-list.views-infinite-scroll-content-wrapper .row-search:first-child {
    margin-top: 151px;
  }
}