/* Font Awesome Custom Styling */

header a.brand-name img {
  max-width: 195px;
}

footer .cell-xs-12 {
  justify-content: center;
  align-items: center;
  display: flex;
  margin-top: 0;
}

.range.opening-hours {
  height: 100%;
}

.range.opening-hours .cell {
  margin: 5px 0;
}

li .fa {
    font-style: normal;
    position: relative;
    top: 5px;
}

.bg-grey {
  background-color: #f2f2f2;
}

.bg-white {
  background-color: #fff;
}

.bg-black {
  background-color: #000;
}

section.section-md.overview {
  background-color: #000;
}

.section-md {
  position: relative;
}

.text-grey {
  color: #333;
}

.testimonials.centered {
    margin: 0 auto;
}

a.anchor-body {
  display: block;
  position: relative;
  top: -90px;
  visibility: hidden;
}

a.anchor-body-sm {
  display: block;
  position: relative;
  top: -20px;
  visibility: hidden;
}

.services-square {
  min-width: 100%;
  min-height: 275px;
  background: red;
  text-align: center;
  color: white;
}

.services-square .fa {
  font-style: normal;
  position: relative;
  top: 5px;
  font-size: 10em;
}

.services-square p {
  font-size: 1.5em;
  margin-top: 0;
}

/* Template Changes */
.owl-prev:hover:before{
  left: 6px !important;
}

.owl-next:hover:before{
  right: 6px !important;
}

.owl-carousel-2.owl-carousel-control-top .owl-prev, .owl-carousel-2.owl-carousel-control-top .owl-next {
  top: 50%;
}


/* Staff Styles */
.team-member-container {
  position: relative;
}
.team-member-container .team-member-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #FFF;
  opacity: 0;
  transition: opacity 0.12s ease-in;
  margin-top: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-member-container .team-member-wrapper .more-info-button {
  border: 2px solid #FFF;
  padding: 15px 25px;
  font-weight: bolder;
  color: #FFF;
  background-color: transparent;
  cursor: pointer;
}

.team-member-container .more-info-button:hover {
background-color: #252d32;
}

.team-member-container:hover .team-member-wrapper {
  background: rgba(25, 25, 25, .75);
  opacity: 1;
  margin-top: 0 !important;
}

.team-member {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 60px 30px;
}

.team-member-image {
  margin-right: 40px;
}

.team-main-info {
  margin-top: 20px;
  color: #333 !important;
}

 p.team-heading {
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 0 !important;
}

.team-main-info p.team-position {
  margin-top: 5px !important;
}

.team-member-descriptions {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  padding: 50px 20px;
  color: #FFF;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(25,25,25,.7);
  z-index: 10;
  display: none;
}

.team-member-description {
  width: 75%;
  display: none;
  justify-content: center;
  align-items: center;
  text-align: left;
  background: #191919;
  padding: 40px 60px !important;
}

.team-member-description h1 {
  font-size: 48px;
  color: #FFF;
  text-transform: initial;
  letter-spacing: 0px;
}

.team-member-description h2 {
  margin-top: 5px;
  color: #FFF;
  font-size: 22px;
  font-weight: 500;
}

.team-member-description p {
  line-height: 25px !important;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  margin-top: 25px;
}

.range.altis-team {
  margin-bottom: 80px !important;
  margin-top: 80px !important;
}

.et_pb_button_wrapper:before {
 transform: rotate(45deg);
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -2.5px;
  margin-left: -12.5px;
  display: block;
  height: 5px;
  width: 35px;
  background-color: #fff;
  transition: all .25s ease-out;
}

.et_pb_button_wrapper:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -2.5px;
  margin-left: -12.5px;
  display: block;
  height: 5px;
  width: 35px;
  background-color: #fff;
  transition: all .25s ease-out;
}

.et_pb_button_wrapper {
  height: 45px;
  width: 45px;
  position: absolute;
  top: 50px;
  right: 50px;
  box-sizing: border-box;
  line-height: 45px;
  display: none;
  z-index: 11;
}

body.overflowed .et_pb_button_wrapper {
  display: inline-block;
}

.et_pb_button_wrapper:hover:after,
.et_pb_button_wrapper:hover:before {
  transform: rotate(0deg);
}

.team-member-descriptions #close-description {
  display: none;
}

.team-member-descriptions.open {
  display: flex;
}

.team-member-descriptions.open #close-description {
  display: inline-block;
}

#close-description,
.close-job {
  cursor: pointer;
}

/* Contact Us Styles */
.range.range-sm-reverse.get-in-touch {
  justify-content: space-between;
}

.range.range-sm-reverse.get-in-touch > .cell-lg-preffix-1 {
  margin-left: 0;
}

/* Services Page - Services */
.expand-service.shell {
  margin-top: 30px;
}

.expand-service .service-information {
  margin-top: 10px;
}

.expand-service i {
  font-style: normal;
}

.shell.hidden-sections {
  display: none;
}

#movement-section,
#sport-section {
  margin-top: 3rem;
}

#movement-section span,
#sport-section span {
  display: block;
  padding-bottom: 1rem;
}

#movement-section .hidden-span,
#sport-section .hidden-span {
  display: none;
}

#movement-section ul,
#sport-section ul {
  margin-left: 4rem;
}

#movement-section li,
#sport-section li {
  margin: 20px 0;
  text-align: left;
}

.services-sublinks .sub-heading {
  cursor: pointer;
  color: #ef4c14;
}

.services-sublinks .sub-heading {
  color: rgba(239, 76, 20, .8);
}


button.service-buttons.darked {
  background-color: #f2f2f2;
  border-color: #333;
  color: #333;
}

button.service-buttons.darked:hover,
button.service-buttons.darked:focus {
  color: #333;
}

button.service-buttons {
  background-color: #333;
  border-color: #f2f2f2;
  color: #f2f2f2;
}

button.service-buttons:hover,
button.service-buttons:focus {
  color: #f2f2f2;
}
button.service-buttons:focus,
button.service-buttons:active {
  outline: none;
  outline-offset: 0;
  color: #f2f2f2;
}

.services-square {
  background-size: cover;
  position: relative;
}

.services-square p {
  opacity: 0;
  top:0;left: 0;right:0;bottom:0;
  position: absolute;
  width: 100%;
  height: 100%;
  margin-top: 0 !important;
  color: #FFF;
  transition: opacity 0.12s ease-in;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-square p:hover {
  background: rgba(25, 25, 25, .75);
  opacity: 1;
}

.services-square.performance {
  background-image: url(../images/square-sports-performance.jpg);
}

.services-square.movement {
  background-image: url(../images/square-movement-assessment.jpg);
}

.services-square.rehab {
  background-image: url(../images/square-rehab-ther.jpg);
}

.services-square.massage-ther {
  background-image: url(../images/square-massage-therapy.jpg);
}

/* Careers Page */

.open-positions p { font-size: 3rem; }
.centered { text-align: center; }
.submit-cv { margin-top: 8rem; }
.submit-cv p { font-size: 1.5rem; }

.modal-wrapper {
  display: none;
  position: fixed;
  z-index: 10;
  top:0;bottom:0;left:0;right:0;
  background: rgba(25, 25, 25, .75);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.modal-wrapper.open {
  display: flex;
}

.careers-modal {
  background: white;
  max-width: 1000px;
  z-index: 11;
  text-align: left;
  padding: 10rem 6rem;
  position: relative;
  display: none;
  max-height: calc(100vh - 56px);
  margin-top: 56px !important;
  overflow: auto;
}

.careers-modal ul {
  list-style: initial;
  margin: 1rem;
  padding-left:2rem;
}

.careers-modal p,
.careers-modal li {
  font-size: 1.4rem;
  line-height: 3rem;
}

.careers-modal p,
.careers-modal ul {
  margin-top: 10px;
  margin-bottom: 10px;
}

.careers-modal h2 {
  font-size: 4rem;
  line-height: 4.2rem;
  margin-bottom: 15px;
}

.careers-modal h3 {
  font-size: 2rem;
  line-height: 2.5rem;
  margin-top: 40px
}

.careers-modal .et_pb_button_wrapper:before,
.careers-modal .et_pb_button_wrapper:after {
  background-color: #333;
}

p.open-position {
  cursor: pointer;
  color: #ef4c14;
}

.open-position:hover {
  color: rgba(239, 76, 20, .8);
}

/* Home Page */
section.build-champion .range {
  justify-content: center;
}

section.build-champion h3 {
  font-size: 20px;
}

.parallax {
  position: relative;
  background-attachment: fixed;
  background-position: center 0;
  background-repeat: no-repeat;
  background-size: cover;
  height: 800px;
}

.caption {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;

  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;

  height: 100%;
  flex-direction: column;
}

.caption .border {
  color: #fff;
  font-weight: bold;
  padding: 18px;
  font-size: 35px;
  letter-spacing: 0.1em;
}

#curator-feed {
  max-width: 1200px;
  margin: 50px auto;
}

p.text-uppercase.text-bold.subheading {
  font-size: 35px;
}

.about-large-images {display: none;}

#contact-form .row { margin-left: 0; margin-right: 0; }
#contact-form .col {
  padding-left: 5px;
  padding-right: 5px;
  margin-top: 10px !important;
}

.alert.alert-success.alert-dismissable {
  margin: 15px 0;
}

@media (max-width: 1199px) {
  .bg-image-overview { background: black; }
  .bg-image-mtp { background: white; }
  .bg-image-our-history { background: #f2f2f2; }
  
  .about-large-images {
    display: block;
    margin: auto;
  }
}

@media (max-width: 991px) {
  .section-md.bg-image-our-history .range.range-md-left.range-50,
  .section-md.bg-image-overview .range.range-md-left.range-50 {
    flex-direction: column-reverse;
  }
}

@media (max-width: 979px) {
  .open-positions p { font-size: 2rem; }
  .team-member-descriptions.open {
    position: fixed;
    display: block;
    top: 56px;
    height: 100%;
    max-height: calc(100vh - 56px);
    overflow: auto;
  }

  .team-member-description {
    width: 100%;
    flex-direction: column;
    padding: 20px 30px !important;
  }

  .team-member-image {
    margin: 10px auto 20px;
  }

  .et_pb_button_wrapper {
    top: 5px;
    right: 10px;
  }
}

@media (max-width: 768px) {
  .services-square p {
    opacity: 1;
    background: rgba(25, 25, 25, .5);
  }

  footer.page-footer.footer-static {
    text-align: left;
  }

  .range.range-sm-reverse.get-in-touch {
    flex-direction: column-reverse;
  }

  .range.range-sm-reverse.get-in-touch .cell {
    margin: 20px 0;
  }


  /* Header */
  ol.breadcrumb-custom {
    display: none;
  }

  .page h1 {
    font-size: 2rem;
    text-align: center;
  }

  .breadcrumb-wrapper {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}