@import "sass.css";

.orange {
  background-color: orange;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.navbar .navbar-brand img {
  max-height: 5em;
}

.multiline-ellipsis {
  display: block;
  /* Fallback for non-webkit */
  display: -webkit-box;
  /* max-width: 300px; */
  /*   height: 109.2px; */
  /* Fallback for non-webkit */
  margin: 0 auto;
  /* font-size: 26px; */
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* white-space: nowrap; */
}

/* GC IS-ELLIPSIS */

.ellipsis {
  display: block;
  /* Fallback for non-webkit */
  display: -webkit-box;
  /*   max-width: 400px; */
  /*   height: 109.2px; */
  /* Fallback for non-webkit */
  /*   font-size: 26px; */
  line-height: 1.4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.5em;
}

.is-ellipsis-1 {
  -webkit-line-clamp: 1;
}

.is-ellipsis-2 {
  -webkit-line-clamp: 2;
}

.is-ellipsis-3 {
  -webkit-line-clamp: 3;
}

.is-ellipsis-4 {
  -webkit-line-clamp: 4;
}

.is-ellipsis-5 {
  -webkit-line-clamp: 5;
}

.is-ellipsis-6 {
  -webkit-line-clamp: 6;
}

.is-ellipsis-7 {
  -webkit-line-clamp: 7;
}

.is-ellipsis-8 {
  -webkit-line-clamp: 8;
}

.is-ellipsis-9 {
  -webkit-line-clamp: 9;
}

.is-ellipsis-10 {
  -webkit-line-clamp: 10;
}

.card {
  height: 100%;
}

.image.card-logo {
  height: 96px;
  width: 96px;
}

@media only screen and (min-width: 768px) {
  .image.card-logo {
    height: 128px;
    width: 128px;
  }
}

.media-content .title {
  margin-bottom: 0.4rem;
}

.media-content {
  overflow-x: visible;
}

@media only screen and (max-width: 768px) {
  .card-content {
    padding: 1.0rem;
  }
}

span.tag.is-large.fixed {
  width: 50px;
}

span.tag.fixed {
  width: 30px;
}

.field {
  margin-top: auto;
}

.field .control {
  margin-bottom: 5px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.icon-text {
  flex-wrap: nowrap;
}

.tag label.checkbox input {
  margin-right: 5px;
}

.field .label {
  display: inline;
}

input[type=checkbox] {
  vertical-align: middle;
}

.nothing-found {
  text-align: center;
  justify-content: center;
  align-items: center;
}

.popover {
  float: right;
}

span[data-tooltip] {
  border-bottom: none;
}

[data-tooltip]:not(.is-loading).has-tooltip-bottom::before, [data-tooltip]:not(.is-disabled).has-tooltip-bottom::before, [data-tooltip]:not([disabled]).has-tooltip-bottom::before {
  left: 50%;
  transform: translateX(-50%);
  bottom: 1em;
  position: fixed;
}

/* Footer */

footer .fab.fa-instagram {
  color: transparent;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  background-clip: text;
  -webkit-background-clip: text;
}

/* Landing */

.promo .farmers-bg {
  background-image: url(/img/transfer.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 0rem;
  width: 100%;
  left: 0;
  right: 0;
}

.promo .hero-body.farmers-bg .container {
  margin-top: 3rem;
}

.promo .button#learnbtn {
  margin-top: 0rem;
}

.promo .button {
  background-color: #FF9833;
  color: #fafafa
}

.promo .button:hover {
  box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
  -webkit-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
  -moz-box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
  transition: all 0.4s ease 0s;
  color: white;
}

.promo #storytel .stick-to-right {
  float: right;
}

.promo .pig-bg {
  background-image: url(/img/pig.png);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 90%;
}

@media only screen and (min-width: 768px) {
  .promo .pig-bg {
    background-size: 60%;
  }
}

.promo .storybuilder::before {
  position: absolute;
  top: 2.5rem;
  bottom: 2.5rem;
  left: 2rem;
  width: 2px;
  background-color: rgba(142, 81, 199, 0.05);
  content: "";
  z-index: 0;
}

.promo .storybuilder {
  position: relative;
  max-width: 400px;
  padding-left: 4rem;
}

.promo .storybuilder .story-item::after {
  position: absolute;
  top: 50%;
  left: calc(-2rem - 4px);
  width: 10px;
  height: 10px;
  border-radius: 99em;
  background-color: #EE7F8C;
  background-image: linear-gradient(#EE7F8C 30%, #6B364A 110%);
  background-attachment: fixed;
  box-shadow: 0 0 0 6px rgba(142, 81, 199, 0.05);
  transform: translateY(-50%);
  content: "";
  z-index: 2;
}

.promo .storybuilder .story-item::before {
  position: absolute;
  top: 50%;
  left: calc(-2rem - 13px);
  width: 28px;
  height: 28px;
  border-radius: 99em;
  background: white;
  transform: translateY(-50%);
  content: "";
  z-index: 1;
}

.promo .storybuilder .story-item:hover::after {
  box-shadow: 0 0 0 6px rgb(142 81 199 / 20%);
}

.promo .storybuilder .story-item {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: opacity 100ms ease;
  border-radius: 6px;
  padding: 1.25rem;
}

.promo .storybuilder .story-body {
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.promo .piglet-button {
  padding-bottom: 4rem;
}

@media only screen and (min-width: 768px) {
  .promo .piglet-button {
    padding-bottom: 10rem;
  }
}

.hero.is-info {
  background-color: #6B364A;
}

footer p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

footer {
  font-size: smaller;
}

footer code {
  background-color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.footer {
  background-image: url(/img/gaga.png);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
}

.mobile-reversed {
  flex-direction: column-reverse;
}

@media only screen and (min-width: 768px) {
  .mobile-reversed {
    flex-direction: row;
  }
}

@media only screen and (max-width: 768px) {
  h1.title {
    font-size: 1.5rem;
  }

  .content figure.image {
    max-width: 50%;
    height: auto;
  }
}

/* Clock animation */

@keyframes clock {
  8.33% {
    content: "🕛";
  }

  16.66% {
    content: "🕐";
  }

  24.99% {
    content: "🕑";
  }

  33.32% {
    content: "🕒";
  }

  41.65% {
    content: "🕓";
  }

  50.08% {
    content: "🕔";
  }

  58.41% {
    content: "🕕";
  }

  66.74% {
    content: "🕖";
  }

  75.07% {
    content: "🕗";
  }

  83.4% {
    content: "🕘";
  }

  91.73% {
    content: "🕙";
  }

  100% {
    content: "🕚";
  }
}

.clock:after {
  font-size: 2em;
  content: "🕛";
  display: block;
  text-align: center;
  animation: clock 2s linear infinite;
}

.skeleton {
  height: 1em;
  display: inline-block;
  background-color: #e2e2e2;
  animation: loading .5s infinite alternate;
}

@keyframes loading {
  from {
    background-color: #b8b3b3;
  }

  to {
    background-color: hsl(0, 5%, 78%);
  }
}

.contacts {
  margin-bottom: 1rem;
}

.organic-icon {
  display: block;
  width: 1em;
  height: 1em;
  overflow: hidden;
  background-size: 1em 1em;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('/img/organic.png');
}

.tag.certificate1 {
  background-color: #587058;
  color: white;
}

.tag.certificate2 {
  background-color: #E86850;
  color: white;
}

.tag.certificate3 {
  background-color: #587498;
  color: white;
}

.tag.certificate4 {
  background-color: #FFD800;
  color: white;
}

.field div.is-multiline {
  position: relative;
  display: block;
  padding-left: 1.25rem;
}

.field div.is-multiline input[type="checkbox"] {
  position: absolute;
  margin-top: .3rem;
  margin-left: -1.25rem;
}

.field div.is-multiline label {
  margin-bottom: 0;
}

.categories {
  overflow: auto;
  white-space: nowrap;
}

.categories img {
  width: 100%;
}

.categories .item {
  display: inline-block;
  width: 10em;
}

.categories .item a {
  vertical-align: middle;
}

a figcaption {
  margin: 0;
  padding: 1em;
  width: 90%;
  max-height: 95%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.6);
  color: rgb(255, 255, 255);
  text-align: center;
  font-size: 65%;
  margin-top: -3em;
}
