
.projekt .novica__body--main {
	padding-top: 0;
}

.e404 .wNewsletter {
	margin-top: var(--wrapper__padding);
}

.filter {
	padding-bottom: 0;
}

	.filter .ws__inner {
		display: flex;
		gap: 1em;
		justify-content: space-between;
	}

.filter__body {
	display: none;
}


	#btnYears .icon, 
	#btnFilter .icon {
		transform: rotate(90deg) scale(1.5);
		transition: transform .5s;
		flex: 0 0 auto;
		font-size: 0.7em;
	}
	
	#btnYears[aria-expanded="true"], 
	#btnFilter[aria-expanded="true"] {
		--bg: var(--color__black);
		--border: var(--color__black);
		--color: #fff;
	}
	
	#btnYears[aria-expanded="true"] .icon, 
	#btnFilter[aria-expanded="true"] .icon {
		transform: rotate(-90deg) scale(1.5);
	}
	

	
#filter[aria-hidden="true"] {
	display: none;
}

#filter[aria-hidden="false"] {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5em;
}

#years[aria-hidden="true"] {
	display: none;
}

#years[aria-hidden="false"] {
	display: flex;
}

#years, 
.filter__options, 
.filter__links {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: flex-start;
	gap: 0.7em;
}

.filter__options {
	font-size: var(--size-1);
	margin-top: 1.5em;
}

.news.filter__options .b {
	font-size: var(--size-1);
}

.filter__optionsTitle {
	margin-right: 1em;
}

.filter__right {
	text-align: right;
}


.noviceList {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: calc(var(--wrapper__gridGap) * 5) var(--wrapper__gridGap);
}

	

.tenderList {
	--flow-space: 1.5em;
	
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: var(--flow-space);
	
}

.tenderList .wTender {
	position: relative;
	padding-bottom: var(--flow-space);
}

	.tenderList .wTender > * {
		--flow-space: 1em;
	}

	.tenderList .wTender a:hover {
		color: var(--color__gray);
	}

.tenderList .wTender:not(:last-child) {
	border-bottom: 2px solid var(--color__silver);
}

.tenderList .wTender .icon {
	margin-top: 0;
	position: absolute;
	right: 0;
	bottom: 0.7em;
	
	font-size: var(--size4);
	color: var(--color__gray);
	pointer-events: all;
}

.tenderList h3:hover {
	color: var(--color__gray);
}

.tenderList table {
	width: 100%;
	border-collapse: collapse;
	empty-cells: hide;
}


	.tenderList table th {
		text-align: left;
		vertical-align: bottom;
	}
	
	.tenderList table td {
		text-align: left;
		vertical-align: top;
	}
	
	.tenderList h3 + ul {
		margin-top: 0.7em;
	}
	
	.tenderList table td > a {
		display: block;
		color: var(--color__gray);
	}
	
		.tenderList table td > a:hover {
			color: var(--color__text);
		}
	
	.tenderList table td > a .icon {
		font-size: var(--size4);
	}
	
	
	
	
.novica {
	--columns1: 1 / -1;
	--columns2: 3 / -3;
} 

	.ws--pad.theme--white + .ws--pad.theme--white {
		padding-top: 0; 
	}




.novica header {
	justify-items: start;
	margin-bottom: 2em; 
}

	
	.novica__body--main {
		padding-top: calc(var(--wrapper__padding) / 2);
	}
	
	
	.novica__body--main {
		padding-top: 0;
	}

	.novica__body a {
		text-decoration: underline;
		text-underline-offset: 0.3em;
		text-decoration-thickness: 1px;
		text-decoration-color: var(--color__gray);
		
		transition: text-decoration .3s;
	}
	
	.novica__body small {
		font-size: var(--size-1);
		line-height: 1.8;
		display: block;
	}
	
	.novica__body a.b {
		transition: background-color .3s, color .3s, border-color .3s;
	}
	
		.novica__body a:hover {
			text-decoration-color: currentColor;
			text-decoration-thickness: 2px;
		}

	.novica__body ol, 
	.novica__body ul {
		margin-left: 2em;
	}
	
	.novica__body li + li {
		margin-top: 0.3em;
	}
	
	.novica__body table {
		border-collapse: collapse;
		width: 100% !important;
	}
	
	.novica__body table:has(thead) th, 
	.novica__body table:not(:has(thead)) tr:first-child td, 
	.novica__body table:not(:has(thead)) tr:first-child th {
		background-color: var(--bgColor1, var(--color__gray)); 
		color: #fff;
	}
	
	.novica__body table tr > * {
		border-bottom: 1px solid var(--bgColor2, var(--color__silver));
	}
	
	.novica__body table th {
		text-align: left;
	}
	
	.novica__body table td, th {
		padding: 0.3em 0.5em;
	}

.novica__foto {
	color: var(--color__gray);
}

.novica__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.7em;
}
	
	

.novica__cover {
	grid-column: var(--columns1);
}

	.novica__cover img {
		width: 100%;
	}
	
.novica__intro {
	font-weight: 500;
	font-size: var(--size1);
}



	
	


.novica__logos {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1em;
}

.novica__logos img {
	max-height: 4em;
}

.novica__logos--large img {
	max-height: 8em;
}



.novica__gallery {
	--negativeMargin: 5em;
	min-height: var(--negativeMargin);
	
	padding-top: 0;
	margin-top: calc(var(--negativeMargin) + var(--wrapper__padding));
	background-color: var(--color__black);
}
	
	.novica__gallery .ws__inner {
		margin-top: calc(var(--negativeMargin) * -1.5);
		
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: var(--wrapper__gridGap);
	}
	
	.novica__gallery .ws__inner a {
		position: relative;
		transition: filter .5s;
	}
		
	.novica__gallery .ws__inner:hover a {
		filter: brightness(50%);
	}
	
	.novica__gallery .ws__inner a:hover {
		filter: brightness(100%);
	}
	
	.novica__gallery .ws__inner a p {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		
		padding: 2em 1em 0.5em 1em;
		
		opacity: 0;
		font-weight: 550;
		text-align: center;
		color: #fff;
		background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 100%);
		transition: opacity .3s;
	}
		
		.novica__gallery .ws__inner a:hover p {
			opacity: 1;
		}

.novice__attachments {
	margin-top: 2em;
}

.novice__attachments a .icon {
	flex: 0 0 auto;
	color: var(--color__gray);
	font-size: var(--iconSize);
	transition: color .3s;
}

.novice__attachments a {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.5em;
	font-weight: 550;
}

	.novice__attachments ul {
		margin-left: 0;
	}
	
	.novice__attachments ul li + li {
		margin-top: 0.3em;
	}

	.novice__attachments a {
		text-decoration: underline;
		text-underline-offset: 0.3em;
		text-decoration-thickness: 1px;
		text-decoration-color: transparent;
		
		transition: text-decoration .3s;
	}
	
		.novice__attachments a:hover {
			text-decoration-color: currentColor;
			text-decoration-thickness: 2px;
		}
		
		.novice__attachments a:hover .icon {
			color: var(--color__text);
		}
	
	.novice__attachments a span {
		font-weight: 400;
		color: var(--color__gray);
	}

.novice__table {
	width: a00%;
	overflow: auto;
	padding-bottom: 1em;
}
	
.novice__related .ws__inner {
	grid-column-end: -1;
}

/* izjema zaradi nepravilnega prikaza sliderja */
.novice__related--size1 .swiper-slide {
	min-width: 20em;
}

.content__chartNote {
	font-size: var(--size-2);
}

.novice__accordion summary { 
		padding: 1em 0;
		margin-bottom: 1em;
		
		display: flex;
		justify-content: space-between;
		align-items: center;
		
		border-bottom: 1px solid var(--color__gray);
		color: var(--color__gray);
	}
	
	.novice__accordion summary h2 {
		color: var(--color__text);
	}
	
		.podrocje .novice__accordion summary h2 {
			font-size: var(--size1);
		}
	
	.novice__accordion summary + div {
		margin-bottom: 2em;
	}	
	
	.novice__accordion summary .icon {
		flex: 0 0 auto;
		font-size: var(--size4);
		transform: rotate(90deg);
		transition: transform .3s;
	}
	
	.novice__accordion details[open] summary .icon {
		transform: rotate(-90deg);
	}


.wDogodki__info--time {
	flex: 0 0 auto;
}

.wDogodki__info  a:hover {
	color: var(--color__gray);
}

.dogodek .wDogodki__info {
	--flow-space: 0.5em;
	font-weight: 600;
	line-height: 1.4;
}
	
.dogodek .wDogodki__info .icon {
	color: var(--color__text);
	flex: 0 0 auto;
}

.dogodek__nav {
	margin-bottom: 2em;
	
	background-color: #fff;
}

	.dogodek__nav a:not(.b):hover {
		color: var(--color__gray);
	}

.dogodek__nav .ws__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	align-items: center;
	justify-content: space-between;
	
	padding-top: 1em;
	padding-bottom: 1em;
	
	border-top: 2px solid var(--color__gray);
	border-bottom: 2px solid var(--color__gray);
	text-transform: uppercase;
	font-weight: var(--fontBold);
}

	.dogodek__nav .ws__inner nav {
		display: flex; 
		flex-direction: column;
		gap: 0.7em;
	}
	
.program--regionalni-razvoj h2,
.program--regionalni-razvoj h3 {
	color: var(--color__green);
}

.program--turizem h2,
.program--turizem h3 {
	color: var(--color__yellow);
}

.program--podjetnistvo h2,
.program--podjetnistvo h3 {
	color: var(--color__blue);
}


.program--mpik h2,
.program--mpik h3 {
	color: var(--color__greenMpik);
}




.inlineGallery a {
	text-decoration: none;
	color: var(--color__text);
}

.inlineImage {
	display: block;
	margin-bottom: 1em;
	
	text-align: left;
	text-decoration: none;
	border: 1px solid var(--color__silver);
}

	.inlineImage img {
		display: block;
		width: 100%;
	}


.inlineGallery {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1em;
}
	
.inlineGallery .inlineImage {
	display: flex;
	flex-direction: column;
}

	.inlineGallery .inlineImage img {
		object-fit: cover;
		aspect-ratio: 1 / 1;
		width: 100%;
	}
	
.inlineImage__info {
	padding: 0.3em 0.5em;
	color: var(--color__text);
}

	.inlineImage__title {
		font-weight: 500;
		font-size: var(--size-1);
	}

	.inlineImage__desc {
		font-size: var(--size-2);
	}



.event__speakers {
	--avatarWidth: 6em;
}

.event__speakers details[open] summary {
	border: none;
}

.event__speakers summary {
	justify-content: flex-start;
	gap: 1em;
}

.event__speakers summary .icon {
	margin-left: auto;
}

.event__speakers img {
	width: var(--avatarWidth);
	border-radius: 50%;
}

.event__speakers h3 small {
	display: inline;
}

.novica__body--program .event__speakers summary {
	/* border-bottom: 1px solid var(--color__gray); */
	border-bottom: 1px solid rgba(153, 153, 153, 0.5);
}








	
	
	
/** !!! MAX_WIDTH **/
@media (max-width: 65em) {
	.novica h1 {
		font-size: var(--size4);
	}
	
	.novica__info .wShare {
		display: none;
	}
	
	.tenderList table thead {
		display: none;
	}
	
	.tenderList table tbody tr {
		position: relative;
		display: flex;
		flex-direction: column;
		gap: 0.7em;
	}
	
	.tenderList table tbody tr + tr {
		margin-top: 1em;
		padding-top: 1em;
		
		border-top: 2px solid var(--color__silver);
	}
	
	.tenderList table td:nth-child(3) {
		order: -1;
	}
	
	.tenderList table td:empty {
		display: none;
	}
	
	.tenderList table td > a {
		display: block;
		position: absolute;
		right: 0;
		bottom: 0;
	}
}









@media (min-width: 40em) {
	.filter .ws__inner {
		gap: 2em;
	}
	
	#years, 
	.filter__options, 
	.filter__links {
		flex-direction: row;
		align-items: flex-start;
	}
	
	.filter--projekti .ws__inner {
		align-items: flex-start;
		flex-direction: column;
	}
	.filter--projekti .ws__inner {
		gap: 1em;
	}
	
	.filter__options {
		align-items: center;
	}
	
	#years {
		flex-wrap: wrap;
		align-items: flex-end;
		justify-content: flex-end;

	}
	
	#filter[aria-hidden="true"] {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 1em;
		margin-top: 0;
	}
	
	#btnFilter {
		display: none;
	}
	
	.noviceList {
		gap: calc(var(--wrapper__gridGap) * 2) var(--wrapper__gridGap);
	}
	
	.noviceList--projectsInactive {
		gap: var(--wrapper__bodyPadding) var(--wrapper__padding);
	}
	
	.novica__info {
		width: 100%;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 1em 2em;
	}
	
	.dogodek .novica__info {
		flex-direction: row;
		align-items: flex-end;
		flex-wrap: wrap;
		justify-content: space-between;
		padding-bottom: 1em;
	}
	
		.dogodek .novica__info .groupList {
			width: 100%;
		}
		
	.dogodek .wDogodki__info {
		--flow-space: 0;
		
		margin-top: 0;
		display: flex;
		align-items: center;
		gap: 1.5em;
	}
	
	.novica__info .wShare {
		margin-left: auto;
	}
	
	
	.dogodek__nav .ws__inner nav {
		display: flex; 
		flex-direction: row;
		flex-wrap: wrap;
		gap: 0.7em 1em;
	}
	
	.event__speakers details > div {
		padding-left: calc(var(--avatarWidth) + 1em);
	}
	
	
	.filter {
		padding-top: 3em;
	}
}

@media (min-width: 48em) {
	.noviceList {
		grid-template-columns: repeat(2, 1fr);
	}
	
	
	.novica {
		--columns2: 3 / -3;
	}
	
	.novica header > * {
		grid-column: var(--columns2);
	}
	
	:where(.novica__body > *) {
		grid-column: var(--columns2);
	}
	
	
	.novica__cover {
		grid-column: var(--columns2);
		/*
		padding-left: var(--wrapper__bodyPadding);
		padding-right: var(--wrapper__bodyPadding);
		*/
	}
	
	.inlineGallery {
		grid-template-columns: repeat(2, 1fr);
	} 
	
	.inlineGallery--count3,
	.inlineGallery--count6,
	.inlineGallery--count9 {
		grid-template-columns: repeat(3, 1fr);
	} 
	
	.dogodek__nav .ws__inner {
		grid-column: var(--columns2);
	}
}

@media (min-width: 65em) {
	.dogodek__nav {
		position: sticky;
		top: -2px;
		z-index: 100;
	}
	
	.noviceList {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.noviceList--projectsInactive {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.tenderList .wTender .icon {
		bottom: auto;
		top: 50%;
		transform: translateY(-50%);
		
		font-size: var(--size5);
	}
	
	.tenderList table .label {
		display: none;
	}
	
	.tenderList table thead {
		font-size: var(--size-1);
	}
	
	.tenderList table tr > * {
		padding: 0 1em 0 0.5em;
	}
	
	.tenderList table tr th {
		padding-bottom: 1em;
		min-width: 10em;
	}
	
	.tenderList table tr > *:first-child {
		padding-left: 0;
		width: 45%;
	}
	
	.tenderList table tr > *:nth-child(2) {
		padding-left: 0;
		width: 20%;
	}
	
	.tenderList table tr > *:last-child {
		padding-right: 0;
		width: 3em;
	}
	
	.tenderList table tbody tr {
		border-top: 2px solid var(--color__silver);
	}
	
	.tenderList table tbody tr td {
		padding-top: 1em;
		padding-bottom: 1em;
	}
	
	
	.novica__gallery .ws__inner {
		grid-template-columns: repeat(3, 1fr);
	}
	
	
}


@media (min-width: 100em) {
	.novica {
		--columns1: 4 / -4;
		--columns2: 5 / -5;
	}
	
	.novica__cover {
		padding-left: 0;
		padding-right: 0;
	}
	
	.dogodek__nav .ws__inner {
		grid-column: var(--columns1);
	}
	
	.novica__intro {
		grid-column: var(--columns1);
	}
	
	.novica header > * {
		grid-column: var(--columns1);
	}
	
	.novica__cover {
		grid-column: var(--columns1);
	}
	
	.novica__gallery .ws__inner {
		grid-column: var(--columns1);
	}
	
	.novice__attachments .ws__inner {
		grid-column: var(--columns2);
	}
	
	.inlineGallery {
		grid-column: var(--columns1);
	} 
	
	.novica__body > .inlineImage  {
		grid-column: var(--columns1);
	}
	
	.novica__body table {
		grid-column: var(--columns1);
	}
	
	.noviceList {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.noviceList--projectsInactive {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 110em) {
	.novica {
		--columns1: 5 / -5;
		--columns2: 6 / -6;
	}
}



.theme.program--mpik {
	--color__txt: #fff;
    --color__heading: #fff;
    --color__bg: var(--color__blue--dark);
}



.bWrap--multiple {
	display: flex;
	justify-content: start;
	align-items: center;
	flex-wrap: wrap;
	gap: 1em;
	
	margin-top: 3em;
	margin-bottom: 1em;
}

.bWrap--poniBtns {
	margin-bottom: 1em;
}

.bWrap--multiple .b {
	text-decoration: none;
}

.poniLogotipi {
	margin-top: 2.5em;
}

.poniLogotipi small {
	margin-top: 1em;
	display: block;
}

/*
.novica__body--main + .novica__body--info {
	margin-top: -1em;
	padding-top: 0;
}
*/


.novice__related--events .wDogodki__info {
	display: block;
	margin-top: 1.5em;
	--flow-space: 0.6em;
	line-height: 1.8;
}

.novice__related--events .wDogodki__info .icon {
    flex: 0 0 auto;
    color: var(--color__gray);
    font-size: var(--size2);
}

.novice__related--events .wDogodki__info--time {
    flex: 0 0 auto;
	font-weight: var(--fontNormal);
}


.novice__related .slogan {
	text-align: left;
}

.novice__related h2 {
	margin-top: 2em;
	font-size: var(--buttonFontSize);
    text-transform: uppercase;
}

.novice__related .carouselType2, 
.novice__related .carouselType1 {
    margin-top: 1em;
}

/*
.novice__related.novice__related--razpisi .carouselType2, 
.novice__related.novice__related--razpisi .carouselType1 {
    margin-top: 2em;
}
*/

@media (min-width: 65em) {
	
	.novice__related {
		margin-top: 3em;
	}
	/*
	.novice__related.novice__related--razpisi .carouselType2, 
	.novice__related.novice__related--razpisi .carouselType1 {
		margin-top: 2em;
	}
	*/
}

.novica__body--projectInfo {
	text-align: center;
    color: var(--color__gray);
}


header + .novica__body.novica__body--main {
	padding-top: 0;
}

.dogodek__nav + .novica__body.novica__body--main {
	padding-top: 0.5em;
}

.wDogodkiFilter {
	padding: 2em 1.5em;
}

