/******/
/*** SCROLLED ***/
/******/

.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, .intro-fade-in {
	animation: fade-in 500ms ease-in-out both;
}

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

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

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

.scrolled.slide-in-right, .intro-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(-6.25rem);
    transform: translateX(-6.25rem);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}

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

@keyframes fade-in-top {
  0% {
    -webkit-transform: translateY(-3.125rem);
    transform: translateY(-3.125rem);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

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

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

/* WIPE ON SCROLL */
:root {
--wipe-in: inset(0 0 0 0);
--wipe-bottom: inset(100% 0 0 0);
--wipe-left: inset(0 100% 0 0);
--wipe-top: inset(0 0 100% 0);
--wipe-right: inset(0 0 0 100%);
}

[transition-style] {
    animation-delay: var(--transition__delay, 0);
    animation-duration: var(--transition__duration, 2.5s);
    animation-timing-function: var(--transition__easing, cubic-bezier(.25, 1, .3, 1));
    animation-fill-mode: both;
    will-change: clip-path;
}

@media (prefers-reduced-motion: reduce), print {
    [transition-style] {
        animation-duration: 1ms !important;
        transition-duration: 1ms !important;
        animation-iteration-count:1 !important;
    }
}

@keyframes wipe-in-top {
    0% {
        -webkit-clip-path: var(--wipe-top);
        clip-path:var(--wipe-top);
    }

    to {
        -webkit-clip-path: var(--wipe-in);
        clip-path: var(--wipe-in);
    }
}

[transition-style="in:wipe:down"], [transition-style="in:wipe:top"] {
    animation-name:wipe-in-top;
}

@keyframes wipe-in-right {
    0% {
        -webkit-clip-path: var(--wipe-left);
        clip-path:var(--wipe-left);
    }

    to {
        -webkit-clip-path: var(--wipe-in);
        clip-path: var(--wipe-in);
    }
}

[transition-style="in:wipe:right"] {
    animation-name:wipe-in-right;
}

@keyframes wipe-in-bottom {
    0% {
        -webkit-clip-path: var(--wipe-bottom);
        clip-path:var(--wipe-bottom);
    }

    to {
        -webkit-clip-path: var(--wipe-in);
        clip-path: var(--wipe-in);
    }
}

[transition-style="in:wipe:bottom"], [transition-style="in:wipe:up"] {
    animation-name:wipe-in-bottom;
}

@keyframes wipe-in-left {
    0% {
        -webkit-clip-path: var(--wipe-right);
        clip-path:var(--wipe-right);
    }

    to {
        -webkit-clip-path: var(--wipe-in);
        clip-path: var(--wipe-in);
    }
}

[transition-style="in:wipe:left"] {
    animation-name:wipe-in-left;
}

@keyframes wipe-out-bottom {
    0% {
		-webkit-clip-path: var(--wipe-in);
        clip-path: var(--wipe-in);
    }

    to {
        -webkit-clip-path: var(--wipe-top);
        clip-path:var(--wipe-top);
    }
}

[transition-style="out:wipe:top"], [transition-style="out:wipe:down"] {
    animation-name:wipe-out-bottom;
}

.scrolled.wipe-top, .intro-wipe-top {
	animation: wipe-in-top 1000ms ease-in-out both;
}

.scrolled.wipe-bottom, .intro-wipe-bottom {
	animation: wipe-in-bottom 1000ms ease-in-out both;
}

.scrolled.wipe-right, .intro-wipe-right {
	animation: wipe-in-right 1000ms ease-in-out both;
}

.scrolled.wipe-left, .intro-wipe-left {
	animation: wipe-in-left 1000ms ease-in-out both;
}

.scrolled.wipe-out-bottom, .intro-wipe-out-bottom {
	animation: wipe-out-bottom 1000ms ease-in-out both;
}

/* DELAY */

.transition-delay-100, #hamburger:checked ~ .navigation__links li {
	animation-delay: 100ms;
}

.transition-delay-200, #hamburger:checked ~ .navigation__links li:nth-child(1n+2) {
	animation-delay: 200ms;
}

.transition-delay-300, #hamburger:checked ~ .navigation__links li:nth-child(1n+3) {
	animation-delay: 300ms;
}

.transition-delay-400, #hamburger:checked ~ .navigation__links li:nth-child(1n+4) {
	animation-delay: 400ms;
}

.transition-delay-500, #hamburger:checked ~ .navigation__links li:nth-child(1n+5) {
	animation-delay: 500ms;
}

.transition-delay-600, #hamburger:checked ~ .navigation__links li:nth-child(1n+6) {
	animation-delay: 600ms;
}

.transition-delay-700, #hamburger:checked ~ .navigation__links li:nth-child(1n+7) {
	animation-delay: 700ms;
}

.transition-delay-800, #hamburger:checked ~ .navigation__links li:nth-child(1n+8) {
	animation-delay: 800ms;
}

.transition-delay-900, #hamburger:checked ~ .navigation__links li:nth-child(1n+9) {
	animation-delay: 900ms;
}

.transition-delay-1000, #hamburger:checked ~ .navigation__links li:nth-child(1n+10) {
	animation-delay: 1000ms;
}

.transition-delay-1100, #hamburger:checked ~ .navigation__links li:nth-child(1n+11) {
	animation-delay: 1100ms;
}

.transition-delay-1200, #hamburger:checked ~ .navigation__links li:nth-child(1n+12) {
	animation-delay: 1200ms;
}

@media screen and (min-width: 48rem) {
	
	/* DELAY */

	.grid-33:nth-child(3n+2), .grid-25:nth-child(4n+2), .grid-20:nth-child(5n+2), .grid-16:nth-child(6n+2) {
		animation-delay: 100ms;
	}

	.grid-33:nth-child(3n+3), .grid-25:nth-child(4n+3), .grid-20:nth-child(5n+3), .grid-16:nth-child(6n+3) {
		animation-delay: 200ms;
	}

	.grid-25:nth-child(4n+4), .grid-20:nth-child(5n+4), .grid-16:nth-child(6n+4) {
		animation-delay: 300ms;
	}

	.grid-20:nth-child(5n+5), .grid-16:nth-child(6n+5) {
		animation-delay: 400ms;
	}
	
	.grid-16:nth-child(6n+6) {
		animation-delay: 500ms;
	}
	
}

@media screen and (max-width: 47.9375rem) {
	
	/* DELAY */

	.grid-50:nth-child(2n+2), .grid-33:nth-child(3n+2), .grid-25:nth-child(4n+2) {
		animation-delay: 100ms;
	}

	.grid-33:nth-child(3n+3), .grid-25:nth-child(4n+3) {
		animation-delay: 200ms;
	}
	
}

/* 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: 125rem;
  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: 48rem) {

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

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

@media screen and (max-width: 47.9375rem) {
	
	/* MENU */

	#menu-main-menu li {
		opacity: 0;
		transition: opacity 500ms;
	}
	
	#hamburger:checked ~ .navigation__links li {
		opacity: 1;
  		animation: fade-in-bottom 500ms ease-in-out both;
	}
	
}
