@font-face {
	font-family: 'bmwtypelightregular';
	src: url('fonts/bmwlt-webfont.woff2') format('woff2'),
		 url('fonts/bmwlt-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

:root {
  --mainTextSize: 17px;
  --mainLineHeight: 1.35em;
  --mainTextColor: #000000;
  --mainTextColorInverse: #FFFFFF;
  --mainBgColor: #000000;
  --secondaryBgColor: #ba7f1c;
  --mainBorder: 4px solid #000000;
  --mainFontFamily: 'bmwtypelightregular', sans-serif;
  --standardGreen: #4e690f;
  --acidGreen: #5ddc28;
}


html {
	height: 100%;
}

body {
	margin: 0;
	font-family: var(--mainFontFamily);
	font-size: var(--mainTextSize);
	color: var(--mainTextColor);
	height: 100%;
	line-height: var(--mainLineHeight);
	letter-spacing: 1px;
}

body.category-kirvarpa-books,
body.category-kirvarpa-knygos {
	background: var(--secondaryBgColor); 
}

a {
	color: var(--mainTextColor);
	text-decoration: none;
}

* {
	text-decoration-thickness: 1px;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	 -khtml-user-select: none; /* Konqueror HTML */
	   -moz-user-select: none; /* Old versions of Firefox */
		-ms-user-select: none; /* Internet Explorer/Edge */
			user-select: none; /* Non-prefixed version, currently
								  supported by Chrome, Edge, Opera and Firefox */
}

.wp-element-caption,
.has-small-font-size {
	font-size: 0.8em;
	line-height: normal;
}

.back-btn {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.mobile-show,
.mobile-show-1 {
	display: none !important;
}

.site {
	max-width: 1920px;
	padding: 2rem 2rem 4rem 2rem;
	margin: 0 auto;
}

.site-main {
	min-height: 500px;
	padding: 3rem 0rem;
	overflow-x: hidden;
}

.category-kirvarpa-books .site-main,
.category-kirvarpa-knygos .site-main {
	overflow: visible;
}

/* ADJUSTMENTS */

.header-navigation,
.header-actualities {
	margin-top: -3px;
}

.header-navigation {
	width: 100%;
	max-width: 20%;
}

.wp-block-image {
	margin-bottom: 3rem;
}

.page-content p a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.page-content p a:hover {
	text-decoration: none;
}

/* HEADER */

.site-header {
	display: flex;
	justify-content: space-between;
	padding-bottom: 2rem;
	min-height: 180px;
	position: relative;
	z-index: 999999;
}

/* HEADER - LOGO */

.logo {
	margin-bottom: 2rem;
}

.logo a {
	text-decoration: none;
	color: var(--mainTextColor);
}

/* HEADER - MAIN MENU */

.main-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-menu li {
	margin-bottom: 5px;
}

.main-menu li a {
	color: var(--mainTextColor);
	text-decoration: none;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.main-menu li.current-menu-item a {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

/* HEADER - KIRVARPA LOGO */

.header-logo-nfa {
	cursor: pointer;
	max-height: 180px;
}

.header-logo-nfa a{
	display: block;
}

.header-logo-nfa svg {
	max-height: 180px;
	vertical-align: middle;
}


/* HEADER - KIRVARPA LOGO */

.header-logo-kirvarpa {
	cursor: pointer;
	max-height: 180px;
}

.header-logo-kirvarpa a{
	display: block;
}

.header-logo-kirvarpa svg {
	max-height: 180px;
	vertical-align: middle;
}

.header-logo-kirvarpa.active svg path {
  fill: var(--acidGreen);
  max-height: 180px;
}

/* HEADER - SEARCH */

.header-search {
	display: flex;
	align-items: flex-end;
	width: 20%;
}

.searchform {
	position: relative;
	width: 100%;
}

.search-field {
	width: 100%;
	box-sizing: border-box;
	border-top: none;
	border-left: none;
	border-right: none;
	border-bottom: var(--mainBorder);
	outline: none;
	padding: 0.5rem 80px 0.5rem 0;
	background: none;
	font-family: var(--mainFontFamily);
	font-size: var(--mainTextSize);
	color: var(--mainTextColor);
	margin: 0;
}

.category-kirvarpa-books .search-field:focus,
.category-kirvarpa-knygos .search-field:focus {
	border-color: var(--acidGreen) !important;
}

.search-field:focus {
	border-color: var(--acidGreen) !important;
}

.search-btn {
	position: absolute;
	right: 0;
	bottom: 10px;
	cursor: pointer;
	width: 60px;
	height: 60px;
}

/* HEADER - PODCASTS */

.header-podcasts.active svg path {
	fill: var(--acidGreen);
	stroke: var(--acidGreen);
}

.header-podcasts-btn {
	height: 180px;
	width: 127px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	position: relative;
}

.header-podcasts-btn-text {
	padding-left: 1rem;
	margin-bottom: 0.2rem;
}

html[lang="lt-LT"] .header-podcasts-btn-text {
	padding-left: 0.5rem;
}

.header-podcasts a {
	text-decoration: none;
	color: var(--mainTextColor);
}

.header-podcasts-btn-img {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	z-index: -1;
	pointer-events: none;
}

/* HEADER ACTUALITIES */

.header-actualities {
	max-width: 20%;
	position: relative;
	flex-shrink: 0;
	flex-grow: 1;
	width: 100%;
}

.header-actualities-title {
	border-bottom: 4px solid #000000;
}

.header-actualities-inner {
	max-height: 150px;
	overflow: auto;
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}

.header-actualities-inner::-webkit-scrollbar {
	display: none;
}

.header-actualities-deco {
	position: absolute;
	left: 0;
	top: 50%;
	right: 0;
	bottom: 0;
	background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	z-index: 999;
	pointer-events: none;
}

body.category-kirvarpa-books .header-actualities-deco,
body.category-kirvarpa-knygos .header-actualities-deco {
	background: linear-gradient(0deg, rgba(186,127,28, 1) 0%, rgba(186,127,28, 0) 100%);
}

/* CATEGORY FILTER */

.category-filter {
	list-style: none;
	margin: 0;
	padding: 0;
}

.secondary-menu {
	z-index: 999999;
	position: sticky;
	top: 1rem;
}

.secondary-menu .inner {
	display: flex;
	justify-content: space-between;
	border-top: var(--mainBorder);
	padding: 1.2rem 0;
	width: 100%;
}

.bg-shade {
	position: absolute;
	left: 0;
	top: -1rem;
	right: 0;
	bottom: -1rem;
	background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
	z-index: -1;
	pointer-events: none;
}

body.category-kirvarpa-books .bg-shade,
body.category-kirvarpa-knygos .bg-shade {
	background: linear-gradient(180deg, rgba(186,127,28, 0.8) 0%, rgba(186,127,28, 0) 100%);
}

.category-filter li {
	display: inline-block;
	margin-right: 1.8rem;
	margin-bottom: 0.2rem;
}

.category-filter li a {
	color: var(--mainTextColor);
	text-decoration: none;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.category-filter li a.active {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.index-filter {
	list-style: none;
	margin: 0;
	padding: 0;
}

.index-filter li a {
	border: var(--mainBorder);
	padding: 0.3rem 1.8rem;
	border-radius: 2rem;
	color: var(--mainTextColor);
	text-decoration: none;
}

/* LOOP */

.post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	vertical-align: middle;
	position: absolute;
	left: 0;
	right: 1px;
	top: 0;
	bottom: 1px;
}

.post-image {
	position: relative;
	padding-bottom: 400%;
	overflow: hidden;
	background: var(--secondaryBgColor);
}

.post-image a {
	color: var(--mainTextColor);
}

.post-image-title {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	z-index: 999;
	padding: 1.5rem;
}

.image-deco {
	position: absolute;
	
	pointer-events: none;
	z-index: 99;
}

.image-deco.right {
	top: -3px;
	left: 0;
	right: -1px;
	bottom: -3px;
}

.image-deco.left {
	bottom: -3px;
	right: 0;
	left: -1px;
	top: -3px;
}

.image-deco svg {
	height: 100%;
	width: 100%;
	-webkit-transform: scale(1);
	transform: scale(1)
}

/* STANDARD POST */

.post-image-standard {
	position: relative;
	padding-bottom: 65%;
	overflow: hidden;
	background: var(--secondaryBgColor);
}

.post-image-standard img {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* PODCAST POST */

.podcast-post {
	padding: 5rem;
}

.podcast-post-inner {
	border: var(--mainBorder);
	padding: 1.5rem;
	position: relative;
}

.read-more {
	margin-top: 0.5rem;
	display: block;
}

.audio-player {
	position: relative;
	margin: 0 auto;
	text-align: center;
}

.play-pause-button {
	height: 180px;
	width: 100px;
	position: relative;
	margin: 2rem auto 1.5rem auto;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.timeline {
	margin-bottom: 1rem;
}

.timeline-slider {
	height: 12px;
	width: 100%;
	cursor: pointer;
	position: relative;
	margin-bottom: 1rem;
}

.progress {
	height: 4px;
	width: 0; 
	background: black;
	position: absolute;
	left: 0px;
	top: 4px;
	bottom: 0;
}

.play-btn,
.pause-btn {
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
}

.play-btn-text {
	display: none;
	position: absolute;
	pointer-events: none;
}

.audio-player.is-paused .pause-btn {
	display: none;
}

.audio-player.is-playing .play-btn {
	display: none;
}

.audio-player .play-btn svg,
.audio-player .pause-btn svg  {
	width: 100%;
	height: 100%;
}

/* SINGLE POST */


/* GRID */

/*.five-columns {
  display: flex;
  flex-flow: row wrap;
  margin: 0 -2rem;
  justify-content: center;
}

.column-item {
  flex-basis: calc(40% - 4rem);
  flex-grow: 0;
  margin-left: 2rem !important;
  margin-right: 2rem !important;
  margin-bottom: 6rem;
}

.column-item-text {
	flex-basis: calc(20% - 4rem);
	flex-grow: 0;
	margin-left: 2rem !important;
	margin-right: 2rem !important;
	margin-bottom: 6rem;
}*/

.five-columns {
	margin-right: -40px;
}

.column-item {
  width: calc(40% - 40px);
}

.column-item--width2,
.grid-sizer {
	width: calc(20% - 40px);
}

.column-item {
	margin-bottom: 6rem;
}

/*.column-item, 
.column-item-text {
	background: #f5f5f5;
}*/

/* KIRVARPA BOOKS */

.book-post {
	margin-right: 4rem;
	flex-grow: 0;
}

.book-post:last-child {
	margin-right: 0;
}

.book-cover {
	height: 65vh;
	position: relative;
	background: var(--secondaryBgColor);
}

.book-cover img {
	position: relative;
	width: auto;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.horizontal-container {
	overflow-x: auto;
	overflow-y: hidden;
	-ms-overflow-style: none;
	scrollbar-width: none;
	margin-right: -4rem;
}

.horizontal-container::-webkit-scrollbar{
	display: none;
}

.horizontal-container-inner {
	display: inline-flex;
	position: relative;
}

.hc-shade-right {
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	width: 8rem;
	background: linear-gradient(270deg, rgba(186,127,28, 0.5) 0%, rgba(186,127,28, 0) 100%);
	z-index: 1;
}

.hc-shade-left {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	width: 8rem;
	background: linear-gradient(90deg, rgba(186,127,28, 0.5) 0%, rgba(186,127,28, 0) 100%);
	z-index: 1;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: var(--secondaryBgColor);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.content-modal {
	position: fixed;
	top: 10vh;
	left: 10vw;
	right: 10vw;
	bottom: 10vw;
	background: #ffffff;
	z-index: 99999999;
	border: 4px solid #000000;
}

.wp-block-embed {
	margin: 2rem 0;
}

.page-content {
	max-width: calc(50% - 1rem);
}

/* Responsive Embeds */

.wp-block-embed__wrapper {
  overflow: hidden;
  padding-top: 56.25%;
  position: relative;
}
.wp-block-embed__wrapper iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.wp-block-image img {
	width: 100%;
	height: auto;
}

/* INDEX */

.index-terms {
	list-style: none;
	margin: 0;
	padding: 0;
}

.index-terms li {
	display: inline-block;
}

.index-terms li:after {
	content: ', ';
}

.index-terms li:last-child:after {
	content: none;
}

.index-row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 1.35em;
}

.index-column {
	margin-right: 40px;
	flex-basis: 25%;
}

.date-column {
    margin-right: 0;
}

.title-column {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}


@media (hover: hover) and (pointer: fine) {
	
	a:hover {
		text-decoration: underline;
		text-underline-offset: 3px;
		text-decoration-thickness: 1px;
	}
	
	.search-btn:hover svg path  {
		stroke: var(--standardGreen);
	}
	
	.category-kirvarpa-books .search-btn:hover svg path,
	.category-kirvarpa-knygos .search-btn:hover svg path {
		stroke: var(--acidGreen);
	}

  .header-podcasts a:hover {
	  color: var(--mainTextColorInverse);
	  text-decoration: none;
  }
	
  .header-podcasts-btn:hover .header-podcasts-btn-img svg path {
	  fill: var(--standardGreen);
	  stroke: var(--standardGreen);
  }
  
  .main-menu li.current-menu-item a:hover {
	 text-decoration: underline;
	 text-decoration-thickness: 1px;
	 text-underline-offset: 3px;
  }
  
  .category-filter li a:hover {
	  text-decoration: underline;
	  text-decoration-thickness: 1px;
  }
  
  .index-filter li a:hover {
	  background: var(--mainBgColor);
	  color: var(--acidGreen);
  }
  
  
  .post-image-standard:hover + .read-more {
	  text-decoration: underline;
	  text-underline-offset: 3px;
	  text-decoration-thickness: 1px;
  }
	
  .play-pause-button:hover .play-btn-text {
	  display: block;
  }
  
  .play-pause-button:hover .play-btn svg,
  .play-pause-button:hover .pause-btn svg {
	  opacity: 0;
  }
  
  .post-image:hover .image-deco img {
	  display: none;
	  background: var(--secondaryBgColor);
  }
  
  .post-image:hover .image-deco {
	  background: var(--secondaryBgColor);
  }
  
  .post-image:hover .image-deco svg {
	  display: none;
  }
  
  .post-image:hover .post-image-title {
	  display: block;
  }
  
  .header-logo-nfa:hover svg path {
	  stroke: var(--standardGreen);
  }
  
  .header-logo-kirvarpa:hover svg path {
	  fill: var(--standardGreen);
  }
  
  .header-logo-kirvarpa.active:hover svg path {
	  fill: var(--acidGreen);
  }
  
  .category-kirvarpa-books .header-logo-nfa:hover svg path,
  .category-kirvarpa-knygos .header-logo-nfa:hover svg path {
		stroke: var(--acidGreen);
	}
	
   .category-kirvarpa-books .header-logo-kirvarpa:hover svg path,
   .category-kirvarpa-knygos .header-logo-kirvarpa:hover svg path {
		fill: var(--acidGreen);
	}
	
  .category-kirvarpa-books .header-logo-kirvarpa.active:hover svg path,
  .category-kirvarpa-knygos .header-logo-kirvarpa.active:hover svg path {
		fill: var(--acidGreen);
	}
	
	.category-kirvarpa-books .header-podcasts-btn:hover .header-podcasts-btn-img svg path,
	.category-kirvarpa-knygos .header-podcasts-btn:hover .header-podcasts-btn-img svg path {
		  fill: var(--acidGreen);
		  stroke: var(--acidGreen);
	  }
	  
	  .category-kirvarpa-books .header-podcasts-btn:hover
	  .category-kirvarpa-knygos .header-podcasts-btn:hover {
		  color: #000000;
	  }
	  
	 .back-btn:hover {
		 text-decoration: none;
	 }
  
}

@media only screen and (max-width: 1320px) {

	.thumbnail-gallery-image-container {
		flex-basis: 25% !important;
	}

}

@media only screen and (max-width: 1140px) {
	.header-actualities {
		display: none;
	}
	.mobile-show-1 {
		display: inline-block !important;
	}
	
	.page-content {
		max-width: 100%;
	}
	
	.thumbnail-gallery-image-container {
		flex-basis: 33.333% !important;
	}
	
	.thumbnail-gallery {
		margin: 2rem -1rem 2rem -1rem !important;
	}

}


@media only screen and (max-width: 900px) {
	
  .header-navigation {
	  max-width: none;
  }
	
  .mobile-show {
	  display: inline-block !important;
  }
  
  .site {
	  padding-top: calc(1rem + 8px);
	  padding-left: 1rem;
	  padding-right: 1rem;
  }
  
  .site-main {
	  padding: 2rem 0 0 0;
  }
  
  .site-header {
	  padding-bottom: 1rem;
  }
	
  .header-search,
  .header-podcasts,
  .header-actualities,
  .header-logo-kirvarpa {
	display: none;
  }
  
  .secondary-menu .inner {
	  padding: 0.8rem 0;
  }
  
  .category-filter li {
	  display: inline-block;
	  margin-right: 1.5rem;
	  margin-bottom: 0.2rem;
  }
  
  .index-filter {
	  display: none;
  }
  
  .podcast-post {
	  padding: 0 3rem;
  }
  
 .five-columns {
	 margin-right: -40px;
 }
 
 .column-item {
   width: calc(100% - 40px);
 }
 
 .column-item--width2,
 .grid-sizer {
	 width: calc(50% - 40px);
 }
 
 .column-item {
	 margin-bottom: 4rem;
 }
  
  .page-content {
	  max-width: 100%;
  }
  
  /* KIRVARPA BOOKS */
  
  .horizontal-container-inner {
	  flex-wrap: wrap;
  }
  
  .hc-shade-right,
  .hc-shade-left {
	  display: none;
  }
  
  .book-post {
	  margin-right: 0;
	  margin-bottom: 3rem;
  }
  
  .book-cover {
	  width: auto;
	  height: auto;
  }
  
  .book-cover img {
	  position: relative;
	  width: 100%;
	  height: auto;
  }
  
  .thumbnail-gallery-image-container {
	  flex-basis: 50% !important;
  }
  
  .index-row {
	  flex-direction: column;
	  margin-bottom: 40px;
  }
  
  .index-row.first {
	  display: none;
  }
  
}