.resources-hero {
  background-color: #2D4176;
  padding-top: 310px;
}
/* .resources-hero .container-fluid {
  margin-top: -35px;
} */
.resources-hero-wrapper {
  background-color: #2d4176;
  width: 90%;
  margin: 80px;
  padding: 200px 0px;
}
.resources-hero-wrapper h1 {
  width: 54.5%;
  line-height: 1.3em;
}
.resources-button a, .resources-button button {
  background-color: #8A171B;
  padding: 10px 67px;
  font-size: 26px;
}
.resources-input {
  width: 85vw;
  height: 90px;
  max-width: 1130px;
}
.resources-search {
  border-radius: 0px;
}
.resources.section{
  top: 10px;
  position: relative;
}
@media screen and (max-width: 1399px){ /*07232022*/
  .resources-hero-wrapper h1 {
    width: 70%;
  }
  .resources-button a {
    padding: 15px 5vw;
    font-size: 2vw;
  }
}
@media screen and (max-width: 767px){
  .resources-hero-wrapper {
    padding: 100px 0px;
  }
  .resources-hero-wrapper h1 {
    width: 90%;
  }
}
@media screen and (max-width: 575px){
  .resources-hero h1 {
    font-size: 6vw !important;
  }
  .resources-input {
    height: 63px;
  }
  .resources-button a {
    padding: 2vw 3vw;
    font-size: 3vw;
  }
}
.resources.container {
  max-width: 1600px;
}
/* CARD BUTTON */
.resources a.btn, .featured-articles a.btn{
  border: transparent;
  background-color: transparent !important;
  color: #8A171B;
  margin: 0;
  padding: 0;
  font-size: 21px;
  font-weight: bold;
}
/*CARDS CAROUSEL*/
.resources .cards-wrapper {
  display: flex;
  justify-content: center;
}
.resources .card img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
}
@media screen and (max-width: 767px){
  .resources .card img {
    width: 100%;
  }
}
.resources .card-body {
  border: 1px solid #0F347F33;
  border-top: 0px;
}

.resources .card {
  margin: 0 0.5em;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  border: none;
  border-radius: 0;
}
.resources .carousel-inner {
  padding: 1em;
}
.resources .carousel-control-left, .resources .carousel-control-right {
  background-color: transparent;
  border-radius: 50%;
  color: #485987;
  border: 2px solid;
  padding: 1px 12px 2px 10px;
  position: relative;
  font-size: 30px;
  display: block;
}
@media screen and (max-width: 575px){
  .resources .carousel-control-left, .resources .carousel-control-right {
    padding: 1px 9px 2px 6px;
    font-size: 20px;
  }
}
.resources .carousel-control-left:hover, .resources .carousel-control-right:hover {
  color: #8A171B;
}

@media (min-width: 768px) {
.resources .card img {
    height: auto;
  }
}
/* CARDS BODY */
.featured-articles .card img {
  width: 93%;
}
.featured-articles .card-body {
  border: 1px solid #0F347F33;
  background-color: #fff;
  margin-top: -160px;
}
@media screen and (max-width: 767px){
  .featured-articles .card img {
    width: 100%;
  }
  .featured-articles .card-body {
    margin-top: 0px;
  }
}
@media screen and (min-width: 768px){
  .featured-articles .card-body {
    padding: 50px;
  }
}
@media screen and (max-width: 575px){
  .featured-articles .page-item .page-link {
    margin: 0px 0px !important;
    font-size: 15px !important;
    font-weight: bold;
  }
}

/* PAGINATION */
.featured-articles .page-item.active {
  background-color: transparent !important;
}
.featured-articles .page-item:hover .page-link, .featured-articles .page-item.active .page-link {
  border-radius: 50%;
  padding: 6px 16px;
  border: transparent;
  background-color: #1F3265 !important;
  color: #fff;
}
.featured-articles .page-item .page-link {
  padding: 6px 16px;
  border: transparent;
  border-radius: 50%;
  margin: 0px 5px;
  font-size: 20px;
}
.featured-articles .page-item:first-child .page-link {
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
  padding: 6px 20px;
}
.resources-input .form-control::placeholder {
  font-size: 20px;
}
@media screen and (max-width: 575px){
  .resources h2 {
    font-size: 6vw !important;
  }
  .resources-input {
    width: 75vw;
  }
  .resources-input .form-control::placeholder {
    font-size: 4vw;
  }
}
@media screen and (max-width: 575px){
  .resources h2 {
    font-size: 6vw !important;
  }
}
