.fifty {
  scroll-margin-top: 100px;
  overflow-x: hidden;
}
.fifty .row {
  min-height: calc(100vh - 100px);
}
.fifty .contentbox, .fifty .imagebox {
  flex-grow: 1;
}
.fifty .contentbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 15% 12px;
  margin: 0 auto;
  max-width: 85%;
  overflow: hidden;
  height: 100%;
  z-index: 9;
}

.fifty .content {
  position: relative;
  z-index: 9;
}
.fifty .content p, .fifty .content li, .fifty .content .back, .fifty .links a, .fifty .content h3, .fifty .content .lead, .fifty .content h4 { 
  color: white;
}
.fifty .content h2, .fifty .content h1{
  font-weight: 500;
  padding: 0 0 1rem;
  color: white;
}
.expertise h2 {
  text-transform: uppercase;
}
.fifty .content h1 {
  text-transform: uppercase;
}
.fifty .content h3 {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500 ;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.fifty .content h4 {
  font-size: 30px;
  text-transform: none;
  letter-spacing: 1px;
}

.fifty .content a {
  text-transform: none;
}
.fifty .contentbox::after {
  position: absolute;
  content: '';
  opacity: 0.5;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-position-y: bottom;
  background-position-x: 100%;
  background-size: 180%;
  background-repeat: no-repeat;
}
.fifty .imagebox {
  height: 100%;
  padding: 0;
}
.fifty .imagebox img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.fifty.blue .contentbox {
  background: var(--color-blue);
}
.fifty.darkblue .contentbox {
  background: var(--color-blue);
}
.fifty.grey .contentbox {
  background: #E8E8E8;
}
.fifty.grey h2, .fifty.grey p, .fifty.grey a, .fifty.grey li, .fifty.grey h3, .fifty.grey h4, .fifty.grey .back, .fifty.grey .lead {
  color: var(--color-blue) !important;
}
.contentbox::after {
  position: absolute;
  content: '';
  opacity: 0.5;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
}

/* Back link */

.fifty .content .back {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
}
.fifty .content .back svg {
  margin: -3px 1rem 0 0;
}


/* links */

.fifty .content :not(strong) a {
  color: white;
  font-weight: 600;
}

.fifty .content strong a:not(.back), .fifty .content a:not(.back) strong {
  text-transform: none;
  line-height: 1.5;
  color: white;
  background: transparent;
  border: 1px solid white;
  border-radius: 30px;
  position: relative;
  padding: 10px 50px 10px 20px;              
  text-transform: uppercase;
  font-weight: 500;
  margin: 2rem 0 0;
  display: inline-block;
  text-decoration: none;
}

.fifty .content strong a:not(.back)::after, .fifty .content a:not(.back) strong::after{
  content: url(../../assets/images/arrow_fwd.svg);
  position: absolute;
  right: 15px;
  transition: all .3s ease-in-out;
}

.fifty .content strong a:not(.back):hover::after, .fifty .content a:not(.back) strong:hover::after{
  transform: translateX(5px);
}

.fifty.grey .content strong a:not(.back), .fifty.grey .content a:not(.back) strong {
  border-color: var(--color-blue);
  color: var(--color-blue);
}
.fifty.grey .content strong a:not(.back)::after, .fifty.grey .content a:not(.back) strong::after{
  content: url(../../assets/images/arrow_fwd_blue.svg);
}


.fifty .links {
  padding:0;
  margin: 4rem 0 0;
}
.fifty .links li {
  position: relative;
  display: inline;
  border-right: solid 1px white;
}
.fifty .links li a {
  color: white;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  padding-right: 50px;
  font-weight: 500;
  letter-spacing: 1px;
}
.fifty .links li:not(:first-child) a {
  padding-left: 25px;
}
.fifty .links li:last-child {
  border-right: none;
}
.fifty .links li::after {
  content: url(../../assets/images/arrow_fwd.svg);
  position: absolute;
  right: 0;
  transform: rotate(-45deg);
  transition: all 0.3s ease-in-out;
  margin-right: 13px;
}
.fifty .links li:hover::after {
  transform: rotate(0);
}


/* Responsive styles */

@media screen and (max-width: 1400px) {
  .fifty .row {
    height: auto;
  }
}

@media screen and (min-width: 1200px){
  .fifty .links ul {
    display: inline;
    max-width: unset;
  }
  .fifty .links ul li {
    border-right: solid 1px white;
    border-bottom: none;
    display: inline;
    padding:0;
  }
}
@media screen and (min-width: 992px){
  section:first-of-type.fifty .contentbox {
    order: 1;
  }
  section:first-of-type.fifty .imagebox {
    order: 2;
  }
  .fifty:nth-child(odd) .left {
    order: 2;
  }
  .fifty:nth-child(odd) .right {
    order: 1;
  }
  .fifty .left.first {
    order: 1;
  }
  .fifty .contentbox  {
    padding: 15%;
    max-width: 100%;
  }
}

@media screen and (max-width: 500px) {
  .fifty .content a:not(.back) {
    padding: 10px 20px;
  }
  .fifty .content a:not(.back)::after  {
    content: none;
  }
}
