/* custom styles css */

.hlt {
    background-color: #e23130;
    padding: 1em;
    box-sizing: border-box;
    margin-top: 2em;
  }
  
  .hlt .pushDown {
    margin-top: 0 !important;
    color: #ffffff;
  }
  
  .hlt p {
    color: #ffffff;
  }
  
  .cta_latest_jobs_section {
    margin: 3em 0 1em 0;
    text-align: center;
  }
  
  .cta_latest_jobs_section a {
    text-decoration: none;
    border: 1px solid #e23130;
      padding: 1em 1em 0.8em 1em;
      font-size: 1.2em;
      color: #e23130;
      transition: all 0.5s ease-in-out;
  }
  
  .cta_latest_jobs_section a:hover {
    background-color: #e23130;
    color: #ffffff;
  }

  
.footer-social {
    border-top: 10px solid #e23130;
    background: #fff;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr minmax(320px, calc(1500px + 4rem)) 1fr;
    grid-template-columns: 1fr minmax(320px, calc(1500px + 4rem)) 1fr;
    -ms-grid-rows: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    grid-column-gap: 0;
    grid-row-gap: 0;
  }


  .footer-social .inner-container {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 1;
    grid-row: 1;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr);
    -ms-grid-rows: minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) minmax(0, -webkit-max-content);
    grid-template-rows: minmax(0, 1fr) minmax(0, max-content);
    grid-column-gap: 0;
    grid-row-gap: 0;
    padding: 0 2rem;
  }

  .footer-social .inner-container .grp_footer_social {
    padding: 4em 0;
    text-align: center;
  }

  .footer-social .inner-container #socialLinks {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  
  .footer-social .inner-container .grp_footer_social .heading_footer {
    margin-bottom: 1em;
  }

  .footer-social .inner-container .grp_footer_social .heading_footer h2 {
    color: #000;
  font-weight: bold;
  font-size: 2em;
}
  
  .footer-social .inner-container #socialLinks a {
    display: block;
    margin-left: .5rem;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
  }
  
  @media (max-width: 480px) {
    .footer-social .inner-container #socialLinks a {
      margin-left: .25rem;
    }
  }
  
  .footer-social .inner-container #socialLinks a:first-of-type {
    margin-left: 0;
  }
  
  .footer-social .inner-container #socialLinks a svg {
    width: 50px;
    height: 50px;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
  }
  
  @media (max-width: 480px) {
    .footer-social .inner-container #socialLinks a svg {
      /* width: 25px;
      height: 25px; */
    }
  }
  
   .footer-social .inner-container #socialLinks a svg .facebook-1 {
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
  }
  
   .footer-social .inner-container #socialLinks a svg .instagram-1 {
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
  }
  
   .footer-social .inner-container #socialLinks a svg .twitter-1 {
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
  }
  
   .footer-social .inner-container #socialLinks a svg .linkedIn-1 {
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
  }
  
   .footer-social .inner-container #socialLinks a:nth-of-type(1):hover svg {
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    -webkit-transform: translateY(-0.5rem);
            transform: translateY(-0.5rem);
  }
  
   .footer-social .inner-container #socialLinks a:nth-of-type(1):hover svg .facebook-1 {
    fill: #263961;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
  }
  
   .footer-social .inner-container #socialLinks a:nth-of-type(2):hover svg {
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    -webkit-transform: translateY(-0.5rem);
            transform: translateY(-0.5rem);
  }
  
   .footer-social .inner-container #socialLinks a:nth-of-type(2):hover svg .instagram-1 {
    fill: #85255b;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
  }
  
   .footer-social .inner-container #socialLinks a:nth-of-type(3):hover svg {
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    -webkit-transform: translateY(-0.5rem);
            transform: translateY(-0.5rem);
  }
  
   .footer-social .inner-container #socialLinks a:nth-of-type(3):hover svg .twitter-1 {
    fill: #0b76b8;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
  }
  
   .footer-social .inner-container #socialLinks a:nth-of-type(4):hover svg {
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    -webkit-transform: translateY(-0.5rem);
            transform: translateY(-0.5rem);
  }
  
   .footer-social .inner-container #socialLinks a:nth-of-type(4):hover svg .linkedIn-1 {
    fill: #004569;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
  }

  .links-copy {
	font-weight: bold !important;
	color: #e23130 !important;
}


/* Profiles case studies */

.profile-cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
      flex-flow: wrap;
}

.profile-cards .profile-card {
  width: 32.33%;
  max-width: 100%;
  background-color: #fafafa;
  margin-left: 1.5%;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
  margin-bottom: 1.25em;
}
.profile-cards .profile-card:nth-of-type(3n+1) {
  margin-left: 0;
}

.profile-cards .profile-card .inner-card {
  padding: 2em;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: inherit;
}
.profile-cards .profile-card .inner-card .pr_img {
  margin-bottom: 1.25em;
}
.profile-cards .profile-card .inner-card .pr_img img {
  max-width: 100%;
}
.profile-cards .profile-card .inner-card .blurb {margin-bottom: 1.25em;}
.profile-cards .profile-card .inner-card .blurb span {
  color: #e23130;
  font-weight: bold;
}

.profile-cards .profile-card .inner-card .cta-readmore {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.profile-cards .profile-card .inner-card .cta-readmore a {
  display: inline-block;
  -webkit-appearance: none;
  color: #e23130;
  border: 2px solid #e23130;
  padding: 0.75em 2em;
  box-sizing: border-box;
  transition: all 0.5s ease-in-out;
}

.profile-cards .profile-card .inner-card .cta-readmore a:hover, .profile-cards .profile-card .inner-card .cta-readmore a:focus {
  background-color: #e23130;
  color: #ffffff;
}


/* Employee page - for case studies*/

.profile .profile-new-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: wrap;
      flex-flow: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.profile .profile-new-block .image-pane {
  width: 280px;
}

.profile .profile-new-block .image-pane img {
  max-width: 100%
}

.profile .profile-new-block .ph-pane {
  width: calc(100% - 300px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.profile .profile-new-block .ph-pane .profile-highlights .rw-p {
  font-weight: bold;
}

.profile .profile-new-block .ph-pane .profile-highlights .rw-p a {
  color: #e23130;
  text-decoration: underline;
}
.profile .profile-new-block .ph-pane .profile-highlights .rw-p span {
  font-weight: bold;
  margin-right: 10px;
  color: #e23130;
}


  /* Mobile View CSS */

  @media(max-width: 1040px) {
    .profile-cards {
      -webkit-box-pack: justify;
          -ms-flex-pack: justify;
              justify-content: space-between;
    }

    .profile-cards .profile-card {
      width: 49%;
      margin-left: 0;
    }
  }

  @media(max-width: 720px) {
    .profile-cards .profile-card .inner-card {
      padding: 1.25em;
    }
  }

  @media(max-width: 640px) {
    .profile-cards .profile-card .inner-card .pr_img {
      text-align: center;
    }
    .profile-cards .profile-card {
      width: 100%;
    }

    .profile .profile-new-block .image-pane {
      width: 100%;
      margin-bottom: 1.25em;
    }

    .profile .profile-new-block .ph-pane {
      width: 100%;
    }
    
  }


@media(max-width: 420px) {
    html body .siteCopy article {
        padding: 3rem 2rem;
    }
    html body .siteCopy article#homeCopy > h1 {
        font-size: 1.55rem;
    }

    html body .siteCopy article#homeCopy h2 {
        font-size: 2em;
        margin: 2rem 0 2rem 0;
    }

    html body #featured_opportunities .featuredWrapper {
        padding: 3.8rem 2rem 0;
    }

    html body #outer-header #inner-header #logoLine .cta_latest_jobs a {
        height: auto;
    }

    html body #featured_opportunities .featuredWrapper > h1 {
        font-size: 2em;
    }

    html body .siteCopy article .collapse .pushDown {
        margin-top: 1em;
    }
    html body .siteCopy article#innerpage {
        padding: 2rem 1rem;
    }
    html body .siteCopy article .collapse {
        padding: 1rem 1rem;
    }

    html body .siteCopy article#innerpage .profile .profileBlock .profileDetails .rowP span {
        width: 100% !important;
    }

    html body #featured_opportunities .featuredWrapper .job-cards a .job-card .jobCardChevron {
      width: 60px;
      margin-left: 1rem;
    }
    html body #featured_opportunities .featuredWrapper .job-cards a .job-card .jobCardChevron svg {
      width: 60px;
      height: auto;
    }
    html body #featured_opportunities .featuredWrapper .job-cards a .job-card .job-card-text {
      width: calc(100% - 45px - 1rem);
    }
    html body #featured_opportunities .featuredWrapper .job-cards a .job-card .job-card-text h1 {
      font-size: 1.3em;
    }
    html body #featured_opportunities .featuredWrapper .job-cards a .job-card .job-card-text h2 {
      font-size: 1.25em;
    }

    html body .job-cards a .job-card .job-card-text {
      width: calc(100% - 45px - 1rem);
    }
    html body .job-cards a .job-card .jobCardChevron {
      width: 60px;
      margin-left: 1rem;
      margin-bottom: 0;
    }
    html body .job-cards a .job-card .jobCardChevron svg {
      width: 60px;
      height: auto;
    }
    html body .job-cards a .job-card .job-card-text h1 {
      font-size: 1em;
    }
    html body .job-cards a .job-card .job-card-text h2 {
      font-size: 1.15em;
    }

}

@media(max-width: 375px) {
  html body #featured_opportunities .featuredWrapper .job-cards a .job-card .job-card-text h1 {
    font-size: 1em;
  }
  html body .job-cards a .job-card .job-card-text h1 {
    font-size: 0.75em;
}
}
