*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 15px;
}

body {
	margin: 0;
	--color-text: #000;
	/* --color-bg: #f7f5ee; */
	--color-bg: #005eb80f;
	--color-link: #000;
	--color-link-hover: #000;
	color: var(--color-text);
	background-color: var(--color-bg);
	/* font-family: rustica, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif; */
	font-family: 'Maven Pro', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow: hidden;
	overflow-y: scroll;
	line-height: 1;
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 1.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5,0.5,1);
	}
}


a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	font-weight: 600;
}

a:hover {
	color: var(--color-link-hover);
	outline: none;
}

/* Better focus styles from https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
a:focus {
	/* Provide a fallback style for browsers
	 that don't support :focus-visible */
	outline: none;
	background: lightgrey;
}

a:focus:not(:focus-visible) {
	/* Remove the focus indicator on mouse-focus for browsers
	 that do support :focus-visible */
	background: transparent;
}

a:focus-visible {
	/* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
	outline: 2px solid #005eb8;
	background: transparent;
}

.unbutton {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
}

.unbutton:focus {
	outline: none;
}

.line {
	transform-origin: 0% 50%;
	padding-bottom: 0.35rem;
	white-space: nowrap;
	/* white-space: normal; */
	will-change: transform;
}

.oh {
	overflow: hidden;
}

.oh__inner {
	/* display: inline-block; */
	display: block;
	transform-origin: 0% 50%;
	will-change: transform;
}

.frame {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.frame--fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	padding: 1rem;
	z-index: 1;
	display: grid;
	grid-template-columns: 38% 62%;
}

.frame__title {
	font-size: 1rem;
	font-weight: 400;
	margin: 0 0 2rem 0;
}

.frame__links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.frame__links a {
	margin: 0 1rem 0.35rem 0;
}

.frame--fixed .frame__links {
	flex-direction: row;
}

/* ---- grid ---- */

.grid {
	display: grid;
	--grid-border-radius: 8px;
	grid-template-columns: repeat(2,50%);
	max-width: 1400px;
	margin: auto;
}



.grid {
	/* grid-template-columns: repeat(3,33.33%); */
	grid-template-columns: repeat(4,25%);
	/* grid-template-columns: repeat(5,20%); */
}


.grid--large {
	grid-auto-rows: 32vmin;
	/* grid-auto-rows: 32vw; */
	padding: 0.5vw;
	--grid-padding: 0.5vw;
}

.grid--mini {
	/* width: 220px;
	height: 190px; */
	width: 250px;
	width: 100%;
	height: 250px;
	--grid-padding: 1px;
    margin-bottom: 3vh;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
	z-index: 999;

	grid-template-columns: repeat(6, 16.66%) !important;
}

.grid__cell {
	display: grid;
	align-items: end;
}

.grid--mini .grid__cell:not(.grid__cell--current):hover .grid__cell-img {
	opacity: 0.7;
}
.grid__cell--current {
	background: #7af0fe;
}
.grid__cell--current .grid__cell-img-inner{
	/* background: #7af0fe; */
	opacity: 0.7 !important;
}
.grid__cell--current .grid__cell-img {
	opacity: 0.3;
}

.grid__cell--padded {
	padding: calc(var(--grid-padding) * 2 );
}

.grid__cell-img {
	width: calc(100% - var(--grid-padding) * 2);
	height: calc(100% - var(--grid-padding) * 2);

	margin: var(--grid-padding);
	border-radius: var(--grid-border-radius);
	display: block;
	position: relative;
	overflow: hidden;
}

body.oh .grid__cell-img-inner  {
	opacity: 0.4;
}

.grid__cell-img-inner {
	background-size: cover;
	/* background-size: contain; */
    background-repeat: no-repeat;
	/* background-position: 50% 50%; */
	width: 100%;
	height: 100%;
	/* max-height: 70%; */
	cursor: pointer;
	transition: background-size 300ms ease-in-out;
}

body.oh .grid--large .grid__cell-img-inner {
	background-size: contain;
	height: 80%;
}
body.oh .grid--large .grid__cell-img {
	background-size: contain;
	/* height: 70vh; */
	/* transform: scale(1) !important; */
}

.grid__cell-img[style*="z-index: 100"] .grid__cell-img-inner {
	background-size: contain;
}

.content {
	position: fixed;
	top: 0;
	left: 0;
	/* width: 100%; */
	width: 80vw;
	/* height: 100%; */
	/* padding: 15vh 8vw 0; */
	padding: 10vh 8vw 0;
	padding-top: 5vh;

	z-index: 1000;
	pointer-events: none;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.content__item {
	position: absolute;
	opacity: 0;
	/* display: grid; */
}

.content__item--current {
	opacity: 1;
	/* position: relative; */
	pointer-events: auto;
	/* overflow-y: auto; */
}

.content.content--open {
	pointer-events: initial;
}

.content__item-number {
	font-weight: 600;
	font-size: 1.2em;
	display: block;
	background: #005eb8;
	color: white;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
	border-radius: 100%;
	justify-self: center;
}

.content__item-heading {
	font-size: 5vw;
	/* font-size: 2.5vw; */
	line-height: 1;
	margin: 1rem 0 0.5rem 0;
	font-weight: 800;
	/* max-width: 100%; */
	display: block;
	max-width: 30ch !important;

}

.content__item-description {
	max-width: 80ch;
	display: block;
}
h3 {
	max-width: 70ch;
	display: block;
}

.content__item-text,
.content__item-place,
.credits {
	/* max-width: 45ch; */
	max-width: 100ch;
	/* width: 80vw; */
	margin-bottom: 2rem;
	margin-top: 0rem;
}

.intro h2 {
	padding-bottom: 3em;
}


h3.oh span {
	/* max-width: 35ch; */
	/* max-width: 35ch; */
	margin-top: 1rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #005eb8;
	color: #005eb8;
	max-width: 80ch;

}

.content__item-link {
	cursor: pointer;
}

.slide-nav {
	position: fixed;
    width: 40%;
    right: 5%;
	top: 0;
	height: 100%;
	display: grid;
	align-content: space-between;
	pointer-events: none;
}

.slide-nav__img {
	width: 80%;
	height: 10vh;
	position: relative;
	overflow: hidden;
	opacity: 0.3;
	cursor: not-allowed;
}

.content--open .slide-nav__img {
	pointer-events: auto;
}

.slide-nav__img--prev {
	transform: translateY(-100%);
	border-radius: 0 0 1.5vw 1.5vw;
}

.slide-nav__img--next {
	transform: translateY(100%);
	border-radius: 1.5vw 1.5vw 0 0;
}

.slide-nav__img-inner {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: 50% 50%;
}

.back {
	background: none;
	border: 0;
	padding: 0;
	/* margin: auto 0 1.5rem 0; */
	margin-bottom: 20px;
    opacity: 0;
    pointer-events: none;
    stroke: #000;
    z-index: 1000;
    cursor: pointer;
    width: 80px;
	margin-left: 4em;

	/* margin-top: 4px; */
}

.back svg {
	stroke-linecap: round;
	stroke: #005eb8;
	transition: all 200ms ease-in-out;
}

.back svg:hover,
.back svg:focus {
	outline: none;
	stroke: #61deed;
	opacity: .8;
}

.content--open .back {
	pointer-events: auto;
}




.content__item--current {
	width: auto;
	width: 80vw;
	min-width: initial;
	/* max-width: 100ch; */
	/* overflow-y: auto; */
	/* margin-right: 8vw; */
}

.content__item--current * {
	/* padding-right: 8vw; */
}

@media screen and (min-width: 40em) {
	.content__item--current {
		/* overflow-y: auto; */
	}
}


@media screen and (min-width: 55em) {
	.content {
		/* width: 38%; */
		/* width: 50%; */
		/* width: 65%; */
		width: 100%;
		height: 100%;
	}
	.grid {
		grid-template-columns: repeat(4,25%);
		/* grid-template-columns: repeat(5,20%); */

	}
	.grid__cell--padded {
		padding: var(--grid-padding);
	}
	.grid__cell-c0-r0 { grid-column: 1 / 5; grid-row: 1;}
	.grid__cell-c2-r0 { grid-column: 1 / 4; grid-row: 1;}


	.grid__cell-c1-r1 { grid-column: 1; grid-row: 1; }
	.grid__cell-c2-r1 { grid-column: 2; grid-row: 1; }
	.grid__cell-c3-r1 { grid-column: 3; grid-row: 1; }
	.grid__cell-c4-r1 { grid-column: 4; grid-row: 1; }

	.grid__cell-c1-r2 { grid-column: 1; grid-row: 2; }
	.grid__cell-c2-r2 { grid-column: 2; grid-row: 2; }
	.grid__cell-c3-r2 { grid-column: 3; grid-row: 2; }
	.grid__cell-c4-r2 { grid-column: 4; grid-row: 2; }

	.grid__cell-c1-r3 { grid-column: 1; grid-row: 3; }
	.grid__cell-c2-r3 { grid-column: 2; grid-row: 3; }
	.grid__cell-c3-r3 { grid-column: 3; grid-row: 3; }
	.grid__cell-c4-r3 { grid-column: 4; grid-row: 3; }


	.grid__cell-c1-r4 { grid-column: 1; grid-row: 4; }
	.grid__cell-c3-r4 { grid-column: 2; grid-row: 4; }
	.grid__cell-c3-r4 { grid-column: 3; grid-row: 4; }
	.grid__cell-c3-r4 { grid-column: 4; grid-row: 4; }

	.grid__cell-c3-r5 { grid-column: 3; grid-row: 5; }

	.grid--mini {
		visibility: visible;
		position: relative;
	}
	.content--open .grid--mini {
		pointer-events: auto;
		max-width: 100ch;
		margin: initial;
		/* grid-template-columns: repeat(6, 16.66%) !important; */
		grid-template-columns: repeat(8, 12.5%) !important;

	}

	.grid__cell-img-inner {
		background-size: cover;
		/* background-size: contain; */
		background-repeat: no-repeat;
		background-position: 50% 50%;
		width: 100%;
		height: 100%;
		/* max-height: 70%; */
		cursor: pointer;
		transition: background-size 300ms ease-in-out;
	}
	body.oh .grid__cell-img-inner {
		opacity: 1;
	}

	.content__item-heading {
		/* font-size: 4vw; */
		font-size: 2.3vw;
		line-height: 1.2;
		margin: 1rem 0 0.5rem 0;
		font-weight: 800;
		/* max-width: 45ch; */
	
	}
	.content__item--current {
		opacity: 1;
		/* position: relative; */
		pointer-events: auto;
		overflow-y: initial;
		/* overflow-y: auto; */
	}

	.intro h2 {
		padding-bottom: 1em;
	}

	body.oh .grid__cell-img {
		opacity: 1
	}


	.content__item-text,
	.content__item-place,
	.credits {
		/* max-width: 45ch; */
		/* max-width: 80ch; */
		max-width: 80ch;
		max-width: 65ch;

		margin-bottom: 2rem;
		margin-top: 0rem;
	}

	.content__item-text {
		/* height: 100vh; */
	}


	body #cdawrap {
		position: relative;
		margin-top: auto;
        --cda-left: auto;
        --cda-right: auto;
        --cda-width: 300px;
        --cda-bottom: auto;
        --cda-top: auto;
        opacity: 1 !important;
        pointer-events: auto;
        z-index: 1;
    }

    body #cdawrap .cda-footer {
        display: none;
    }

    body #cdawrap .cda-text {
        color: transparent !important;
        height: 1.25rem;
        pointer-events: none;
        position: relative;
        text-align: left;
    }

    body #cdawrap .cda-text::before {
        color: var(--color-text);
        content: "Sponsored by "attr(data-sponsor);
        font-size: 0.85rem;
        font-weight: 500;
        left: 0;
        pointer-events: auto;
        position: absolute;
        top: 0;
        opacity: 0.5;
        transition: opacity 0.4s;
    }

    .grid[style*="pointer-events: none;"] .frame #cdawrap .cda-text::before {
    	opacity: 0 !important;
    }

    body #cdawrap:hover .cda-text::before {
        color: var(--color-link-hover);
    }

    body #cdawrap a::after {
        display: none;
    }
}


.oh .logos {
	opacity: 0;
}

.logos {
	padding: 0.5vw;
}

.logos img {
	/* width: calc(100% - var(--grid-padding) * 2);
    height: calc(100% - var(--grid-padding) * 2); */
	border-radius: 8px;

}

.oh .header {
	/* display: none; */
}

.quelle {
	font-style: italic;
}

.intro .content__item-text {
	/* max-width: 80vw; */
	line-height: 1.2em;
}

.intro .content__item-heading {
	padding-bottom: 1em;
}
.ghost {
	color: #005eb80f;
}

.language-switcher {
	text-align: right;
	width: 100%;
	padding-right: 2vw;
	padding-right: 1vw;
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: end;
	margin-top: 25px;
}

.language-switcher img {
	width: 30px;
	grid-column: 5;
    justify-self: flex-end;
	margin-left: 15px;
}






.grid__cell-img {
	/* width: calc(100% - var(--grid-padding) * 2); */
	width: calc(100% - var(--grid-padding) * 2);
	height: calc(100% - var(--grid-padding) * 2);
	margin: var(--grid-padding);
	border-radius: var(--grid-border-radius);
	display: block;
	position: relative;
	overflow: hidden;

	/* width: 100%;
	height: 100%; */
}

.grid__cell-img[style*="z-index: 100"] {
	width: calc(100% - var(--grid-padding) * 2);
	margin-right: 0 !important;
}
.grid__cell-img[style*="z-index: 100"] .grid__cell-img-inner {
	width: calc(100% - var(--grid-padding) * 2);
}

.grid__cell-c0-r0 { grid-column: 1 / 5; grid-row: 1;}
.grid__cell-c0-r0 .grid__cell-img { background-color: #005eb8;}

.grid__cell-img-inner.header {
	background-position-x: right;
}

.logo-bg {
	background-color: #fff;
}
.logo-bg .grid__cell-img-inner  {
	background-size: contain;
}



@media (min-aspect-ratio: 4/3) and (orientation: landscape) and (max-width: 1300px)  {
	.grid__cell-c0-r0 .grid__cell-img-inner.header {
		background-image:url(../img/israeli-innovations-banner-m.jpg) !important;
	}

	html:lang(en) .grid__cell-c0-r0 .grid__cell-img-inner.header {
		background-image:url(../img/israeli-innovations-banner-eng-m.jpg) !important;
	}
}

@media (min-aspect-ratio: 16/9) and (orientation: landscape) and (min-width: 1300px) and (max-height: 700px) {
	.grid__cell-c0-r0 .grid__cell-img-inner.header {
		background-image:url(../img/israeli-innovations-banner-sm.jpg) !important;
	}
	html:lang(en) .grid__cell-c0-r0 .grid__cell-img-inner.header {
		background-image:url(../img/israeli-innovations-banner-eng-sm.jpg) !important;
	}
}

@media (orientation: landscape) and (max-width: 1300px)  {
	.grid__cell-c0-r0 { grid-column: 1 / 5; grid-row: 1 / 3;}

}

.grid__cell-c0-r0 .grid__cell-img-inner.header {
	background-size: contain;
}


@media screen and (max-height: 700px) {
	.content--open .grid--mini {
		grid-template-columns: repeat(15, 6.66%) !important;
		height: 200px !important;
	}
}


.fake {
	display: none;
}

@media screen and (max-width: 1000px){
	.fake {
		display: block;
		max-width: 100%;
		margin-bottom: 1em;
	}
}



body.oh main {
	height: 100vh;
}

.content.content--open {
	overflow-y: auto ;
	overflow-x: hidden;
	max-height: 100vh;
    /* width: -webkit-fill-available;
    width: -moz-available */
    height: inherit;
	width: -moz-available;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;  /* Mozilla-based browsers will ignore this. */
    width: fill-available;
}



/* .content--open .grid--mini {
    pointer-events: auto;
    max-width: 100ch;
    margin: initial;
    grid-template-columns: repeat(8, 12.5%) !important;
    visibility: visible;
    position: relative;
} */


.slide-nav {
	display: none;
}

.content__item {
	padding-bottom: 80px;
}

.content__item.intro {
	/* display: none; */
}
.content__item.intro.content__item--current {
	display: block;
}



@media screen and (min-width: 1200px){
	.content--open #item-60.content__item--current ~ .grid--mini {
		position: absolute;
    right: 2em;
		/* width: 100%; */
		width: 400px;
		height: 100%;
	}

	.intro .content__item-text {
		max-width: 80ch !important;
	}
}

.content__item:not(.content__item--current) .content__item-text {
	/* height: 0px !important; */
	/* display: none; */
	/* position: absolute; top: -9999px; left: -9999px; */
	/* padding: 0 !important; */
	/* width: 0; height: 0; */
	display: inline-flex;
}

.back text {
	letter-spacing: 1px;
	/* font-size: .8em; */
}

main::-webkit-scrollbar {
	display: none;
}


* {
	/* display: block; */
}

/* .grid__cell-img-inner.header:hover {
	transform: translate(0);
} */

.logo-bg .grid__cell-img-inner {
	background-position: center;
}

.oh .language-switcher {
	display: none;
}




@media screen and (min-width: 1100px) and (max-width: 1500px){
	.grid__cell-img-inner {
		max-height 70%;
	}
}

/* .grid__cell-img-inner[data-item="item-1"], */
.grid__cell-img-inner[data-item="item-2"],
/* .grid__cell-img-inner[data-item="item-3"], */
.grid__cell-img-inner[data-item="item-4"],
.grid__cell-img-inner[data-item="item-5"],
.grid__cell-img-inner[data-item="item-28"],
.grid__cell-img-inner[data-item="item-30"],
.grid__cell-img-inner[data-item="item-50"],
.grid__cell-img-inner[data-item="item-52"],
.grid__cell-img-inner[data-item="item-53"],
/* .grid__cell-img-inner[data-item="item-54"], */
.grid__cell-img-inner[data-item="item-55"],
.grid__cell-img-inner[data-item="item-58"] {
  background-position: top;
}


.oh .language-switcher {
	display: none;
}

.intro-logo {
	max-height: 6vw;	
}

@media  and (max-width: 700px) {
	.intro-logo {
		max-height: auto;
		width: 30vw;	
		height: auto;
	}
}