:root {
  --qfield-color: #80cc28;
  --qfieldcloud-color: #4a6fae;
}

body {
  padding-top: 120px;
  font-family: "bio-sans", sans-serif;
  font-size: 13pt;
  font-weight: 300;
}

#navbar {
  margin-bottom: 0px !important;
  height: 100px;
  background-color: white;
  border: 0;
  font-family: "bio-sans";
  font-size: 12pt;
  border-bottom: 1px solid rgba(128, 204, 40, 0.3);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.01);
}

#navbar ul {
  float: right;
}

#navbar .open>a,
#navbar .open>a:hover,
#navbar .open>a:focus {
  background-color: rgba(0, 0, 0, 0.2);
}

div.navbar li a {
  padding: 10px !important;
}

#navbarNav.in {
  background-color: white;
}

.navbar-default .navbar-form {
  background-color: white;
  border-bottom: 2px solid var(--qfield-color);
}

/* responsive */
@media (min-width: 768px) {
  .navbar-nav {
    height: 100px;
  }

  .navbar-nav>li {
    float: none;
    display: table-cell;
    height: 100px;
    vertical-align: middle;
    font-weight: normal;
  }
}

.navbar-default .navbar-toggle {
  margin-top: 30px;
}

.navbar-default .navbar-nav>li>a,
.navbar-default .navbar-nav>li>a {
  color: var(--qfield-color);
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
  color: var(--qfield-color) !important;
  text-decoration: underline;
}

.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
  color: var(--qfield-color) !important;
}

span.menuselection {
  background-color: #ddd;
  border-radius: 3px;
  padding: 2px 4px;
}

span.shadow-background {
  position: fixed;
  top: 12px;
}

.navbar-brand {
  height: 100%;
  overflow: hidden;
  color: var(--qfield-color) !important;
  font-size: 25px;
}

.navbar-brand img {
  display: inline-block;
  height: 70px;
  width: 70px;
}

footer.footer {
  margin-top: 20px;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: var(--qfield-color);
}

/* carousel */
#maincarousel {
  position: relative;
  margin-top: -20px;
  margin-bottom: 70px;
  height: 580px;
}

.carousel-inner {
  height: 100%;
}

.carousel-inner>.item {
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.carousel-caption {
  bottom: 100px;
  text-align: left;
}

.carousel-caption>div {
  float: left;
  float: left;
  border-radius: 20px;
  color: #ffffff;
  font-size: 24px;
}

.carousel-caption h3 {
  margin-top: 4px;
}

/* carousel content */

.carousel-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.phone-image {
  position: absolute;
  bottom: -14%;
  right: 12%;
  max-height: 90%;
  max-width: 40%;
  object-fit: contain;
  z-index: 1;
}

/* mainpage carousel buttons */
.qf-button a {
  font-family: "bio-sans";
  font-weight: normal;
  font-size: 12pt;
  padding: 5px 15px;
  background-color: #ffffff;
  border: 3px solid var(--qfield-color);
  color: var(--qfield-color);
  text-align: center;
  border-radius: 32px;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
  text-decoration: none;
  text-shadow: none !important;
}

.qf-button a:hover {
  background-color: var(--qfield-color);
  color: white;
  border: 3px solid var(--qfield-color);
}

.carousel-caption .carousel-title {
  font-family: "bio-sans";
  font-size: 55px;
  font-weight: 600;
  color: #525251;
  margin-bottom: 40px;
  text-shadow: -1px -1px 2px #fff, 1px -1px 2px #fff, -1px 1px 2px #fff, 1px 1px 2px #fff;
}

.carousel-caption.custom-caption {
  bottom: 34%;
}

.qfc-button a {
  font-family: "bio-sans";
  font-weight: normal;
  font-size: 12pt;
  padding: 5px 15px;
  background-color: #ffffff;
  border: 3px solid #4a6fae;
  color: #4a6fae;
  text-align: center;
  border-radius: 32px;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
  text-decoration: none;
  text-shadow: none !important;
}

.qfc-button a:hover {
  background-color: #4a6fae;
  color: white;
  border: 3px solid #4a6fae;
}

/*main poinst*/
#main-points p,
#testimonials p {
  text-align: justify;
  font-size: 13pt;
}

#assistance #supportus p {
  text-align: center;
  font-size: 13pt;
}

#main-points {
  margin-bottom: 70px;
}

#support-points p {
  text-align: justify;
  justify-content: center;
}

.point {
  background: white;
  height: auto;
  margin: 50px 50px 80px 50px;
  position: relative;
  box-sizing: border-box;
}

.point img {
  width: 220px;
  max-width: 100%;
}

#customers {
  background-color: #f2f2f2;
  background-image: url('../images/bg/footer.jpg');
  background-size: cover !important;
  padding: 3em 0;
}

#about {
  background-color: #f2f2f2;
  background-image: url('../images/bg/footer.jpg');
  background-size: cover !important;
}

#customers>h2 {
  margin-top: 0;
  margin-bottom: 1em;
}

#customers .customer-logos {
  margin-bottom: 2em;
}

#customers .customer-logos img {
  width: 83px;
  height: 83px;
  object-fit: contain;
  padding: 1.5em;
  transition: all 0.2s linear, padding 0.5s ease-in-out;
  margin: 0 0.5em;
  filter: grayscale(100%);
  border-radius: 20px;
}

#customers .customer-logos img:hover {
  cursor: pointer;
  filter: grayscale(0%);
  background-color: #fff;
}

#customers .customer-logos img.customer-active {
  filter: grayscale(0%);
  padding: 20px;
  /* animation of padding change */
  /* transition: all 0.5s ease; */
  background-color: #fff;
  margin: 2px;
}

#customers .customer-card {
  display: none;
  transition: opacity 2s ease;
  opacity: 0;
}

#customers .customer-card a{
  font-style: italic;
  color:#333;
  font-weight: bolder;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

#customers .customer-card.customer-active {
  display: block;
  animation: fadeIn 1s;
  opacity: 1;
}

#customers .customer-image {
  display: none;
}

#customers .customer-image.customer-active {
  display: block;
  animation: fadeIn 1s;
  opacity: 1;
}

#customers hr {
  border-color: #212121;
  width: 50%;
  margin-bottom: 0;
}

#customers .customer-image {
  position: relative;
}

#customers .customer-image img {
  border-radius: 15px;
  width: 100%;
  aspect-ratio: 1 / 0.66;
  object-fit: cover;
}

#customers .customer-image a {
  position: absolute;
  right: 2em;
  bottom: 2em;
  font-family: "bio-sans";
  background-color: var(--qfield-color);
  color: #fff;
  border-color: #ddd;
}

#customers .customer-image a:hover {
  border-color: #fff;
}

/* all success stories button */
.success-stories-button a {
  margin-left: 10px;
  padding: 5px 10px 5px 10px !important;
  background-color: var(--qfield-color);
  border: 0.5px solid var(--qfield-color) !important;
  color: white !important;
  text-align: center;
  border-radius: 32px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 12pt;
  margin-bottom: 20px;
  margin-top: 70px;
}

.success-stories-button a:hover {
  background-color: transparent;
  border: 0.5px solid var(--qfield-color) !important;
  color: var(--qfield-color) !important;
  border-radius: 32px;
  text-decoration: none !important;
}

/* success stories index */
.ss-btn {
  font-family: "bio-sans";
  font-size: 12pt;
  font-weight: 400;
  color: #212121;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}

.ss-btn:hover {
  color: var(--qfield-color);
  text-decoration: none;
}

/* about */
#about {
  background-color: #21212105;
  background-size: 100%;
  background-repeat: no-repeat;
  height: auto;
  margin: 50px auto 0px auto;
  width: 100%;
  position: relative;
  padding: 50px 0;
  color: #212121;
}

#about a,
#about a:visited,
#about a:focus,
span.green,
.green {
  color: var(--qfield-color);
}

#about a:hover {
  color: var(--qfield-color);
  text-decoration: underline;
}

.media-object {
  width: 64px;
  height: 64px;
  padding-bottom: 30px
}


div.feature {
  padding: 3rem 1.5rem;
  height: 100%;
}

div.feature h2,
div.feature p {
  color: rgb(33, 33, 33) !important;
}

div.feature img {
  width: 150px;
}

div.explanation {
  padding: 10px;
  display: block;
  text-align: center;
  font-size: 14pt;
  color: #212121;
}

/* sdgs page */
.sdg {
  background-color: white;
  margin: 20px 0;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  clear: both;
}

.sdg img {
  float: left;
  margin-right: 20px;
}

.sdg h3 {
  text-align: left;
  margin-top: 0;
}

.sdg p.learn-more {
  text-align: right !important;
  font-weight: bolder;
}

#sdgs h2 {
  text-align: left;
}

#partner img {
  margin: 12px;
  width: 60%;
}

#partner a {
  color: #80cc28;
}

.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.linkedin-icon {
  filter: invert(18%) sepia(7%) saturate(749%) hue-rotate(172deg) brightness(96%) contrast(90%);
}

/* support us button */
.support-button a {
  margin-left: 10px;
  padding: 5px 10px 5px 10px !important;
  background-color: var(--qfield-color);
  border: 0.5px solid var(--qfield-color) !important;
  color: #ffffff !important;
  text-align: center;
  border-radius: 32px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 12pt;
}

.support-button a:hover {
  background-color: #ffffff;
  border: 0.5px solid var(--qfield-color) !important;
  color: var(--qfield-color) !important;
  border-radius: 32px;
  text-decoration: none !important;
}

/* responsive design for carousel */
@media (max-width: 768px) {
  #maincarousel {
    height: 500px;
  }

  .phone-image {
    max-width: 58%;
    right: 2%;
  }

  .carousel-caption.custom-caption {
    bottom: 25%;
    padding: 0 10px;
  }

  .carousel-caption .carousel-title {
    font-size: 44px;
  }

  .qf-button a,
  .qfc-button a {
    font-size: 11pt;
    padding: 5px 10px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .container {
    width: 784px !important;
  }

  .navbar-nav>li>a {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}

/* When menu is collapsed */
@media (max-width: 767px) {
  .support-button {
    width: 100%;
    max-width: none;
    border-radius: 0;
  }

  .support-button a {
    margin-right: 10px;
  }

  #navbar ul {
    float: none;
  }
}

@media (min-width: 570px) and (max-width: 767px) {
  .col-qf-4 {
    width: 33.33333333%;
    float: left;
  }

  .col-qf-6 {
    width: 50%;
    float: left;
  }
}

/* base logo styles */
.client-logo {
  max-height: 50px;
  max-width: auto;
  object-fit: contain;
  margin: 0px 20px 50px 20px;
  transition: transform 0.3s ease;
}

/* individual logo sizes */
.client-logo.logo-kgr {
  max-height: 45px !important;
}

.client-logo.logo-db {
  max-height: 40px !important;
}

.client-logo.logo-nls {
  max-height: 50px !important;
}

.client-logo.logo-un {
  max-height: 65px !important;
}

.client-logo.logo-maff {
  max-height: 67px !important;
}

.client-logo.logo-zh {
  max-height: 40px !important;
}

.logo-link {
  text-decoration: none;
  display: inline-block;
  padding: 5px;
}

.logo-link:hover .client-logo {
  transform: scale(1.02);
}

/* tablet */
@media (max-width: 768px) {
  .logos-container {
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns on tablet */
    gap: 25px;
  }
}

/* mobile */
@media (max-width: 640px) {
  .client-logos {
    padding: 20px 10px;
  }

  .logos-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on mobile */
    gap: 15px;
  }

  /*
    .client-logo {
        max-height: 35px;
        max-width: auto;
    } */

  /* individual mobile sizes */
  .logo-kgr {
    max-height: 35px;
    max-width: auto;
  }

  .logo-db {
    max-height: 32px;
    max-width: auto;
  }

  .logo-nls {
    max-height: 45px;
    max-width: auto;
  }

  .logo-un {
    max-height: 80px;
    max-width: auto;
  }

  .logo-maff {
    max-height: 60px;
    max-width: auto;
  }

  .logo-zurich {
    max-height: 35px;
    max-width: auto;
  }

  .logo-link {
    padding: 10px;
  }
}

/* smaller mobile */
@media (max-width: 480px) {
  .logos-container {
    grid-template-columns: 1fr;
    /* Single column on very small screens */
    gap: 15px;
  }
}

/* industries carousel */
.industries-carousel-section {
  background: #fff;
  padding: 40px 0;
}

.industries-carousel-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.industries-rows {
  display: grid;
  gap: 20px;
}

.industries-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industries-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industries-carousel-slide .item {
  position: relative;
  height: 250px;
  width: 200;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industries-carousel-slide .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.industries-carousel-slide .item:hover img {
  transform: scale(1.05);
}

.industry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(144, 88, 88, 0.3), rgba(0, 0, 0, 0.6));
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.industry-title {
  font-size: 12pt;
  font-weight: 500;
  color: white;
  text-align: left;
}

.industry-sub {
  font-size: 12pt;
  font-weight: lighter;
  color: var(--qfield-color);
  text-align: left;
}

/* industries responsive design */
@media (max-width: 1024px) {
  .industries-row-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {

  .industries-row-4,
  .industries-row-3 {
    grid-template-columns: 1fr;
  }

  .industries-carousel-slide .item {
    height: 150px;
  }

  .industry-title {
    font-size: 12pt;
  }

  .industries-carousel-wrapper {
    padding: 0 15px;
  }
}

/*partner page*/
.success-button {
  background-color: var(--qfield-color);
}

.nav-pills a {
  border-radius: 12px !important;
}

/* hardware page button */
.btn-primary {
  background-color: #80cc28;
  border: none;
  border-radius: 12px;
  margin-top: 15px;
}

.sm-btn {
  border: none;
  border-radius: 12px;
  margin-top: 15px;
  color: var(--qfield-color);
  gap: 10px;
  margin: 0px 0px 0px 0px;
}

.link-btn {
  margin-left: -10px !important;
  padding: 0;
  border: none;
  border-radius: 12px;
  margin-top: 15px;
  color: var(--qfield-color);
}

.sm-btn:hover {
  background-color: none;
  color: var(--qfield-color);
  font-weight: normal;
  text-decoration: none;
  color: #212121;
}

/* hardware page tabs*/
.nav-tabs a {
  color: rgba(128, 128, 128, 0.8);
}

/* success stories cards */
.ss-card-grid {
  display: flex;
  flex-wrap: wrap;
  /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
  gap: 15px;
  padding: 20px;
  opacity: 0.9;
}

.ss-card {
  position: relative;
  background: url('your-background-image.jpg') center/cover no-repeat;
  height: 250px;
  width: auto;
  color: white;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  color: white !important;
  text-decoration: none !important;
}

.ss-card h1 {
  font-size: 14pt;
}

.ss-card h2 {
  font-size: 10pt;
  font-weight: lighter;
  margin-top: 5px;
}

.ss-card p {
  font-size: 9pt;
}

.ss-card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ss-card-industry {
  display: inline-block;
  align-self: flex-start;
  font-size: 9pt;
  text-transform: uppercase;
  font-weight: normal;
  opacity: 0.8;
  margin: 8px 0px 0px 8px;
  color: white;
  background-color: rgba(33, 33, 33, 0.5);
  border-radius: 12px;
  padding: 2px 8px;
}

.ss-card-footer {
  align-self: flex-start;
}

.ss-client-name {
  font-size: 10pt !important;
  font-weight: 500;
}

.ss-card-title {
  font-size: 12pt !important;
  font-weight: bold;
  margin-bottom: 8px;
  margin-left: 8px;
}

.ss-card-wrapper {
  transition: transform 0.3s ease;
  display: block;
  border-radius: 10px;
  width: 100%;
  max-width: 250px;
}

.ss-card-wrapper:hover {
  transform: scale(1.02);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.hidden {
  display: none !important;
}

.ss-card-wrapper.hidden {
  display: none !important;
}

/*filter buttons */
.filter-btn {
  font-weight: bolder;
  padding: 5px 10px 5px 10px;
  margin: 3px;
  border: var(--qfield-color) 0.5px solid;
  border-radius: 30px;
  background-color: white;
  cursor: pointer;
}

.filter-btn:hover {
  color: var(--qfield-color);
  border: var(--qfield-color) 0.5px solid;
}

.filter-btn.active {
  background-color: white;
  color: var(--qfield-color);
}

.hidden {
  display: none;
}

/* success story individual pages */

/* back to all posts*/
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #212121;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-family: "bio-sans", sans-serif;
  margin-bottom: 20px;
}

.back-button:hover {
  font-weight: bolder;
  text-decoration: none;
  color: #212121;
}

.container {
  max-width: 1140px;
}

.centered {
  text-align: center;
}

#success-story-title h4 {
  font-weight: 300;
}

#success-story-title h5 {
  font-size: 11pt;
  font-weight: lighter;
  margin-top: 5px;
}

#success-story h5 {
  font-size: 12pt;
  font-weight: 300;
  margin-top: 5px;
  margin-bottom: 30px;
}

#success-story h4 {
  font-size: 14pt;
  font-weight: bolder;
  margin-top: 10px;
}

#success-story h3 {
  font-size: 15pt;
  font-weight: 600;
  margin-top: 30px;
}

#success-story img {
  width: 80%;
  height: auto;
  margin-bottom: 10px;
  margin-top: 15px;
  border-radius: 8px;
}

#success-story p {
  font-size: 18px;
  text-align: left;
  margin-bottom: 20px;
  margin-top: 10px;
}

#success-story a {
  color: var(--qfield-color);
  font-weight: bolder;
}

/* donation page */
.donation-btn {
  display: block;
  border: 0.7px solid var(--qfield-color);
  color: var(--qfield-color);
  text-align: center;
  padding: 0.75rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bolder;
  transition: background-color 0.2s, color 0.2s;
  margin-top: 10px;
  background-color: white;
}

.donation-btn.selected,
.donation-btn:hover {
  background-color: var(--qfield-color);
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.time-options {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.donation-options {
  display: grid;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.donation-tab {
  flex: 1;
  border: none;
  background: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  color: #212121;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  margin-bottom: 20px;
}

.donation-tab.active {
  color: var(--qfield-color);
  border-bottom: 3px solid var(--qfield-color);
}

.donation-submit {
  display: inline-block;
  background-color: var(--qfield-color);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  border: 0.8px white;
  text-decoration: none !important;
  font-weight: bold;
  max-width: 200px;
  margin: 0 auto;
}

.donation-submit:hover {
  background-color: #fff;
  color: var(--qfield-color);
  text-decoration: none !important;
  border: 0.8px solid var(--qfield-color);
  max-width: 200px;
}

.donate-btn {
  text-align: center;
  border-radius: 30px;
  margin-top: 25px;
  margin-bottom: 10px;
}

/* reasons to support qfield*/
.header-section {
  text-align: center;
  margin: 80px 0 50px 0;
  max-width: 1100px;
}

.header-section h1 {
  text-align: center;
  margin-bottom: 30px;
}

.footer-section {
  text-align: center;
  margin: 50px 0 40px 0;
}

.support-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.left-section {
  padding-right: 0;
  text-align: left;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.accent-bar {
  width: 80px;
  height: 4px;
  background: var(--qfield-color);
  margin-bottom: 30px;
}

.right-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.support-card {
  background: rgba(228, 235, 226, 0.3);
  border-radius: 12px;
  padding: 35px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-title {
  color: #2c3e50;
  margin-bottom: 20px;
}

.card-text {
  text-align: center;
}

.green-link {
  color: var(--qfield-color);
  font-weight: 400;
}

.green-link:hover {
  color: var(--qfield-color);
  font-weight: 600;
  text-decoration: none;
}

.card-list {
  list-style: none;
  text-align: left;
}

.card-list li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  color: #555;
  line-height: 1.5;
}

.card-list ul {
  margin-left: 0px;
}

.card-list li::before {
  content: "•";
  color: #ff6b35;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

@media (max-width: 768px) {
  .support-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .left-section {
    padding-right: 0;
    text-align: left;
  }

  .header-section h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .support-card {
    padding: 25px;
  }

  .container {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .header-section h1 {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .support-card {
    padding: 20px;
  }

  .card-title {
    font-size: 1.2rem;
  }
}

/* thank you page */
.alert {
  max-width: 600px;
  text-align: center;
  margin: 20px auto 0;
}

/* partners page */
.partner-row {
  display: flex;
  flex-wrap: wrap;
}

.col-sm-6.col-md-4 {
  display: flex;
  margin-bottom: 20px;
}

.panel.panel-default {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
}

.panel-body {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  width: auto;
  height: auto;
  padding: 15px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.panel-body p {
  flex-grow: 1;
}

.panel-footer {
  margin-top: auto;
}

/* Center filter bubbles */
#region-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto 30px;
  padding: 0;
  float: none;
  text-align: center;
}

.section-spacing .nav-pills {
  float: none;
  display: inline-flex;
}

.nav-pills > li {
  float: none;
  display: inline-block;
  margin-bottom: 10px;
}

.partner-logo {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  border-radius: 4px;
}

.panel-title {
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  #region-filters {
    max-width: 90%;
  }

  .nav-pills > li {
    margin: 0 3px 10px;
  }

  .nav-pills li a {
    padding: 8px 12px;
    font-size: 14px;
  }

  .thankyou-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  }

}

/* low opacity separation line */
.line {
  border-top: 1px solid #ddd;
  padding-top: 30px;
}
