/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-size: 14px;
  margin:0;
  padding:0;
  font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
  font-size: 2em;
  margin-top:0;
  color: #1266c4;
}

h4 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
  margin-top:0.5em
}

ul.splide__pagination {
  bottom:-15px;
}

.splide__slide {
  display: flex;
  align-items: center;
}

footer, .blue {
  background: linear-gradient(89.92deg, #257ddf 14.14%, #1266c4 77.26%), #1A508B;
}

hr.keyline {
  width: 110px;
  height: 1px;
  background: #fff;
  border:none;
  margin: 2em 0;
}

hr.keyline.full {
  width: 25%;
  height: 2px;
  opacity: 0.75;
}

hr.keyline.bluekey {
  background: #1266c4;
}

.answer {
  margin: 2em 0 2em 0;
  color: white;
  display: none;
}

.answer-inside {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.answer-inside p {
 color:white; 
}

.answer-inside img, .answer-inside p {
  width: 48%;
}

.shown .answer {
  display: block;
}

.accordion {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: auto;
}
.accordion h3 {
  border-bottom: 2px solid white;
  font-size: 1.76em;
  position: relative;
  margin: 10px 0;
  padding: 20px 0;
  cursor: pointer;
  color: white;
}

.accordion h3::after, .accordion h3::before {
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  margin-top: -5px;
  right: 8px;
  transition: border-top-color 150ms;
}
.accordion h3::after {
  border-top-color: white;
  border-width: 8px;
  margin-right: -8px;
}
.accordion h3::before {
  border-top-color: white;
  border-width: 8px;
  margin-right: -8px;
}


footer {
  padding: 6em 3em;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


video {
  width: 100%;
  max-height: 100%;
  border-radius: 10px;
}

.logo h1 {
  display: none;
}

.container {
  width: 100%;
  margin: auto;
  max-width: 1100px;
  padding: 2rem;
  height: 100%;
  position: relative;
  z-index: 1000;
  
}

.container#container-home {
  display: flex;
  align-items: center;
  height: 100%;
}

.container-full {
  width: 100%;
  margin: auto;
  padding: 1rem 2rem;
}

header {
  padding: 0.75em 0;
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  z-index: 9999999999;
  background: linear-gradient(89.92deg, rgb(37 125 223 / 90%) 50%, rgb(18 102 196 / 90%) 77.26%);
}

#sticker-sticky-wrapper {
  z-index: 9999999999;
}

img.contact-profile {
  height: 300px;
  width: auto;
}

header a, footer a {
  color: white;
  text-decoration: none;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 100%;
  max-width: 160px;
}

.white-overlay {
  /* background: linear-gradient(89.92deg, rgb(37 125 223 / 90%) 50%, rgb(18 102 196 / 90%) 77.26%); */
  padding: 100px 0 0 0;
  max-width: 500px;
  z-index: 1000;
  width: 100%;
  overflow: hidden;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.white-overlay#white-bg {
  text-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.white-overlay h2 {
  color: white;
  font-size: 3.0em;
  line-height: 1.2em;
  margin-bottom: 0;
  max-width: 100%;
  font-weight: 600;
}

.white-overlay p {
  color: white;
  max-width: 400px;
}

nav a {
  margin-left: 1.5rem;
  font-weight: 300;
  font-size: 1em;
  padding:0.3em 0 0.15em 0;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
}

hr.blue {
  width: 100%;
  background: #1266c4;
  height: 1px;
  border:none;
  margin: 2em 0;
}

nav a:hover, nav a.active {
  font-weight: 700;
}

.full-width-section {
  width: 100%;
  margin:3em 0;
}

.session h4 {
  font-size: 1.76rem;
}

.sessions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.session {
  width: 100%;
  padding: 2em 0;
  margin-bottom: 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.session figure {
  margin: 0;
}

.session div {
  width: 48%;
}

.session-full {
  width: 100%;
}

.contact-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.three-quarter {
  width: 60%;
  margin: 2rem 5% 2rem 0;
}

.one-quarter {
  width: 33%;
  margin: 2rem 0;
}

.half {
  width: 48%;
  margin: 2rem 0;
}

h4.contact-header {
  margin-top: 2rem;
}

section#home-header {
  background: url('/assets/img/home-hero.jpg?v=2'); 
  height: 600px;
  background-size: cover;
  position: relative;
  background-position: center;
  overflow: hidden;
}

section#about-header {
  background: url('/assets/img/jp-about-us.jpg');
  height: 600px;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  background-position: bottom;
}

@media (min-width:1200px) {
  section#about-header {
    background-size: 90%;
  }
}

@media (min-width:1500px) {
    section#about-header {
      background-size: 80%;
    }
  }

section#contact-header {
  background: url('/assets/img/contact-header-2.jpg');
  height: 600px;
  background-size: cover;
  position: relative;
  background-position: center;
}

section#clients-header {
  background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1744&q=80');
  height: 600px;
  background-size: cover;
  position: relative;
  background-position: center;
}

section#training-header {
  background: url('/assets/img/training-poster.jpg');
  height: 600px;
  background-size: cover;
  position: relative;
  background-position: top right;
}

#home-header-flex {
  display: flex;
  height: 100%;
  align-items: center;
  position: relative;
  z-index: 150;
}

body.home #home-header-flex {
  justify-content: center;
  padding: 0;
}


#menu-trig {
  cursor: pointer;
  width: 20px;
  height: auto;
  display: none;
}

#home-header-flex h2 {
  max-width: 700px;
  font-size: 3rem;
  color:white;
  font-weight: 700;
  margin-bottom: 0;
  margin-top:50px;
  letter-spacing: 0.05rem;
  line-height: 1.25em;
  text-shadow: 0 0 3px rgba(0,0,0,0.4);
}

p.rule {
  width: 150px;
  margin: 0em auto;
  text-align: center;
  border-bottom: 2px solid rgba(255,255,255,0.5);
}

body.home #home-header-flex h2 {
  max-width: 1000px;
  font-size: 3rem;
  text-align: center;
  /* background:linear-gradient(89.92deg, rgb(37 125 223 / 100%) 14.14%, rgb(18 102 196 / 100%) 77.26%); */
  padding: 0;
}

body.home #home-header-flex h2 {
}

#home-header-flex p.headline-sub {
  color:white;
  max-width: 400px;
}

p.header-intro {
  max-width: 500px;
  font-weight: 600;
  color: white;
  font-size: 1.2rem;
  line-height: 1.6rem;
}

p.mdash {
  width: 75px;
  display: block;
  border-bottom: 1px solid white;
}

.pill-btn , #contact-form form button{
  background:#1266c4;
  color: white;
  font-weight: 700;
  border-radius: 3rem;
  min-width: 300px;
  padding: 0.7em 1em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.1rem;
  border:none;
  letter-spacing: 0.02rem;
  transition: all 0.3s;
  cursor: pointer;
}

.pill-btn:hover , #contact-form form button:hover {
   transform: scale(1.03);
}

#mobile-menu {
  display: none;
}

.cover {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(63deg, rgb(37 125 223 / 60%) 0%, rgba(255,255,255,0) 61%);
  z-index: 100;
}

section.white {
  background: white;
}

.white-pill {
  width: 100%;
  height: auto;
  min-height: 200px;
}

.white-pill.flex {
  display: flex;
  flex-wrap: wrap;
}

.white-pill.padding {
  padding: 3em;
}

.center {
  text-align: center;
}

.left, .right {
  width: 46%;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

.left {
  padding-right: 1rem;
}

.right {
  padding-left: 1rem;
}

.right {
  width: 54%;
}

.right.flex-top {
  align-items: normal;
}

.left.large {
  width: 100%;
  margin: 2em 0;
}

.block-type-image.image-style-right figure {
  position: relative;
  width: 50%;
  height: auto;
  float: right;
  clear: left;
  margin: 4em 1em;
  margin-right: 0%;
  margin-left: 3rem;
}

.block-type-image.image-style-left figure {
  position: relative;
  width: 50%;
  height: auto;
  float: left;
  clear: right;
  margin: 4em 1em;
  margin-right: 0%;
  margin-right: 3rem;
}

.block-type-image figcaption {
  display: none
}


p.highlight {
  font-size: 1.2em;
  font-weight: 700;
}

left.large img.right-float.smaller {
  width: 50%;
}

figure.right-float {
  position: relative;
  width: 50%;
  height: auto;
  float: right;
  clear: left;
  margin: 4em 1em;
  margin-right:0%;
  margin-left: 3rem;
}

figure.left-float {
  position: relative;
  width: 50%;
  height: auto;
  float: left;
  clear: right;
  margin: 4em 1em;
  margin-left:0;
  margin-right: 3rem;
}

figure img {
  width: 100%;
  position: relative;
  box-shadow: 10px 10px 1px rgba(230,230,230)
}

figcaption {
  background: #f4a146;
  padding: 1rem;
  color: white;
  position: absolute;
  right: 5%;
  max-width: 300px;
  font-weight: 400;
  bottom: -30px;
}

.left.large img.left-float {
  width: 60%;
  margin: 2em 1em;
  float: left;
  height: auto;
  position: relative;
  margin-left:0;
  margin-right:3rem;
}

.large.left p {
  text-align: left;
  width: 100%;
}

.right.small {
  width: 40%;
}

.white-pill h3 {
  font-weight: 700;
  font-size: 2em;
  margin-top:0;
  color: #1266c4;
}

.blue .white-pill h3, .blue .white-pill p {
  color:white;
}

.blue .pill-btn {
  background: white;
  color:#1266c4;
}

.white-pill.secondary-text h3 {
  color: #f4a146;
}

.white-pill p {
  width: 100%;
  font-size: 1.15rem;
}

p {
  color: #1A508B;
  font-size: 1rem;
  line-height: 1.6em;
}

.secondary-text p {
  color: #49a098;
}

.secondary-text-white p {
  color: white;
}

blockquote {
  font-weight: normal;
  font-size: 1.2rem;
  width: 85%;
  line-height: 1.5em;
  position: relative;
  text-align: left;
  font-weight: 300;
  margin: 0;
  padding: .5rem;
  margin-left: 6%;
  padding-bottom: 30px;
}

.splide__pagination__page.is-active, .splide__pagination__page.is-active {
  color: #1266c4 !important;
  background: #1266c4 !important;
}

#mobile-only {
  display: none;
}  

blockquote:before, blockquote:after{
  font-family: serif;
  position: absolute;
  color: #1266c4;
  font-size: 4rem;
  width: 4rem;
  height: 4rem;
}

.video-wrapper{
  display:table;
  width:auto;
  position:relative;
  width:100%;
}

.playpause {
  background-image: url('/assets/img/play.svg');
  background-repeat:no-repeat;
  width:30%;
  height:30%;
  position:absolute;
  left:15px;
  cursor: pointer;
  bottom:15px;
  margin:0;
  background-size:contain;
}

.featured-testimonials .item h3 {
  font-size: 1.2rem;
  font-weight: 400;
  color: white;
  text-align: right;
}

.featured-testimonials .item h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #1266c4;
  text-align: right;
}

blockquote:before {
  content: '\201C';
  left: -2rem;
  top: 1rem;
}


blockquote:after {
  content: '\201D';
  right: -2rem;
  bottom: -2rem;
}


.secondary-text .pill-btn {
  background: #f4a146;
}

.blue {
  color: white;
}

.secondary {
  color: white;
  background: #f4a146;
}

.image-text-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.image-text-flex .onethird {
  width: 32%;
}

.image-text-flex .twothird {
  width: 64%;
}

footer p {
  color: white;
  text-align: center;
  font-size: 1.1em;
  margin: 2em 0;
}

footer p span {
  margin: 0 1em;
}

.full-width {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom:1em;
}

.icofont-navigation-menu {
  display: none;
}

section.about {
  margin: 4em 0;
}

p.large {
 margin-top:0;
 font-size: 1.4em;
 line-height: 1.7em;
 margin-bottom: 1em;
}

section.about .image-text-flex .twothird p {
  line-height: 1.6rem;
  margin-bottom: 1em;
  margin-top: 0;
}

.logo-slideshow img{
  width: 120px;
  height: auto;
  padding: 1em 0;
}


.splide.is-active .splide__list {
  align-items: center;
}

.splide__slide {
  text-align: center;
}

.splide__arrow {
  background: #1266c4;
  opacity: 1;
}

.splide__arrow svg {
  fill: white;
}

#contact-form {
  margin:0 0 ;

}

#contact-form form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}


#contact-form form .field-half {
  width: 48%;
}

#contact-form form input, #contact-form form textarea {
  width: 100%;
  margin: 0.5em 0 1em 0;
  padding: 0.76em;
  border: 1px solid #cccccc;
  border-radius: 5px;
}

#contact-form form input:focus, #contact-form form textarea:focus {
 outline:none;
}

#contact-form form textarea {
 min-height: 200px;
}

#contact-form form {
  display: flex;
  flex-wrap: wrap;
}

#contact-form form .field-full {
  width: 100%;
}

#contact-form form label {
  width: 100%;
  font-weight: 700;
  color: #1266c4;
}

.training-types {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin:3em 0;
}

.training-box {
  width: 48%;
  background: white;
  border-radius: 10px;
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.25));
}

.training-box-top {
 height: 240px;
 background-size: cover;
 background-position: center;
}

.training-box-top.online {
  background-image: url('/assets/img/online-2.jpg');
  background-position: top;
}

.training-box-top.in-person {
  background-image: url('/assets/img/in-person.png');
}

.training-box-content {
  padding: 3em;
}

.training-box-content h2 {
  margin-top:0.5em;
}

.get-in-touch {
  margin: 6em;
}

.strong {
  font-weight: 400;
}

ul {
  color: #1A508B;
  margin:2em 0;
  font-size: 1.1em
}

li {
  margin-bottom: 0.5em;
}

.featured-testimonials {
  display: flex;
  margin:2em 0;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.featured-testimonials .item {
  width: 100%;
  padding: 2em;
  color: white;
}

.featured-testimonials .item p {
  color: white;
}

.featured-testimonials .item p {
  font-size: 1.1em;
  font-style: italic;
  margin: 2em 0;
  max-width: 400px;
}


.featured-testimonials .item img {
 height: 30px;
 width: auto;
}

.logo-slideshow .splide__slide {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.logo-slideshow .splide__slide .logocontain {
  width: 15%;
  padding: 15px;
}

.logo-slideshow .splide__slide .logocontain img {
  width: 100%;
  height: auto;
}

.splide__arrow--prev {
  left: 0;
}

.splide__arrow--next {
  right: 0;
}


.full-width-row {
  padding: 2em;
  text-align: center;
  width: 100%;
}

.client-images {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.client-images.splide li {
  width: 20%;
}

.secondary .splide__pagination__page {
  background: white;
}

.client-images.splide li img {
  width: 100%;
  
}

.client-images .client-item {
  width: 20%;
  padding: 2em 3em;
  text-align: center;
}

.client-images img {
  width: 100%;
  height: auto;
}

.selected-clients p {
  width: 100%;
  max-width: 500px;
  margin: 2em auto;
}


@media (max-width:768px) {

  body {
    font-size: 12px;
  }

  figure.left-float {
    width: 100%;
    margin-left: 0;
  }
  
  figure.right-float {
    width: 100%;
    margin-right: 0;
  }

  #mobile-only {
    display: block;
  }  

  section#home-header {
    height: 320px;
    background-position: 69%;
  }
  
/* 
  .cover {
    background: linear-gradient(63deg, rgba(0,0,0,0.8) 0%, rgba(255,255,255,0.2) 80%)
  } */

  #home-header-flex h2 {
    font-size: 1.3rem;
    width:90%;
  }
  
  body.home #home-header-flex h2 {
    margin:2em auto 0 auto;
  }

  nav {
    display: none;
  }

  .container {
    padding: 1.5em 2em;
  }
  

  
  footer p span {
    width: 100%;
    display: inline-block;
  }

  .logo {
    max-width: 120px;
  }

  .left, .right {
    width: 100%;
    padding: 2em 0;
  }
  
  .logo-slideshow .splide__slide .logocontain {
    width: 30%;
  }
  
  .accordion h3 {
    font-size: 1.3em;
  }
  
  .answer-inside img, .answer-inside p {
    width: 100%;
  }
  
  .answer-inside p {
    margin-top:0;
  }
  
  .white-pill p {
    font-size: 1rem;
  }
  
  .full-width-section {
    margin: 1em 0;
  }

  .white-pill {
    margin: 0;
  }
  
  .white-overlay {
    display: none;
    padding: 2em;
    left: 0;
    border-radius: 0;
  }

  .half, .three-quarter, .one-quarter {
    width: 100%;
  }
  
  .white-overlay h2 {
    font-size: 1.9em;
  }

  .white-pill h3 {
    font-size: 1.5em;
  }

  .featured-testimonials .item {
    width: 100%;
  }
  
  .pill-btn, #contact-form form button {
    min-width: 200px;
    font-size: 1rem;
  }
  
  blockquote {
    width: 100%;
    font-size: 1rem;
  }
  
  blockquote:before {
    left: -1.5rem;
  }

  .logo-slideshow img {
    width: 60px;
  }

  .white-pill.padding {
    padding: 1.5em;
  }

  p.header-intro {
    font-size: 1.1em;
  }

  section#training-header, section#about-header, section#contact-header, section#clients-header {
    height: 240px;
  }

  .left.large {
    width: 100%;
  }

  .training-box {
    width: 100%;
    margin-bottom: 3em;
  }

  .training-box-top {
    height: 150px;
  }

  .training-box-content {
    padding: 1.5em;
  }

  .get-in-touch {
    margin: 1.5em;
  }

  .icofont-navigation-menu {
    display: block;
    color: white;
    font-size: 2em;
  }

  .image-text-flex .onethird, .image-text-flex .twothird {
    width: 100%;
  }
  
  
  section#about-header {
    background-size: cover;
    background-position: right;
  }
  

  .client-images .client-item {
    padding: 1em 2.5em;
  }

  .client-images .client-item {
    width: 50%;
  }

  #contact-form form .field-half {
    width: 100%;
  }

  #mobile-menu {
    opacity: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: fixed;
    top:0;
    left: 0;
    background:linear-gradient(89.92deg, #257ddf 14.14%, #1266c4 77.26%), #1A508B;
    z-index: 99999999;
    color: white;
    transition: all 0.3s;
  }

  #mobile-menu.open {
    display: flex;
    opacity: 1;
  }

  #mobile-menu a {
    color: white;
    width: 100%;
    text-decoration: none;
    font-size: 1.75em;
    margin: 0.5em 0;
  }

  .inside-menu {
    display: flex;
    width: 100%;
    width: 80%;
    flex-wrap: wrap;
    text-align: center;
  }

  #menu-trig {
   display: block;
  }

  .right.small {
    width: 100%;
  }
  
  body.home #home-header-flex h2 {
    font-size: 1.3rem;
    margin:3rem auto 0 auto;
  }
  
  .featured-testimonials .item h3 {
    font-size: 1rem;
  }
  
  .featured-testimonials .item h4 {
    font-size: 0.9rem;
  }

  header {
    position: relative;
  }

}
