


/* Resets */

*:focus {
   outline: none !important;
}


.video-overlay-quicklinks {
  position: absolute;
  bottom: 15px;
  /* border: 1px solid red; */
  display: flex;
  left: 10px;
  right: 10px;
  justify-content: space-around;
  flex-wrap: wrap;
}

.video-overlay-quicklinks > a {
  margin: 5px;
  height: 125px;
  width: 150px;
  border: 3px solid var( --boost-lime);
  border-radius: 20px;
  background-color: #fff;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  padding: 5px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var( --boost-lime );
  overflow: hidden;
  /* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; */
}


.video-overlay-quicklinks > a img {
  display: block;
  width: 125px;
  height: 75px;
  margin: 2px auto;
  object-fit: contain;
}

.video-overlay-quicklinks > a span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  backdrop-filter: brightness( 60% );
}


.video-overlay-quicklinks > a:visited , .video-overlay-quicklinks > a:link, .video-overlay-quicklinks > a:active {
  text-decoration: none;
}

.video-overlay-quicklinks > div > span {
}


form#top-contact {
  display:grid;
  grid-template-rows: auto min-content;
  grid-template-columns: 50% 50%;
  max-width: 600px;
  margin: 10px auto;
  justify-content: center;
}


form#top-contact input[name="fromemail"] {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  font-size: 19px;
  line-height: 30px;
  border: 3px solid var(--ms-colour-boxes);
  border-radius: 5px;
  color: var(--ms-colour-boxes);
  margin: 5px;
  padding: 5px 10px;

}

form#top-contact.focused input[name="fromemail"] {
  grid-row: 1 / 2;
  grid-column: 1 / 3
}

form#top-contact textarea {
  display: none;
  font-size: 19px;
  line-height: 30px;
  border: 3px solid var(--ms-colour-boxes);
  border-radius: 5px;
  color: var(--ms-colour-boxes);
  margin: 5px;
  padding: 5px 10px;
}
form#top-contact.focused textarea {
  display: block;
  min-height: 50px;
  grid-row: 2 / 3;
  grid-column: 1 / 3;
}

form#top-contact:not(.focused) button {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

form#top-contact.focused button {
  grid-row: 3 / 4;
  grid-column: 1 / 3
}

.clubs-list {
  max-width: 600px;
  margin: 10px auto;
  text-align: center;
}
.clubs-list > a {
  display: inline-block;
  width: 250px;
  margin: 10 auto;
  border: 5px solid var( --ms-colour-boxes );
  border-radius: 10px;
  padding: 10px;
  margin: 10px;
  text-align: center;
}

.container {
  max-width: 1200px;
  width: 1200px;
  margin: 0 auto;
  position: relative;
  max-width: 100vw;
  overflow: hidden;
}

.getstarted.container {
  display: none;
}

.header-box {
  margin: 0 auto;
  max-width: 835px;
  /* width: 90vw; */
  width: 835px;
  padding: 35px 55px;
  color: var( --ms-colour-header );
  font-size: 70px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: bold;
  border: 7px solid var( --ms-colour-boxes );
  box-sizing: border-box;
  position: relative;
}
.header-box:before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0; right: 0;
  border-top: 7px solid var( --ms-colour-boxes );
}



    /* input[contenteditable=true]:empty:before { */
    input::placeholder {
      /* content: attr(placeholder); */
      color: var( --ms-colour-text );
      opacity: 0.25;
    }


.main.container {
  height: 1750px;
}


/* Bike compatibility */

.index-bikes {
  padding: 20px 0 20px  0;
}
.index-bikes-header {
  text-align: center;
}

.index-bikes-chooser {
  /* height: 100px; */
  overflow: hidden;
  display:flex;
  justify-content: center;
  flex-wrap: wrap;
  overflow-y: hidden;
  overflow-x: auto;
  padding: 0 50px;
}

.index-bikes-chooser > figure {
  margin: 10px;
  box-sizing: border-box;
  border: 2px solid var( --boost-darkblue );
  outline: 0px solid var( --boost-darkblue );
  border-radius: 10px;
  padding: 10px;
  transition: outline 0.25s;
}

.index-bikes-chooser > figure:hover, .index-bikes-chooser > figure.active {
  outline: 4px solid var( --boost-darkblue );
}

.index-bikes-chooser > figure > img {
  display: block;
  height: 66px;
  width: 100px;
  object-fit: contain;
  cursor: pointer;
}
.index-bikes-chooser figcaption {
  text-align: center;
  height: 15px;
}

.index-bikes-main {
  display: grid;
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
}

.index-bikes-main > div {
  display: grid;
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  opacity: 0;
  transition: opacity 1s;
  width: 100%;
  z-index: 50;
}
.index-bikes-main > div.active {
  opacity: 1;
  z-index: 100;
}
.index-bikes-main > div > div.actions a.button {
  font-size: 14px;
}

.index-bikes-main > div > img {
  object-fit: contain;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}
.index-bikes-main > div > div {
  padding: 5px 10px;
  box-sizing: border-box;
}

@media (max-width: 800px) {
  .index-bikes-main > div {
    grid-template-rows: min-content 60px min-content;
  }
  .index-bikes-main > div > img {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
    align-self: center;
  }
  .index-bikes-main > div > div.actions {
    justify-self: center;
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }
  .index-bikes-main > div > div.info {
    grid-row: 3 / 4;
    grid-column: 1 / 2;
  }
}


@media (min-width: 800px ) and ( max-width: 1200px ) {
  .index-bikes-main > div {
    grid-template-columns: 60% auto;
    grid-template-rows: auto min-content;
  }
  .index-bikes-main > div > img {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }
  .index-bikes-main > div > div.info {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }
  .index-bikes-main > div > div.actions {
    grid-row: 2 / 3;
    grid-column: 1 / 3;
    justify-self: center;
    
  }

}

@media (min-width: 1200px) {
  .index-bikes-main > div {
    grid-template-columns: 60% auto;
    grid-template-rows: min-content auto;
  }
  .index-bikes-main > div > img {
    grid-row: 1 / -1;
    grid-column: 1 / 2;
  }
  .index-bikes-main > div > div.info {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }
  .index-bikes-main > div > div.actions {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    justify-self: center;
  }

}



/* Product features */



@media (min-width: 1000px) {
  .index-grid {
    display: grid;
    grid-template-columns: 55% auto;
    grid-template-rows: 50% auto;
    height: clamp( 800px , 100vh , 1200px );
  }
  .index-blur-shop {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }
  .index-blur-kit {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
  }
  .product-features {
    grid-template-columns: 33% auto 33%;
  }
}
@media (max-width: 1000px) {
  .index-grid {
    width: 100vw;
  }

  .index-blur-shop, .index-blur-kit {
    width: 100vw;
    height: 50vh;
  }
}
@media (max-width: 600px) {
  .product-feature-battery {
    display: none;
  }
  .product-features {
    grid-template-columns: 50% 0 50%;
  }
}



.index-blur-shop , .index-blur-kit {
  display: flex;
  justify-content: center;
  align-items: end;
  padding: 40px;
  box-sizing: border-box;
} 
.index-blur-shop .index-blurry , .index-blur-kit .index-blurry {
  grid-row: 2 / 3;
  font-size: 18px;
  width: 250px;
  backdrop-filter: blur( 10px );
  /* height: 120px; */
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  padding: 30px;
  color: var( --boost-stone );
  justify-self: center;
  background: rgba(54, 53, 58, 0.3);
}


.index-blur-shop {
  background: url( '/assets/index/bikeshop.jpg' );
  background-position: center center;
  background-size: cover;
}
.index-blur-kit {
  background: url( '/assets/index/closeup.jpg' );
  background-position: center center;
  background-size: cover;  
}

.index-blurry .index-button {
  align-self: center;
  background: var( --boost-teal );
  color: var( --boost-carbon );
  text-transform: uppercase;
  display: block;
  margin: 10px auto;
  font-size: 20px;
  line-height: 23px;
  padding: 16px 20px;
  cursor: pointer;
  text-decoration: none;
}



.product-features {
  grid-row: 1 / 3;
  grid-column: 1 / 2;

  display: grid;

  background: var( --boost-darkblue );
  justify-content: center;
  /* height: calc( 80vh - 200px ); */
  padding: 50px 10px;
  /* min-height: 100vh; */
}

.product-feature {
  justify-content: center;
  text-align: center;
  align-self: center;
  width: 150px;
  justify-self: center;
}
.product-feature > div {
  font-size: 18px;
  line-height: 28px;
  color: var( --boost-stone );
  font-weight: 200;
}

.product-feature img {
  width: 120px;
}

.product-feature-battery {
  grid-column: 2 / 3;
  grid-row: 1 / 4;
  align-self: center;
  height: 554px;
  /* width:  */
}

.product-features-cta.button {
  grid-column: 1 / 4;
  grid-row: 4 / 5;
  align-self: center;
  display: block;
  margin: 10px auto 0 auto;
}
.product-features-cta.button:hover {
  text-decoration: none;
}


/* Advice article grid */

.index-advice-articles {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.index-advice-articles > a {
  display: grid;
  /* border: 1px solid black; */
  height: 450px;
  width: 300px;
  padding: 10px;
  grid-template-rows: 300px 40px 50px;
  margin: 10px;
  text-decoration: none;
}

.index-advice-articles > a > img {
  grid-row: 1 / 2;
  width: 300px;
  height: 300px;
  overflow: hidden;
  object-fit: cover;
}

.index-advice-articles > a > h3 {
  grid-row: 2 / 3;
  margin: 0;
  line-height: 40px;
}
.index-advice-articles > a > p {
  grid-row: 3 / 4;
  margin: 0;
}
.index-advice-articles > a > button {
  grid-row: 4 / 5;
  margin: 2px 0;
  align-self: flex-end;
  /* font-size: 0.8em; */
  width: 100px;
  height: 40px;
  line-height: 40px;
  justify-self: right;
}


/* Menu */

.quicklinks > div {
  margin: 10px;
  padding: 10px;
  border: 1px solid var( --boost-carbon );
  border-radius: 3px;
  background: var( --boost-stone );
  cursor: pointer;
  transition: 0.15s;
}
.quicklinks > div:hover {
  background: var( --boost-washcreme );

}

/* Main panels */


.panel-right-highlights {
  display: flex;
  font-size: 0.9em;
  color: var( --dark-grey );
  justify-content: space-between;  
}
.panel-right-highlights > div {
  padding: 5px;

}
.panel-right-highlights svg {
  vertical-align: middle;
  padding: 5px;
}

@media (min-width: 1000px) {
  .lp-mobile-only {
    display: none;
  }

  .panels {
    display: flex;
    max-width: 1500px;
    margin: 0 auto;
  }
  .panel-right {
    order: 2;
    width: 400px;
    transition: width 0.15s;
    box-sizing: border-box;
    padding: 15px 0 15px 15px;
  }

  .panel-right-content {

    /* grid-column: 2 / 3;
    grid-row: 1 / 2; */

    position: sticky;
    /* left: 55vw; */
    top: 80px;
    max-height: calc( 100vh - 120px );
    overflow: hidden;
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 16px;
  }

  .panel-main {
    order: 1;
    box-sizing: border-box;
    position: relative;
    /* top: -250px; */
    /* grid-column: 1 / 2;
    grid-row: 1 / 2; */
    margin-bottom: 150px;
    padding: 40px;
    transition: width 0.15s;
    width: calc( 100% - 420px);
    overflow: hidden;
  }

}


.lp-gallery {
  margin: 5px auto;
  display: block;
  height: auto;
  aspect-ratio: 16 / 9;
  /* margin: 20px auto; */
  border: 1px solid #eee;
  object-fit: cover;
  width: 100%;
}

.lp-gallery-1-chooser {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.lp-gallery-1-chooser > * {
  display: inline-block;
  border: 1px solid #eee;
  margin: 15px 5px;
  width: 100px;
  height: auto;
  aspect-ratio: 4 / 3;
}



/* Key Features */

.key-features {
  display: grid;
  grid-template-columns: 300px auto 300px;
  width: 795px;
  padding: 0 0 50px 0;
  margin: 0 auto;
}

.key-features > div {
  display: inline-block;
  padding: 5px;
}
.key-features > div > div {
  margin: 10px;
  background: var( --boost-lightblue );
  border-radius: 10px;
  position: relative;
  padding: 10px 70px 10px 20px;
  height: 50px;
  margin: 20px auto;
  color: var( --boost-darkblue );
}

.key-features > div > div > h3 {
  font-size: 12px;
  margin: 0;
  padding: 2px 0;
}
.key-features > div > div > p {
  font-size: 12px;
  margin: 0;
  padding: 1px 0;

}

.key-features > div > div > img {
  height: 50px;
  width: 50px;
  position: absolute;
  top: 10px;
  right: 10px;

}

.key-features > div:nth-of-type( 1 ) {
  justify-self: end;
}

.key-features > div:nth-of-type( 3 ) > div {
  padding: 10px 20px 10px 70px;
}
.key-features > div:nth-of-type( 3 ) > div > img {
  right: unset;
  left: 10px;
}

.video-overlay input[name="email"] {
  background: rgba( 255 , 255 , 255 , 0.75);
  border-radius: 20px; 
  border: 3px solid var( --boost-lime );
  margin: 10px 20px;
  font-weight: bold;
  padding: 2px 17px;
  display: inline;
  box-sizing: content-box;
  line-height: 40px; 
  height: 40px; 
  font-size: 20px; 
  color: var( --boost-darkblue );
  width: 194px;
}

.vid-action-buttons {
  padding-bottom: 50px;
}

@media (max-width: 800px) {

  .key-features {
    display: grid;
    grid-template-columns: unset;
    grid-template-rows: auto auto auto;
    justify-content: center;
    width: auto;
  }
  .key-features-circle {
    display: none;
  }

  .video-overlay button, .video-overlay a.button {
    font-size: 14px;
    line-height: 25px;
    height: 25px;
    width: 110px;
    border-radius: 10px;
    margin: 5px 10px;
  }
  .video-overlay input[name="email"] {
    font-size: 14px;
    line-height: 25px;
    height: 25px;
    width: 110px;
    border-radius: 10px;
    margin: 5px 10px;
  }
  .vid-action-buttons {
    padding-bottom: 80px;
  }
}
