footer {
  margin-top: 35px;
  padding: 8px;
  background-color: #0e5295;
  color: white;
  font-weight: 700;
  font-size: 24px;
}

main {
  margin-bottom: 30px;
}

header > h2 {
  margin-bottom: 2rem;
  box-shadow: 0 2px 16px 6px rgba(3, 3, 3, 0.31);
  background-color: #0e5295;
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  line-height: 3.5rem;
  text-align: center;
}

header {
  position: relative;
}

header > a {
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: large;
}

.btn.btn-primary {
  width: 100%;
}

.tiny-text {
  font-size: 14px;
}

.opt-in-form {
  margin-top: -10px;
}

.btn.btn-success {
  background-color: #57b925;
  border-color: #57b925;
}

#id_has_parts,
#id_needs_diagnosis {
  border: none;
  list-style: none;
  height: inherit;
}

#id_has_parts label,
#id_needs_diagnosis label {
  margin-bottom: 0;
}

#find-mechanics {
  color: #fff !important;
}

.mechanic-pagination-link-left {
    position: absolute;
    left: -1.25rem;
    top: 22%;
    padding: 20px;
}

.mechanic-pagination-link-right {
    position: absolute;
    right: -1.25rem;
    top: 22%;
    padding: 20px;
}

.find-mechanic-arrow {
  width: 70px;
  height: 100px;
}

.project.row {
  margin-right: 0;
}

.project.row > div {
  padding-right: 0;
}

.project.card {
  border-radius: 0;
  background-color: #f0f0f4;
  overflow: hidden;
}

.project.card .row {
  flex-wrap: nowrap;
}

.project.card:not(.full) {
  cursor: pointer;
}

.project.card > .card-body:not(:first-child) {
  border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.project.card img.card-img {
  border-radius: 0;
}

.mech-pf-pic-resp {
  max-width: 210px;
}

.mech-additional-pf-pic {
  width: 42px;
}

.project.card .status-line {
  display: flex;
  justify-content: space-between
}

.project.card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.4rem 0.4rem 0.4rem 0.6rem;
}

.project.card h5 {
  margin: auto 0;
  font-size: 2rem;
}

.project.card .card-text {
  color: #666;
  font-size: 1.25rem;
}

.project.card .title {
  font-style: italic;
  color: #0e5295;
}

.project.card p {
  margin-bottom: 0;
}

.project-btn {
    font-size: 22px;
}

.btn-info-flag {
    color: #fff;
    border-radius: 15px 15px 0 0;
    height: 20px;
    font-size: 14px;
    text-align: center;
    margin: auto;
    padding: 2px 30px;
}

.btm-btn-info-flag {
    color: #fff;
    border-radius: 0 0 15px 15px;
    height: 20px;
    font-size: 14px;
    text-align: center;
    margin: auto;
    padding: 2px 30px;
}

.green-gradient {
    background-image: linear-gradient(#2bf258, #2bb64b);
}

.yellow-gradient {
    background-image: linear-gradient(#ffd760, #d09d04);

}

.blue-gradient {
    background-image: linear-gradient(#66aefc, #0271e8);
}

.blue-text {
    color: #007bff;
}

.light-blue-text {
  color: #0BA9DE
}

.light-blue-bg {
  background-color: #0BA9DE;
  color: #fff;
}

.yellow-text {
  color: #ffd760;
}

.red-text {
  color: #721c24;
}

.red-gradient {
    background-image: linear-gradient(#f74a3a, #e22e1d);
}

.black-gradient {
    background-image: linear-gradient(#727272, #2d2d2d67);
}

/* replicate .alert-danger */
.alert-error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* hides expanded content while truncated content is still visible */
.truncated {
  cursor: pointer;
}
.truncated + .expanded {
  display: none;
}

.truncated_indicator {
  font-weight: bold;
  color: #007BFF;
}

/* inbox bubble and hamburger tweaks */
.navbar {
  z-index: 100;
  position: relative;
  display: flex;
}

.navbar-popup-wrapper {
  position: relative;
}

.navbar-popup {
  position: absolute;
  top: -150px;
  left: 130px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  background-color: #fff;
  z-index: 1;
  padding: 0 5px;
}

.more-info-button {
  border: none;
  background-color: #fff;
}

.more-info-arrow {
  padding-left: 5px;
  font-weight: bold;
}

.nav-blur-background-signed-in {
  background: radial-gradient(rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.465) 35%, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 0) 100%);
  width: 140px;
  height: 70px;
  position: absolute;
  right: 0;
  top: 0;
}

.nav-blur-background {
  background: radial-gradient(rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.465) 35%, rgba(255, 255, 255, 0) 85%, rgba(255, 255, 255, 0) 100%);
  width: 55px;
  height: 70px;
  position: absolute;
  right: 0;
  top: 0;
}

.navbar-toggler,
.navbar-bubble {
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  padding: 0.8rem 0.5rem;
  font-size: 1.25rem;
}

.navbar-bubble {
  right: 60px;
}

.navbar-bubble .badge {
  position: absolute;
  right: 0;
}

.navbar-toggler path {
  stroke-width: 3;
}

.navbar-toggler svg,
.navbar-bubble svg {
  background-image: none;
  width: 2em;
  height: 2em;
}

.navbar path {
  fill: #0e5295;
  stroke: #0e5295;
}

.rating {
  text-align: center;
}

.rating > .stars {
  color: #f4b301;
  letter-spacing: -2px;
  margin-right: 5px;
  min-width: max-content;
}

.rating > .stars > .gray {
  color: #b4b4b4;
}

.card.bid .rating {
  font-size: 12px;
}

.card.bid .stars {
  font-size: 18px;
}

.card.bid a .rating {
  color: #000;
  text-decoration: none !important;
}

.card.bid .mechanic-info-list {
    word-break: break-word;
}

.card.bid img {
    max-height: 120px;
    width: auto;
    margin: auto;
}

.section-title {
    text-align: center;
    background-color: #ddd5d5;
    padding: 8px;
}

.tip-container p {
    margin-bottom: 0;
}

.dark-blue-text {
    color: #1a487c;
}

a .dark-blue-text:hover {
    color: #007bff;
}

.green-text {
    color: #2bb64b;
}

.afterpay-logo {
    width: 100px;
}

.text-deco-none:hover {
  text-decoration: none;
}

.input-dollar-sign {
  position: relative;
}

.input-dollar-sign::before {
  content: "$";
  height: 16px;
  position: absolute;
  width: 16px;
  left: 10px;
  top: 39px;
  z-index: 100;
}

.part-bid-input-dollar-sign {
  position: relative;
}

input.part-bid-input-dollar-sign {
  padding-left: 18px;
}

.part-bid-input-dollar-sign::before {
  content: "$";
  height: 16px;
  position: absolute;
  width: 16px;
  left: 38%;
  top: 39px;
  z-index: 100;
}

/*
.rating > .number {
    float: right;
} */

#pills-projects {
  flex-wrap: nowrap;
}

#pills-projects .nav-item {
  flex: 1;
}

#pills-projects .nav-link {
  border-radius: 0;
  border: 1px solid #ccc;
  text-align: center;
  color: #666;
  background-color: #fff;
  padding: 0.5rem 0rem;
}

#pills-projects .nav-link.active {
  border: 1px solid #0e5295;
  background-color: #0e5295;
  color: #fff;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.my-market-nav {
  margin: 0 3px;
  text-align: center;
  padding: 5px 10px;
  width: max-content;
  text-wrap: nowrap;
  white-space: nowrap;
  border-radius: 8px;
  border: 1px solid lightgray;
}

.my-market-nav.active {
  background-color: #0e5295;
  color: white;
  border: none;
}

.link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.project2-row {
  padding: 0 10px;
}

.project2 {
  display: flex;
  flex-direction: row;
  padding: 3px;
  background-color: #eee;
  margin: 5px 0;
  font-size: 12px;
  color: #666;
}

.project2 .thumbnail {
  min-width: 80px;
  min-height: 80px;
  max-width: 120px;
  max-height: 120px;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
}

.project2 .details {
  flex: 1;
  position: relative;
  padding: 0 3px;
}

.project2 .details .title {
  font-size: 16px;
  color: #000;
}

.project2 .details .estimate {
  color: #0e5295;
}

.project2 .details .estimate-submitted {
  color: #0e5295;
  font-size: 16px;
  font-style: italic;
  text-align: center;
}

.project2 .details .posted {
  position: absolute;
  top: 0;
  right: 0;
}

.project2 .details .city {
  position: absolute;
  bottom: 0;
  right: 0;
}

.form-large-switch::before {
  transform: scale(1.75);
}

.form-large-switch::after {
  transform: scale(1.8) translateX(calc(-0.25rem + 2px));
}

.marketplace-modal-form {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.marketplace-modal-field {
  /* width: calc(50% - 20px); */
  min-width: calc(50% - 20px);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marketplace-modal-field input {
  width: 75%;
}

.marketplace-modal-field select {
  width: 75%;
  padding: 5px 0;
}


@media (min-width: 768px) {
  .project2 {
    font-size: 18px;
  }
  .project2 .thumbnail {
    min-width: 120px;
    min-height: 120px;
  }
  .project2 .details .title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .project.card h5 {
    font-size: 1.5rem;
  }

  .project.card .card-text {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  #pills-projects {
    font-size: 0.6em;
    font-weight: bold;
    margin: 0 -15px;
  }

  .project.card .card-text {
    font-size: 0.9rem;
  }

  .project.card h5 {
    font-size: 1.15rem;
  }

  .project.card .btn {
    font-size: 0.7rem;
  }

  .project.card .title {
    font-size: 0.6rem;
    line-height: 1.25rem;
  }
}

@media (max-width: 400px) {
  .project.card .card-text {
    font-size: 0.8rem;
  }
  .project.card h5 {
    font-size: 1rem;
  }
}

a.navbar-brand {
  flex: 1;
  margin: 0;
  text-align: center;
}

@media (max-width: 992px) {
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Home Page V2 */

.home-page-wrapper {
  margin-top: -119px;
  max-width: 1380px;
}

.hero-cogs {
  width: 350px;
  left: -200px;
  z-index: -1;
  opacity: 5%;
}

.testimonial-cogs {
  width: 350px;
  top: -75px;
  left: -100px;
  z-index: -1;
  opacity: 5%;
}

.hero-column {
  margin-left: 54px;
  padding-left: 40px;
  margin-top: 150px;
  margin-bottom: 48px;
}

.hero-flying-truck {
  width: 200px;
  left: 317px;
  top: 104px;
  z-index: 10;
}

.hero-holding-phone {
  width: 186px;
  left: 39px;
  z-index: 10;
  top: 205px;
}

.blue-checklist {
  margin-left: 13rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 0;
}

.blue-checklist li {
  list-style-type: none;
  background-image: url('/static/images/blue-check.png');
  background-repeat: no-repeat;
  background-position: 0;
  padding-left: 1.5em;
  background-size: 1em 1em;
  font-size: 20px;
}

.hero-pic-gradient {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.1) 75%); z-index: 1;
}

.hero-banner-title-text {
  bottom: 60px;
  z-index: 10;
  right: 0;
  text-align: right;
  width: 100%;
  height: 90px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  font-size: 40px;
  font-weight: bold;
}

#meet-zachary-deluca {
  background-image: url('/static/images/meet-zachary-deluca.png');
}

#hero-get-estimate {
  margin-left: 13rem;
}

.hero-banner-subtitle-text {
  z-index: 10;
  bottom: 45px;
  text-align: right;
  right: 0;
  width: 85%;
  height: 47px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
}

.resp-display-reveal {
  display: none !important;
}

.step-card {
  width: 185px;
  background-color: white;
}

.hoke-w-powers-img {
  height: 100%;
  left: -25px;
}

.vin-diesel-w-powers-img {
  height: 100%;
  right: -250px;
}

.home-yt-iframe {
  min-width: 570px;
}

.good-year-building-img {
  height: 400px;
  background-position: center;
  background-size: cover;
}

.home-footer-link {
  font-size: 12px;
}

.super-hero-section {
  margin: 2rem 4rem 0;
  z-index: 10;
  min-height: 600px;
}

#home-reviews-carousel .thumbnail {
  height: 250px;
  background-size: cover;
  background-position: center;
}

#home-reviews-carousel .people-text {
  font-size: 14px;
}

#home-reviews-carousel .pfp {
  height: 40px;
  width: 40px;
  min-width: 40px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
}

#home-reviews-carousel .carousel-control-prev-icon, #home-reviews-carousel .carousel-control-next-icon {
  background-color: #007bff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.font-weight-bolder {
  font-weight: 900!important;
}

.home-footer-link-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.home-footer-hr {
  border-top: 2px solid #d09d04;
  width: 25%;
  margin: 0;
}
.hoke-banner {
  min-height: 600px;
}

/* Popup */
.popup {
  display: flex;
  justify-content: center;
  flex-direction: column;
  border-radius: 40px;
  max-width: 285px;
  justify-self: center;
  margin: auto;
  box-shadow: white 0px 0px 33px;
}

.popup-close {
  color: #2fed2f!important;
  border-radius: 8px;
  border-color: #2fed2f;
  border-width: 3px;
  opacity: 1;
}

.popup-main-icon {
  width: 175px;
  justify-self: center;
}

.popup-message {
  background-color: #0e5295;
  color: white;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 21px;
  border-radius: 10px;
}

.popup-message-icon {
  width: 20px;
}

.bottom-blue-gradient {
  width: -webkit-fill-available;
  position: absolute;
  bottom: 0;
  height: 175px;
  background: linear-gradient(to top, rgb(118 178 237) 0%, rgba(255, 255, 255, 0) 10%);
}

@media (max-width: 819px) {
  .blue-checklist {
    display: none;
  }
  .lg-mobile-btn {
    width: 100vw!important;
  }
  .mech-pf-pic-resp {
    max-width: none;
  }
  .mech-additional-pf-pic {
    width: 53px;
  }
  .home-page-wrapper {
    margin-top: 0;
  }
  .home-footer-link-wrapper {
    flex-direction: column;
    justify-content: space-around;
    gap: 10px;
    margin-bottom: 50px;
  }
  .hero-column {
    margin-left: 0;
    padding: 0;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
  }
  #hero-get-estimate {
    margin-left: 0;
  }
  .resp-display-none {
    display: none!important;
  }
  .resp-display-reveal {
    display: inline-block !important;
  }
  .resp-text-center {
    text-align: center;
  }
  .resp-margin-auto {
    margin: auto;
  }
  .hero-cogs {
    bottom: -200px;
  }
  .hero-pic-gradient {
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.1) 5%, rgba(255, 255, 255, 0.1) 70%, rgb(255, 255, 255) 80%); z-index: 1;
  }
  .hero-banner-title-text {
    width: 100%;
    right: unset;
  }
  .hero-banner-subtitle-text {
    width: 80%;
    bottom: 50px;
  }
  .hire-ase-mech-section {
    margin-top: 35px;
    padding-bottom: 95px;
  }
  .hoke-w-powers-img {
    height: 70%;
    bottom: 0;
    left: 0;
  }
  .vin-diesel-w-powers-img {
    height: 70%;
    bottom: 0;
    right: -30px;
  }
  .mech-hero-stamp {
    width: 50%;
  }
  .super-hero-section {
    margin-top: 0;
  }
  #home-reviews-carousel {
    max-width: 90%;
    margin: auto;
  }
  .good-year-building-img {
    height: 220px;
  }
  .stats-background-img {
    left: -120px;
    bottom: 200px;
    z-index: 0;
    opacity: 10%;
    transform: rotate(20deg) scaleX(-1);
    -webkit-transform: rotate(20deg) scaleX(-1);
  }
  .step-card {
    width: 245px;
    height: 400px;
  }
  .step-card img {
    width: 175px;
  }
  .home-mech-signup-btn {
    width: 100vw!important;
    text-align: center;
    position: absolute;
    bottom: 0;
    padding-top: 20px!important;
    padding-bottom: 20px!important;
    font-size: 25px;
  }
  .big-mobile-button {
    width: 100vw!important;
    text-align: center;
    position: absolute;
    bottom: 0;
    padding-top: 25px!important;
    padding-bottom: 25px!important;
    font-size: 30px;
  }
  .steps-wrapper {
    margin-top: 0!important;
  }
  .hoke-banner {
    min-height: 470px;
    background-position: center;
  }
}