
.news-media-page h1.page-title {
    font-family: 'Yusei Magic',Helvetica,Arial,Lucida,sans-serif;
    color:#1e1e1e;
    line-height: 1.7em;
    font-size: 50px;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    border: 0;
    outline: 0;
    -webkit-text-size-adjust: 100%;
    vertical-align: baseline;
    text-align: center;
    background: transparent;
    width: 80%;
    max-width: 1080px;
    margin: auto;
    position: relative;
    background-position: 50%;
    background-repeat: no-repeat;
    padding: 2% 0;
}

.news-media-page {
    font-family: Open Sans,Arial,sans-serif;
    color: #666;
    line-height: 1.7em;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    vertical-align: baseline;
    background: transparent;
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    display: block;
}

.news-media-page #main-content {
  background: transparent;
}

.container .archive-news-media-posts {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100vw;
  position: relative;
  text-align: center;
  background-attachment: fixed;
  background-image: url(https://www.safeschoolsforalex.org/wp-content/uploads/2021/12/online-classroom-46.png);
}
.container .archive-news-media-posts article {
  flex-direction: column;
  padding: 0.8em;
}
.archive-news-media-posts article.news_media.type-news_media a.news-media-thumbnail {
  text-decoration: none;
  color: #FFF;
}
.archive-news-media-posts article.news_media.type-news_media .entry-content {
  background-color: #0257b8;
  text-align: center;
  color: #FFF;
  border: 1px solid #000;
}
.archive-news-media-posts article.news_media.type-news_media .entry-content {
  padding-top: 0;
  margin-bottom: 20px;
}
.archive-news-media-posts article.news_media.type-news_media .entry-content .entry-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  overflow: hidden;
}
.archive-news-media-posts article.news_media.type-news_media .entry-content .entry-image img {
  width: 100%;
  height: auto;
}
.archive-news-media-posts article.news_media.type-news_media .entry-content .entry-date {
  margin-bottom: 42px;
}
/* article.news_media.type-news_media .entry-content  .et_post_meta_wrapper {
  height: 86px;
} */
.archive-news-media-posts article.news_media.type-news_media .entry-content .entry-title {
  font-size: 12px;
  padding: 0.8rem;
  text-transform: capitalize;
}

.archive.post-type-archive-news-media .et_right_sidebar #main-content .container:before,
.page-template-page-media-articles .et_right_sidebar #main-content .container:before{
  width: 0 !important;
  height: 0 !important;
  margin: 0 auto;
  right: 0 !important;
}

.archive-news-media-posts article.news_media.type-news_media .bottom-text {
  font-family: Open Sans,Arial,sans-serif;
  font-size: 16px;
  color: #2ea3f2;
  padding: 2rem;
}

@media only screen and (min-width:500px) {
  .archive-news-media-posts article.news_media.type-news_media {
    width: 100%;
    max-width: 300px;
    margin-bottom: 24px;
  }
  .archive-news-media-posts article.news_media.type-news_media .entry-content {
    min-height: 300px;
  }
  .archive-news-media-posts article.news_media.type-news_media .entry-content .entry-title {
    font-size: 12px;
  }
}
@media only screen and (min-width:600px) {
  .archive-news-media-posts article.news_media.type-news_media {
    width: 50%;
    max-width: 400px;
    margin-bottom: 36px;
  }
  .archive-news-media-posts article.news_media.type-news_media .entry-content {
    min-height: 342px;
  }
  .archive-news-media-posts article.news_media.type-news_media .entry-content .entry-title {
    font-size: 14px;
  }
}
@media only screen and (min-width:720px) {
  .archive-news-media-posts article.news_media.type-news_media {
    width: 33.33%;
    max-width: 400px;
    margin-bottom: 36px;
  }
  .archive-news-media-posts article.news_media.type-news_media .entry-content {
    min-height: 342px;
  }
  .archive-news-media-posts article.news_media.type-news_media .entry-content .entry-title {
    font-size: 14px;
  }
}
@media only screen and (min-width:981px) {
  .archive-news-media-posts article.news_media.type-news_media {
    width: 33.33%;
    max-width: 600px;
    margin-bottom: 42px;
  }
  .archive-news-media-posts article.news_media.type-news_media:nth-child(1n) {
    padding-right: 2rem;
    padding-left: 0;
  }
  .archive-news-media-posts article.news_media.type-news_media:nth-child(2n) {
    padding-right: 2rem;
  }
  .archive-news-media-posts article.news_media.type-news_media:nth-child(3n) {
    padding-right: 0;
  }
  .archive-news-media-posts article.news_media.type-news_media .entry-content {
    min-height: 364px;
  }
  .archive-news-media-posts article.news_media.type-news_media .entry-content .entry-title {
    font-size: 14px;
  }
}
