* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}




@view-transition {
	navigation: auto;
}

@font-face {
	font-family: "hacenXL";
	src: url(../fonts/HACEN_LINER_XXL.TTF);
}

@font-face {
	font-family: "hacenPrint";
	src: url(../fonts/HACEN_LINER_PRINT-OUT.TTF);
}


div {
	direction: rtl;
}

a {
	text-decoration: none;
	color: blue;
}

figcaption {
	font: 14px hacenPrint;
}

p {
	font: 18px hacenPrint;
}

h1 {
	font: 32px hacenXL;
	line-height: 100%
}

h2 {
	font: 24px hacenXL;
}

h3 {
	font: 14px hacenPrint;
	line-height: 150%
}

button {
	border: none;
	cursor: pointer;
}

input {
	font: 14px hacenPrint;
}

.postpub hr {
	border: 2px solid #000;
	width: 150px;
	margin: 0 auto;
}



.citation-en {
	direction: ltr;
	font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
	text-align: left;
	font-size: 16px;
}

.black_BG {
	background-color: #000;
	color: #FFF;
}

.grey_BG {
	background-color: #eee;
	color: #000;
}

.grey-text {
	color: #555;
}





/* navbar ------------*/
.topnav {
	padding: 15px;
	position: fixed;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 100%;
	z-index: 10;
}

.topnav-button {
	width: 100%;
	padding: 12px;
}

.topnav-dropdown {
	display: none;
}

.topnav-bg {
	position: fixed;
	z-index: 9;
	width: 100%;
	height: 150px;
	opacity: 0.0;
	transition: 0.5s ease;
	background-image: -webkit-linear-gradient(270deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.00) 90%);
	background-image: -moz-linear-gradient(270deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.00) 90%);
	background-image: -o-linear-gradient(270deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.00) 90%);
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.00) 90%);
}


.topnav-invert {
	filter: invert(.8);
}

nav:hover .topnav-bg {
	opacity: 1;
}

.topnav-s-normal {
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	transition: 0.5s ease;
}

.topnav-s-hover {
	position: absolute;
	top: 15px;
	opacity: 0;
	cursor: pointer;
	transition: 0.5s ease;
}

.topnav-s:hover .topnav-s-hover {
	opacity: 1;
}

.topnav-s:hover .topnav-s-normal {
	opacity: 0;
}

.topnav-xs {
	display: none;
}

.topnav-xs-curtain {
	display: none;
}



/* search bar ------------*/

.search-box {
	display: none;
	position: fixed;
	top: 10vw;
	width: 100%;
	height: 75px;
	z-index: 10;
	filter: drop-shadow(2px 2px 20px);
}

.search-field {
	position: fixed;
	top: 0;
	left: 32px;
	font-size: 64px;
	font-family: hacenPrint;
	background: none;
	color: #fff;
	width: 96%;
	border: none;
	border-bottom: solid;
	height: 96px;
}

.search-icon {
	position: absolute;
	left: 50px;
	height: 70px;
	padding: 5px;
	transform: translateY(12px);
}

.logo-header-container {
	margin-top: 6px;
	padding-top: 2px;
}

.logo-header {
	height: 30px;
	padding-top: 3px;
	padding-right: 12px;
}

.search-result {
	position: relative;
	width: 750px;
	background: #ddd;
	display: block;
	margin: 12px 0;
	padding: 12px;
}

.search-result a {
	color: #000;
}

#search-results {
	position: relative;
	right: 24px;
	margin: 100px 0;
	display: none;
}

/* posts ------------*/

.posts {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
	width: 100%;
}

.posts-left {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: flex-start;
	width: 100%;
}

.postfullpage {
	position: relative;
	width: 100%;
	margin-bottom: 5px;
}

.postsolid {
	position: absolute;
	top: 70%;
	bottom: 0;
	left: 0;
	right: 0;
	height: 90px;
	width: 450px;
	padding: 16px;
	padding-right: 48px;
	color: #FFF;
	background: #000;
}

.postrollout {
	position: absolute;
	text-align: justify;
	top: 100%;
	bottom: 100%;
	right: 10%;
	left: 0;
	width: 90%;
	height: 0%;
	padding: 0 16px 16px 16px;
	color: rgba(0, 0, 0, 0.00);
	transition: 0.5s;
}

.postsolid:hover .postrollout {
	z-index: 9;
	height: fit-content;
	background-color: rgba(0, 0, 0, 0.9);
	color: #fff;
	line-height: 90%;
}

.postpub {
	position: relative;
	padding: 8px;
	width: 400px;
}

.wide {
	width: 750px;
}

.narrow {
	width: 400px;
}

.border {
	margin: 8px;
	border: 8px solid #000;
}

.postimage {
	width: 100%;
	height: 100%;
	min-height: 400px;
	object-fit: cover;
	transition: 0.5s ease;
}


.postpub:hover .posttext {
	opacity: 1;
}

.postpub:hover .postimage {
	filter: blur(8px);
	opacity: 0.5;
	transition: 0.5s ease;
}

.posttext {
	position: absolute;
	top: 0;
	padding: 32px;
	text-align: center;
	line-height: 50%;
	opacity: 0;
	transition: 0.5s ease;
}

.posttext h1 {
	margin: 12px 0;
}

.posttext p {
	margin-top: 12px;
}

.posttext-xs {
	display: none;
}





.postbar-container {
	display: block;
	position: relative;
	width: 100%;
	height: 72px;
	margin-bottom: 2px;
	transition-delay: 1s;
	transition: 0.5s ease;
	filter: brightness(.6);
}


.postbar-container:hover {
	transition-delay: 0.25s;
	height: 320px;
	filter: none;
}

.postbar-container:not(:hover) {
	transition-delay: 0.5s;
}


.postbar {
	background-image: -webkit-linear-gradient(180deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0.30) 90%);
	background-image: -moz-linear-gradient(180deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0.30) 90%);
	background-image: -o-linear-gradient(180deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0.30) 90%);
	background-image: linear-gradient(270deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0.30) 90%);
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	padding: 20px;
}

.postbar-title {
	width: 600px;
	color: #fff;
	padding: 0px 20px 0px 40px;
}

.postbar-text {
	width: 600px;
	color: #fff;
	padding: 20px 20px 20px 40px;
	text-align: justify;
	opacity: 0;
	transition: 0.5s;
	transition-delay: 0.5s;
}

.postbar-container:hover .postbar-text {
	opacity: 1;
}

.postbar-container:active .postbar-text {
	opacity: 1;
}

.postbar-container .postimage {
	min-height: unset;
}



.filldiv {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

.hilight {
	color: #000;
	background-color: #ddd;
}

.hilight:hover {
	color: #fff;
	background-color: #000;
}





/*about page styles*/

.about-small-container {
	position: relative;
	color: #fff;
	flex-basis: 450px;
	padding: 12px 24px 6px 12px;
	text-align: justify;
}

.about-container {
	position: relative;
	color: #fff;
	flex-basis: 750px;
	padding: 12px 24px 6px 12px;
	text-align: justify;
}

.wide-container {
	position: relative;
	width: 1200px;
	padding: 12px 24px 6px 12px;

}

.full-container {
	position: relative;
	width: 100%;
	padding: 12px 24px 6px 12px;
	margin-bottom: 12px;
}

.narrow-container {
	position: relative;
	width: 300px;
	padding: 12px 24px 6px 12px;
	text-align: justify;
}


/*node page styles*/

.node-small-container {
	position: relative;	
	width: 450px;
	padding: 12px 24px 6px 12px;
	text-align: justify;
}

.node-container {
	position: relative;	
	width: 750px;
	padding: 12px 24px 6px 12px;
	text-align: justify;
}

.node-image {
	object-fit: contain;
	width: 100%;
	height: 100%;
}

.node-toppad {
	padding-top: 90px;
	padding-bottom: 90px;

}

.node-hilight {
	color: #000;
	background-color: #ddd;
}

.node-hilight:hover {
	color: #fff;
	background-color: #000;
}

.node-hilight:hover:after {
	position: absolute;
	width: 300px;
	background: #000;
	z-index: 8;
	padding: 0 4px;
}

.load-more-button {
	display: block;
	font: 20px hacenXL;
	position: absolute;
	color: #000;
	width: calc(100% - 36px);
	bottom: 0;
	right: 24px;
	text-align: center;
	opacity: 1;
	transition: 0.5s;

}

.load-more-content {
	display: none;

}

.load-more-overlay {
	bottom: 0;
	right: 0;
	position: absolute;
	width: 100%;
	height: 400px;
	background-image: -webkit-linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.00) 100%);
	background-image: -moz-linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.00) 100%);
	background-image: -o-linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.00) 100%);
	background-image: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.00) 100%);
	transition: 0.5s;
}

/*tooltips*****/

#tooltip {
	position: relative;
	background-color: rgb(250, 220, 220);
}

#tooltip-text {
	display: none;
	z-index: 100;
	background-color: rgb(250, 200, 200);
	width: 300px;
	padding: 0 5px;
	position: absolute;
	box-shadow: -2px 2px 20px rgba(0, 0, 0, 0.2);
	text-align: right;
}

#tooltip:hover {
	background-color: rgb(250, 200, 200);
}

#tooltip:hover #tooltip-text {
	display: inline;
}


/*tags***********/

.tag-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 750px;
	padding-top: 12px;
}

.tag-text {
	padding: 0 6px 0 6px;
	margin-left: 12px;
}




.left-justified {
	text-align: left;
}

.bottom {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	flex-grow: 1;
	padding-bottom: 0px;
	color: #000;
}

.bottom-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: #000;
}

.footer-logo {
	width: 300px;
	object-fit: contain;
}

.social-media-buttons {
	width: 300px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding-top: 24px;

}

.social-media-btn {
	width: 24px;
	height: 24px;
}


.newsletter-submit {
	width: 200px;
	padding: 4px 20px;
	margin: 4px;
	border: none;
	cursor: pointer;
}

.newsletter-field {
	margin: 4px;
	width: 200px;
	padding: 0px 4px;
}

.footer-text {
	text-align: center;
}

/*page effects*/

.hidden {
	opacity: 1;
}

.content {
	z-index: inherit;
	transform: translateY(30px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.content.visible {
	opacity: 1;
	transform: translateY(0);
}

/*-----media queries--------------------*/

@media screen and (max-width: 678px) {

	/*elements*/
	p {
		font: 16px hacenPrint;
		line-height: 125%;
	}

	h1 {
		font: 20px hacenXL;
		line-height: 100%;
	}

	h2 {
		font: 16px hacenXL;
	}


	/*topnav*/
	.topnav {
		display: none;
	}

	.topnav-bg {
		display: none;
	}

	.topnav-xs {
		display: block;
		position: fixed;
		padding: 32px;
		z-index: 10;
		width: 100%;
		height: 60px;
		background-image: -webkit-linear-gradient(270deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.00) 90%);
		background-image: -moz-linear-gradient(270deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.00) 90%);
		background-image: -o-linear-gradient(270deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.00) 90%);
		background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.00) 90%);
	}

	.topnav-xs-button {
		position: relative;
		height: 60px;
		transition: width 1s, height 1s, transform 1s;
		transition: 0.5 ease;
	}

	.topnav-xs-curtain {
		display: block;
		z-index: 9;
		position: fixed;
		right: 0;
		top: 0;
		width: 100%;
		height: 0%;
		background-color: rgba(0, 0, 0, 0.95);
		transition: 0.5s;
	}

	.topnav-xs-container {
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		position: absolute;
		height: 75%;
		margin-right: 36px;
		opacity: 1;
		transition: 0.5s ease;
		top: -400px;
	}

	.topnav-xs-container a {
		display: block;
		width: 100%;
	}

	.topnav-xs-container img {
		height: 70%;
	}



	.search-result {
		max-width: 400px;
		margin: 12px auto;
	}

	#search-results {
		width: 95%;
		right: 0;
		margin: 0 auto;
	}


	/*posts*/

	.postpub {
		width: 95%;
		margin: 6px 0;
	}

	.posttext {
		display: none;
	}

	.posttext-xs {
		display: block;
		position: relative;
		margin: 12px 0;
		text-align: justify;
	}

	.postpub .tall {		
		height: 700px;		
	}

	.postpub .short {
		height: 400px;
		object-fit: cover;
		object-position: 50% 0%;
	}

	.postpub .full {
		width: 100%;
		height: auto;
		object-fit: contain;
	}

	.postfullpage .postimage {
		height: 400px;
	}

	.postimage {
		min-height: unset;
	}

	.postsolid {
		width: 350px;
		height: 75px;
		bottom: 24px;
		margin: 0 auto;
	}

	.postrollout {
		display: none;
	}

	.postpub:hover .postimage {
		filter: none;
		opacity: 1;
		transition: none;
	}



	.postbar-container .postimage {
		width: 100%;
		height: 100%;
		object-fit: cover;
		transition: 0.5s ease;
	}

	.postbar-container {
		height: 90px;
		margin-bottom: 0px;
	}




	.citation-en {
		font-size: 14px;
	}

	.posts-left {
		justify-content: center;
	}

	.left-justified {
		text-align: right;
	}

	.node-container {
		width: 95%;
	}

	.node-small-container {
		width: 95%;
	}

	.wide-container {
		width: 95%;
	}

	.tag-container {
		width: 95%;
	}

	.posts-pagination {
		padding: 0 0px;
	}



	#tooltip:hover #tooltip-text {
		display: block;
	}

}

/*-----media queries ends----------*/