@media only screen and (min-width: 1600px) {
  #page-content {
    min-height: calc(100vh - 641px);
  }
}
.banner {
  height: 450px;
  background-position-x: right;
}
 .banner .sup-title, .banner .title, .banner .content {
     max-width: 550px;
}
.no-banner {
  height: 100px;
}
.container {
  position: relative;
}
.title-with-button .btn {
  right: unset;
  left: calc(100% + 1rem);
  padding: 12px;
}
.buttons-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.buttons-wrapper .btn {
  padding: 12px 30px;
}
/* about us page*/
#mission-vision-and-values,
#who-we-serve,
#our-team,
#our-logo {
  scroll-margin-top: 125px;
}
#who-we-serve p {
    width: 604px;
}
.mission-wrapper {
  display: flex;
  gap: 3.5rem;
}
.mission-wrapper .icon {
  width: 50px;
  padding-top: 12px;
  flex-shrink: 0;
}
.mission-wrapper:not(:last-of-type) {
  margin-bottom: 3rem;
}
.mission-wrapper .sm-title {
  margin-bottom: 12px;
}
#mission-vision-and-values .section-wrapper {
  gap: 7%;
}
#mission-vision-and-values .image {
/*  margin-block: -3.5rem;*/
/*  width: 57%;*/
}
#our-logo .image {
  margin-block: -3.5rem;
  width: 60%;
}
#team-slider {
  display: flex;
  column-gap: 28px;
  row-gap: 30px;
  flex-wrap: wrap;
}
.member-wrapper {
  display: flex !important;
  flex-direction: column;
  gap: 2rem;
  width: calc(25% - 21px);
}
.member-wrapper .image {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
}
.member-wrapper .image .picture,
.member-wrapper .image .frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-size: cover;
  background-position: center;
}
.member-wrapper .image .picture {
  width: 76%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}
.member-wrapper .image .frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-image: url('/images/layout/Large_Cog(white).png');
  z-index: 2;
}
.member-wrapper .info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.member-wrapper .info > div {
  text-align: center;
}
.member-wrapper .link-title {
  margin-bottom: 0;
}
.member-wrapper .position {
  color: #0c3766;
  font-weight: 800;
}
@media only screen and (max-width: 991px) {
  .member-wrapper {
    width: calc(33.3% - 19px);
  }
}
@media only screen and (max-width: 767px) {
  .member-wrapper {
    width: calc(50% - 14px);
  }
}
/*resources accordion*/
.accordion-item {
  border-inline: unset;
  border-block: 1px solid #707070;
}
.accordion-button {
  border: unset;
}
.accordion-button:not(.collapsed) {
  background-color: unset;
}
.accordion-button,
.accordion-button:not(.collapsed) {
  box-shadow: unset;
}
.accordion-button::after,
.accordion-button:not(.collapsed)::after {
  background-image: url('/images/layout/DownArrow.png');
}
.accordion-button::after {
  width: 35px;
  height: 35px;
  background-size: 35px;
}
.accordion-button .link-title {
  margin-bottom: 0;
  color: #0E9896;
}
.programs-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 16px;
  row-gap: 60px;
}
.program-wrapper {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.program-wrapper .image img {
  border-bottom: 13px solid #0E9896;
  margin-bottom: 24px;
  height: 280px;
  object-fit: cover;
}
.program-wrapper .info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 50px;
}
#program .program-container {
  display: flex;
  gap: 5rem;
  justify-content: space-between;
}
#program .program-container .image {
  width: 674px;
  flex-shrink: 0;
}
#program .program-container .buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}
#program .description {
  margin-bottom: 2rem;
}
#program .details span {
  color: #0c3766;
  font-weight: 800;
  margin-right: 8px;
}
#program .image img {
  border-bottom: 13px solid #0c3766;
}
.events-wrapper {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 60px;
}
.event-wrapper {
  width: calc(25% - 12px);
  text-decoration: none;
}
.event-wrapper .image img {
  border-bottom: 13px solid #0c3766;
}
.event-wrapper .info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
/*  min-height: 400px;*/
  padding: 1.5rem 0;
  word-break: break-word;
  background-color: white;
  color: black;
}
.event-wrapper .info .link-title {
    margin-bottom: 1rem;
}
.event-wrapper .info .date {
  font-weight: 700;
  color: #0c3766;
  margin-bottom: 1rem;
}
.event-wrapper .info .content {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box !important;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  white-space: normal;
  margin-bottom: 1rem;
}
.event-wrapper .info .btn {
  margin-top: auto;
}
@media only screen and (max-width: 1199px) {
  .event-wrapper .info {
/*    min-height: 330px;*/
  }
}
@media only screen and (max-width: 991px) {
  .events-wrapper {
    row-gap: 30px;
  }
  .event-wrapper {
    width: calc(33.3% - 11px);
  }
  .event-wrapper .info {
/*    min-height: 320px;*/
  }
  .program-wrapper .image img {
    height: 250px;
  }
}
@media only screen and (max-width: 767px) {
  .events-wrapper {
    row-gap: 30px;
  }
  .event-wrapper {
    width: calc(50% - 8px);
  }
  .program-wrapper .image img {
    height: auto;
  }
}
.partners-wrapper {
  display: flex;
  column-gap: 28px;
  row-gap: 30px;
  flex-wrap: wrap;
}
.partner-wrapper {
  width: calc(25% - 21px);
}
.partner-wrapper .image {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
}
.partner-wrapper .image .picture,
.partner-wrapper .image .frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-size: cover;
  background-position: center;
}
.partner-wrapper .image .picture {
  width: 70%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}
.partner-wrapper .image .frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-image: url('/images/layout/Large_Cog(white).png');
  z-index: 2;
  opacity: 0.6;
}
.subprograms-wrapper {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.subprogram {
    text-decoration: none;
    width: 276px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: space-between;
}
.subprogram-title {
    font-weight: 600;
    font-size: 1.5em;
}
.subprogram .btn {
    margin-top: auto;
    padding: 6px 12px;
}
.short-description {
    word-break: break-word;
}
@media only screen and (max-width: 1699px) {
    #program .program-container .image {
        width: 40%;
    }
}
@media only screen and (max-width: 1399px) {
  .subprogram {
    width: 214px;
  }
}
@media only screen and (max-width: 1199px) {
  .partner-wrapper {
    width: calc(33.3% - 19px);
  }
}
@media only screen and (max-width: 991px) {
  .partner-wrapper {
    width: calc(33.3% - 19px);
  }
}
@media only screen and (max-width: 567px) {
  .partner-wrapper {
    width: calc(50% - 14px);
  }
}
.slick-track {
  margin-left: unset;
}
#article-details {
  position: relative;
}
.bg-no-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background-image: url('/images/layout/EventsInner_BG.jpg');
  background-position-y: -180px;
}
.event-details-wrapper .image {
  margin-bottom: 50px;
}
.event-details-wrapper .image img {
  width: 100%;
  border-bottom: 13px solid #0c3766;
}
.event-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 80px;
  margin-bottom: 2rem;
}
.event-row div {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 800;
}
@media (max-width: 1599px) {
  .partner-wrapper {
    height: 268px;
  }
  .link-title {
    font-size: 1.6em;
  }
}
@media (max-width: 1199px) {
  .link-title {
    font-size: 1.3em;
  }
  #program .program-container .image {
    width: 400px;
  }
  .programs-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  .partner-wrapper {
    height: 306px;
  }
  #mission-vision-and-values .image {
/*    margin-block: -2rem;*/
  }
  .event-row {
    gap: 2rem;
  }
  .event-row div {
    gap: 0.5rem;
  }
}
@media (max-width: 991px) {
  .no-banner {
    display: none;
  }
  #program .program-container {
    flex-direction: column;
    gap: 1rem;
  }
  #program .program-container .image {
    width: 100%;
  }
  #program .program-container .left {
    order: 2;
  }
  #program .description {
    margin-bottom: 1rem;
  }
  .programs-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .programs-wrapper .info {
    min-height: 130px;
  }
  .link-title {
    margin-bottom: 1rem;
  }
  .partner-wrapper {
    height: 220px;
  }
  .mission-wrapper:not(:last-of-type) {
    margin-bottom: 2rem;
  }
  .mission-wrapper .icon {
    display: none;
  }
  .event-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .accordion-body {
    word-break: break-all;
  }
  #our-logo .image {
      margin-block: 0;
  }
}
@media (max-width: 567px) {
  .banner {
    height: auto;
    padding-block: 3rem;
  }
  .programs-wrapper {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }
  .programs-wrapper .image img {
    margin-bottom: 0.5rem;
  }
  .programs-wrapper .info {
    min-height: unset;
  }
  .link-title {
    font-size: 1.2em;
    margin-bottom: 0.5rem;
  }
  .partner-wrapper {
    height: 306px;
  }
  .mission-wrapper:not(:last-of-type) {
    margin-bottom: 1rem;
  }
  .event-details-wrapper .image {
    margin-bottom: 1rem;
  }
  .accordion-button {
    gap: 0.5rem;
  }
  .accordion-button::after {
    width: 20px;
    height: 20px;
    background-size: 20px;
  }
  .partner-wrapper {
    height: 164px;
  }
}
