.hero {
  position: relative;
  margin: 0 30px 0 30px;
  padding-top: 150px; padding-bottom: 10px;
}

.hero:before {
  position: absolute;
  content: '';
  top: 0;
  left: -30px;
  width: calc(100% + 60px);
  height: 400px;
  background: #00539B;
  z-index: 2;
}
/* .hero:after {
  content: "";
  display: block; position: absolute;
  left: -30px; width: calc(100% + 60px); height: 3rem;
  background: #00539b;
} */
.hero .wrapper {
  position: relative;
  z-index: 9;
}

#latest {
  display: block;
  padding: 1rem;
  background: linear-gradient(157.5deg, #fff 0%, #d3dfe8 100%); border-top: 10px solid #00539b;
}

#current {
  /* display: flex; align-items: center; */
  display: block;
  padding: 1rem; margin-bottom: 1rem;
  background: #00539b;
}
#current .text {
  /* flex: 1 1 80%; */
  display: block;
  color: #fff; line-height: normal; text-align: center;
}
#current .text h2 {
  margin: 0;
  font-size: 2rem; color: #fff;
}
#current .text h2 a {
  color: #fff; text-decoration: none;
}
#current .text h2 a:hover {
  text-decoration: underline !important;
}
#current .text p {
  margin: 0;
}
#current .buttons {
  /* flex: 1 1 20%; */
  display: block;
  text-align: center;
}
#current .buttons .btn-pill {
  margin: 1rem 0.5rem 0 0.5rem;
}

/* #latest .row_wrap {
  display: flex;
} */

#latest .features_block {
  /* flex: 0 0 66.6667%; position: relative; */
  position: relative;
}
#features {
  display: block;
  height: 100%;
  background: #fff;
}
#features .images {
	display: block; position: relative;
	width: 100%; padding: 0 0 50% 0;
  background: #000;
}
#features .images .image {
	display: block; position: absolute; opacity: 0; z-index: 10;
	left: 0; top: 0; width: 100%; height: 100%;
	-o-object-fit: cover; object-fit: cover;
  -webkit-transition: opacity 0.9s 0s;
  -o-transition: opacity 0.9s 0s;
  transition: opacity 0.9s 0s;
}
#features .images::after {
  content: "";
  display: block; position: absolute; z-index: 30;
  left: 0; right: 0; top: 0; bottom: 0;
  box-shadow: 0 0 1px 1px #0001 inset;
}
/* #features .images .image:first-child {
  opacity: 1;
} */
#features .images .image.current {
  opacity: 1; z-index: 20;
}

#features .texts {
  display: block; position: relative; box-sizing: content-box;
  padding: 1rem 1.5rem;
}
#features .texts .text {
  display: block; position: absolute; opacity: 0; z-index: 10;
  left: 1.5rem; right: 1.5rem; top: 1rem;
  -webkit-transition: opacity 0.5s 0s;
  -o-transition: opacity 0.5s 0s;
  transition: opacity 0.5s 0s;
}
#features .texts .text.current {
  opacity: 1; z-index: 20;
}
#features .texts .text h2 {
  margin: 0;
}
#features .texts .text h2 a {
  color: #000; text-decoration: none;
}
#features .texts .text h2 a:hover {
  text-decoration: underline !important;
}
#features .texts .text .link {
  margin-top: 1rem;
}
#features .selector {
  display: flex;
  margin: 1px;
}
#features .selector .select {
  flex: 1 1 auto;
  height: 0.75rem; margin: 1px;
  background: #ccc;
  cursor: pointer;
}
#features .selector .select.current {
  background: #00539b;
}

#latest .news_block {
  margin: 1rem 0 0 0;
}
#latest .news {
  display: block;
  height: 100%; padding: 1.5rem;
  background: #fff;
}
#latest .news .logo {
  display: block;
  margin-bottom: 2rem;
}
#latest .news .logo img {
  display: block;
  width: auto; height: 1.5rem;
}
#latest .news .article {
	display: block;
  margin: 1.5rem 0 0 0;
}
#latest .news .article a {
  color: #000;
}
#latest .news .article.image .info {
	flex-basis: 70%;
  padding-right: 1rem;
}
#latest .news .article .info p {
  margin: 0;
}
#latest .news .article .info .headline {
  font-size: 1.125rem; font-weight: 500;
}
#latest .news .article .info .time {
  font-size: 0.9375rem; color: #555;
}
#latest .news .article.image {
	display: flex; align-items: start;
}
#latest .news .article .thumbnail {
	flex-basis: 30%;
}
#latest .news .article .thumbnail .fimage {
	display: block; position: relative;
	width: 100%; margin: 0.5rem 0 0 0; padding: 0 0 50% 0;
}
#latest .news .article .thumbnail .fimage img {
	position: absolute;
	left: 0; top: 0; width: 100%; height: 100%;
	-o-object-fit: cover; object-fit: cover;
}
#latest .news .more {
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  #latest {
    padding: 2rem 2rem 4rem 2rem;
  }

  #current {
    display: flex; align-items: center;
    margin-bottom: 2rem;
  }
  #current .text {
    flex: 1 1 80%;
    text-align: left;
  }
  #current .buttons {
    flex: 1 1 20%;
    text-align: right; white-space: nowrap;
  }
  #current .buttons .btn-pill {
    margin: 0rem 0 0 1rem;
  }
  #current .buttons .btn-pill:first-child {
    /* margin-left: 0; */
  }

  #latest .row_wrap {
    display: flex;
  }
  #latest .features_block {
    flex: 0 0 66.6667%;
  }
  #latest .news_block {
    flex: 0 0 33.3333%;
    margin: 0; padding-left: 1.5rem;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  #latest .news .article:nth-child(1n+4) {
    display: none;
  }
}
@media (min-width: 1280px) and (max-width: 1379px) {
  #latest .news .article:nth-child(1n+5) {
    display: none;
  }
}

@media only screen and (max-width: 1023px) and (min-width: 1px) {
  .hero {
    padding-top: 112px;
    margin: 0 20px;
  }

  .hero:before {
    left: -20px;
    width: calc(100% + 40px);
  }
}

@media only screen and (max-width: 767px) and (min-width: 1px) {
  .hero {
    margin: 0;
    padding-top: 78px;
  }

  .hero:before {
    display: none;
  }
}

#about .hero-box {
  display: block;
  width: 100%;
  padding: 70px 140px;
  background: #FFFFFF;
}

#about .watermark {
  position: absolute;
  bottom: -60px;
  left: -20px;
  z-index: 99;
  width: 292px;
  height: 293px;
}

#upcoming {
  position: relative;
  z-index: 10;
}

#ctas [class*="col-"] {
  margin-bottom: 85px;
}

@media only screen and (max-width: 1023px) and (min-width: 1px) {
  #about {
    padding: 50px 30px 25px 30px;
  }

  #about:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-image: -webkit-gradient(linear, left top, right top, from(#00539D), to(#003A6D));
    background-image: -webkit-linear-gradient(left, #00539D 0%, #003A6D 100%);
    background-image: -o-linear-gradient(left, #00539D 0%, #003A6D 100%);
    background-image: linear-gradient(90deg, #00539D 0%, #003A6D 100%);
  }

  #about .row {
    padding-bottom: 50px;
  }

  #about .col-xs-8 {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    max-width: 100%;
  }

  #about .hero-box {
    padding: 30px 0;
  }

  #about .watermark {
    width: 235px;
    height: 235px;
  }

  #upcoming .col-xs-4,
  #ctas .col-xs-4 {
    -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
    max-width: 50%;
  }

  #upcoming .col-xs-4:first-child,
  #upcoming .col-xs-4:nth-child(2) {
    margin-bottom: 50px;
  }

  #ctas .row:last-child {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

@media only screen and (max-width: 767px) and (min-width: 1px) {
  #about {
    padding: 50px 20px 20px 20px;
  }

  #about .watermark {
    width: 142px;
    height: 142px;
  }

  #upcoming .col-xs-4,
  #ctas .col-xs-4 {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    max-width: 100%;
  }

/*
  #upcoming .col-xs-4:last-child {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
  }
*/

  #upcoming .col-xs-4 {
    margin-bottom: 20px;
  }

  #ctas [class*="col-"] {
    margin-bottom: 50px;
  }
}
