/*
-------------------------------------------------------------|
---           Custom Stylesheet for Span Africa           ---|
---                      Frits Steyn                      ---|
---                Coffee Creative Studio                 ---|
-------------------------------------------------------------|
                                                       INDEX |
-------------------------------------------------------------|
- TYPOGRAPHY & RESETS
- HEADER
- FRONT PAGE
- FOOTER
- SECONDARY PAGES
- NEW SECONDARY PAGES
- RESPONSIVE
-------------------------------------------------------------|
                                         TYPOGRAPHY & RESETS |
-------------------------------------------------------------|
*/
body {
  background-color: #ffffff;
  color: #414141;
  font-size: 15px;
  margin: 0;
  overflow-x: hidden !important;
}

body,
button,
input,
select,
optgroup,
textarea {
  font-family: "Montserrat", sans-serif;
}

.post,
.page {
  margin: 0;
}

body > * {
  max-width: 1920px;
  margin: auto;
}

a,
a:visited,
a:hover,
a:focus,
a:active {
  outline: 0;
  text-decoration: none;
  color: #17224a;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #17224a;
}

ul,
ol {
  margin: 0;
  padding-left: 20px;
}

mark,
ins {
  background: transparent;
}

fieldset {
  padding: 0 20px 20px;
}

.max-width-container {
  max-width: 1150px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

body.logged-in .show-logged-out,
body:not(.logged-in) .show-logged-in {
  display: none;
}

.entry-footer {
  display: none;
}

.entry-content,
.hentry {
  margin: 0;
}

.button {
  text-transform: uppercase;
  font-weight: 600;
  padding: 7px 25px;
  display: inline-block;
  font-size: 14px;
  transition: all 0.1s ease 0s;
  border: 2px solid;
  position: relative;
  z-index: 1;
}

.button + .button {
  margin-left: 10px;
}

.button.navy {
  color: #ffffff;
  border-color: #ffffff;
  background-color: #17224a;
}

.button.navy:hover {
  background-color: #ffffff;
  color: #17224a;
  border-color: #17224a;
}

.button.transparent {
  color: #ffffff;
  border-color: #ffffff;
  background-color: transparent;
}

.button.transparent:hover {
  background-color: #ffffff;
  color: #17224a;
}

.button.white {
  color: #17224a;
  border-color: #17224a;
  background-color: #ffffff;
}

.button.white:hover {
  background-color: #17224a;
  border-color: #ffffff;
  color: #ffffff;
}

.clear:after,
.clear::before,
.clear::after,
.clear {
  clear: both;
}

.parent-flex {
  display: flex;
  flex-wrap: wrap;
}

.half {
  width: 50%;
}

.third {
  width: 33.3%;
}

.twothirds {
  width: 66.6%;
}

#popmake-950 {
  padding: 60px 40px 60px !important;
}

/*
-------------------------------------------------------------|
                                                      HEADER |
-------------------------------------------------------------|
*/

#masthead {
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  transition: all 0.2s ease 0s;
  z-index: 999;
}

#masthead .max-width-container {
  position: relative;
  height: 100%;
}

.site-branding a {
  position: absolute;
  height: 80px;
  top: 7px;
  display: block;
  left: 0;
  background-image: url(/wp-content/uploads/2024/02/Span-Africa-Logo_white_reg.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.2s ease 0s;
}

.site-branding img {
  height: 100%;
  display: block;
  width: auto;
  transition: all 0.2s ease 0s;
  opacity: 1;
}

#site-navigation {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
}

#primary-menu > li > a {
  line-height: 100px;
  text-transform: uppercase;
  font-weight: 600;
  color: #17224a;
  font-size: 14px;
  padding: 0 10px;
  margin-left: 30px;
  transition: all 0.2s ease 0s;
  position: relative;
}

#primary-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: calc(50% - 14px);
  width: 0;
  left: 50%;
  height: 2px;
  background-color: #17224a;
  transition: all 0.1s ease-out 0s;
}

#primary-menu > li > a:hover::after,
.main-navigation #primary-menu > li.current-menu-item > a::after,
.main-navigation #primary-menu > li.current_page_item > a::after,
.main-navigation #primary-menu > li.current-menu-ancestor > a::after,
.main-navigation #primary-menu > li.current-menu-parent > a::after,
.main-navigation #primary-menu > li.current_page_parent > a::after,
.main-navigation #primary-menu > li.current_page_ancestor > a::after,
body.post-type-archive-project #primary-menu > li#menu-item-525 > a::after,
body.single-project #primary-menu > li#menu-item-525 > a::after {
  width: calc(100% - 20px);
  left: 10px;
}

#masthead.white {
  background-color: transparent;
  height: 150px;
}

#masthead.white .site-branding a {
  height: 100px;
  top: 24px;
}

#masthead.white .site-branding img {
  opacity: 0;
}

#masthead.white #primary-menu > li > a {
  line-height: 150px;
  color: #ffffff;
}

.main-navigation ul ul {
  display: block !important;
  text-align: center;
}

#masthead.white .main-navigation ul ul {
  top: calc(100% - 45px);
}

.main-navigation ul ul a {
  /*background-color: rgba(255,255,255,0.95);*/
  background-color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 10px;
  transition: all 0.1s ease 0s;
}

.main-navigation ul ul a:hover {
  background-color: #17224a;
  color: #fff;
}

#coffeerm-button {
  display: none;
  background-color: transparent;
  position: absolute;
  top: calc(50% - 20px);
  right: -11px;
}

#coffeerm-button span {
  background-color: #17224a;
}

#masthead.white #coffeerm-button span {
  background-color: #fff;
}

.responsive-menu-items {
  background-color: #17224a;
  background-image: url(/wp-content/uploads/2021/01/Span-Africa-Logo_white-new.png);
  background-size: 190px;
  background-position: 50px 38px;
  background-repeat: no-repeat;
  width: 300px;
}

ul.responsive-menu-items li.menu-item-has-children::after {
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #fff;
  top: 13px;
}

ul.responsive-menu-items li:nth-child(n + 2) {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  /* border-top: 1px dashed rgba(0,0,0,0.5); */
}

.responsive-menu-items a {
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  /*text-align: center;*/
  padding: 8px 2px;
  text-align: left;
  padding-left: 50px;
}

ul.responsive-menu-items li ul.sub-menu {
  background-color: rgba(255, 255, 255, 0.05);
}

ul.responsive-menu-items li li a {
  /*background-color: rgba(255,255,255,0.05);*/
  padding-left: 80px;
}

/*
-------------------------------------------------------------|
                                                  FRONT PAGE |
-------------------------------------------------------------|
*/

.header-banner {
  height: 300px;
  position: relative;
  margin-top: 100px;
}

body.home .header-banner {
  height: 100vh;
  margin-top: 0;
}

.header-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(23, 34, 74, 0.7);
  mix-blend-mode: multiply;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.banner-content h2 {
  color: #ffffff;
  text-align: center;
  font-size: 52px;
  line-height: 1em;
  margin: 0;
  position: relative;
}

.banner-content h2::before {
  content: "";
  position: absolute;
  top: -36px;
  left: 0;
  width: 100%;
  background-image: url(/wp-content/themes/spanafrica/images/curve.png);
  height: 37px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.banner-content h3 {
  color: #ffffff;
  text-align: center;
  font-weight: 400;
  font-size: 23px;
  margin-top: 10px;
  letter-spacing: 0.03em;
}

.banner-content .button {
  display: block;
  width: 180px;
  text-align: center;
  margin: auto;
}

#about .half {
  background-color: #f1f1f1;
  padding: 75px 75px 0;
  position: relative;
  min-height: 500px;
}

#about .half:first-child {
  background-image: url(/wp-content/themes/spanafrica/images/video-background.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#about .half:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

#about .half:first-child a {
  position: absolute;
  color: #ffffff;
  font-size: 52px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#about .half:first-child a {
  position: absolute;
  color: #ffffff;
  font-size: 100px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.front-page-row h2 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 26px;
}

#about h2 {
  margin-bottom: 5px;
}

#about h3 {
  display: inline-block;
  margin-right: 31px;
  margin-top: 0px;
  line-height: 1em;
  font-weight: 600;
  color: #a8a9ad;
  position: relative;
  cursor: pointer;
  transition: all 0.1s ease 0s;
}

#about h3:hover {
  color: #88898d;
}

#about h3.active {
  color: #17224a;
}

#about h3:nth-of-type(n + 2)::before {
  content: "";
  position: absolute;
  top: -2px;
  height: 21px;
  width: 2px;
  background-color: #a8a9ad;
  left: -18px;
}

.acc-content {
  display: none;
}

.acc-content a,
.acc-content strong {
  color: #17224a;
  font-weight: 600;
}

#industries,
#services {
  text-align: center;
  padding: 20px 0;
}

#industries p,
#services p {
  max-width: 900px;
  font-size: 18px;
  margin-left: auto;
  margin-right: auto;
}

#industries strong,
#services strong {
  font-weight: 600;
}

.front-page-industry {
  width: calc(100% / 3);
  height: 270px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.front-page-industry:nth-child(n + 4) {
  /*width: 50%;*/
  width: calc(100% / 3);
  height: 330px;
}

.front-page-industry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  transition: all 0.1s ease 0s;
}

.front-page-industry:hover::before {
  background-color: rgba(0, 0, 0, 0.2);
}

.front-page-industry-content {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.front-page-industry h3 {
  color: #ffffff;
  margin: 0;
  font-size: 32px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.front-page-industry span::after,
#services ul span::after {
  content: "›";
  font-size: 19px;
  line-height: 16px;
  vertical-align: -1px;
  margin-left: 5px;
}

.front-page-industry a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

#services ul {
  list-style: none;
  padding: 0;
  margin: 50px auto 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 900px;
}

#services li {
  width: 25%;
}

#services ul a {
  display: block;
}

#services ul img {
  display: block;
  width: 150px;
  margin: auto;
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0s;
}

#services ul a:hover img {
  -webkit-transform: scale(1);
  transform: scale(1);
}

#services ul h3 {
  font-size: 26px;
  line-height: 1.1em;
  font-weight: 600;
  margin: 20px 0;
}

#services ul span {
  color: #17224a;
}

#services ul a:hover span {
  font-weight: bold;
}

#banner {
  height: 450px;
  position: relative;
}

#banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(95, 96, 98, 0.6);
  box-shadow: inset 0px 0px 6px 0px rgba(0, 0, 0, 0.3);
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.banner-text p {
  color: #ffffff;
  text-align: center;
  font-size: 48px;
  line-height: 1.1em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#projects .third {
  float: left;
  margin-top: 120px;
}

#projects .twothirds {
  float: right;
  text-align: center;
}

#projects p {
  color: #818286;
  line-height: 1.1em;
  font-size: 20px;
  font-weight: 500;
  margin-top: 10px;
  margin-bottom: 50px;
}

#projects .the-number {
  font-size: 72px;
  font-weight: 700;
  color: #17224a;
  margin: 0;
  line-height: 1em;
  position: relative;
  left: -50px;
  opacity: 0;
  transition: all 0.3s ease-out 0s;
}

#projects .the-number.open {
  left: 0;
  opacity: 1;
}

#projects .the-number.open.completed::after {
  content: "+";
}

.projects-map {
  position: relative;
}

.projects-map img {
  max-width: 550px;
  width: 100%;
  display: block;
  margin: auto;
}

.projects-map ul {
  list-style: none;
  padding: 0;
  margin: 0;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 550px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.projects-map li {
  position: absolute;
}

.projects-map li:nth-child(1) {
  top: 10%;
  left: 68%;
}

.projects-map li:nth-child(2) {
  top: 32%;
  left: 9%;
}

.projects-map li:nth-child(3) {
  top: 49%;
  left: 58%;
}

.projects-map li:nth-child(4) {
  top: 63%;
  left: 63%;
}

.projects-map li:nth-child(5) {
  top: 75%;
  left: 47%;
}

.projects-map li:nth-child(6) {
  top: 77%;
  left: 70%;
}

.projects-map li:nth-child(7) {
  top: 90%;
  left: 55%;
}

.projects-map li:nth-child(8) {
  top: 76%;
  left: 58%;
}

.projects-map li:nth-child(9) {
  top: 30%;
  left: 20%;
}

.projects-map li:nth-child(10) {
  top: 36%;
  left: 16%;
}

.projects-map li:nth-child(11) {
  top: 35%;
  left: 24%;
}

.projects-map li:nth-child(12) {
  top: 88%;
  left: 61%;
}

.projects-map li:nth-child(13) {
  top: 65%;
  left: 69%;
}

.projects-map li:nth-child(13) {
  top: 56%;
  left: 72%;
}

.projects-map li:nth-child(14) {
  top: 64%;
  left: 70%;
}

.projects-map li:nth-child(15) {
  top: 73%;
  left: 65%;
}

.projects-map li:nth-child(16) {
  top: 20%;
  left: 65%;
}

.projects-map li:nth-child(17) {
  top: 38%;
  left: 11%;
}

.projects-map li:nth-child(18) {
  top: 82%;
  left: 66%;
}

.projects-map li:nth-child(19) {
  top: 49%;
  left: 77%;
}

.projects-map li:nth-child(20) {
  top: 61%;
  left: 48%;
}

.projects-map li i {
  font-size: 42px;
  color: #17224a;
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0s;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transform-origin: bottom;
  transform-origin: bottom;
}

.projects-map li.in-view i {
  -webkit-transform: scale(1);
  transform: scale(1);
}

/*
-------------------------------------------------------------|
                                              NEW FRONT PAGE |
-------------------------------------------------------------|
*/

body.home .header-banner {
  display: none !important;
}

#video-container,
.video-wrap {
  width: 100%;
  height: 100vh;
}

#video {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video_controls_front {
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  z-index: 2;
  font-size: 75px;
  color: #ffffff;
  top: 40%;
  text-align: center;
}

.home-info {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #fff;
  padding: 38px 60px;
}

.home-info .col3 {
  display: inline-block;
  vertical-align: top;
  padding: 0 20px;
}

.home-info .col3 h3 {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.home-info .col3 p {
  margin: 5px 0 0;
  font-size: 14px;
  max-width: 160px;
  line-height: 1.25;
  font-weight: 500;
  color: #414141;
}

.home-info .col3 p::after {
  content: "";
  display: inline-block;
  background-image: url("/wp-content/uploads/2021/04/Arrow-Icon.png");
  width: 6px;
  height: 8px;
  margin-left: 7px;
}

.new-home #intro {
  text-align: center;
  padding: 70px 0 100px;
}

.new-home #intro h2 {
  text-transform: none;
}

.new-home #intro p {
  margin-top: 5px;
  font-size: 17px;
}

.new-home #intro .button::after {
  display: none;
}

.new-home #about .half {
  background-color: #fff;
  padding: 50px 75px 0;
  position: relative;
  min-height: 500px;
}

.new-home #about .half:first-child {
  background-image: none;
}

.new-home #about .half:last-child {
  background-image: url("/wp-content/uploads/2021/04/About-Image.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.new-home #about .half:first-child::before {
  display: none;
}

.new-home #about .half:first-child a {
  position: static;
  color: #202020;
  font-size: 14px;
  text-shadow: none;
  text-transform: uppercase;
  top: auto;
  left: auto;
  -webkit-transform: none;
  transform: none;
}

.new-home #about h3 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}

.new-home .front-page-row h2 {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 33px;
  margin-bottom: 0;
}

.new-home #intro h1 {
  margin-bottom: 5px;
}

.new-home #intro h2 {
  letter-spacing: 0;
  font-size: 21px;
  font-weight: 400;
  margin: 0 0 20px;
}

.new-home #industries {
  padding: 38px 0 45px;
}

.new-home #industries p,
.new-home #services p {
  max-width: 615px;
  font-size: 14px;
}

.new-home .front-page-row a {
  color: #202020;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
}

.new-home #intro .button {
  color: #fff;
  border-color: #253058;
}

.new-home #intro .button:hover {
  color: #253058;
  border-color: #253058;
}

/*.new-home .front-page-row a::after {
  content: "";
  display: inline-block;
  background-image: url("/wp-content/uploads/2021/04/Arrow-Icon.png");
  width: 6px;
  height: 8px;
  margin-left: 7px;
  top: -1px;
  position: relative;
}*/

.new-home .front-page-industry {
  height: 640px;
}

.new-home .front-page-industry::before {
  background-color: rgba(0, 0, 0, 0);
}

.new-home .front-page-industry:hover::before {
  background-color: rgba(0, 0, 0, 0.2);
}

.new-home .front-page-industry a::after {
  display: none;
}

.new-home .front-page-industry-content {
  text-shadow: none;
  bottom: 50px;
  text-transform: uppercase;
  font-weight: 700;
  border: 2px solid #fff;
  padding: 6px 13px;
  font-size: 14px;
  position: absolute;
  z-index: 3;
  top: auto;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: 0.35s ease all;
  transition: 0.35s ease all;
}

.new-home .front-page-industry:hover .front-page-industry-content {
  background-color: #fff;
  border-color: #fff;
  color: #17224a;
}

.new-home #services {
  padding: 50px 0 75px;
}

.new-home .front-page-industry span::after,
.new-home #services ul span::after {
  display: none;
}

.new-home #services ul img {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
}

.new-home #services ul h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 0 10px;
  text-transform: none;
}

.new-home #services ul span {
  color: #373737;
  font-weight: 500;
  position: relative;
  top: -0.5px;
}

.new-home #services ul a:hover span {
  font-weight: 500;
}

.new-home #banner {
  height: 670px;
}

.new-home #banner::before {
  background-color: transparent;
  box-shadow: inset -1200px -100px 700px -200px rgba(0, 0, 0, 0.3);
}

.new-home .banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.new-home .banner-text p {
  text-align: right;
  font-size: 41px;
  line-height: 1.3em;
  text-shadow: none;
  max-width: 585px;
  float: right;
  font-weight: 500;
}

.new-home .front-page-industry::after {
  content: "";
  display: block;
  background-image: url("/wp-content/uploads/2021/04/Overlay-Multiply-57.png");
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  background-size: cover;
  opacity: 0.8;
  z-index: 1;
}

.new-home #projects .third {
  margin-top: 80px;
  padding-bottom: 130px;
  position: relative;
  z-index: 2;
}

.new-home .projects-text {
  margin-bottom: 45px;
  max-width: 410px;
}

.new-home #projects .projects-text p {
  color: #414141;
  font-size: 15px;
  font-weight: normal;
  margin-bottom: 20px;
}

.new-home #projects .max-width-container {
  position: relative;
}

.new-home .twothirds {
  width: 100%;
  position: absolute;
  right: -50px;
  max-width: 650px;
}

.new-home .projects-map img {
  max-width: 650px;
}

.new-home .projects-map ul {
  max-width: 650px;
}

.new-home .projects-map li i {
  font-size: 50px;
}

.new-home .third {
  width: 60%;
}

.new-home .count {
  display: inline-block;
  padding-right: 45px;
  vertical-align: top;
}

.new-home #projects .the-number {
  font-size: 85px;
}

.new-home #projects .count p:last-child {
  color: #17224a;
  font-size: 19px;
  font-weight: 700;
  margin-top: 8px;
}

#projects-slider {
  margin: 100px -5px 80px;
  text-align: center;
}

#projects-slider h2 {
  padding: 0 30px;
  margin-bottom: 42px;
}

#projects-slider .slick-track {
  display: flex !important;
  padding: 12px 0;
  /*height: 675px;*/
}

#projects-slider .slick-arrow {
  width: 16vw;
  height: 100%;
  z-index: 3;
}

#projects-slider .slick-prev::before,
#projects-slider .slick-next::before {
  display: none;
}

#projects-slider .slick-prev {
  left: 0;
}

#projects-slider .slick-next {
  right: 0;
}

#projects-slider .project-slide {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex !important;
  opacity: 1;
  top: auto;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  -webkit-transition: 0.3s ease all;
  -ms-transition: 0.3s ease all;
  transition: 0.3s ease all;
  flex-wrap: wrap;
  margin: 0 5px;
  box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.1);
}

.project-slide img {
  height: 400px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/*#projects-slider .project-slide::after {
  content: "";
  display: block;
  width: 100%;
  height: 600px;
  background-color: rgba(21, 34, 78, 1);
  opacity: 0.7;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

#projects-slider .project-slide.slick-current {
  opacity: 1;
  height: 675px !important;
}

#projects-slider .project-slide.slick-current::after {
  opacity: 0;
  z-index: -1;
}*/

#projects-slider .project-content {
  background-color: #fff;
  width: 100%;
  max-width: 700px;
  color: #fff;
  padding: 32px 50px 35px;
  opacity: 1;
  -webkit-transition: 0.3s ease all;
  -ms-transition: 0.3s ease all;
  transition: 0.3s ease all;
}

#projects-slider .project-slide.slick-current .project-content {
  opacity: 1;
}

.project-content h3 {
  color: #15224e;
  font-size: 19px;
  margin: 0 0 12px;
  font-weight: 700;
}

.project-content p {
  margin: 2px 0 12px;
  font-size: 14px;
}

#projects-slider .project-content a {
  color: #15224e;
  font-weight: 400;
  font-size: 15px;
  display: block;
}

/* Change later */
.home #masthead.white {
  box-shadow: inset -100px 230px 100px -200px rgba(0, 0, 0, 0.3);
  height: 125px;
}

.home #masthead.white .site-branding a {
  height: 80px;
  top: 24px;
}

.home #masthead .button.get-a-quote {
  display: none;
  border: none;
  position: absolute;
  right: 0;
  top: 43px;
  padding: 7px 15px;
}

.home #masthead.white .button.get-a-quote {
  display: block;
}

.home #masthead.white #coffeerm-button {
  display: block;
  right: 138px;
  top: 40px;
}

.home #masthead.white #site-navigation {
  display: none;
}

.home #colophon {
  margin-top: 0;
}

/*
-------------------------------------------------------------|
                                                      FOOTER |
-------------------------------------------------------------|
*/

#colophon {
  background-color: #17224a;
  padding: 100px 0;
  margin-top: 50px;
}

#colophon .left,
#colophon .middle,
#colophon .right {
  float: left;
  color: #ffffff;
}

#colophon .left a {
  display: block;
}

#colophon .left img {
  display: block;
  max-width: 250px;
}

#colophon ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#colophon ul a {
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  transition: all 0.1s ease 0s;
}

#colophon ul a:hover {
  color: #b8b3ac;
}

#colophon .middle {
  padding: 0 75px;
}

#colophon .middle > a {
  background-color: #fff;
  color: #17224a;
  display: inline-block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  font-size: 18px;
  border-radius: 100%;
  margin-top: 10px;
  margin-right: 10px;
  transition: all 0.1s ease 0s;
}

#colophon .middle > a:hover {
  background-color: #b8b3ac;
}

#colophon ~ .coffee {
  background-color: #17224a;
  margin: 0;
  text-align: center;
  border-top: 2px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

#colophon ~ .coffee a {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 12px;
  display: inline-block;
  padding: 15px 20px 12px;
}

#colophon .right > a {
  color: #ffffff;
  display: block;
}

#colophon .right > a:hover {
  color: #b8b3ac;
}

#colophon .right .button {
  text-align: center;
  margin-top: 20px;
  display: inline-block;
}

#colophon .right .button:hover {
  color: #17224a;
}

.get-a-quote-button {
  display: block;
  position: fixed;
  bottom: 0;
  background-color: #fff;
  color: #17224a;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  padding: 5px 20px;
  right: 120px;
  border: 3px solid #fff;
  cursor: pointer;
  transition: all 0.1s ease 0s;
  z-index: 99;
  box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2);
  opacity: 0;
}

.get-a-quote-button.visible {
  opacity: 1;
  bottom: 35px;
}

.get-a-quote-button:hover {
  color: #fff;
  background-color: #17224a;
  border-color: #17224a;
}

/*
-------------------------------------------------------------|
                                             SECONDARY PAGES |
-------------------------------------------------------------|
*/

.banner-title {
  text-align: center;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #ffffff;
  text-transform: uppercase;
  font-size: 32px;
  letter-spacing: 0.1em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.entry-content {
  margin-top: 50px;
}

.csi-block {
  background-color: #f1f1f1;
  margin: 50px 0;
}

.csi-block .left {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.csi-block .right {
  padding: 50px 70px;
}

.csi-block .right > :first-child {
  margin-top: 0;
}

.csi-block .right > :last-child {
  margin-bottom: 0;
}

.meet-the-team-image img {
  display: block;
  margin-top: 50px;
}

.industry-header {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.industry-header > li {
  width: 16.667%;
  text-align: center;
}

.industry-header.services-header > li {
  width: 25%;
}

.industry-header a {
  color: #ffffff;
  display: block;
  background-color: #17224a;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 13px 5px;
  line-height: 1em;
  transition: all 0.1s ease 0s;
  position: relative;
}

.industry-header a.active,
.industry-header a:hover {
  background-color: #e6e7e9;
  color: #17224a;
}

.industry-header a::after {
  content: "";
  position: absolute;
  top: 10px;
  height: 20px;
  width: calc(100% + 2px);
  border-style: solid;
  border-width: 0 1px;
  left: -1px;
  border-color: #e6e7e9;
  z-index: 4;
  transition: all 0.1s ease 0s;
}

.industry-header a.active::after,
.industry-header a:hover::after {
  top: 0;
  height: 100%;
}

.industries {
  margin-top: 50px;
}

.industry-images {
  background-color: #e6e7e9;
}

.single-industry-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.single-industry-image a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.single-industry {
  display: none;
}

.single-industry h2 {
  margin-top: 50px;
}

.single-industry.single-service h2 {
  margin-top: 0;
}

.related-projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
}

.related-projects h2 {
  text-align: center;
  margin-top: 50px;
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0.05em;
  width: 100%;
}

.related-project-block {
  width: calc(33.3% - 10px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin: 0 0 15px 15px;
  height: 250px;
  cursor: pointer;
}

.related-project-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.1s ease 0s;
  background-color: rgba(23, 34, 74, 0.6);
  mix-blend-mode: multiply;
}

.related-project-block:hover::before {
  background-color: rgba(23, 34, 74, 0.8);
}

.related-project-block:nth-of-type(3n + 1) {
  margin-left: 0;
}

.related-project-block .container {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  padding: 0 20px;
  z-index: 5;
}

.related-project-block h3 {
  color: #ffffff;
  line-height: 1.2em;
  margin: 0;
  font-size: 20px;
}

.related-project-block p {
  color: #ffffff;
  margin: 10px 0 0;
}

.post-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

.pl-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pl-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 1150px;
  background-color: #ffffff;
  padding: 50px;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-height: 90%;
  overflow-y: scroll;
  transition: all 0.2s ease 0s;
}

.pl-wrapper.iframe {
  padding: 30px;
  max-width: 620px;
  background-color: #000000;
}

.pl-wrapper iframe {
  display: block;
  margin: auto;
}

.pl-container {
  overflow-y: scroll;
}

.pl-closer {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #17224a;
  width: 30px;
  height: 30px;
  cursor: pointer;
  transition: all 0.1s ease 0s;
}

.pl-closer:hover {
  background-color: #e6e7e9;
}

.pl-closer::after {
  content: "⨯";
  color: #ffffff;
  line-height: 18px;
  font-size: 27px;
  width: 30px;
  position: relative;
  left: 8px;
}

.pl-container .aligncenter {
  display: inline-block;
  margin: 5px;
}

.pl-container > h1 {
  margin-top: 0;
  text-align: center;
}

.pl-container i {
  font-size: 100px;
  color: #17224a;
  margin-left: calc(50% - 50px);
}

.contact-page-content > .half {
  width: calc(50% - 25px);
  float: left;
}

.contact-page-content > .right {
  float: right;
}

.contact-page-content iframe {
  display: block;
  margin-left: auto;
}

#gform_7 select,
#gform_3 select {
  font-size: inherit;
  font-family: inherit;
  padding: 5px 4px;
  letter-spacing: normal;
}

.gform_wrapper .gfield {
  padding-right: 0 !important;
}

.gform_wrapper .medium {
  width: 100% !important;
  border-radius: 0;
  border-width: 1px;
  border-color: #17224a;
}

.gform_wrapper .ginput_container {
  margin-top: 0 !important;
}

.gform_wrapper .gfield_label {
  background-color: #17224a;
  color: #ffffff;
  font-weight: 600 !important;
  text-transform: uppercase;
  display: block !important;
  width: 170px;
  padding: 5px 10px 4px;
  font-size: 13px !important;
  letter-spacing: 0.05em;
  text-align: center;
}

.gfield_required {
  /* display: none !important; */
  color: #fff !important;
  font-weight: 400;
  /* vertical-align: bottom; */
}

.page-id-362 .gfield_required {
  color: #790000 !important;
}

.gform_wrapper .gform_footer.top_label {
  padding: 0;
  text-align: right;
}

.gform_wrapper .gform_button {
  background-color: #17224a;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 600;
  padding: 7px 27px;
  border-width: 2px;
  border-radius: 0;
  border-color: #17224a !important;
  font-size: 14px;
  margin-right: 0 !important;
  cursor: pointer;
  transition: all 0.1s ease 0s;
}

.gform_wrapper .gform_button:hover {
  color: #17224a;
  background-color: #ffffff;
}

#gform_wrapper_7 .gfield_label,
#gform_wrapper_3 .gfield_label {
  width: 100%;
  text-align: left;
}

#gform_fields_7,
#gform_fields_3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#gform_fields_7 > li,
#gform_fields_3 > li {
  width: calc(50% - 25px);
}

#field_5_3 {
  max-width: 565px;
}

#field_7_22,
#field_7_24,
#field_3_22,
#field_3_24 {
  width: calc(100% - 25px) !important;
}

#gform_fields_7 > li#field_7_15,
#gform_fields_7 > li#field_7_16,
#gform_fields_3 > li#field_3_15,
#gform_fields_3 > li#field_3_16 {
  width: 100%;
}

#field_7_17 .gfield_label,
#field_3_17 .gfield_label {
  width: 302px !important;
  position: relative;
  left: 0px;
}

#get-a-quote {
  margin-top: 50px;
  border-top: 1px solid #17224a;
  padding-top: 10px;
  text-align: center;
  border-bottom: 1px solid #17224a;
  padding-bottom: 10px;
}

#get-a-quote ~ h2 {
  text-align: center;
  margin: 50px 0 30px;
}

/*.gfield_radio li:nth-last-of-type(2):first-child, 
.gfield_radio li:nth-of-type(2):last-child {
	display: inline-block;
	margin-right: 20px;
	margin-bottom: 0;
}*/

#gform_wrapper_7 .gfield_radio,
#gform_wrapper_3 .gfield_radio {
  margin-bottom: 0;
}

#gform_wrapper_7 .gfield_radio > li,
#gform_wrapper_3 .gfield_radio > li {
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 0;
}

.accordion {
  margin-bottom: 30px;
}

.accordion .ui-accordion-header {
  background-color: #17224a;
  color: #fff;
  padding: 7px 20px;
  outline: none !important;
  cursor: pointer;
  margin-bottom: 0;
}

.accordion .accordion-content {
  background-color: #e6e7e9;
  padding: 30px;
}

.accordion .accordion-content > h2:first-child,
.accordion .accordion-content > p:first-child {
  margin-top: 0;
}

.accordion .accordion-content p:last-child {
  margin-bottom: 0;
}

/*
-------------------------------------------------------------|
                                         NEW SECONDARY PAGES |
-------------------------------------------------------------|
*/

.new-header {
  position: relative;
  margin-top: 100px;
  height: 650px;
}

.new-header::after {
  content: "";
  display: block;
  background-image: url("/wp-content/uploads/2025/03/Rectangle-28.png");
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  background-size: cover;
  background-position: bottom;
}

.new-header .jump-to > li,
.new-header .jump-to > li a {
  color: #fff;
}

.new-header .jump-to > li::after {
  background-color: #fff !important;
}

.new-header-content {
  position: absolute;
  bottom: 100px;
  left: 5%;
  color: #ffffff;
  z-index: 1;
}

.sup-heading {
  color: #ffffff;
  margin: 0;
  line-height: 1em;
  text-transform: uppercase;
  font-size: 30px;
}

.new-heading {
  margin: 10px 0 0;
  color: #ffffff;
  font-size: 72px;
  line-height: 1em;
}

.jump-to-block {
  margin-top: 35px;
}

.jump-to-block h3 {
  color: #ffffff;
  font-weight: 600;
  position: relative;
  font-size: 22px;
  margin: 0;
}

.jump-to-block h3::after {
  content: "";
  top: 0;
  left: 100%;
  width: 30px;
  height: 22px;
  background-color: transparent;
  display: inline-block;
  background-image: url(/wp-content/themes/spanafrica/images/down-arrow.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  vertical-align: -5px;
}

.jump-to {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jump-to > li {
  display: inline-block;
  margin-right: 30px;
  color: #a8a9ad;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  transition: all 0.1s ease 0s;
}

.jump-to > li:hover {
  color: #fff;
}

.jump-to > li:nth-last-child(n + 2)::after {
  content: "";
  position: absolute;
  top: 5px;
  right: -16px;
  height: 19px;
  width: 2px;
  background-color: #a8a9ad;
}

.new-about-page .half {
  position: relative;
  font-size: 14px;
  padding-bottom: 25px;
}

.full-half-vw-image {
  position: absolute;
  width: 50vw;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.new-about-page #our-history {
  margin: 50px auto;
}

.new-about-page h2,
.new-page-content h2 {
  font-size: 32px;
  text-transform: uppercase;
}

.new-about-page #our-history .half:first-child {
  padding-right: 50px;
}

.new-about-page #our-history .full-half-vw-image {
  top: 0;
  left: 0;
}

.new-about-page #csi .full-half-vw-image {
  top: 0;
  right: 0;
}

.new-about-page #csi .half:nth-child(2) {
  padding-left: 50px;
}

.new-about-page #meet-the-team,
.new-about-page #popia {
  text-align: center;
  padding: 75px 0 100px;
  font-size: 14px;
}

.new-about-page #meet-the-team {
  padding-bottom: 0px;
}

.trigger-organogram,
.trigger-doc {
  cursor: pointer;
  color: #17224a;
  font-weight: 500;
  text-transform: uppercase;
}

#organogram,
#doc {
  background-color: #f1f1f1;
  padding: 25px;
  margin-top: 25px;
  display: none;
}

#organogram input[type="text"],
#doc input[type="text"] {
  border: 1px solid #17224a !important;
  border-radius: 0 !important;
}

#organogram #field_5_3,
#doc #field_6_3 {
  padding-right: 23px !important;
}

#certificates-and-documentation {
  background-color: #e8e9eb;
  padding: 100px 0;
  text-align: center;
  font-size: 14px;
}

#certificates-and-documentation h2 {
  margin-top: 0;
}

.certificate-mail-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 35px;
}

.certificate-mail-links .single-document {
  width: 235px;
  position: relative;
  padding: 20px 10px;
}

.certificate-mail-links h3 {
  font-size: 20px;
  line-height: 1.2em;
  font-weight: 600;
  margin-bottom: 10px;
}

.certificate-mail-links p {
  font-size: 12px;
  margin: 0 0 7px;
}

.certificate-mail-links .single-document span {
  text-transform: uppercase;
}

.certificate-mail-links .single-document a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.new-about-page ~ footer,
.new-page-content ~ footer {
  margin-top: 0 !important;
}

.contact-page-intro {
  max-width: 750px;
  text-align: center;
  margin: 100px auto 50px;
  font-size: 14px;
}

.new-contact-page #get-a-quote {
  border-top: 0;
  margin: 50px 0 0;
  border-bottom: 0;
}

.new-contact-page #get-a-quote .gform_wrapper .gform_footer.top_label {
  padding: 0;
  text-align: left;
}

.new-contact-page #get-a-quote #gform_wrapper_7 .gfield_label,
.new-contact-page #get-a-quote #gform_wrapper_3 .gfield_label {
  background-color: transparent;
  color: #17224a;
  padding: 3px 0;
  text-transform: unset;
  font-weight: 400 !important;
  font-size: 14px !important;
}

.new-contact-page #get-a-quote #gform_wrapper_7 #field_7_1 .gfield_label,
.new-contact-page #get-a-quote #gform_wrapper_7 #field_7_27 .gfield_label,
.new-contact-page #get-a-quote #gform_wrapper_7 #field_7_2 .gfield_label,
.new-contact-page #get-a-quote #gform_wrapper_7 #field_7_4 .gfield_label,
.new-contact-page #get-a-quote #gform_wrapper_7 #field_7_5 .gfield_label,
.new-contact-page #get-a-quote #gform_wrapper_7 #field_7_28 .gfield_label,
.new-contact-page #get-a-quote #gform_wrapper_3 #field_3_1 .gfield_label,
.new-contact-page #get-a-quote #gform_wrapper_3 #field_3_27 .gfield_label,
.new-contact-page #get-a-quote #gform_wrapper_3 #field_3_2 .gfield_label,
.new-contact-page #get-a-quote #gform_wrapper_3 #field_3_4 .gfield_label,
.new-contact-page #get-a-quote #gform_wrapper_3 #field_3_5 .gfield_label,
.new-contact-page #get-a-quote #gform_wrapper_3 #field_3_28 .gfield_label {
  display: none;
}

#general-contact-form {
  background-color: #e8e9eb;
  padding: 50px 0;
}

#general-contact-form .half {
  float: left;
}

#general-contact-form #gform_wrapper_2 {
  padding-right: 50px;
}

#general-contact-form .gfield {
  margin-top: 7px !important;
}

#general-contact-form .gfield_label {
  display: none !important;
}

#general-contact-form .medium,
#general-contact-form .large {
  background-color: #e8e9eb !important;
  color: #17224a !important;
  font-size: 14px !important;
  padding: 7px 10px !important;
  min-height: 33px !important;
  border: 2px solid #17224a !important;
}

#general-contact-form .half.right {
  position: relative;
}

#general-contact-form .map-container {
  width: 50vw;
  position: relative;
}

#general-contact-form .map-container iframe {
  height: 630px;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
}

/* -----------------------------------------------------------
---------------------------------------Careers Contact page */

#careers .inner {
  position: relative;
  display: flex;
}
#careers .img-side {
  height: 482px;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}
#careers .img-side img {
  height: 100%;
  object-fit: cover;
  object-position: left;
}
#careers .blue-side {
  background-color: #17224a;
  width: 484px;
  position: absolute;
  right: 0;
  height: 100%;
}
#careers .white-block {
  background: #fff;
  padding: 36px 50px;
  position: absolute;
  left: -40px;
  width: 403px;
  top: 50%;
  transform: translate(0%, -50%);
}
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  overflow: auto;
}

.lightbox-container {
  position: relative;
  background-color: #fff;
  width: 90%;
  max-width: 1100px;
  margin: 50px auto;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
}

.lightbox-title {
  margin: 0;
  font-size: 24px;
  color: #333;
}

.lightbox-close {
  font-size: 30px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  line-height: 24px;
}

.lightbox-close:hover {
  color: #000;
}

.lightbox-content {
  padding: 0 30px 20px;
  overflow-y: auto;
  max-height: calc(80vh - 70px);
}

.lightbox-text {
  margin-bottom: 20px;
}

.lightbox-form .gform_wrapper .gfield_label {
  background-color: unset;
  color: #414141;
  text-align: left;
  width: unset;
}
.lightbox-form .gfield_html a.button {
  font-size: 10px;
}
.lightbox-form .gform_heading {
  display: none;
}
.lightbox-form .gform_wrapper .gform_page_footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lightbox-form .gform_wrapper .gform_page_footer input.gform_next_button {
  order: 1;
  padding: 17px 10px;
  border: 1px solid #17224a;
}
.lightbox-form .gform_wrapper .gform_page_footer input {
  width: 100%;
  background-color: #17224a;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  padding: 14px 25px;
  display: inline-block;
  font-size: 14px;
  transition: all 0.1s ease 0s;
  border: 2px solid;
  position: relative;
  z-index: 1;
  margin: 0 !important;
}
.lightbox-form .gform_wrapper .gform_page_footer .gform_ajax_spinner {
  display: none;
}
.lightbox-form .gform_wrapper.gravity-theme .gf_step_completed .gf_step_number::before {
  background: #17224a;
  border: 2px solid #17224a;
}
#gform_confirmation_message_10 {
  margin: 20px 0 0;
  font-size: 17px;
  text-align: center;
}
#gf_page_steps_10 {
  display: flex;
  justify-content: space-between;
  position: relative;
  flex-direction: column;
}
@media (min-width: 700px) {
  #gf_page_steps_10 {
    flex-direction: row;
  }
  #gf_page_steps_10::before {
    content: "";
    width: 85%;
    position: absolute;
    height: 2px;
    background: #17224a;
    top: 38%;
    left: 0;
    right: 20px;
    margin: auto;
  }
  #gf_page_steps_10 .gf_step {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 2;
  }
  #gf_page_steps_10 .gf_step_number {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
  }
}
@media (max-width: 768px) {
  #careers .blue-side {
    width: 100%;
  }
  #careers .white-block {
    padding: 26px 20px;
    position: relative;
    left: 0px;
    width: 100%;
    top: 50%;
    transform: translate(0%, -50%);
  }
  #careers .max-width-container {
    margin: 0;
    width: 100%;
  }
  .lightbox-container {
    width: 90%;
    margin: 30px auto;
    max-height: 85vh;
  }
  .lightbox-title {
    font-size: 20px;
  }
}

/* --------------------------------------------------------
----------------------------------END Careers Contact page */

.new-industry-header {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.new-industry-header li {
  width: calc(33.3% - 10px);
  margin-bottom: 15px;
  background-color: #a8a9ad;
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: all 0.1s ease 0s;
  padding: 12px 5px;
  font-size: 18px;
}

.new-industry-header li.active,
.new-industry-header li:hover {
  font-weight: 600;
  background-color: #17224a;
}

.new-single-industry {
  display: none;
}

.max-width-container.industry-row {
  display: flex;
  flex-wrap: wrap;
  margin: 50px auto;
}

.industry-row .half {
  position: relative;
  min-height: 300px;
}

.new-single-industry .industry-row:nth-child(1) .half:nth-child(1) {
  padding-right: 50px;
}

.new-single-industry .industry-row:nth-child(2) .half:nth-child(2) {
  padding-left: 50px;
}

.new-single-industry .seeMore {
  color: #202020;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
}
.new-single-industry .seeMore::after {
  content: "";
  display: inline-block;
  background-image: url(/wp-content/uploads/2021/04/Arrow-Icon.png);
  width: 6px;
  height: 8px;
  margin-left: 7px;
  top: -1px;
  position: relative;
}

.full-half-vw-image.left-side {
  right: 0;
}

.industry-banner {
  height: 500px;
  background-size: cover;
  background-position: center;
}

.new-page-content #related-projects {
  background-color: #e8e9eb;
  display: block;
  padding-bottom: 75px;
}

.new-page-content .related-project-block::before {
  display: none;
}

.new-page-content #related-projects > .max-width-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* .new-page-content #related-projects .related-projects-wrap {
	display:grid;
	justify-content: space-around;
	grid-template-columns: repeat(auto-fill, 25%);
	width: 100%;
} */

.new-page-content #related-projects .related-projects-wrap {
  display: flex;
  grid-template-columns: none;
  width: 100%;
}

.new-page-content #related-projects .related-projects-wrap .slick-prev,
.new-page-content #related-projects .related-projects-wrap .slick-next {
  font-size: 0;
  line-height: 0;
  position: unset;
  top: unset;
  display: block;
  width: auto;
  height: auto;
  padding: 0 10px;
  -webkit-transform: none;
  -ms-transform: unset;
  transform: none;
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
}

.new-page-content #related-projects .related-projects-wrap .slick-arrow:before {
  color: #17224a;
  font-size: 40px;
  opacity: 1;
}

.new-page-content #related-projects .related-projects-wrap .slick-next:before {
  font-family: "FontAwesome";
  content: "\f0a9 ";
}

.new-page-content #related-projects .related-projects-wrap .slick-prev {
  left: -40px;
}

.new-page-content #related-projects .related-projects-wrap .slick-prev:before {
  font-family: "FontAwesome";
  content: "\f0a8";
}

.new-page-content #related-projects .related-project-block {
  margin: 0 !important;
  background-color: #fff;
  height: 320px;
  max-width: 250px;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
  width: 100%;
}

.new-page-content #related-projects .related-project-block {
  margin: 0 25px !important;
  background-color: #fff;
  height: 320px;
  width: calc(25% - 25px);
  max-width: none;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.15);
}

.new-page-content .related-project-block .related-project-block-image {
  height: 200px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.new-page-content .related-project-block .container {
  position: static;
  -webkit-transform: unset;
  transform: unset;
}

.new-page-content .related-project-block .container h3 {
  color: #17224a;
  font-size: 18px;
  margin-top: 15px;
}

.new-page-content .related-project-block .container p {
  position: absolute;
  color: #17224a;
  width: 100%;
  left: 0;
  bottom: 20px;
  text-transform: uppercase;
  font-size: 14px;
}

.new-page-content .related-project-block a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
}

.new-industry-header.services-header li {
  width: calc(25% - 8px);
}

/*.manufacturing-columns {
	-webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3;
	-webkit-column-gap: 25px;
	-moz-column-gap: 25px;
	column-gap: 25px;
}
.manufacturing-columns > * {
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside:avoid;
	-moz-page-break-inside:avoid;
	page-break-inside: avoid;
	break-inside: avoid-column;
}*/

.manufacturing-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 50px;
}

.manufacturing-column {
  width: calc(33.3% - 50px);
  font-size: 14px;
  position: relative;
}

.manufacturing-column:nth-child(n + 2)::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -40px;
  width: 2px;
  height: calc(100% - 40px);
  background-color: #17224a;
}

.manufacturing-columns > p {
  width: 100%;
  text-align: center;
}

a.new-contact-link {
  color: #17224a;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 500;
}

a.new-contact-link:hover {
  text-decoration: underline;
}

#available-positions h2 {
  text-align: center;
}

#available-positions .accordion .ui-accordion-header {
  font-size: 20px;
  font-weight: 500;
  padding: 10px 35px;
  transition: all 0.1s ease 0s;
  position: relative;
}

#available-positions .accordion .ui-accordion-header:hover {
  background-color: #37426a;
}

#available-positions .accordion .ui-accordion-header::before,
#available-positions .accordion .ui-accordion-header::after {
  content: "";
  width: 10px;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  right: 30px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 23px;
  transition: all 0.3s ease 0s;
}

#available-positions .accordion .ui-accordion-header::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  right: 24px;
}

#available-positions .accordion .ui-accordion-header-active::before {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#available-positions .accordion .ui-accordion-header-active::after {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

#apply-now {
  margin-top: 75px;
}

#apply-now > h2,
#apply-now > p {
  text-align: center;
}

#apply-now #gform_wrapper_4 .gfield_label {
  width: 100%;
  color: #17224a;
  background-color: transparent;
  text-align: left;
  padding: 5px 0;
  text-transform: unset;
  font-weight: 400 !important;
}

#apply-now #gform_wrapper_4 .gfield_label .gfield_required {
  color: #17224a !important;
}

#apply-now #gform_wrapper_4 #gform_fields_4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#apply-now #gform_wrapper_4 .gfield {
  width: calc(50% - 10px);
}

#apply-now #gform_wrapper_4 .gfield#field_4_8,
#apply-now #gform_wrapper_4 .gfield#field_4_7 {
  width: 100%;
}

#apply-now #gform_wrapper_4 .gfield .medium {
  font-size: 13px;
  padding: 5px 10px;
  min-height: 32px;
}

#apply-now #gform_wrapper_4 .gfield select.medium {
  padding: 7px 10px;
}

#apply-now #gform_wrapper_4 .gform_fileupload_multifile .gform_drop_area {
  border: 2px solid #17224a;
  border-radius: 0;
  background-color: #ffffff;
  text-align: left;
}

#apply-now #gform_wrapper_4 .gform_fileupload_multifile .gform_drop_area .gform_drop_instructions {
  display: inline-block;
  margin-right: 10px;
}

#apply-now #gform_wrapper_4 .gfield .medium {
  font-size: 13px;
  padding: 5px 10px;
  min-height: 32px;
  border: 2px solid #17224a;
  color: #17224a;
}

#apply-now #gform_wrapper_4 #field_4_1 .gfield_label,
#apply-now #gform_wrapper_4 #field_4_2 .gfield_label,
#apply-now #gform_wrapper_4 #field_4_4 .gfield_label,
#apply-now #gform_wrapper_4 #field_4_9 .gfield_label {
  display: none !important;
}

#apply-now #gform_wrapper_4 .gform_fileupload_multifile .gform_drop_area .button {
  font-size: 13px !important;
  text-transform: unset;
  font-weight: 400;
  border-radius: 0;
  border: 0;
  padding: 9px 30px;
  cursor: pointer;
  transition: all 0.1s ease 0s;
  background-color: #e6e6e6;
  color: #404040;
}

#apply-now #gform_wrapper_4 .gform_fileupload_multifile .gform_drop_area .button:hover {
  background-color: #17224a !important;
  color: #fff !important;
}

#apply-now #gform_wrapper_4 .gform_footer.top_label {
  text-align: left;
}

.custom-sidebar {
  width: 275px;
  float: left;
  margin-top: 50px;
  text-align: center;
  background-color: #e8e9eb;
}

.custom-sidebar h3 {
  background-color: #17224a;
  color: #fff;
  padding: 15px 0;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.custom-sidebar ul {
  list-style: none;
  padding: 10px 0;
  margin: 0;
}

.custom-sidebar ul a {
  display: block;
  text-transform: uppercase;
  color: #000;
  padding: 10px 10px;
  transition: all 0.1s ease 0s;
}

.custom-sidebar ul a:hover {
  color: #17224a;
}

.custom-sidebar ul .active a {
  color: #17224a;
  font-weight: 600;
}

.custom-archive {
  width: calc(100% - 325px);
  float: right;
  margin-top: 50px;
  margin-bottom: 100px;
}

.custom-archive > article {
  width: calc(33.3% - 10px);
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
  box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.15);
  min-height: 325px;
  padding-bottom: 45px;
  position: relative;
}

.custom-archive > article:nth-child(3n + 3) {
  margin-right: 0;
}

.navigation.posts-navigation {
  width: 100%;
  float: none;
  clear: both;
  padding-top: 20px;
}

.navigation.posts-navigation a {
  background-color: #17224a;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-block;
  padding: 5px 20px;
  cursor: pointer;
  transition: all 0.1s ease 0s;
}

.navigation.posts-navigation a:hover {
  background-color: #e8e9eb;
  color: #17224a;
}

.custom-archive .featured-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.custom-archive .entry-title {
  font-size: 18px;
  padding: 18px 20px;
  margin: 0;
  line-height: 1.2em;
  text-align: center;
}

.custom-archive .entry-content {
  margin: 0 !important;
}

.custom-archive > article a {
  position: absolute;
  bottom: 25px;
  width: 100%;
  left: 0;
  text-align: center;
  text-transform: uppercase;
  color: #000;
  font-size: 14px;
}

.custom-archive > article a:hover {
  color: #17224a;
  text-decoration: underline;
}

.custom-archive > article a.link-overlay {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

body.single-project .new-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(/wp-content/themes/spanafrica/images/projects-header-overlay.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: bottom;
}

.project-content .half {
  float: left;
}

.project-content .half:first-child {
  padding: 100px 50px 100px 0;
}

.project-content .half:nth-child(2) {
  padding: 50px 0;
  position: relative;
}

.project-main-slider {
  width: 50vw;
}

.project-main-slider img {
  width: 100%;
  height: auto;
}

.project-image-description {
  background-color: #e8e9eb;
  padding: 20px 30px;
  font-size: 14px;
}

.project-secondary-slider {
  margin-top: 10px;
  width: 50vw;
}

.single-secondary-slide {
  margin-right: 10px;
}

.single-secondary-slide img {
  border: 0px solid transparent;
  transition: all 0.1s ease 0s;
}

.single-secondary-slide.slick-current img {
  border: 5px solid #17224a;
}

.navigation.pagination {
  float: right;
  clear: both;
  width: 100%;
  text-align: right;
}

.navigation.pagination .nav-links .page-numbers {
  border: 1px solid #17224a;
  font-size: 14px;
  font-weight: 600;
  min-width: 30px;
  display: inline-block;
  padding: 0 9px;
  text-align: center;
  line-height: 28px;
  cursor: pointer;
  margin-left: 2px;
}

.navigation.pagination .nav-links .page-numbers:hover {
  background-color: #eee;
}

.navigation.pagination .nav-links .page-numbers.current {
  background-color: #17224a;
  color: #ffffff;
}

#gform_2 .gfield_description.instruction {
  display: none !important;
}
/*
-------------------------------------------------------------|
                                                  BLOG |
-------------------------------------------------------------|
*/
.blog-layout {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  padding-top: 50px;
}
.blog-layout .all-category {
  width: 275px;
  background-color: #e8e9eb;
}
.blog-layout .all-category h3 {
  background-color: #17224a;
  color: #fff;
  padding: 15px 0;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  text-align: center;
}
.blog-layout .all-category ul {
  list-style: none;
  padding: 10px 0;
  margin: 0;
}
.blog-layout .all-category ul li {
  text-align: center;
}
.blog-layout .all-category ul li a {
  display: block;
  text-transform: uppercase;
  color: #000;
  padding: 10px 10px;
  transition: all 0.1s ease 0s;
}
.blog-layout .all-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 15px;
  width: calc(100% - 275px);
}
.blog-layout .all-posts .single-post {
  box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.15);
  min-height: 325px;
  padding-bottom: 45px;
  position: relative;
}
.blog-layout .all-posts .single-post img {
  height: 200px;
  object-fit: cover;
}
.blog-layout .all-posts .single-post h2 {
  font-size: 18px;
  padding: 18px 20px;
  margin: 0;
  line-height: 1.2em;
  text-align: center;
}
.blog-layout .all-posts .single-post p.read-more {
  text-transform: uppercase;
  color: #000;
  font-size: 14px;
  text-align: center;
  margin: 0;
}
.singular {
  position: relative;
}
.singular .blog-row {
  display: flex;
  flex-wrap: wrap;
  margin: 50px auto;
}
.singular .blog-row:nth-child(even) {
  flex-direction: row-reverse;
}
.singular .blog-row:nth-child(odd) .half {
  padding-right: 50px;
}
.singular .blog-row:nth-child(even) .half {
  padding-left: 50px;
}
.singular .blog-row .half {
  position: relative;
  min-height: 300px;
}
.singular .blog-row .half .full-half-vw-image.left-side {
  right: 0;
}

/*
-------------------------------------------------------------|
                                                 New Industry |
-------------------------------------------------------------|
*/
#industry-tax {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-top: 100px;
  height: 650px;
  background: linear-gradient(0deg, #17234b -64%, rgba(23, 35, 75, 0) 68.53%);
}
#industry-tax::after {
  content: "";
  display: block;
  background-image: url("/wp-content/uploads/2025/03/Rectangle-28.png");
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  background-size: cover;
  background-position: bottom;
}
#industry-tax .hero-content {
  position: absolute;
  bottom: 100px;
  left: 5%;
  color: #ffffff;
  z-index: 1;
}
#industry-tax .hero-content h3 {
  color: #ffffff;
  margin: 0;
  line-height: 1em;
  text-transform: uppercase;
  font-size: 30px;
}
#industry-tax .hero-content h1 {
  margin: 10px 0 0;
  color: #ffffff;
  font-size: 72px;
  line-height: 1em;
}
.main-industry-area {
  background-color: #fff;
  margin-top: 50px;
}
.main-industry-area .page-title {
  margin-top: 70px;
  text-align: center;
  text-transform: uppercase;
}
.main-industry-area .taxonomy-description {
  text-align: center;
  margin-bottom: 55px;
}
.list-of-industries {
  display: flex;
  justify-content: center;
  column-gap: 17px;
  row-gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.list-of-industries .industry-item {
  padding: 16px 23px;
  border: 2px solid #17224a;
  color: #17224a;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease-in-out;
}
.list-of-industries .industry-item:hover {
  background-color: #17224a;
  color: #fff;
}
.list-of-industries .industry-item.active {
  background-color: #17224a;
  color: #fff;
}
.term-mining .industry-item {
  display: none;
}
article.industries {
  background-color: #fff;
  /* display: none; */
}
article.industries .content-area.lft a {
  background-color: transparent;
}
article.industries .content-area.lft a:hover {
  background-color: #17234b;
}
.industry-tax-content {
  background-color: #f8f7f7;
  margin-bottom: 78px;
}
.industry-tax-content .industry-row .half {
  min-height: 340px;
}
.industry-tax-content .industry-row .half .full-half-vw-image {
  background-position: center center;
}
.industry-tax-content .industry-row:first-child {
  margin-bottom: 0px;
}
.industry-tax-content .industry-row:nth-child(2) {
  margin-top: 0px;
}
.industry-tax-content .industry-row .content-area.lft {
  padding: 71px 20px 71px 89px;
}
.industry-tax-content .industry-row .content-area.rht {
  padding: 77px 107px 77px 20px;
}
.industry-tax-content .industry-row .content-area p {
  margin-top: 0;
  margin-bottom: 0;
}
.industry-tax-content .industry-row .content-area a {
  margin-top: 26px;
}
/* Testimoninals */
.testimonial-area {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: #17224a;
  margin-bottom: 91px;
}
.testimonial-area .img-side {
  max-width: 487px;
  overflow: hidden;
}
.testimonial-area .img-side img {
  width: 100%;
  object-fit: cover;
  height: auto;
  display: block;
}
.testimonial-area .content-side {
  padding: 40px 91px 40px 112px;
}
.testimonial-area .content-side :is(p, strong, em) {
  color: #fff;
}
/* Related Projects */
.industry-related-projects.cards {
  padding: 44px 28px;
}
.industry-related-projects.cards .single-projects {
  margin: 12px;
  box-shadow: 1px 1px 12px 0px rgba(0, 0, 0, 0.1);
  min-height: 430px;
  cursor: pointer;
  opacity: 1;
  transition: all 0.3s ease-in-out;
  height: auto;
}
.industry-related-projects.cards .single-projects:hover {
  opacity: 0.8;
}
.industry-related-projects.cards .slick-list {
  padding-bottom: 30px;
}
.industry-related-projects.cards .single-projects img {
  width: 100%;
  min-height: 310px;
  max-height: 310px;
  object-fit: cover;
}
.industry-related-projects.cards .single-projects .card-content {
  padding: 24px 48px;
}
.industry-related-projects.cards .single-projects .card-content h4 {
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
  /*min-height: 46px;*/
}
.industry-related-projects.cards .single-projects .card-content p {
  text-align: center;
  margin: 0 0 5px;
  font-style: italic;
  font-size: 13px;
}
.industry-related-projects.cards .single-projects .card-content div {
  text-align: center;
  color: #17224a;
}
.category .slick-next::before {
  font-family: "FontAwesome";
  content: "\f054 ";
}
.category .slick-prev::before {
  font-family: "FontAwesome";
  content: "\f053 ";
}
.slick-prev:before,
.slick-next:before {
  color: #666;
}
span.simple-view {
  font-size: 16px;
  font-weight: bold;
  color: #a8a9ad;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
span.simple-view:hover {
  color: #9a9a9a;
}
.more-details.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  max-height: 0;
  transition: max-height 0.3s ease-in;
}
.more-details {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  /*max-height: 750px;*/
  max-height: unset;
  margin-top: 41px;
  margin-bottom: 51px;
}

.title-slider .slick-track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 4px;
  margin: 0;
}
.title-slider h4 {
  background-color: #a8a9ad;
  color: #fff;
  padding: 26px 68px;
  margin: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  min-height: 107px;
  display: grid !important;
  place-items: center;
}
.title-slider h4.slick-current.slick-active {
  background-color: #17224a;
}
.industry-related-projects.details {
  background-color: #f8f7f7;
  padding: 65px 58px;
}
.industry-related-projects.details .single-projects {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  column-gap: 75px;
  row-gap: 40px;
  flex-wrap: wrap;
}
.industry-related-projects.details .single-projects .project-content h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 8px;
}
.industry-related-projects.details .single-projects .project-content p {
  font-size: 15px;
}
.industry-related-projects.details .single-projects .project-gallery {
  /* max-width: 434px; */
  max-width: 850px;
  width: 100%;
  order: 2;
  margin: 0 auto;
}
.industry-related-projects .single-projects .project-gallery .flexslider-for img {
  /* width: 434px; */
  width: 100%;
  height: 400px;
  object-fit: cover;
  max-width: 700px;
  margin: 0 auto;
}
.flexslider-for .slick-prev {
  z-index: 8;
  opacity: 1;
  left: 25px;
}
.flexslider-for .slick-next {
  z-index: 8;
  opacity: 1;
  right: 25px;
}
.flexslider-for .slick-prev::before,
.flexslider-for .slick-next::before {
  display: none !important;
}
.flexslider-for .slick-prev img,
.flexslider-for .slick-next img {
  width: auto !important;
  height: auto !important;
}
.industry-related-projects .single-projects .project-gallery .flexslider-nav {
  margin-top: 19px;
}
.industry-related-projects .single-projects .project-gallery .flexslider-nav .slick-slide {
  border: 3px solid transparent;
}
.industry-related-projects
  .single-projects
  .project-gallery
  .flexslider-nav
  .slick-slide.slick-current.slick-active {
  border-color: #000;
}
.industry-related-projects .single-projects .project-gallery .flexslider-nav img {
  /* width: 81px;
  height: 72px; */
  width: 100%;
  object-fit: cover;
  margin-right: 13px;
}
/* -------------- form */
#getQuoteForm {
  background-color: #f8f7f7;
  padding: 63px 20px 79px;
  scroll-margin-top: 50px;
}
#getQuoteForm .max-width-container {
  width: 100%;
  max-width: calc(1150px / 2);
}
#getQuoteForm h1 {
  text-align: center;
  padding-bottom: 31px;
  margin: 0;
}
#getQuoteForm .gform_wrapper.gravity-theme #field_submit {
  justify-content: flex-end;
  flex-direction: column-reverse;
}
#getQuoteForm .gform_wrapper.gravity-theme #field_submit input {
  border: 1px solid #17224a;
  background-color: transparent;
  color: #17224a;
  padding: 14px 28px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}
#getQuoteForm .gform_wrapper.gravity-theme #field_submit input:hover {
  background-color: #17224a;
  color: #fff;
}
#gform_9 select {
  background-color: #fff;
}
.tax-industry-category footer#colophon {
  margin-top: 0;
}
#ContentTop {
  scroll-margin-top: 100px;
}
html,
body {
  scroll-behavior: smooth;
}
#getQuoteForm input[type="text"],
#getQuoteForm input[type="email"],
#getQuoteForm input[type="url"],
#getQuoteForm input[type="password"],
#getQuoteForm input[type="search"],
#getQuoteForm input[type="number"],
#getQuoteForm input[type="tel"],
#getQuoteForm input[type="range"],
#getQuoteForm input[type="date"],
#getQuoteForm input[type="month"],
#getQuoteForm input[type="week"],
#getQuoteForm input[type="time"],
#getQuoteForm input[type="datetime"],
#getQuoteForm input[type="datetime-local"],
#getQuoteForm input[type="color"],
#getQuoteForm select,
#getQuoteForm textarea {
  border: none;
}

@media (max-width: 768px) {
  .blog-layout {
    flex-direction: column;
  }
  .blog-layout .all-category,
  .blog-layout .all-posts {
    width: 100%;
  }
  .singular .blog-row .half {
    width: 100%;
  }
  .singular .blog-row:nth-child(odd) .half {
    padding-right: 0px;
  }
  .singular .blog-row:nth-child(even) .half {
    padding-left: 0px;
  }
}
/*
-------------------------------------------------------------|
                                            Meet the Team |
-------------------------------------------------------------|
*/
#mtt .max-width-container {
  height: 100%;
  position: relative;
}
#mtt .max-width-container .title {
  position: absolute;
  bottom: 100px;
  left: 0;
  z-index: 2;
}
.media-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 112px;
  margin-top: 80px;
  margin-bottom: 80px;
}
.media-content .content-side {
  flex: 1;
}
.media-content .media-side {
  max-width: 441px;
  width: 100%;
}
.media-content .media-side img {
  height: 348px;
  object-fit: cover;
}
.all-team {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 80px;
}
.all-team .single-member {
  width: calc(25% - 24px);
}
.all-team .single-member .pic img {
  display: block;
  filter: grayscale(1);
  width: 100%;
  transition: all 0.3s ease-in-out;
}
.all-team .single-member .info {
  padding: 15px 20px;
  transition: all 0.3s ease-in-out;
}
.all-team .single-member .info h3 {
  font-size: 18px;
  line-height: normal;
  color: #17224b;
  margin: 0;
  transition: all 0.3s ease-in-out;
}
.all-team .single-member .info p {
  font-size: 12px;
  line-height: normal;
  color: #b8b3ac;
  margin: 3px 0 0;
  font-weight: 400;
  transition: all 0.3s ease-in-out;
}
/* hovers */
.all-team .single-member:hover .pic img {
  filter: grayscale(0);
}
.all-team .single-member:hover .info {
  background-color: #17224b;
}
.all-team .single-member:hover .info h3 {
  color: #fff;
}
.team-organogram {
  margin: 80px 0;
  display: block;
  text-align: center;
}
.statistics {
  padding: 100px 0;
  position: relative;
  background-color: #f5f5f5;
}
.statistics .max-width-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  row-gap: 30px;
}
.statistics .single-stat {
  text-align: center;
}
.statistics .single-stat p.number {
  color: #17224b;
  font-size: 54px;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
  line-height: normal;
}
.statistics .single-stat p.number span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.statistics .single-stat p {
  color: #17224b;
  font-size: 22px;
  font-weight: 500;
  line-height: 26px;
  margin-top: 0;
  margin-bottom: 0;
}

/*
-------------------------------------------------------------|
                                                  RESPONSIVE |
-------------------------------------------------------------|
*/

@media (max-width: 1279px) {
  .banner-content {
    width: 90%;
    max-width: 680px;
  }

  .new-home #projects .the-number {
    font-size: 70px;
  }

  .new-home #projects .count p:last-child {
    font-size: 18px;
  }
  .testimonial-area .content-side {
    padding: 20px 20px 20px 30px;
  }
  .title-slider h4 {
    padding: 26px 26px;
  }
}

@media (max-width: 1150px) {
  .new-home #projects .the-number {
    font-size: 55px;
  }

  .new-home .twothirds {
    right: -20px;
    max-width: 500px;
  }

  .new-home #projects .third {
    padding-bottom: 15px;
  }

  .custom-sidebar {
    width: 220px;
  }

  .custom-sidebar h3 {
    font-size: 18px;
  }

  .custom-archive {
    width: calc(100% - 235px);
  }
}

@media (max-width: 1097px) {
  .industry-header a {
    font-size: 10px;
  }

  .new-home .front-page-industry {
    height: 500px;
  }
}

@media (max-width: 1024px) {
  .new-home #about .half {
    padding: 40px 75px 0;
    min-height: unset;
  }

  .new-home .front-page-industry {
    height: 500px;
  }

  .media-content {
    gap: 0px;
    flex-direction: column;
  }
  .media-content .content-side {
    flex: 1;
  }
  .media-content .media-side {
    max-width: 1024px;
    width: 100%;
  }
  .media-content .media-side img {
    height: auto;
  }
}

@media (max-width: 1023px) {
  #site-navigation,
  #projects .twothirds h2 {
    display: none;
  }

  #coffeerm-button {
    display: block;
  }

  #about .half {
    order: 1;
    width: 100%;
    min-height: 300px;
    padding-bottom: 75px;
  }

  #about .half:nth-child(1) {
    order: 2;
  }

  .front-page-industry::before {
    transition: unset;
    background-color: rgba(0, 0, 0, 0.6) !important;
  }

  #services li {
    width: 50%;
  }

  #services ul h3 {
    margin: 0;
  }

  #services ul span {
    margin-bottom: 20px;
    display: inline-block;
  }

  #services ul img {
    -webkit-transform: scale(1);
    transform: scale(1);
    transition: unset;
  }

  #services ul span {
    font-weight: 400 !important;
  }

  .banner-text {
    -webkit-transform: unset;
    transform: unset;
    left: 0;
    top: 0;
    position: relative;
    padding: 50px 0;
  }

  .banner-text p {
    margin: 0;
  }

  #banner {
    height: auto;
  }

  #projects {
    position: relative;
  }

  #projects::before {
    content: "Projects";
    text-transform: uppercase;
    font-size: 26px;
    letter-spacing: 2px;
    color: #17224a;
    font-weight: 700;
    width: 100%;
    top: 30px;
    left: 0;
    text-align: center;
    position: absolute;
  }

  #projects .third {
    width: 100%;
    margin-top: 70px;
  }

  #projects .third > p {
    text-align: center;
    margin: 0;
  }

  #projects .third > p.the-number {
    margin-top: 30px;
  }

  #projects .twothirds {
    width: 100%;
  }

  .projects-map {
    width: 300px;
    margin: 50px auto 0;
  }

  #colophon .middle {
    padding: 0 40px;
  }

  .csi-block .left {
    width: calc(100% - 400px);
  }

  .csi-block .right {
    width: 400px;
    padding: 25px 25px;
  }

  .single-industry-image {
    height: 200px;
  }

  .pl-wrapper {
    padding: 30px 25px;
  }

  .pl-container {
    text-align: center;
  }

  .post-lightbox figure {
    max-width: 275px;
    font-size: 12px;
    font-style: italic;
    color: #666;
  }

  .related-projects h2 {
    margin-top: 30px;
  }

  .new-home #projects::before {
    display: none;
  }

  .new-home #projects .third {
    margin-top: 50px;
    padding-bottom: 15px;
    float: none;
    text-align: center;
  }

  .new-home .projects-text {
    max-width: 525px;
    margin: 0 auto 30px;
  }

  .new-home .count {
    padding: 0 10px;
    width: calc(50% - 2px);
  }

  .new-home #projects .count p:last-child {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .new-home #projects .twothirds {
    width: 100%;
    position: relative;
    right: auto;
    margin: 0 auto;
    float: none;
  }

  .new-home .projects-map {
    width: 300px;
    margin: 0 auto 45px;
  }

  .new-home .projects-map li i {
    font-size: 30px;
  }

  .new-home #industries {
    padding: 0 0 45px;
  }

  .new-home #about .half:first-child {
    text-align: center;
  }

  .new-header {
    height: 400px;
  }

  .new-heading {
    font-size: 48px;
  }

  .new-header-content {
    bottom: 50px;
  }

  .custom-archive > article {
    width: calc(50% - 10px);
    margin: 0 5px 10px;
  }

  .project-content .half {
    width: 100%;
    float: none;
    padding: 0 !important;
    margin-top: 5vw;
  }

  .project-main-slider,
  .project-secondary-slider {
    width: 100%;
  }

  .new-industry-header.services-header li {
    white-space: nowrap;
    width: auto;
    padding: 10px 25px;
    font-size: 16px;
  }
  .new-page-content #related-projects .related-projects-wrap {
    grid-template-columns: repeat(auto-fill, 48%);
    grid-gap: 2%;
  }

  .new-page-content #related-projects .related-project-block {
    max-width: unset;
    /*width: calc(50% - 10px);*/
    margin-bottom: 20px !important;
  }
  .testimonial-area .img-side {
    height: 400px;
    width: 100%;
  }
  .testimonial-area .img-side img {
    height: 100%;
  }
  .new-home #about iframe {
    min-height: 400px !important;
  }
}
@media (max-width: 900px) {
  .industry-related-projects.details .single-projects {
    flex-direction: column;
    row-gap: 10px;
  }
  .industry-related-projects.details .single-projects .project-gallery {
    max-width: 100%;
  }
  .industry-related-projects .single-projects .project-gallery .flexslider-for img {
    width: 100%;
  }
  .more-details {
    max-height: 1080px;
  }
  #projects-slider {
    margin: 40px -5px 55px;
  }
  .project-slide img {
    height: 300px;
  }
  .industry-tax-content .industry-row .half {
    min-height: unset;
    width: 100%;
  }
  .industry-tax-content .industry-row .half:first-child {
    order: 2;
  }
  .industry-tax-content .industry-row .half .full-half-vw-image {
    height: 350px;
    position: relative;
    width: 100vw;
    margin-left: -40px;
  }
  .industry-tax-content .industry-row .content-area.lft {
    padding: 55px 0 60px;
  }
  .industry-tax-content {
    margin-bottom: 55px;
  }
  .industry-related-projects.cards {
    padding: 20px 10px 0;
  }
  .more-details {
    margin-top: 20px;
    margin-bottom: 35px;
  }
  .industry-related-projects.details {
    padding: 40px 30px;
  }
  .project-content {
    margin-bottom: 15px;
  }
  #getQuoteForm {
    padding: 50px 30px 40px;
  }
  .all-team .single-member {
    width: calc(33% - 24px);
  }
}

@media (max-width: 768px) {
  .home-info {
    padding: 38px 30px 0;
    width: 100%;
    text-align: center;
    position: relative;
  }

  .new-home #intro {
    padding: 20px 0 45px;
  }

  .new-home #intro h2 {
    line-height: 1.1;
    max-width: 500px;
    margin: 25px auto 15px;
  }

  .new-home #about .half {
    min-height: auto;
  }

  .new-home #about .half:last-child {
    height: 300px;
  }

  .new-home #about .half {
    padding: 20px 50px 0;
  }

  .new-home #industries {
    padding: 0 50px 30px;
    width: 100%;
  }

  .new-home .front-page-industry {
    height: 350px;
  }

  .new-home #services {
    padding: 22px 50px 35px;
    width: 100%;
  }

  .new-home .banner-text p {
    text-align: center;
    font-size: 32px;
    max-width: 585px;
    float: none;
    margin: 0 auto;
  }

  .new-home #banner {
    height: 400px;
  }

  #video-container,
  .video-wrap {
    height: auto;
  }

  #video {
    height: 600px;
  }
  .industry-tax-content .industry-row:nth-child(2) {
    flex-direction: column-reverse;
  }
  .industry-tax-content .industry-row .half {
    min-height: auto;
  }
  .industry-tax-content .industry-row .content-area.lft,
  .industry-tax-content .industry-row .content-area.rht {
    padding: 50px;
  }
  #industry-tax .hero-content h3 {
    font-size: 20px;
  }
  #industry-tax .hero-content h1 {
    font-size: 52px;
  }
  #industry-tax {
    height: 540px;
  }
  .industry-tax-content .full-half-vw-image {
    margin-top: 0px;
  }
  .industry-related-projects.details {
    padding: 35px 18px;
  }
  .team-organogram {
    margin: 40px 0;
  }
}

@media (max-width: 767px) {
  .banner-content {
    position: relative;
    top: 0;
    left: 0;
    -webkit-transform: unset;
    transform: unset;
    margin: 50px auto 0;
  }

  .banner-content h2 {
    font-size: 42px;
  }

  .banner-content h3 {
    font-size: 20px;
  }

  body.home .header-banner {
    height: auto;
    padding-top: 170px;
    padding-bottom: 75px;
  }

  .front-page-industry {
    height: 150px !important;
    width: 50%;
  }

  .front-page-industry:nth-child(n + 4) {
    width: 50%;
  }

  /*.front-page-industry:nth-child(3) {
		width: 100%;
	}*/
  .banner-text p {
    font-size: 28px;
    line-height: 1.3em;
    letter-spacing: 0.05em;
  }

  #colophon {
    padding: 60px 0 40px;
  }

  #colophon .left,
  #colophon .middle,
  #colophon .right {
    float: none;
    margin: auto;
    width: 260px;
    text-align: center;
    margin-bottom: 20px;
    padding: 0;
  }

  .csi-block .half {
    width: 100%;
  }

  .csi-block .left {
    height: 300px;
  }

  .industry-header > li {
    width: calc(50% - 2px) !important;
    margin: 1px;
  }

  .industry-header a {
    font-size: 12px;
  }

  .industry-header > li:last-child:nth-child(2n + 1) {
    width: 100% !important;
  }

  .industry-header a::after {
    display: none;
  }

  .related-project-block {
    width: calc(50% - 10px);
    margin: 5px !important;
    height: 150px;
  }

  .related-project-block:last-child:nth-child(2n) {
    width: 100%;
  }

  .header-banner {
    height: 200px;
  }

  .banner-title {
    font-size: 26px;
  }

  .contact-page-content > .half {
    width: 100%;
  }

  .contact-page-content iframe {
    height: 250px;
  }

  #gform_fields_7 > li,
  #gform_fields_3 > li {
    width: 100%;
  }

  .home-info .col3 {
    width: 100%;
  }

  .home-info .col3 p {
    margin: 5px auto 18px;
  }

  .new-home #intro {
    padding: 0 0 45px;
  }

  .new-home #about .half {
    padding: 15px 30px 0;
  }

  .new-home #industries {
    padding: 0 30px 25px;
    margin-top: -10px;
  }

  .new-home .front-page-industry {
    height: 225px !important;
    width: 50%;
  }

  .new-home #services {
    padding: 18px 30px 30px;
  }

  .new-home #services ul {
    margin: 30px auto 0;
  }

  #video {
    /*height: 400px;*/
    height: 100vh;
  }

  .home #masthead.white {
    box-shadow: inset -10px 80px 100px -80px rgba(0, 0, 0, 0.3);
  }

  .new-home #banner::before {
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: none;
  }

  .industry-row .half,
  .new-about-page .half {
    width: 100%;
    padding: 0 !important;
    text-align: center;
  }

  .full-half-vw-image {
    position: relative;
    height: 250px;
    width: 100vw;
    left: -5vw !important;
    margin-top: 50px;
  }

  .new-single-industry .industry-row:nth-child(2) .half:nth-child(1),
  .new-about-page #csi .half:nth-child(1) {
    order: 2;
  }

  .manufacturing-column {
    width: 100%;
    text-align: center;
  }

  .manufacturing-column:nth-child(n + 2)::before {
    display: none;
  }

  .new-single-industry > .industry-row:first-child > h2:first-child,
  .new-single-industry > .industry-row:first-child > div:first-child > h2:first-child,
  .new-about-page .max-width-container h2 {
    margin-top: 0;
  }

  #certificates-and-documentation {
    padding: 50px 0;
  }

  #certificates-and-documentation h2 {
    line-height: 1.2em;
  }

  .certificate-mail-links {
    justify-content: center;
  }

  .new-industry-header li,
  .new-industry-header.services-header li {
    width: 100%;
    margin-bottom: 5px;
  }

  #general-contact-form .half {
    width: 100%;
  }

  #general-contact-form .map-container {
    width: 100%;
  }

  .new-contact-page #get-a-quote h2,
  #general-contact-form h2 {
    margin-top: 0;
  }

  #general-contact-form #gform_wrapper_2 {
    padding-right: 0;
  }

  .custom-archive > article {
    width: calc(50% - 10px);
    margin: 0 5px 10px;
  }

  .custom-sidebar {
    float: none;
    width: 100%;
    margin-top: 5vw;
    margin-bottom: 5vw;
  }

  .custom-sidebar ul a {
    padding: 5px 10px;
  }

  .custom-archive {
    width: 100%;
    margin-top: 0;
    margin-bottom: 5vw;
    float: none;
  }

  .industry-tax-content .industry-row .half .full-half-vw-image {
    height: 300px;
    margin-left: 0;
  }

  #industry-tax {
    height: 400px;
  }

  #industry-tax .hero-content h1 {
    font-size: 40px;
  }

  #industry-tax .hero-content {
    bottom: 50px;
    left: 30px;
  }
}

@media (max-width: 639px) {
  .banner-content h2 {
    font-size: 32px;
    line-height: 1.2em;
  }

  .banner-content h2::before {
    background-size: 175px;
  }

  .banner-content h3 {
    font-size: 18px;
  }

  #about .half {
    padding: 25px 50px;
  }

  .front-page-industry h3 {
    font-size: 24px;
  }

  #services ul h3 {
    font-size: 18px;
  }

  #services ul img {
    width: 115px;
    margin-bottom: 10px;
  }

  .get-a-quote-button {
    font-size: 14px;
    right: 50%;
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
  }

  .get-a-quote-button.visible {
    bottom: 45px;
  }

  .joinchat__button {
    bottom: 14px !important;
  }

  .site-branding a {
    height: 65px;
    top: 15px;
  }

  .csi-block .left {
    height: 250px;
  }

  .entry-content {
    margin-top: 25px;
  }

  .industries {
    margin-top: 25px;
  }

  .single-industry-image {
    height: 150px;
    border: 1px solid #ffffff;
  }

  .single-industry h2 {
    margin-top: 25px;
  }

  .related-project-block {
    width: 100%;
  }

  #colophon {
    margin-top: 25px;
  }

  .industry-header.services-header > li:nth-last-child(n + 2) a {
    line-height: 2em;
  }

  .accordion {
    margin-bottom: 20px;
  }

  .accordion .ui-accordion-header {
    font-size: 17px;
    padding: 7px 12px;
  }

  .accordion .accordion-content {
    padding: 20px;
  }

  .accordion .accordion-content h2 {
    font-size: 18px;
  }

  .new-home .front-page-industry-content {
    bottom: 30px;
    font-size: 12px;
  }

  .new-home #services ul h3 {
    font-size: 18px;
  }

  .new-home .count {
    padding: 0 10px;
    width: 100%;
  }

  .new-home #banner {
    height: 350px;
  }

  .new-home .banner-text p {
    font-size: 21px;
    padding: 0 10px;
  }

  #projects-slider .slick-arrow {
    width: 11vw;
  }

  #projects-slider .slick-arrow img {
    width: 15px;
  }

  #projects-slider .project-content {
    padding: 28px 22px 25px;
  }

  .project-content h3 {
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .project-content p {
    font-size: 12px;
  }

  /*#projects-slider .project-slide.slick-current,
  #projects-slider .slick-track {
    height: 500px !important;
  }

  #projects-slider .project-slide,
  #projects-slider .project-slide::after {
    height: 450px !important;
  }*/

  .new-home #intro h2 {
    font-size: 25px;
  }

  .home #masthead.white .button.get-a-quote {
    display: none;
  }

  .home #masthead.white #coffeerm-button {
    right: 0;
  }

  .sup-heading {
    font-size: 24px;
  }

  .new-heading {
    font-size: 36px;
  }

  .jump-to-block h3 {
    font-size: 20px;
  }

  .jump-to > li {
    font-size: 16px;
    color: #a8a9ad !important;
  }

  #apply-now #gform_wrapper_4 .gfield {
    width: 100% !important;
  }

  .jump-to > li {
    float: left;
    clear: both;
    padding-left: 25px;
    color: #ddd !important;
  }

  .jump-to > li:nth-last-child(n + 2)::after {
    display: none;
  }

  .jump-to > li::before {
    content: "\f178";
    font-family: fontawesome;
    position: absolute;
    left: 5px;
    font-size: 12px;
    line-height: 24px;
  }

  .custom-archive > article {
    width: 100%;
    margin: 0 0 5vw;
  }

  body.single-project .new-header {
    height: 250px;
  }

  body.single-project .project-content p {
    font-size: 14px;
  }

  .new-page-content #related-projects .related-projects-wrap {
    grid-template-columns: repeat(auto-fill, 100%);
  }

  /*.new-page-content #related-projects .related-project-block {
		width: 100%;
	}*/

  .new-page-content #related-projects {
    padding-bottom: 25px;
  }

  .industry-related-projects .single-projects .project-gallery .flexslider-for img {
    height: 300px;
  }
  .list-of-industries {
    column-gap: 10px;
    row-gap: 10px;
  }
  .list-of-industries .industry-item {
    padding: 7px 15px;
    font-size: 15px;
  }

  .industry-related-projects .slick-prev,
  .more-details .slick-prev {
    left: -18px;
  }

  .industry-related-projects .slick-next,
  .more-details .slick-next {
    right: -18px;
  }
  .all-team {
    column-gap: 2px;
    row-gap: 10px;
  }
  .all-team .single-member {
    width: calc(50% - 2px);
  }
  .all-team .single-member .info {
    padding: 15px 10px;
  }
  .all-team .single-member .info h3 {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .joinchat__button {
    bottom: 27px !important;
  }
  .industry-tax-content .industry-row .content-area.lft,
  .industry-tax-content .industry-row .content-area.rht {
    padding: 40px 30px;
  }
}

@media (max-width: 419px) {
  .pl-wrapper {
    padding: 25px 15px;
    font-size: 14px;
  }

  .pl-container > h1 {
    font-size: 24px;
    line-height: 1.2em;
  }

  .pl-container img {
    display: block !important;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
  }
}
