/*
 * Base structure
 */

html {
  scroll-behavior: smooth;
}

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
}

footer {
  height: 170px;
  background: #DADADA;
  display: flex;
  align-items: flex-end;
  padding-bottom: 30px;
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar-opened {
  display: block !important;
}

.navbar-burger-active, .navbar-burger:hover {
  background-color: #ddd;
  color: #333 !important;
}

.navbar-burger, .navbar-burger:focus {
  border-radius: 6px;
  padding: 0 4px;
  color: #fff;
  transition: all ease-in 0.2s;
}

@media (min-width: 768px) {
  .sidebar {
    display: block;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
    height: 100vh;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}

.app-background {
  background-color: #eef0fa;
}

@font-face {
  font-family: 'Assistant script=latin rev=2';
  font-style: normal;
  font-weight: 200 800;
  font-display: block;
  src: url(https://fonts.gstatic.com/s/assistant/v7/2sDcZGJYnIjSi6H75xkzamW5Kb8VZBHR.woff2) format('woff2');
  unicode-range: U+0590-05FF, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Assistant script=latin rev=2';
  font-style: normal;
  font-weight: 200 800;
  font-display: block;
  src: url(https://fonts.gstatic.com/s/assistant/v7/2sDcZGJYnIjSi6H75xkzZmW5Kb8VZBHR.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Assistant script=latin rev=2';
  font-style: normal;
  font-weight: 200 800;
  font-display: block;
  src: url(https://fonts.gstatic.com/s/assistant/v7/2sDcZGJYnIjSi6H75xkzaGW5Kb8VZA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.waitlist-title {
  font-size: 4.0rem;
}

.light-text {
  color: gray;
}

/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

.routine-wrapper {
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    width: 80%;
    height: 200px;
}

.profile-pic {
  background-color: black;
  width: 100px;
  height:100px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.profile-pic-small {
  background-color: black;
  width: 50px;
  height:50px;
  border-radius: 25px;
  margin-bottom: 20px;
}

.profile-pic-tiny {
  background-color: black;
  width: 25px;
  height:25px;
  border-radius: 12.5px;
}

.pic-small {
  background-color: black;
  width: 50px;
  height:50px;
  margin-bottom: 20px;
}

.cover-photo {
  background-color: black;
  width: 200px;
  height:100px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.motivational_phrase_form {
    border: 1px solid lightgray;
    margin: 10px;
    padding: 10px;
}

.edit_transition_wrapper {
  scroll-snap-margin-top: 100px;
  scroll-margin-top: 100px;
  border: 1px solid lightgray;
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
}

.edit_routine_combo_name {
  font-size: 20px;
  margin-top: 10px;
}

.dashboard-statistic {
  display: block;
  border: 1px solid #eee;
  border-radius: 5px;
  text-align: center;
  padding: 60px 0;
  transition: all 0.2s ease-in;
}

a.dashboard-statistic:hover, a.dashboard-statistic:focus {
  text-decoration: none;
  background-color: #EFEFEF;
  opacity: 0.8;
}

.dashboard-statistic-count {
  font-size: 42px;
  font-weight: bold;
  line-height: 1.2;
}

.dashboard-statistic-label {
  font-size: 16px;
  color: #333;
}

.share-workout {
  position: relative;
  max-width: 768px;
  margin: 0 auto;
}

.share-workout-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.share-workout-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0 , 0.4);
}

.share-workout-information {
  position: absolute;
  left: 0;
  bottom: 0;
  margin-bottom: 40px;
}

.share-workout-difficulty {
  color: #fff;
  font-size: 12;
  text-transform: uppercase;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.share-workout-name {
  color: #fff;
  font-size: 36px;
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.share-workout-description {
  color: rgba(0, 0, 0, 0.8)
}

.share-workout-body {
  position: absolute;
  width: 100%;
  border-radius: 30px 30px 0 0;
  background: white;
  margin-top: -20px;
  z-index: 2
}

.challenge-invitation-text {
  font-size: 16pt;
}

.rating-image {
  width: 20px;
  margin-right: 4px;
}

.rating-image:last-child {
  margin-right: 0;
}

.user-access {
  position: relative;
  max-width: 768px;
  margin: 0 auto;
  text-align: center;
}

.user-access-content {
  text-align: left;
}

.custom-select-small {
  min-width: 200px;
}

.waitlist-page {
  display: block;
  margin: 0 auto;
  padding-top: 20px;
  max-width: 500px;
  font-family: "Assistant script=latin rev=2";
}

.join-group {
  position: relative;
  max-width: 768px;
  margin: 0 auto; 
}

.join-group-leaderboard-image {
  width: 50px;
  height: 50px;
}

.status-pill {
  border-radius: 999px;
  color: white;
  height: 40px;
  width: 200px;
  text-align: center;
  padding-top: 8px;
}

.iti__flag {background-image: url("img/flags.png");}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {background-image: url("img/flags@2x.png");}
}

.iti { width: 100%; }

#signup-background-image {
  background-image: url("/images/skeletal_tracking_landscape.jpg");
  height: 100vh;
  background-size: cover;
}

