@import url(https://fonts.googleapis.com/css?family=Noto+Sans:400,700);

.rss-widget-feed-list-container ul {
  padding: 0;
  margin: 0;
}

#rss-widget-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#rss-widget-error {
  font-size: 16px;
  padding: 20px 0;
  text-align: center;
}

#rss-widget-container {
  text-align: left;
  padding: 0;
  border-bottom: 1px solid #dddddd;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #ffffff;
  color: #333333;
  overflow: hidden;
  font-family: 'Noto Sans', Helvetica, sans-serif;
}

#rss-widget-header {
  background-color: #618025;
  padding: 15px;
}

.rss-widget-header-title {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: normal;
}

.rss-widget-header-title-link {
  display: flex;
  text-decoration: none;
}

.rss-widget-feed-list-container {
  overflow-y: auto;
  border: 1px solid #dddddd;
}

.rss-widget-feed-list-item {
  padding: 15px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #dddddd;
  position: relative;
  display: flex;
}

.rss-widget-feed-list-item__sm-width {
  flex-direction: column-reverse;
}

.rss-widget-feed-list-item:hover {
  background-color: #f6f6f6;
}

.rss-widget-feed-image-container {
  margin-right: 15px;
  order: 0;
  height: 100px;
  width: 118px;
  background: #ddd;
}

.rss-widget-feed-image-container__sm-width {
  margin-right: 0;
  margin-top: 15px;
  height: 130px;
  width: 100%;
}

.rss-widget-feed-image {
  width: 100%;
  height: 100px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.rss-widget-feed-image__sm-width {
  width: 100%;
  height: 130px;
}

.rss-widget-feed-content-container {
  overflow: hidden;
  padding-left: 0;
  order: 1;
  flex-basis: 100%;
}

.rss-widget-feed-content-title {
  font-size: 16px;
  margin: 0;
  font-weight: 700;
}

.rss-widget-feed-content-title a {
  text-decoration: none;
  color: #618025;
  outline-color: inherit;
}

.rss-widget-feed-content-title a::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
}

.rss-widget-feed-content-description {
  font-size: 14px;
  display: inline-block;
  word-wrap: break-word;
  min-height: 38px;
  position: relative;
  height: 38px;
  overflow: hidden;
  margin: revert;
}

.rss-widget-feed-content-description:after {
  content: '';
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20%;
  height: 1.2em;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%);
}

.rss-widget-feed-list-item:hover .rss-widget-feed-content-description:after {
  background: linear-gradient(to right, rgba(246, 246, 246, 0), rgba(246, 246, 246, 1) 50%);
}

@supports (-webkit-line-clamp: 2) {
  .rss-widget-feed-content-description {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .rss-widget-feed-content-description:after {
    display: none;
  }
}

.rss-widget-feed-content-date {
  display: block;
  margin: 0;
  margin-top: 4px;
  padding: 0;
  color: #666;
  font-size: 14px;
  text-align: right;
}

#rss-widget-container .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
