/* @import url('https://fonts.googleapis.com/css2?family=Lora:ital@0;1&family=Cabin:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap'); */
body {
	/* font-family: Lora,Helvetica,Arial,"Lucida Grande",sans-serif; */
	font-weight: 400;
	background: #EEE;
}
body.menu-active {
  overflow: hidden;
}
#header {
  /* background-color: #e1dec3; */
  background-color: #fff;
  box-sizing: border-box;
  box-shadow: 0 -5px 10px rgba(0,0,0,0.15);
  z-index: 999;
  transition: all 0.2s ease-in-out;
  /* position: fixed; */
}
.logo {
  padding-bottom: 3rem;
  max-width: 100%;
  margin: 5rem auto 1rem auto;
  display: block;
  transition: all 0.125s ease-in-out;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  /* background-color: rgba(255, 255, 255, 0.125); */
}

#header .menu div {
  /* font-family: 'Cabin', Lora, sans-serif; */
  font-weight: 700;
  text-align: center;
  font-size: 1.15rem;
  text-transform: uppercase;
  -moz-user-select: none;
  -webkit-user-select: none;
}
#header .menu div a {
  color: #002a81;
  text-decoration: none;
  padding: 1rem;
  display: block;
}
#header .menu div a:hover {
  /* text-decoration: underline; */
  background-color: #f8f8f8;
}
#content {
  background-color: #002a81;
}

#content {
  background-image: url("../img/welcome-chris-lift-darker2.jpg");
  background-position: left top;
  background-repeat: no-repeat;
  min-height: 500px;
  background-size: cover;
}
#intro {
  color: #fff;
  padding: 1rem;
  /* border: 1px solid rgba(255, 255, 255, 0.25); */
  margin: 2rem auto 2rem auto;
  /* background-color: rgba(0,0,0,0.125); */
  border-radius: 0.15rem;
  /* box-shadow: -2px 2px 5px rgba(0,0,0,0.125); */
  font-size: 1.25rem;
  text-align: center;
  line-height: 1.355;
  /* transform: rotate(-2deg); */
}
#intro em {
  font-weight: 700;
  font-size: 110%;
  color: #1e87f0;
}
em {
  color: inherit;
}
p.readTestimonials {
  text-align: center;
  color: #fff;
  margin-bottom: 2rem;
  font-size: 90%;
}
#testimonial {
  background-color: #002a81;
  /* background-image: url("../img/mike-miller.jpg"); */
  background-position: center right;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: -4px 4px 5px inset rgba(0,0,0,0.125);
  overflow: hidden;
  padding-bottom: 3rem;
  /* margin-top: -1px; */
  /* border-top: 1rem solid #30485b; */
}
#testimonial h1, #moreStories h1 {
  color: #fff;
  margin-bottom: 2rem;
  /* line-height: 1.25; */
  font-size: 1.5rem;
}
.quote-wrapper {
  margin: 1rem 0 3rem 0;
  padding: 2rem;
  color: #fff;
  background-color: rgba(0,0,0,0.25);
  font-size: 1.15rem;
  /* line-height: 1.25; */
  text-align: left;
  border-radius: 0.25r  /em;
  position: relative;
  padding-left: calc(100px + 1rem);
  /* z-index: 99; */
}
.quote-wrapper .photo {
  border-radius: 50%;
  position: absolute;
  right: calc(100% - 100px);
  /* border: 1px solid #fff; */
  box-shadow: -2px 2px 5px rgba(0,0,0,0.125);
  /* z-index: 99; */
  top: 25%;
  margin-top: -15%;
  max-width: 150px;
}
h1,h2,h3,h4,h5,h6 {
  /* font-family: "Cabin"; */
}
.imgwrap {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.textwrap {
  /* background-color: rgba(255, 255, 255, 0.1); */
  /* border-radius: 0.25rem; */
  /* padding: 1rem; */
  padding-right: calc(100px - 3rem);
  padding-left:  calc(100px - 3rem);;
  /* text-align: right; */
}
.service_photo {
  display: block;
  margin: 1rem auto;
  max-width: 100%;
  /* width: 100%; */
  display: block;
  border-radius: 50%;
  box-shadow: -2px 2px 5px rgba(0,0,0,0.125);
  max-height: 250px;
  height: 175px;
  position: absolute;
  border: 5px solid #fff;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  transition: all 0.1s ease-in-out;
}
#services {
  /* padding-top: 3rem; */
  overflow: hidden;
  position: relative;
  /* box-shadow: 0 3px 5px inset rgba(0,0,0,0.125); */
}
.center {
  text-align: center;
}
.service {
  border-top: 5px solid #002a81;
  border-radius: 0.25rem;
  box-shadow: 0 -3px 5px rgba(0,0,0,0.125);
  border-bottom: 1px solid #ccc;
  background-color: rgba(255, 255, 255, 0.125);
  transition: all 0.2s ease-in-out;
  text-align: center;
}

.service:hover {
  /* background-color: #fdf2e9; */
  /* z-index: -1; */
}
.service:hover .service_photo {
  height: 185px;
  margin-top: calc(1rem - 5px);
  filter: sepia(1);
}
#services h1, #services h2 {
  color: #002a81;
  /* line-height: 1.125; */
}
.service p {
  padding: 0 1rem;
  color: #333;
}
#services .service h2 {
  margin-top: calc(175px + 2rem);
  color: #002a81;
}
#moreStories {
  padding-bottom: 2rem;
  background-color: #e1dec3;
  box-shadow: 0 3px 5px inset rgba(0,0,0,0.125);
  margin-top: -1px;
  color: #333;
  overflow: hidden;
}
#moreStories h1 {
  color: #30485b;
}
#moreStories .testimonial {
  position: relative;
}
#moreStories .testimonial .name {
  right: 175px;
  left: 0;
  padding-right: 20px;
  padding-top: 1rem;
  /* font-family: "Cabin", sans-serif; */
  font-size: 1.25rem;
  line-height: 1;
  text-align: right;
  top: 55px;
  position: absolute;
  color: #30485b;
  border-top: 5px solid #fff;
}
#moreStories .testimonial .imgwrap {
  text-align: right;
}
#moreStories .testimonial .imgwrap img {
  border-radius: 50%;
  border: 5px solid #fff;
  /* filter: grayscale(1); */
  transition: all 0.2s ease-in-out;
  height: 185px !important;
}
#moreStories .testimonial:hover .imgwrap img {
  filter: grayscale(0);
}
#moreStories .testimonial p {
  padding: 0 2rem;
}
#featured {
  /* background-color: #fff; */
  align-self: stretch;
  color: #fff;
}
#top_program {
  background-image: url("../img/pj-opt.jpg");
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
#top_program #top_description {
  /* background-color: rgba(255, 255, 255, 0.75); */
  color: #fff;
}
.btn {
  display: inline-block;
  height: 3rem;
  line-height: 3rem;
  padding: 0 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  background-color: #fff;
  color: inherit;
  color: #166d95;
  text-decoration: none;
  font-family: Cabin, arial, sans-serif;
  text-transform: uppercase;
  box-shadow: -3px 3px 5px rgba(0,0,0,0.25);
}
.btn:active {
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
#footer {
  background-color: #002a81;
  color: #fff;
  margin-top: 3rem;
  padding-top: 3rem;
  padding-bottom: 6rem;
}
#footer a {
  color: #fff;
}
.mobileHeaderButton {
  font-size: 1.25rem;
  background-color: rgba(255, 255, 255, 0.99);
  padding: 0.5rem;
  min-height: 30px;
  min-width: 100%;
  max-width: 100%;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  z-index: 999;
  color: #002a81;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
body.scroll-down .mobileHeaderButton {
  opacity: 0;
}
body.scroll-up .mobileHeaderButton {
  opacity: 1;
}
#mobileHeader {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 111;
  background-color: rgba(255, 255, 255, 0.99);
  transition: all 0.2s ease-in-out;
  overflow: auto;
  /* visibility: hidden;
  opacity: 0; */
  /* font-family: "Cabin"; */
}
#mobileHeader .menu {
  display: block;
  max-width: auto;
  margin-top: 6rem;
}
#mobileHeader .menu div {
  font-size: 2rem;
  margin: 3rem 0;
  text-align: center;
}
/* #mobileHeader.active {
  visibility: visible;
  opacity: 1;
} */
.uk-button {
  /* font-family: "Cabin"; */
  font-size: 1rem;
}
@media screen and (max-width: 768px) {
  #welcome, #testimonial {
    background-size: cover;
  }
  .quote-wrapper {
    margin-bottom: 6rem;
    padding-left: 3rem;
  }
  .quote-wrapper .photo {
    right: calc(-1rem);
    bottom: calc(-150px + 8rem);
    top: unset;
  }
  #top_program .quote-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
  #featured .imgwrap h2, #featured .imgwrap img {
    display: block;
    float: none !important;
    text-align: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #services .service_photo {
    top: -40px;
    left: 85%;
    transform: scale(1);
  }
#services .service_photo.flip {
    left: -35%;
    right: unset;
}
  #services .imgwrap + h2 {
    margin-top: 5rem;
    margin-bottom: 3rem;
    /* width: 75%; */
    /* text-align: left; */
  }
  #header {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  #featured {
    padding-top: 2rem;
    font-size: 1.25rem;
    /* line-height: 1.2; */
  }
  .quote-wrapper {
    /* background-color: rgba(0, 0, 0, 0.85); */
  }
}
@media screen and (min-width: 768px) {
  .mobileHeaderButton {
    display: none;
  }
  #mobileHeader {
    visibility: hidden;
    opacity: 0;
  }
}

@media screen and (max-width: 959px) {
  .container {
    width: auto;
  }
}
@media screen and (min-width: 960px) {

}

@media screen and (max-width:1199px) {
  #content {
    background-size: cover;
  }
}
@media screen and (min-width: 1216px) {
  #content {
    background-size: auto 100%;
  }
}