/* COLORS */
:root {
  --red: #b81700;
  --black: #231f20;
  --yellow: #a95;
  --gray: #d6d7d8;
  --swiper-theme-color: white !important;
  --lightgray: #eeedee;
  --darkgray: #828990;
  --blue: #2bb8d5;
  --aqua: #2bd3b7;
  --green: #41cd9e;
  --greenyellow: #bfd451;
}

.display-7 {
  font-size: 1.5rem;
  font-weight: bold;
}

h1,
title {
  font-family: "GFS Didot", serif;
}

h4 {
  margin-top: -5px;
  font-size: 1.5rem;
}

.bg-gray {
  background-color: var(--lightgray);
}

.bg-red {
  background-color: var(--red);
}

.red-text {
  color: var(--red);
}

.white-text {
  color: white;
}

.darkgray-text {
  color: var(--darkgray);
}

a {
  color: var(--black);
}

a:hover {
  color: grey;
}

/* NAVBAR */

.navbar {
  z-index: 99999;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: transparent !important;
}

.nav-scroll {
  background-color: rgba(255, 255, 255, 0.721) !important;
  box-shadow: 0px 2px 15px rgb(0 0 0 / 10%);
  backdrop-filter: blur(5px);
}

.nav-item {
  padding: 0 2rem 0 2rem;
}

.nav-link {
  font-weight: bolder;
}

/*Contact Nav Button*/
#navbarNavDropdown > ul > li:nth-child(4) > a {
  padding: 8px 25px;
  margin-left: 30px;
  border-radius: 5px;
  color: var(--red);
  border: 4px solid var(--red);
  text-align: center;
  background-color: rgba(255, 255, 255, 0.721);
}

.nav-toggler {
  float: right !important;
}

.navbar .nav-item .active {
  color: var(--red) !important;
  text-decoration: underline;
  text-decoration-color: var(--red);
}

#navimg {
  content: url(/assets/img/nLogo-hori.png);
}

@media (max-width: 500px) {
  #navimg {
    content: url(/assets/img/nLogo-words.png);
  }
}

/* HERO */
.hero {
  position: relative;
  top: 0;
  background-attachment: fixed;
}

.hero img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
}

.hero-image-services {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: url("/assets/img/services/servicesHero.webp");

  /* Set a specific height */
  height: 50vh;
  margin-top: 5vh;
  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  background-position: top;
  background-size: contain;
}

.carousel-caption h1 {
  color: black;
  font-weight: bold;
}
.carousel-caption h4 {
  color: var(--black);
  margin: 0 5rem;
}

@media (max-width: 1200px) {
  h1 {
    font-size: calc(1.3rem + 1.5vw);
  }

  h4 {
    font-size: 1.2rem;
  }
  h5 {
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: calc(1.1rem + 1.5vw);
  }

  h4 {
    font-size: 1rem;
  }
  h5 {
    font-size: 1rem;
  }

  p,
  ul {
    font-size: 0.9rem;
  }
}

.carousel-inner,
.carousel-item {
  max-height: 100vh;
  min-height: 50vh;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFF' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.carousel-item:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to right,

    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0)
  );
}

.carousel-caption {
  top: 50%;
  right: 0;
  bottom: auto;
  left: 0;
  display: flex;
  align-items: center;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* MAIN */

main {
  display: block;
}

/* SERVICES */

.services .nav-item {
  padding: 1rem 1rem 1rem 0;
}

.services .nav-link.active {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.services .nav-link.active:hover {
  color: white;
}

.services .nav-link:hover {
  color: var(--red);
}

.services .nav-link {
  border: 1px solid var(--red);
  padding: 15px;
  transition: 0.3s;
  color: var(--black);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-tabs {
  border-bottom: none;
}

.services i {
  padding-right: 15px;
  font-size: 48px;
}

.yellow-line {
  border-bottom: 2px solid var(--red);
  width: 106px;
  vertical-align: bottom;
  height: 10px;
  margin: auto;
}

.border-top {
  border-top: 2px solid var(--red) !important;
}

.backcolor {
  background-color: rgba(35, 31, 32, 0.08);
}

.industries .card-title {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 0.1rem;
}

.industries .card-title {
  background: rgba(255, 255, 255, 0.788);
  width: 90%;
}

@media (max-width: 992px) {
  .services span {
    display: none;
  }

  .services i {
    padding: 0px;
    margin: 0px;
  }
}

/* About Us */

.aboutUs .container {
  box-shadow: 0px 2px 15px rgb(0 0 0 / 10%);
  padding: 1%;
}

/* Leadership */
.team img {
  border-radius: 100%;
  padding-bottom: 1rem;
}

.leadership span {
  font-style: italic;
}

.leadership i,
.social i {
  font-size: 1.5rem;
  padding: 0.5rem;
  color: rgba(35, 31, 32, 0.329);
}

.bi-twitter:hover {
  color: #00acee;
}

.bi-facebook:hover {
  color: #4267b2;
}

.bi-instagram:hover {
  color: #c13584;
}

.bi-linkedin:hover {
  color: #0072b1;
}

/* Corporate */

.parallaxOne {
  /* The image used */
  background: url("/assets/img/map.png") top center;

  /* Full height */
  height: 100%;
  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  background-size: cover;
  position: relative;
}

.parallaxTwo {
  /* The image used */
  background: url("/assets/img/leaderred.jpg") top center;

  /* Full height */
  height: 100%;
  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  background-size: cover;
  position: relative;
}

/*BUTTON*/

.golden-btn {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#a95),
    to(#fea)
  );
  color: white;
  font-weight: bold;
}

.book-btn {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(var(--red)),
    to(#f48080)
  );
  color: white;
  font-weight: bold;
}

.custom-btn:active {
  -webkit-transform: translateY(2px);
  transform: translateY(2px);
}

.card,
.maps iframe {
  box-shadow: 0px 2px 15px rgb(0 0 0 / 10%);
  border: none;
  background: white;
}

.maps iframe {
  padding: 0px !important;
}

.contactus .info-box {
  text-align: center;
  box-shadow: 0 0 30px rgb(214 215 216 / 60%);
  background: #fff;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  padding: 1rem;
}

.contactus p {
  margin: 0;
}

/* Modal */
.modal {
  z-index: 1000000;
}

.modal-header {
  border-bottom: 2px solid var(--red);
}

.navigation img {
  padding: 0;
  margin: 0;
  max-height: 70px;
}

.carousel-caption img {
  padding: 0;
  margin: 0;
  max-height: 200px;
  width: auto;
}

.carousel-caption {
  display: block !important;
}

footer span a {
  text-decoration: none;
  color: #6c757d;
}

footer span a:hover {
  color: var(--yellow);
}

footer img {
  padding: 0;
  margin: 0;
  max-height: 50px;
  width: auto;
}

.services img,
.industries img,
.aboutUs img {
  border-radius: calc(0.25rem - 1px);
}

/* Swiper */

.swiper {
  height: 200px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission .card-img-top,
#corporate
  > div
  > div.container
  > div
  > div.col-sm-12.h-100
  > div
  > div
  > div.col-lg-4.col-md-12
  > img {
  min-height: 100%;
  object-fit: cover;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: white !important;
}

/* SERVICES NEW */

.services .card-body {
  padding: 0px;
}

.infoServices {
  display: none;
  border-top: 15px solid var(--red);
  border-radius: 0px 0px 4px 4px;
  padding: 1rem 1rem;
}

.infoServices {
  opacity: 50%;
  transition: opacity 0.4s;
  min-height: 40vh;
}

.mainCard {
  min-height: 40vh !important;
}

.pictureServices,
.cardtitleDiv {
  min-height: 40vh;
}

@media (max-width: 1600px) and (min-width: 992px) {
  .infoServices {
    min-height: 60vh;
  }

  .pictureServices,
  .cardtitleDiv {
    min-height: 60vh;
  }
}

.infoServices:hover {
  opacity: 100%;
}

#totalEXimg {
  background-image: url(/assets/img/services/1.webp);
  background-size: cover;
  border-radius: 0px 0px 4px 4px;
  opacity: 20%;
  width: 100%;
  height: 100%;
  background-position: top;
}

#onboardingimg {
  background-image: url(/assets/img/services/2.webp);
  background-size: cover;
  border-radius: 0px 0px 4px 4px;
  opacity: 20%;
  width: 100%;
  height: 100%;
  background-position: center;
}

#diversityimg {
  background-image: url(/assets/img/services/3.webp);
  background-size: cover;
  border-radius: 0px 0px 4px 4px;
  opacity: 20%;
  width: 100%;
  height: 100%;
  background-position: center;
}

#engagementimg {
  background-image: url(/assets/img/services/4.webp);
  background-size: cover;
  border-radius: 0px 0px 4px 4px;
  opacity: 20%;
  width: 100%;
  height: 100%;
  background-position: center;
}

#implementationimg {
  background-image: url(/assets/img/services/5.webp);
  background-size: cover;
  border-radius: 0px 0px 4px 4px;
  opacity: 20%;
  width: 100%;
  height: 100%;
  background-position: center;
}

#cultureimg {
  background-image: url(/assets/img/services/18.webp);
  background-size: cover;
  border-radius: 0px 0px 4px 4px;
  opacity: 20%;
  width: 100%;
  height: 100%;
  background-position: center;
}

#fractionalimg {
  background-image: url(/assets/img/services/19.webp);
  background-size: cover;
  border-radius: 0px 0px 4px 4px;
  opacity: 20%;
  width: 100%;
  height: 100%;
  background-position: center;
}

@media (min-width: 992px) {
  .hoverCard:hover .infoServices {
    display: block;
    background: white;
    height: 100% !important;
    width: 100%;
  }

  .hoverCard:hover .pictureServices {
    display: none;
  }
}

.imgServices {
  position: absolute;
  width: 100%;
  height: 100%;
}

.cardServiceTitle,
.cardServiceTitle:hover {
  font-size: 1.2rem;
  color: black;
  text-decoration: none !important;
}

#totalEXimg,
#totalEXimg:hover {
  color: black;
}

.pictureServices a {
  color: black;
  text-decoration: none !important;
}

#totalEX .card {
  border: 4px solid rgba(0, 0, 0, 0.125);
}

#totalEX
  > div
  > div.align-items-center
  > div.pt-4
  > div
  > div:nth-child(1)
  > div {
  border-color: var(--blue);
  color: var(--blue);
  cursor: pointer;
}

#totalEX
  > div
  > div.align-items-center
  > div.pt-4
  > div
  > div:nth-child(1)
  > div:hover,
#totalEX
  > div
  > div.align-items-center
  > div.pt-4
  > div
  > div:nth-child(1)
  > div:active {
  border-color: var(--blue);
  color: white;
  background-color: var(--blue);
}

#totalEX
  > div
  > div.align-items-center
  > div.pt-4
  > div
  > div:nth-child(2)
  > div {
  border-color: var(--aqua);
  color: var(--aqua);
  cursor: pointer;
}

#totalEX
  > div
  > div.align-items-center
  > div.pt-4
  > div
  > div:nth-child(2)
  > div:hover,
#totalEX
  > div
  > div.align-items-center
  > div.pt-4
  > div
  > div:nth-child(2)
  > div:active {
  border-color: var(--aqua);
  color: white;
  background-color: var(--aqua);
}

#totalEX
  > div
  > div.align-items-center
  > div.pt-4
  > div
  > div:nth-child(3)
  > div {
  border-color: var(--green);
  color: var(--green);
  cursor: pointer;
}

#totalEX
  > div
  > div.align-items-center
  > div.pt-4
  > div
  > div:nth-child(3)
  > div:hover,
#totalEX
  > div
  > div.align-items-center
  > div.pt-4
  > div
  > div:nth-child(3)
  > div:active {
  border-color: var(--green);
  color: white;
  background-color: var(--green);
}

#totalEX
  > div
  > div.align-items-center
  > div.pt-4
  > div
  > div:nth-child(4)
  > div {
  border-color: var(--greenyellow);
  color: var(--greenyellow);
  cursor: pointer;
}

#totalEX
  > div
  > div.align-items-center
  > div.pt-4
  > div
  > div:nth-child(4)
  > div:hover,
#totalEX
  > div
  > div.align-items-center
  > div.pt-4
  > div
  > div:nth-child(4)
  > div:active {
  border-color: var(--greenyellow);
  color: white;
  background-color: var(--greenyellow);
}

#totalEX
  > div
  > div.align-items-center
  > div:nth-child(2)
  > div
  > div
  > div:nth-child(1)
  > div {
  border-color: var(--greenyellow);
  color: var(--greenyellow);
  cursor: pointer;
}

#totalEX
  > div
  > div.align-items-center
  > div:nth-child(2)
  > div
  > div
  > div:nth-child(1)
  > div:hover,
#totalEX
  > div
  > div.align-items-center
  > div:nth-child(2)
  > div
  > div
  > div:nth-child(1)
  > div:active {
  border-color: var(--greenyellow);
  color: white;
  background-color: var(--greenyellow);
}

#totalEX
  > div
  > div.align-items-center
  > div:nth-child(2)
  > div
  > div
  > div:nth-child(2)
  > div {
  border-color: var(--greenyellow);
  color: var(--greenyellow);
  cursor: pointer;
}

#totalEX
  > div
  > div.align-items-center
  > div:nth-child(2)
  > div
  > div
  > div:nth-child(2)
  > div:hover,
#totalEX
  > div
  > div.align-items-center
  > div:nth-child(2)
  > div
  > div
  > div:nth-child(2)
  > div:active {
  border-color: var(--greenyellow);
  color: white;
  background-color: var(--greenyellow);
}

.picwidth {
  width:100%;
  max-width: 800px;
}

.picwidthbottom {
  width:100%;
  max-width: 1300px;
}

.iconsize {
  width: 25%;
}