/**
 * Style sheet for the updates landing page (/updates)
 */

/****** Top Highlight Styling ******/

/*** This affects all Landing Pages ***/

.views-element-container {
  max-width: unset;
  margin: 0;
  padding: 0 20px;
}

.text-component-title {
  margin: 0 0 20px 0;
}

.preview-list-component h3 {
    font-size: 22px;
}
  
.preview-list-news-info, .preview-list-image {
    margin-bottom: 2%;
}

/****** UPDATE HIGHLIGHT STYLING ******/

.wrapper-first-image {
  height: calc((100vh - 190px)/2);
  overflow: hidden;
  position: relative;
  text-align: center;
  /* margin-bottom: 2%; */
  padding-left: 0;
  padding-right: 0;
  margin-left: calc((1140px - 100vw)/2 - 3%);
  margin-right: calc((1140px - 100vw)/2 - 3%);
}

@media only screen and (max-width: 1245px) {
  .wrapper-first-image {
    margin-left: calc((1140px - 100vw)/2 - 5%);
    margin-right: calc((1140px - 100vw)/2 - 5%);
  }
}

@media only screen and (max-width: 1140px) {
  .wrapper-first-image {
    margin-left: -4%;
    margin-right: -4%;
  }
}

.first-update {
  position: relative;
}
    
.wrapper-first-image img {
  width: 100%;
  object-fit: cover;
}
  
#block-views-block-highlights-block-1 {
  max-width: 100%;
}
  
.preview-list-title > a {
  color: black !important;
}
  
.preview-list-title > a:hover {
  color: #626262 !important;
}
  
.first-update-title {
  position: relative;
  background-color: white;
  left: 50%;
  transform: translate(-50%, -80%);
  padding: 1% 2% 1% 2%;
  width: 60%;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.50);
  text-align: center;
  overflow-wrap: break-word;
}
  
.first-update-title h1 > a {
  color: black !important;
}

.first-update-title h1 > p {
  color: black !important;
  font-size: 20px;
}
  
.first-update-title h1 > p:hover {
  color: #626262;
  text-decoration: none;
}
  
.first-update-title a {
  color: #828282 !important;
}

.first-update-title p {
  color: #828282 !important;
}

.first-update-cat a {
  text-decoration: none !important;
  color: black;
}
  
.first-update-cat a:hover {
  color: #626262;
  text-decoration: none !important;
}
  
.first-update-cat {
  margin-top: 5%;
  margin-bottom: 5%;
}

@media screen and (min-width: 768px) {
  .first-update-title {
    width: 50%;
  }
  .first-update-title h1 > p {
    font-size: 24px;
  }
}

@media screen and (min-width: 1024px) {
  .first-update-title {
    width: 50%;
  }
  .first-update-title h1 > p {
    font-size: 26px;
  }
}

@media screen and (min-width: 1200px) {
  .first-update-title {
    width: 40%;
  }
  .first-update-title h1 > p {
    font-size: 28px;
  }
}

/****** MARGINS AND SPACING ******/

.views-element-container.contextual-region.block.block-views.block-views-blockhighlights-cards-block-1.clearfix {
  margin: 0 auto 0;
}
.contextual-region.page.full.clearfix {
  margin: 0 auto 0;
}
.region-contentfooter {
  margin: 0 auto 0;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .region-contentfooter {
    margin: 0 10%;
  }
}
@media screen and (min-width: 1024px) {
  .region-contentfooter {
    margin: 0 15%;
  }
}
@media screen and (min-width: 1280px) {
  .region-contentfooter {
    margin: 0 20%;
    max-width: 1000px;
  }
}

 