﻿.nav-user a {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .nav-user a {
    max-width: initial;
  }
}

/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body:not(.home) {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}

body>header:first-of-type {
  padding-bottom: 78px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
  /* Vertically center the text there */
}

/** Validation */
.form-group {
  position: relative;
}

.invalid-feedback.field-validation-error {
  display: block;
}

.invalid-tooltip.field-validation-error {
  display: block;
  top: 80% !important;
  left: 0.75rem !important;
}

/** Home */
.service-item {
  min-height: 180px;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.service-item .card-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.service-item .card-body img {
  display: block;
  width: 100px;
}

.service-item .card-footer {
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
  text-align: center;
  background-color: #ffb600;
}

.service-item .card-footer a {
  text-decoration: none;
  font-weight: bold;
  color: inherit;
  opacity: 0.75;
}

.service-item .card-footer a:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .service-item {
    min-height: 150px;
  }

  .service-item .card-body img {
    width: 60px;
  }
}

.service-item.marketplace {
  background-color: #e8582b;
}

.service-item.gap {
  background-color: #2a7eff;
}

.service-item.ricesap {
  background-color: #71b443;
}

.service-item.organic {
  background-color: #59c8dc;
}

.service-item.iot {
  background-color: #722be8;
}

.service-item.passbook {
  background-color: #00616a;
}


.showcase .carousel-control-prev-icon,
.showcase .carousel-control-next-icon {
  filter: invert(100%);
  zoom: 1.5;
}


.about {
  background: url('../img/About_us2.png') no-repeat center center;
  background-size: cover;
}

.about .about-content {
  border-radius: 1rem;
}


.contact {
  background: url('../img/Contact.png') no-repeat center center;
  background-size: cover;
}

.contact a {
  text-decoration: none;
  color: inherit;
  opacity: 0.75;
}

.contact a:hover {
  opacity: 1;
}

.contact a img {
  width: 64px;
  height: auto;
}

.contact .contact-logo {
  width: 150px;
}

.contact .vertical-divider::before {
  content: '';
  border-right: 4px solid #333333;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1.2rem;
}

.contact .contact-content {
  font-size: 20px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .contact a img {
    width: 42px;
  }

  .contact .vertical-divider::before {
    display: none;
  }

  .contact .contact-header {
    font-size: 1.5rem;
  }

  .contact .contact-content {
    font-size: inherit;
  }
}


.download img {
  height: 100%;
}

.download .download-qr {
  height: 180px;
}

.download .download-header {
  font-weight: bold;
}

.download .download-appstore,
.download .download-googleplay {
  display: block;
  height: 80px;
}

@media (max-width: 768px) {
  .download .download-qr {
    height: 120px;
  }

  .download .download-header {
    font-size: 1.5rem;
  }

  .download .download-appstore,
  .download .download-googleplay {
    height: 42px;
  }
}

.form-label.required::before,
.form-check-label.required::before {
  content: "* ";
  color: red;
}