html {
  font-size: 16px;
  line-height: 19.2px !important;
}

@media (min-width: 768px) {
  html {
    font-size: 20px;
  }
}

.container {
  max-width: 600px;
}

@font-face {  
  font-family: 'Boathouse VF';
  src: url('/font/Boathouse-VF.ttf') format('truetype');
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  z-index: 0;
  margin-bottom: 60px;
  background: linear-gradient(180deg, var(--Brand-Navy, #0B1527) 0%, #223659 100%);


  /*background:  linear-gradient(180deg, #36544E 0%, rgba(54, 84, 78, 0.00) 59.5%), url("/images/backgrounds/bgmobile.png") lightgray -61.25px 0px / 135.465% 100% no-repeat;*/
  /*background:  url("/images/backgrounds/bgmobile.png");*/
  /*background-size: cover;*/
  /*background-repeat: no-repeat;*/
  /*background-position: bottom center;*/
  /*background-attachment: fixed;*/
  font-family: 'Boathouse VF';
  font-weight: 400;
  line-height: 19.2px !important;
  color: white;
}


body.start:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: linear-gradient(180deg, #fff 55.0%, rgba(73, 133, 134, 0) 74.5%), url("/images/backgrounds2026/bg_mobile.jpg") lightgray -61.25px 0px / 135.465% 100% no-repeat;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  background-position: bottom center;
}



/*body.thanks:before {*/
/*  background: linear-gradient(180deg, #407676 55.0%, rgba(73, 133, 134, 0) 74.5%), url("/images/backgrounds/bg_thanks_for_joining_small_2x.webp") lightgray -61.25px 0px / 135.465% 100% no-repeat;*/
/*  -webkit-background-size: contain;*/
/*  -moz-background-size: contain;*/
/*  -o-background-size: contain;*/
/*  background-size: contain;*/
/*  background-position: bottom center;*/
/*}*/
/*body.team:before {*/
/*  background: linear-gradient(180deg, #407676 55.0%, rgba(73, 133, 134, 0) 74.5%), url("/images/backgrounds/bg_team_small_2x.webp") lightgray -61.25px 0px / 135.465% 100% no-repeat;*/
/*  -webkit-background-size: contain;*/
/*  -moz-background-size: contain;*/
/*  -o-background-size: contain;*/
/*  background-size: contain;*/
/*  background-position: bottom center;*/
/*}*/
body.polyline:after {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url("/images/strava/mpl.png") no-repeat;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  background-position: bottom center;
}
@media (min-width: 768px) {
  body.start:before {
    background: linear-gradient(180deg, #FFF 11.5%, rgba(73, 133, 134, 0) 89.84%), url("/images/backgrounds2026/bg_desktop.jpg");
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
  }
  body.polyline:after {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: url("/images/strava/dpl.png") no-repeat;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    background-position: center center;
  }
}
/*  body.thanks:before {*/
/*    background: linear-gradient(180deg, #407676 11.5%, rgba(73, 133, 134, 0) 89.84%),  url("/images/backgrounds/bg_thanks_for_joining_big_1x.webp");*/
/*    -webkit-background-size: cover;*/
/*    -moz-background-size: cover;*/
/*    -o-background-size: cover;*/
/*    background-size: cover;*/
/*    background-position: center center;*/
/*  }*/
/*  body.team:before {*/
/*    background: linear-gradient(180deg, #407676 11.5%, rgba(73, 133, 134, 0) 89.84%),  url("/images/backgrounds/bg_team_big_1x.webp");*/
/*    -webkit-background-size: cover;*/
/*    -moz-background-size: cover;*/
/*    -o-background-size: cover;*/
/*    background-size: cover;*/
/*    background-position: center center;*/
/*  }*/
/*  body.leaderboards:before {*/
/*    background: linear-gradient(180deg, #407676 11.5%, rgba(73, 133, 134, 0) 89.84%),  url("/images/backgrounds/bg_leaderboards_big_1x.webp");*/
/*    -webkit-background-size: cover;*/
/*    -moz-background-size: cover;*/
/*    -o-background-size: cover;*/
/*    background-size: cover;*/
/*    background-position: center center;*/
/*  }*/
/*}*/
/*@media (min-width: 1440px) {*/
/*  body:before {*/
/*    background: linear-gradient(180deg, #407676 11.5%, rgba(73, 133, 134, 0) 89.84%), url("/images/backgrounds/bg_landing_page_big_2x.webp");*/
/*    -webkit-background-size: cover;*/
/*    -moz-background-size: cover;*/
/*    -o-background-size: cover;*/
/*    background-size: cover;*/
/*    background-position: center center;*/
/*  }*/
/*  body.thanks:before {*/
/*    background: linear-gradient(180deg, #407676 11.5%, rgba(73, 133, 134, 0) 89.84%),  url("/images/backgrounds/bg_thanks_for_joining_big_2x.webp");*/
/*    -webkit-background-size: cover;*/
/*    -moz-background-size: cover;*/
/*    -o-background-size: cover;*/
/*    background-size: cover;*/
/*    background-position: center center;*/
/*  }*/
/*  body.team:before {*/
/*    background: linear-gradient(180deg, #407676 11.5%, rgba(73, 133, 134, 0) 89.84%),  url("/images/backgrounds/bg_team_big_2x.webp");*/
/*    -webkit-background-size: cover;*/
/*    -moz-background-size: cover;*/
/*    -o-background-size: cover;*/
/*    background-size: cover;*/
/*    background-position: center center;*/
/*  }*/
/*  body.leaderboards:before {*/
/*    background: linear-gradient(180deg, #407676 11.5%, rgba(73, 133, 134, 0) 89.84%),  url("/images/backgrounds/bg_leaderboards_big_2x.webp");*/
/*    -webkit-background-size: cover;*/
/*    -moz-background-size: cover;*/
/*    -o-background-size: cover;*/
/*    background-size: cover;*/
/*    background-position: center center;*/
/*  }*/
/*}*/

.display-header {font-size: 56px; line-height: 110%; font-weight: 500;}
.big-header {font-size: 32px; line-height: 110%; font-weight: 700; font-stretch: 125%;}
.medium-header {font-size: 24px; line-height: 110%; font-weight: 700;}
.small-header {font-size: 20px; line-height: 110%; font-weight: 700;}
.big-text {font-size: 20px; line-height: 120%; font-weight: 400;} 
.regular-text {  font-size: 16px;  line-height: 120%; font-weight: 400;}  
.small-text {font-size: 12px; line-height: 120%; font-weight: 400;}
.label {font-size: 16px; line-height: 120%; font-weight: 400; letter-spacing: 0.96px;}
@media (min-width: 768px) {
  .display-header {font-size: 96px; line-height: 110%; font-weight: 500;}
  .big-header {font-size: 64px; line-height: 110%; font-weight: 700;font-stretch: 125%;}
  .medium-header {font-size: 48px; line-height: 110%; font-weight: 700;}
  .small-header {font-size: 32px; line-height: 110%; font-weight: 700;}
  .big-text {font-size: 24px; line-height: 120%; font-weight: 400;}
  .regular-text {  font-size: 20px;  line-height: 120%; font-weight: 400;}
  .small-text {font-size: 16px; line-height: 120%; font-weight: 400;}
  .label {font-size: 16px; line-height: 120%; font-weight: 400; letter-spacing: 0.96px;}
}

.form-label {
  font-weight: 500 !important;
  /*text-transform: uppercase;*/
}

.start-page-info-small {
  font-size: 10px;
  line-height: 110%;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a {
  color: #0077cc;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.container {
  padding-left: 25px !important;
  padding-right: 25px !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

.logo {
  z-index: 2;
  position: fixed;
  top: 0;
  left:0;
  width: 100%;
  height: 48px;
  text-align: center;
  img {
    height: 17px;
    margin-top: 15px;
  }
  background: rgb(11,21,39);
  &.solid {background: rgb(11,21,39);}
}

main {
  margin-top: 48px;
}

nav.main-menu {
  z-index: 3;
  overflow: visible;
  position: fixed;
  transform: translateX(-300px);
  height: 100%;
  width: 360px;
  transition: all 600ms cubic-bezier(.8, 0, .33, 1);
  border-radius: 0% 0% 100% 50%;
  height: 48px;
  margin-top: -48px;
}

nav.nav-open {
  transform: translateX(0px);
  border-radius: 0% 0% 0% 0%;
  //background: rgba(255, 255, 255, 1.0);
}

nav.main-menu .menu-btn {
  position: absolute;
  top: 10px;
  right: 5px;
  padding: 0;
  width: 30px;
  cursor: pointer;
  z-index: 2;
}

nav.main-menu .menu-btn .line {
  padding: 0;
  width: 30px;
  background: #fff;
  height: 2px;
  margin: 5px 0;
  transition: all 700ms cubic-bezier(.9, 0, .33, 1);
}

nav.main-menu .menu-btn .line.line--1 {
  width: 30px;
  transform: rotate(0) translateY(0);
}

nav.main-menu .menu-btn .line.line--1.line-cross {
  width: 30px;
  transform: rotate(45deg) translateY(10px);
  background: rgba(0,0,0,0.6);
}

nav.main-menu .menu-btn .line.line--2 {
  width: 28px;
  transform: translateX(0);
}

nav.main-menu .menu-btn .line.line--2.line-fade-out {
  width: 28px;
  transform: translate(30px);
  opacity: 0;
}

nav.main-menu .menu-btn .line.line--3 {
  width: 20px;
  transform: rotate(0) translateY(0);
}

nav.main-menu .menu-btn .line.line--3.line-cross {
  width: 30px;
  transform: rotate(-45deg) translateY(-10px);
  background: rgba(0,0,0,0.6);
}

nav.main-menu .nav-links {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(-100px);
  opacity: 0;
  transition: all 600ms cubic-bezier(.9, 0, .33, 1);
  background: rgba(255, 255, 255, 1.0);
}

nav.main-menu .nav-links.fade-in {
  opacity: 1;
  transform: translateX(0px);
}

nav.main-menu .nav-links .link {
  margin: 20px 0;
  text-decoration: none;
  font-family: sans-serif;
  color: rgba(0,0,0,0.9);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.2rem;
  transition: all 300ms cubic-bezier(.9, 0, .33, 1);
}

nav.main-menu .nav-links .link:hover {
  color: rgba(0, 0, 0, .5);
}

.orange {
  color: #FC5200;
}

/* LANDING PAGE */

.start-greeting {
  margin-top: 42px;
  text-align: center;
  .name {
    line-height: 23px;
    img {
      display: block;
      margin: 0 auto 18px;
    }
  } /* maybe replace with logo */
  .intro {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}
.start-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 36px;
  padding: 14px 0;
  .start-link {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 8px;
    .link {
      text-decoration: underline;
      cursor: pointer;
    }
  }
}

.sep-line {
  margin: 10px auto;
  width: 283px;
  height: 1px;
  background: rgba(255, 255, 255, 0.20);
}

.connect {
  cursor: pointer;
}

/* REGISTER ATHLETE PAGE */

.button-orange {
  display: flex;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: #FC5200;
  color: white;
  border: 1px solid #FC5200;
  font-size: 16px;
}

.button-orange-outline {
  display: flex;
  height: 37px;
  padding: 9px 8px;
  justify-content: center;
  align-items: center;
  color: black;
  border: 1px solid #FC5200;
  background-color: white;
  text-align: center;
  border-radius:8px;
  text-decoration: none;
}
.button-orange:disabled {
  pointer-events: none;
  opacity: 0.65;
}
.button-join {
  width: 107px;
}
@media (min-width: 768px) {
  .button-orange {
    font-size: 20px;
  }
  .button-orange-outline {
    font-size: 20px;
  }
}

.input-card {
  .form-label {
    margin-bottom: 4px !important;
  }
  input {
    border-color: #B2B2AE;
  }
  input:focus {border-color: #B2B2AE; outline:none; box-shadow: none;}
  display: flex;
  padding: 16px 20px 20px 20px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 24px;
  border-radius: 4px;
  background: #FFF;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.15);
  color: black;
  .photo {
    max-height: 60px;
    img {
      height: 60px;
    }
  }
  .photo-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    img {
      max-width: 100px;
      flex-grow: 0;
    }
    .name-form {
      flex-grow: 1;
    }
  }
  .line {
    height: 1px;
    width: 100%;
    background: rgba(0, 0, 0, 0.10);
  }
  .validation {
    color: darkred;
  }
  .section-header {
    text-transform: uppercase;
    font-size: 12px;
  }
  .join-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
    .join-item {
      font-size: 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      align-self: stretch;
      .name {
        font-weight: 500;
      }
    }
  }
  .athlete-display {
    display: flex;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    .name {
      font-weight: 500;
    }
  }
}
@media (min-width: 768px) {
  .input-card {
    padding: 24px 36px 36px 36px;
    .section-header {
      font-size: 16px;
    }
    .signup-agency {
      img {
        max-width: 60px;
        max-height: 60px;
      }
    }
    .join-item {
      font-size: 20px !important;
    }
  }
}

.signup-agency {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  img {
    max-height: 40px;
    max-width: 40px;
  }
}

.leaderboard-selector-2 {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  //justify-content: space-between;
  gap: 4px;
  a {
    padding: 8px;
    background: #FFFFFF33;
    border-radius: 8px;
    border: 1px solid #ffffff33;
    text-decoration: none;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 14px;
    &.active {
      border: 1px solid white;
    }
  }
}

.bookmark {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  justify-content: end;
} 
#add-favorite {
  .favorite {
    color: #FFFFFF99;
    text-decoration: none;
  }
}
#remove-favorite {
  .favorite {
    color: #FFFFFF;
    text-decoration: none;
  }
}

#help-icon {
  height: 18px;
  width: 18px;
}
.email-tooltip {
  display: none;
  padding: 20px;
  background: #407676;
  border: 2px solid white;
  border-radius: 8px;
  color: white;
  .header {
  }
  .text {
    margin-top:8px;
    font-weight: 500;
  }
}
.email-tooltip[data-show] {
  display: block;
}

.leaderboard-selector {
  margin-top:24px;
}
.leaderboard {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  .your-team {
    display: flex;
    gap: 4px;
    align-items: center;
  }
  .leaderboard-item, .leaderboard-item-trophy, .ad-item {
    cursor: pointer;
    display: flex;
    padding-right: 8px;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    border-radius: 4px;
    background: #FFF;
    flex-basis: 100%;
    .crown {
      position: absolute;
      top: 7px;
    }
    .place {
      position: relative;
      display: flex;
      width: 50px;
      /*padding: 31px 18px;*/
      flex-direction: column;
      justify-content: center;
      align-items: center;
      align-self: stretch;
      background: #D6D5D1;
      font-weight: 700;
      border-top-left-radius: 4px;
      border-bottom-left-radius: 4px;
      color: black;
      &._1 { background: #EEAF0B; color: white;}
      &._2 { background: #8B9699; color: white;}
      &._3 { background: #C46C3B; color: white;}
      .trophy {
        position: absolute;
        top: 0;
        background-color: blue;
        background: url('/images/icons/trophy_gold.svg') center no-repeat;
        height: 24px;
        width: 100%;
        margin-top: -24px;
      }
    }
    .team {
      display: flex;
      /*width: 210px;*/
      flex-direction: column;
      align-items: flex-start;
      flex-basis: 66%;
      margin: 16px 0;
      gap: 8px;
      color: black;
      .name {
        font-weight: 700;
        text-decoration: underline;
      }
    }
    .agency {
      display: flex;
      flex-direction: row;
      gap: 4px;
      img {
        max-height: 16px;
        max-width: 16px;
      }
    }
    .score {
      display: flex;
      color: black;
      margin-left: auto;
      text-align: center;
      text-transform: uppercase;
      font-size: 12px;
      .value {
        font-size: 16px;
        font-weight: 700;
      }
    }
  }
  .ad-item {
    background: none;
    cursor: pointer;
    .flash {
      background: none;
      position: relative;
      display: flex;
      width: 50px;
      padding: 11px 18px;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      align-self: stretch;
      font-weight: 700;
      border-top-left-radius: 4px;
      border-bottom-left-radius: 4px;
    }
    .ad-text {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
      color: white;
      font-weight: 500;
    }
  }
  .leaderboard-item-trophy {
    background: none;
    .place {
      background: none;
      padding: 0;
      margin-bottom: -8px;
    }
  }
}
@media (min-width: 768px) {
  .leaderboard {
    .leaderboard-item, .leaderboard-item-trophy, .ad-item {
      .agency {
        img {
          max-height: 20px;
          max-width: 20px;
        }
      }
    }
  }
}
.load-more-container {
  a {
    color: white;
  }
  a:hover, a:visited {
    color: white;
  }
}

.tabs2 .nav-link {
  text-transform: uppercase;
  color: white;
  padding: 0;
  margin: 0;
}

.tabs2 .nav-item {
  margin-right: 10px;
}

.lb-line {
  z-index: 0;
  position: absolute;
  bottom: 0;  
  transition: left 0.5s ease-in-out, width 0.5s 0.10s;
  height: 1px;
  background-color: white;
  left: 0;
  width: 0px;
  pointer-events: none;
}

.modal-title {
  color: black;
  font-weight: 700 !important;
  font-size: 24px !important;
}
.modal-content {
  border-radius: 0;
}
.modal-header {
  border-bottom: none;
}
.modal-body {
  padding-top: 0;
}
.modal-sub-header {
  color: black;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.modal-info {
  color: black;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 16px;
}

.captain {
  font-weight: 400;
  color: #ffffff96;
}

.team-actions {
  display: flex;  
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
a.white-link {
  color: white;
}
a.white-link:hover, a.white-link:visited {
  color: white;
}

.team-share, .download-item {
  margin-top: 28px;
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.team-download {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.team-members {
  display: flex; 
  flex-direction: column;
  gap: 8px;
}
.team-page-boxes {
  margin-top: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 25px;
  .box-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
  }
  .box {
    background: #FFF;
    color: black;
    padding: 16px 16px 20px 16px;
    border-radius: 4px;
    flex-basis: 100%;
    .box-label {
      font-size: 13px;
      line-height: 120%;
      text-align: center;
      font-weight: 400;
    }
    .box-value {
      margin-top: 16px;
    }
    .agency {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 20px;
      .agency-name {
        font-weight: 500;
        font-size: 24px;
      }
      img {
        height: 50px;
      }
    }
  }
  .agency-box {
    padding: 12px 20px;
  }
}

.captain-radio {
  accent-color: #FC5200;
}

.athlete-leaderboard-item {
  padding: 8px 0;
}
.athlete-leaderboard-item:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.08);
}

.faq-container {
  background-color: white;
  color: black;
  padding: 16px;
  font-size: 16px;
  .question {
    font-weight: 700;
    margin-bottom: 8px;
  }
  .answer {
    font-weight: 400;
    margin-bottom: 16px;
    a {
      color: #FC5200;
    }
  }
}

.rule-section {
  margin-bottom: 16px;
  color: black;
  font-size: 14px;
  &.gray {
    color: #555;
  }
  a {
    color: #FC5200;
  }
}

.activities {
  display: flex;
  flex-direction: column;
  gap: 16px;
  .activity {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    .name { font-weight: 700; }
    .type img {
      height: 20px;
    }
  }
}

/*.start-links {*/
/*  display: flex;*/
/*  flex-direction: row;*/
/*  justify-content: center;*/
/*  align-items: center;*/
/*  gap: 36px;*/
/*  padding: 14px 0;*/
/*  .start-link {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    justify-content: start;*/
/*    align-items: center;*/
/*    gap: 8px;*/
/*    .link {*/
/*      text-decoration: underline;*/
/*      cursor: pointer;*/
/*    }*/
/*  }*/
/*}*/