*, :after, :before {
  box-sizing: border-box;
}

body {
  font-family: 'Barlow Condensed', sans-serif;
  margin: 0;
  overflow-x: hidden;
  color: #3f3f3f;
}
img {
  max-width: 100%;
  display: block;
}
.curve {
  width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
.logo {
  width: 170px;
  transition: .5s;
  height: 80px;
}
.right-align {
  text-align: right;
}
.row-flex {
  display: flex;
  flex-wrap: wrap;
}
.content-center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 15px;
  position: relative;
}
.small-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0px 15px;
  position: relative;
}
.section {
  padding: 50px 0px;
}
.bg-grey {
  background: #f5f5f5;
}
.bg-white {
  background: #fff;
}
.red {
  color: #ff0201;
}
.box {
  background: #fafafa;
border: 1px solid #eeeeee;
padding: 20px;
position: relative;
    height: 100%;
}
.box-image {
  padding: 0px;
}
.box-image img {
  margin: 0 auto;
  width: 100%;
}
.box-content {
    padding: 30px;
    text-align: center;
}
.box-content h2 {
  margin-top: 0px;
}
.center {
  text-align: center;
}
p {
  font-weight: 300;
  line-height: 22px;
}

/* Buttons */
.button {
  display: inline-block;
background: #c10000;
color: #fff;
text-decoration: none;
padding: 10px 40px;
border-radius: 20px;
transition: .5s;
cursor: pointer;
}
.button:hover {
  background: #970002;
}

/* Form */
input, textarea {
    padding: 8px;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #dedede;
    font-family: 'Barlow Condensed', sans-serif;
}
input[type="submit"] {
    border: none;
    margin-top: 10px;
}
.form-group {
  position: relative;
}
.form-group .help-block {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 10px;
  color: #c20102;
}
.form-group .help-block ul {
list-style: none;
padding: 0;
margin-top: 5px;
}

/* CTA Popup */
.get-in-touch {
    max-width: 500px;
    background: #fff;
    border-radius: 10px;
    z-index: 100;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    display: none;
    transition: .5s;
    text-align: center;
    z-index: 101;
    position: fixed;
}
.get-in-touch--cta .get-in-touch {
  display: block;
}
.homepage.get-in-touch--cta:after {
    content: '';
    background: rgb(63 63 63 / .7);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    position: fixed;
}
.get-in-touch i {
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
}


/* NAV */
.header .nav-header ul {
  list-style-type: none;
margin: 0;
text-transform: uppercase;
text-align: center;
}
.header .nav-header ul li {
display: inline-block;
position: relative;
line-height: normal;
padding: 20px 0px;
}
.header .nav-header ul li a {
text-decoration: none;
color: #fff;
text-transform: uppercase;
font-weight: 100;
font-size: 18px;
padding: 20px 18px;
transition: .5s;
cursor: pointer;
}
.header .nav-header ul li a:hover {
  background: #f5f5f5;
  color:#c10000;
}


/* Header */
.header {
  width: 100%;
  z-index: 10;
  transition: .5s;
}
.scrolled .header {
    background: #fff;
}
.scrolled .header .mobile-menu-trigger span {
  background: #3f3f3f;
}
.scrolled .header .logo {
  max-width: 90px;
}
.top-header {
      padding: 20px 0px;
      position: relative;
      min-height: 120px;
}
.top-header .content-center {
    padding-right: 15px;
}
.top-header .button {
    margin-left: 40px;
}
.top-header .header-link { 
  font-size: 18px;
font-weight: 500;
}
.nav-header {
background:#c10000;
}


/* Mobile Menu */
.mobile-trigger span {
  background: #3f3f3f;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  display: block;
  margin-bottom: 4px;
}
.mobile-menu {
  position: absolute;
  background: #fff;
  width: 100%;
  left: 0;
  z-index: 10;
  display: none;
}

.mobile-menu ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
  text-align: center;
}

.mobile-menu li {
  padding: 8px;
  border-top: 1px solid #f3f3f3;
}
.mobile-menu a {
  width: 100%;
  display: block;
}

/* Homepage */
.homepage-banner {
  background-image: url(/images/new-homepage-background.jpg);
background-size: cover;
background-position: center; 
}

.homepage-title {
    padding: 72px 0px 80px 0px;
    max-width: 590px;
    color: #fff;
}
.homepage-title h1 {
    font-size: 50px;
    text-transform: uppercase;
    color: #fff;
    margin: 0px;
}
.homepage-title p {
  font-weight: 300;
  max-width: 420px;
  font-size: 20px;
}
.why-nexus {
  padding-top: 90px;
  background: #f5f5f5;
}
.why-nexus .box {
  padding-top: 50px;
}
.why-nexus-icon {
    position: absolute;
    top: -40px;
    width: 80px;
    height: 80px;
    border-radius: 100%;
    background: #c20102;
    left: calc(50% - 40px);
}
.why-nexus-icon i {
    color: #fff;
    line-height: 80px;
    font-size: 26px;
    text-align: center;
    width: 100%;
}

.about-nexus {
  position: relative;
}
.about-nexus img {
  box-shadow: -28px -28px #c20100;
  height: 100%;
  object-fit: cover;
  object-position: left;
}
.about-nexus .col-sm-6:nth-child(1) {
  padding-right: 60px;
}


/* Inner Banner */

.inner-banner {
background-size: cover;
background-position: center;
}
.inner-title {
    padding: 90px 0px 60px 0px;
    max-width: 100%;
    color: #fff;
}
.inner-title h1 {
    font-size: 50px;
    text-transform: uppercase;
    color: #fff;
    margin: 0px;
}
.services-banner {
  background-image: url(/images/homepage-background.jpg);
}

/* Services */
.services-page .col-sm-4 {
  margin-bottom: 30px;
}
.service .box p {
  font-size: 18px;
}
.service-nav a {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 18px;
}

/* Career Card */
.career-card {
  border-radius: 4px;
  padding: 22px;
}
.career-card h3 {
  margin-top: 0px;
}


/* Footer */
.accreditations {
    background: #fff;
    padding: 50px 0px;
}
.accreditations .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.accreditations .row a {
  width: 100%;
}
.accreditations .col-sm-3 {
    display: flex;
}
.accreditations img {
    margin: 0 auto;
    max-width: 70px;
    object-fit: contain;
}
.footer {
    border-top: 1px solid gainsboro;
    padding: 30px 0px;
}
.footer ul {
    list-style: none;
    padding: 0px;
    margin-bottom: 0px;
}
.footer li {
  padding-top: 2px;
}
.sub-footer {
  background: #c20102;
  padding: 20px 0px;
}
.sub-footer p {
  margin: 0px;
  color: #fff;
}
/* .footer-phone, .footer-address {
  padding-left: 26px;
  position: relative;
  margin-bottom: 20px; 
}  */
.footer-phone:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f095";
  position: absolute;
  left: 0px;
  font-size: 14px;
  top: 2px;
}
.footer-address:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f124";
  position: absolute;
  left: 0px;
  font-size: 14px;
  top: 2px;
}
.footer-locations {
  text-align: center;
  font-size: 16px;
  margin-top: 20px;
}



.homepage-banner {
  position: relative;
}
.homepage-banner:after {
  content: '';
  background: rgb(25 25 25 / 50%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.homepage-banner .wrapper {
    z-index: 2;
}

.homepage-banner img {
    z-index: 3;
    position: relative;
}

.services-cta {
  margin-top: 30px;
}
.services-cta a {
  width: 100%;
  text-align: center;
}


.case-studies .col-sm-4 {
  margin-bottom: 30px;
}

.footer-phone, .footer-address {
  position: relative;
  padding-left: 30px;
}
.mobile {
  display: none;
}

@media only screen and (max-width: 768px) {
  .mobile {
    display: block;
  }
  .mobile-menu {
    display: none;
  }
  .desktop {
    display: none;
  }
  .content-center {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}
.mobile-trigger {
  text-align: right;
  display: block;
  right: 30px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.homepage-banner:after {
  background: rgb(25 25 25 / 0.75);
}
.why-nexus .col-sm-4 {
  margin-bottom: 60px;
}
.map iframe {
  margin-top: 30px;
}
.sub-footer, .right-align {
  text-align: center;
}
}

@media only screen and (max-width: 600px) {
  .top-header {
    min-height: 90px;
  }
  .logo {
    width: 100px;
    height: auto;
}
}