﻿.media .pagination {
  margin-top: 35px;
}
.media-container {
  /* .media-item {
        height: 310px;
        margin-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;

        @media screen and (max-width: 991px) {
            height: auto;
        }

        .photo {
            background-color: blue;
            height: 100%;
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;

            @media screen and (max-width: 991px) {
                height: auto;
                min-height: 310px;
            }
        }

        .content {
            height: 100%;
            display: table;

            @media screen and (max-width: 991px) {
                height: auto;
                min-height: 310px;
            }

            .box {
                display: table-cell;
                vertical-align: middle;
                padding: 0 0 0 45px;
            }

            .item-title {
                margin-bottom: 15px;

                a {
                    color: #333;
                    font-weight: bold;
                    font-size: 24px;
                }
            }

            .description {
                margin-bottom: 15px;
                text-align: justify;
            }

            .publish-date {
                color: #f5be75;
            }
        }
    }*/
  /*new layout style*/
}
.media-container a {
  color: #666666;
  text-decoration: none;
}
.media-container .media-item {
  display: flex;
  margin-bottom: 16px;
  background-color: #e2e2e2;
}
.media-container .media-item .date-title {
  display: flex;
  width: 115px;
  height: auto;
  text-align: center;
  flex-wrap: wrap;
  align-content: center;
  color: #666666;
}
.media-container .media-item .date-title .day,
.media-container .media-item .date-title .year {
  width: 100%;
}
.media-container .media-item .date-title .day {
  font-size: 2em;
}
.media-container .media-item .news-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 115px);
  padding: 30px 0px;
  background-color: #f2f2f2;
}
@media screen and (max-width: 600px) {
  .media-container .media-item .news-content {
    flex-wrap: wrap;
  }
  .media-container .media-item .news-content .news-title,
  .media-container .media-item .news-content .more-link {
    width: 100%;
  }
  .media-container .media-item .news-content .more-link {
    justify-content: flex-end;
  }
}
.media-container .media-item .news-content .news-title {
  padding: 0 15px;
}
.media-container .media-item .news-content .news-title .title {
  font-weight: bold;
  margin-bottom: 33px;
}
.media-container .media-item .news-content .news-title .time {
  margin-bottom: 5px;
}
.media-container .media-item .news-content .more-link {
  display: flex;
  align-items: center;
  padding-right: 30px;
}
@media screen and (max-width: 767px) {
  .media-container .media-item .news-content .more-link {
    padding-right: 15px;
  }
}
.media-container .media-item .news-content .more-link .read-more-text {
  padding-right: 10px;
  white-space: nowrap;
}
.media-container .media-item:hover .date-title {
  background-color: #d9b372;
  color: #ffffff;
}
.media-container .media-item:hover .news-content {
  background-color: #e2e2e2;
}