.flex-container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-flow: wrap;
  justify-content: center;
}
.flex-container .flex-item {
  flex: 1 0 auto;
  width: 100%;
  box-sizing: border-box;
}

body.page-template-team-member section#page-banner {
  display: none;
}

body.single-team #site-header {
  background-color: #05162e !important;
}

section.team-member-banner {
  margin-top: 72px;
  padding-bottom: 100px;
  background: linear-gradient(90deg, #ffffff 66%, #05162e 33%);
}
section.team-member-banner .inner-container {
  max-width: 1330px;
  width: 100%;
  margin: auto;
  padding: 0 15px;
}
section.team-member-banner .header {
  padding: 40px 0;
}
section.team-member-banner .header a {
  color: #ff8c61;
  font-family: "Rajdhani";
  font-size: 14px;
  letter-spacing: 2.19px;
  line-height: 18px;
  text-decoration: none;
  text-transform: uppercase;
}
section.team-member-banner .header a img {
  max-width: 10px;
  margin-right: 10px;
}
section.team-member-banner .body {
  align-items: center;
}
section.team-member-banner .body .details-box {
  max-width: 525px;
}
section.team-member-banner .body .space-box {
  max-width: 140px;
}
section.team-member-banner .body .image-box {
  max-width: calc(100% - (525px + 140px));
}

section.team-member-banner .details-box h1 {
  font-size: 47px;
  letter-spacing: 5px;
  line-height: 57px;
  text-align: center;
  color: #0a335e;
  margin-bottom: 5px;
  text-align: left;
}
section.team-member-banner .details-box .designation {
  font-size: 16px;
  letter-spacing: 2.5px;
  line-height: 21px;
  color: #474745;
  margin-bottom: 20px;
}
section.team-member-banner .details-box .content {
  margin-bottom: 50px;
}
section.team-member-banner .details-box .content p {
  color: #474745;
  font-family: "Overpass", sans-serif;
  font-size: 14px;
  letter-spacing: 0.5px;
  line-height: 24px;
  margin-bottom: 12px;
  font-weight: 300;
}
section.team-member-banner .details-box .content p:last-child {
  margin-bottom: 0;
}

section.team-member-banner .details-box p.extras {
  color: #474745;
  font-family: "Rajdhani", sans-serif;
  font-size: 15px;
  letter-spacing: 2.34px;
  line-height: 19px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
section.team-member-banner .details-box p.extras:last-child {
  margin-bottom: 0;
}
section.team-member-banner .details-box p.extras strong {
  display: inline;
  color: #05162e;
  margin-right: 30px;
  width: 80px;
}

section.team-member-banner .details-box .team-info-contact {
  margin-top: 30px;
}

section.team-member-banner .image-box img {
  max-width: 480px;
  width: 100%;
  padding: 90px;
  border: 1px solid #ff8c61;
}

.app-popup .app-close {
  z-index: 1;
}
.app-popup.popvideo {
  padding: 0px;
}

@media (max-width: 1199px) {
  section.team-member-banner .body .details-box {
    max-width: 60%;
    padding-right: 60px;
  }
  section.team-member-banner .body .space-box {
    display: none;
  }
  section.team-member-banner .body .image-box {
    max-width: 40%;
  }
  section.team-member-banner .image-box img {
    padding: 30px;
  }
}
@media (max-width: 1023px) {
  section.team-member-banner {
    background: #ffffff;
    padding-bottom: 0;
  }
  section.team-member-banner .body .details-box {
    order: 2;
    max-width: 100%;
    padding-right: 0;
  }
  section.team-member-banner .body .image-box {
    order: 1;
    max-width: 100%;
    margin-bottom: 30px;
    text-align: center;
  }
  section.team-member-banner .image-box img {
    padding: 30px;
    margin: auto;
  }
}
@media (max-width: 991px) {
  section.team-member-banner {
    margin-top: 58px;
  }
}
@media (max-width: 767px) {
  body.single-team .team-info-contact {
    position: relative;
    width: auto;
  }
}

section.link-boxes {
  padding: 60px 0;
}
section.link-boxes .inner-container {
  max-width: 1330px;
  width: 100%;
  margin: auto;
  padding: 0 15px;
}

section.link-boxes .link-box {
  max-width: calc(34.1% - 30px);
  width: 100%;
  margin-right: 30px;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #05162e;
  transition: 0.2s;
  margin-top: 30px;
}
section.link-boxes .link-box:hover {
  background-color: #05162e;
  transition: 0.2s;
}
section.link-boxes .link-box:nth-child(3n) {
  margin-right: 0;
}
section.link-boxes .link-box:nth-child(-n + 3) {
  margin-top: 0;
}
section.link-boxes .link-box .border {
  border: 1px solid #ffffff;
  padding: 90px 0;
  text-align: center;
  transition: 0.2s;
}
section.link-boxes .link-box:hover .border {
  border: 1px solid #ff8c61;
  transition: 0.2s;
}
section.link-boxes .link-box .small-text {
  display: block;
  ccolor: #05162e;
  font-family: Rajdhani;
  font-size: 14px;
  letter-spacing: 2.19px;
  line-height: 18px;
  text-align: center;
  margin-bottom: 12px;
  text-transform: uppercase;
  transition: 0.2s;
}
section.link-boxes .link-box .big-text {
  display: block;
  color: #05162e;
  font-family: Rajdhani;
  font-size: 37px;
  letter-spacing: 3.5px;
  line-height: 42px;
  text-align: center;
  margin-bottom: 0;
  text-transform: uppercase;
  transition: 0.2s;
}
section.link-boxes .link-box:hover .small-text,
section.link-boxes .link-box:hover .big-text {
  color: #ffffff;
  transition: 0.2s;
}

.pagination .next {
  margin-left: 0;
}

@media (max-width: 1199px) {
  section.link-boxes .link-box {
    padding: 10px;
  }
}
@media (max-width: 1023px) {
  section.link-boxes .link-box {
    max-width: calc(50% - 15px);
    margin-right: 15px;
  }
  section.link-boxes .link-box:nth-child(3n) {
    margin-right: 15px;
  }
  section.link-boxes .link-box:nth-child(2n) {
    margin-right: 0;
  }
  section.link-boxes .link-box:nth-child(-n + 3) {
    margin-top: 15px;
  }
  section.link-boxes .link-box:nth-child(-n + 2) {
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  section.link-boxes .link-box {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  section.link-boxes .link-box:nth-child(3n) {
    margin-right: 0;
  }
  section.link-boxes .link-box:nth-child(2n) {
    margin-right: 0;
  }
  section.link-boxes .link-box:nth-child(-n + 3) {
    margin-top: 0;
  }
  section.link-boxes .link-box:nth-child(-n + 2) {
    margin-top: 0;
  }
}

aside#about-counter-wrap .video-section h2,
aside#about-counter-wrap .video-section a {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
}
aside#about-counter-wrap .video-section h2 {
  max-width: 70%;
  width: 100%;
}
aside#about-counter-wrap .video-section a {
  float: right;
  margin-top: 0 !important;
}
#page-banner {
  flex-direction: column;
  justify-content: center;
}
#page-banner h1 {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}
#page-banner h1:not(:last-child) {
  margin-bottom: 10px;
}
.banner-decription {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}
.banner-decription * {
  color: #fff;
}
.bottomcontent {
  margin-bottom: 50px;
}
.bottomcontent p:last-child {
  margin-bottom: 0;
}
.footer-subscribe {
  font-family: Rajdhani, sans-serif;
  text-transform: uppercase;
  font-size: 37px;
  line-height: 42px;
  letter-spacing: 3.5px;
  font-weight: 400;
}

@media (max-width: 1023px) {
  aside#about-counter-wrap .video-section {
    text-align: center;
  }
  aside#about-counter-wrap .video-section h2,
  aside#about-counter-wrap .video-section a {
    display: block;
    vertical-align: middle;
    margin: 0;
  }
  aside#about-counter-wrap .video-section h2 {
    max-width: 100%;
  }
  aside#about-counter-wrap .video-section a {
    display: inline-block;
    float: unset;
    margin-top: 20px !important;
  }
}
@media screen and (max-width: 991px) {
  .footer-subscribe {
    text-align: center;
  }
}
@media (max-width: 767px) {
  .footer-subscribe {
    font-size: 25px;
    line-height: 30px;
    letter-spacing: 2.5px;
    font-weight: 400;
  }
}
aside#about-counter-wrap .video-section video {
  margin-top: 50px;
}
/* DS Custom */
.blur p:nth-last-of-type(-n + 2) {
  display: inline-block;
  filter: blur(0.1rem);

  /* vertical-only feather */
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 18%,
    black 82%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 18%,
    black 82%,
    transparent 100%
  );
}
.sidebar-img img {
  padding: 1em 0;
}
