/**
 * Media Queries
 */
/**
 * Colors
 */
/**
 * Fonts
 */
/**
 * Fade Down Animation
 */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.news-posts {
  background-color: #126459;
  padding-bottom: 60px;
  position: relative;
}
.news-posts:before,
.news-posts:after {
  background-color: #126459;
  content: "";
  height: 100%;
  position: absolute;
  top: 0px;
  width: 50%;
}
.news-posts:before {
  right: 100%;
}
.news-posts:after {
  left: 100%;
}
.news-posts .block-title-wrap {
  padding: 50px 0px;
  position: relative;
}
@media only screen and (max-width: 782px) {
  .news-posts .block-title-wrap {
    padding: 0;
    margin-bottom: 20px;
  }
}
.news-posts .block-title-wrap:after {
  background: #ffffff;
  bottom: 0px;
  content: "";
  height: 2px;
  margin-top: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
}
@media only screen and (max-width: 782px) {
  .news-posts .block-title-wrap:after {
    margin-top: 16px;
  }
}
.news-posts .block-title-wrap h2 {
  background-color: #126459;
  color: #ffffff;
  display: inline-block;
  padding-right: 30px;
}
@media only screen and (max-width: 782px) {
  .news-posts .block-title-wrap h2 {
    padding-right: 20px;
  }
}
.news-posts .news-items-wrap {
  display: flex;
  flex-wrap: wrap;
}
.news-posts .news-items-wrap .news-item {
  width: 100%;
  margin-bottom: 40px;
}
@media only screen and (min-width: 768px) {
  .news-posts .news-items-wrap .news-item {
    margin-bottom: 60px;
    margin-left: 2%;
    width: 49%;
  }
  .news-posts .news-items-wrap .news-item:nth-child(odd) {
    margin-left: 0px;
  }
}
.news-posts .news-items-wrap .news-item a {
  text-decoration: none;
}
.news-posts .news-items-wrap .news-item a:hover .img-wrap img,
.news-posts .news-items-wrap .news-item a:focus .img-wrap img {
  transform: scale(1.05);
}
.news-posts .news-items-wrap .news-item a:hover .img-wrap .title-wrap:after,
.news-posts .news-items-wrap .news-item a:focus .img-wrap .title-wrap:after {
  width: 100%;
}
.news-posts .news-items-wrap .news-item .img-wrap {
  overflow: hidden;
  position: relative;
}
.news-posts .news-items-wrap .news-item .img-wrap img {
  display: block;
  height: auto;
  transition: all 0.3s ease;
  width: 100%;
}
.news-posts .news-items-wrap .news-item .img-wrap .title-wrap:before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  content: "";
  height: 100%;
  position: absolute;
  top: 0px;
  width: 100%;
}
.news-posts .news-items-wrap .news-item .img-wrap .title-wrap:after {
  background: #0076bd;
  bottom: 0px;
  content: "";
  height: 3px;
  position: absolute;
  transition: all 0.3s ease;
  width: 0px;
}
.news-posts .news-items-wrap .news-item .img-wrap h2,
.news-posts .news-items-wrap .news-item .img-wrap h3 {
  bottom: 0px;
  color: #ffffff;
  position: relative;
  font-family: "robotomedium", sans-serif;
  font-size: 24px;
  width: 100%;
  padding: 20px;
}
@media only screen and (max-width: 767px) {
  .news-posts .news-items-wrap .news-item .img-wrap h2,
  .news-posts .news-items-wrap .news-item .img-wrap h3 {
    margin-top: 0;
  }
}
@media only screen and (min-width: 768px) {
  .news-posts .news-items-wrap .news-item .img-wrap h2,
  .news-posts .news-items-wrap .news-item .img-wrap h3 {
    left: 0px;
    padding: 20px 20px 20px 30px;
    position: absolute;
  }
}
.news-posts .news-posts-link {
  margin: auto;
  text-align: center;
}
.news-posts .news-posts-link a {
  background-color: #0076bd;
  border-color: #0076bd;
}
.news-posts .news-posts-link a:hover,
.news-posts .news-posts-link a:focus {
  border-color: #0066a4;
  background: #0066a4;
}
.news-posts .news-posts-link a:after {
  color: #ffffff;
  font-size: 20px;
}
