/**Styling scrollable elements*/

.js-scroll {
  opacity: 0;
  transition: opacity 500ms;
}

.logged-in .js-scroll, .paged .js-scroll, .page-template-proposal .js-scroll, .single-crb_proposal .js-scroll {
	opacity: 1!important;
}

.js-scroll.scrolled {
  opacity: 1;
}

.scrolled.fade-in, .pre-load.fade-in {
  animation: fade-in 500ms ease-in-out both;
}

.scrolled.fade-in-bottom, .pre-load.fade-in-bottom {
  animation: fade-in-bottom 500ms ease-in-out both;
}

.scrolled.slide-left, .pre-load.slide-in-left {
  animation: slide-in-left 500ms ease-in-out both;
}

.scrolled.slide-right, .pre-load.slide-in-right {
  animation: slide-in-right 500ms ease-in-out both;
}

/* ----------------------------------------------
 * Generated by Animista on 2021-2-11 23:32:31
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

@keyframes slide-in-left {
  0% {
    -webkit-transform: translateX(-100px);
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-right {
  0% {
    -webkit-transform: translateX(100px);
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in-bottom {
  0% {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Infinite Scroll */

@keyframes infinite-scroll {
  from {transform: translateX(0)}
  to {transform: translateX(-50%)}
}

.infinite-scroll-wrapper {
  width: 100%;
  overflow-x: hidden;
}

.infinite-scroll-container {
  display: flex;
  width: 360.75rem;
  animation-name: infinite-scroll;
  animation-duration: 20s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.infinite-scroll-item {
  white-space: nowrap;
}

/* Dynamic Sticky Sidebar */

@media screen and (min-width: 768px) {

:root {
  --space: 2rem;
  --space-xs: calc(var(--space) / 3);
  --space-sm: calc(var(--space) / 2);
  --space-md: calc(var(--space) * 2);
}

article.sticky-article {
  flex-basis: 0;
  flex-grow: 999;
}

aside.sticky-aside {
  --offset: var(--space);
  flex-grow: 1;
  align-self: start;
  position: sticky;
  top: var(--offset);
}
	
}
