.access {
	display: none;
}

.nn_menu {
  display: flex;
  gap: 2rem;
  margin: 0;
}

.nn_item {
	margin: 0 1.2rem;
	color: #babecd;
    padding: 4px 0;
}

.nn_link {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  font-family: 'Open Sans';
  font-weight: 500;
  font-size: 16px;
  color: #131313;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 1.2rem;
}

.nn_link::after {
	content: "";
    display: inline-block;
    position: absolute;
    bottom: 5px;
    left: 1.2rem;
    right: 1.2rem;
    width: auto;
    border-bottom: 2px solid transparent;
    transition: all 1s ease;
}

.nn_link:hover::after {
    border-color: #E31F24;
    transition: all 1s ease;
}

.nn_item .pg-ico {
    stroke: #E31F24;
    fill: #E31F24;
    position: relative;
    top: -2px;
}

/* Mega menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100vw; /* Full width of the viewport */
  background: #f1f1f1;
  padding: 4rem 0;
  display: none; /* Hidden by default */
  z-index: 100;
}

.nn_item.open .mega-menu {
  display: block;
}

/* CSS Grid for Mega Menu - moved to flex */
.mm_grid {
  display: flex;
  justify-content: center;
  /* grid-template-columns: repeat(4, 1fr); /* Default to 4 equal columns */
  gap: 30px;
  max-width: 100%;
  padding: 0;
}

/* only for testing - on desktop view */
/* .mm_grid.six_cols { */
	/* grid-template-columns: repeat(6, 1fr); /* Default to 6 equal columns */
/* } */

.mm_grid_item {
    display: flex;
    flex-direction: column;
    align-items: start;
	width: 15%;
}

.mm_grid_item a h4::after {
	transition: all 0.5s ease;
}

.mm_grid_item a:hover h4::after {
	width: 100%;
}

/* main desktop menu responaive */
@media (max-width: 1300px) {
	.nn_link {
		padding: 1.2rem 1rem;
	}
	
	.nn_item {
		margin: 0 1rem;
	}
	
	.nn_menu {
		gap: 1rem;
	}
}

/* hide desktop menu on mobile */
@media (max-width: 1099px) {
  .new_nav {
    display: none;
  }
}

/* mega menu responsive */
@media (max-width: 1200px) {
  .mm_grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on large screens */
  }
}

@media (max-width: 992px) {
  .mm_grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
  }
}

@media (max-width: 768px) {
  .mm_grid {
    grid-template-columns: 1fr; /* 1 column on small screens */
  }
}

/* columns inside mega menu */
.mm_grid_item h4 {
  font-size: 16px;
  margin-bottom: 30px;
  font-weight: 700;
  color: #fff;
}

.mm_grid_item h4::after {
	width: 40%;
}

.mm_grid_item ul {
  padding-left: 0;
}

.mm_grid_item ul li {
  margin-bottom: 15px;
  line-height: 1.2;
}

.mm_grid_item ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
}

.mm_grid_item ul li a:hover {
    color: #b5b5b5;
	text-decoration: underline;
}

/* dropdown background */
.mega-menu {
  background-color: rgba(83,87,102,0.95);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}


/* submenu inside mega menu */
.nn_submenu_link {
  position: relative;
}

.nn_submenu {
  display: none;
  position: relative;
  top: 0;
  left: 0;
  width: 200px;
  /* background-color: #f7f7f7; */
  /* border: 1px solid #ddd; */
    background-color: transparent;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nn_submenu ul {
  padding-left: 1rem;
}

.nn_submenu ul li {
  margin-bottom: 0.5rem;
}

.nn_submenu ul li a {
  text-decoration: none;
  color: #fff;
}

.nn_submenu ul li a:hover {
  color: #007bff;
}


/* new section replacing footer section - istaknute teme */
.nova_sekcija {
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
}

/* adjusting available styles */
.nova_sekcija .novostiRow {
	height: 100%;
}

.nova_sekcija .novostiRow .novostiCol {
	height: 60%;
}

/* responsive for new section */
@media (max-width: 1459px) {
	/* height adjustments */
	.novosti_home.news-and-loans.nova_sekcija .news-events-meta {
		padding: 15px 20px;
		padding-bottom: 100px;
	}
	
	/* adjust title size */
	.novosti_home.news-and-loans .news-events-meta .title {
		font-size: 20px;
	}
	
	/* align the button */
	.novosti_home.news-and-loans .news-events-meta .arrow_btn {
		left: 20px;
	}
}


@media (max-width: 1199px) {
	/* option 1 - have 3 in row */
	/* .nova_sekcija { */
		/* display: grid; */
		/* grid-template-columns: repeat(3, 1fr); */
		/* grid-gap: 30px; */
	/* } */
	
	/* option 2 - remain 4 but reduce sizes */
	.nova_sekcija {
		grid-gap: 15px;
	}
	
	.novosti_home.news-and-loans.nova_sekcija .news-events-meta {
		padding: 15px;
		padding-bottom: 100px;
	}
	
	.novosti_home.news-and-loans .news-events-meta .title {
		font-size: 18px;
	}
	
	.nOpis {
		font-size: 14px;
	}
	
	.novosti_home.news-and-loans .news-events-meta .arrow_btn {
		left: 15px;
		font-size: 14px;
	}
}

@media (max-width: 991px) {
	/* 2 items in row */
	.nova_sekcija {
		grid-template-columns: repeat(2, 1fr);
	}
	
	/* adjust bottom space */
	.novosti_home.news-and-loans.nova_sekcija .news-events-meta {
		padding-bottom: 50px;
	}
} 

@media (max-width: 767px) {
	/* adjust bottom space */
	.novosti_home.news-and-loans.nova_sekcija .news-events-meta {
		padding-bottom: 70px;
	}
}

@media (max-width: 575px) {
	/* 1 item in row */
	.nova_sekcija {
		grid-template-columns: repeat(1, 1fr);
	}
	
	/* adjust image height */
	.nova_sekcija .novostiRow .novostiCol {
		height: 50%;
	}
	
	.nova_sekcija .ni-wrap {
		height: 50%;
	}
	
	/* adjust bottom space */
	.novosti_home.news-and-loans.nova_sekcija .news-events-meta {
		padding-bottom: 0;
	}
}

@media (max-width: 479px) {
	/* adjust bottom space */
	.novosti_home.news-and-loans.nova_sekcija .news-events-meta {
		padding-bottom: 60px;
	}
}

@media (max-width: 374px) {
	/* adjust bottom space */
	.novosti_home.news-and-loans.nova_sekcija .news-events-meta {
		padding-bottom: 100px;
	}
}



/* footer nova sekcija */
.fls_slider_wrapper {
	position: relative;
}

/* vi ste section slick slide space */
.footer_links_section .slick-slide {
    margin: 0 15px;
    height: 100%;
	border-radius: 8px;
}

.fls-item  {
	position: relative;
	overflow: hidden;
}

/* footer section overlay so text can be visible */
.fls_overlay {
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
	display: block;
	background: linear-gradient(to bottom, rgba(5, 32, 64, 0.2), rgba(4, 26, 52, 0.9));
	pointer-events: none; /* Keeps overlay from blocking interaction */
}

/* position content over the image */
.fls_content {
    position: absolute;
    bottom: 30px;
    top: 30px;
    left: 15px;
    right: 15px;
    transform: translateY(200px);
    transition: all 1s ease;
}

.fls-item:hover .fls_content {
	transform: translateY(0px);
}

.fls_content .title,
.fls_content .title a {
	color: #fff;
    font-size: 21px;
    line-height: 1.4;
}

.fls_content .nOpis,
.fls_content .arrow_btn {
	color: #fff;
}

.sliding_content {
    position: relative;
    transform: translateY(100%);
	transition: all 1s ease;
	visibility: hidden;
	opacity: 0;
}

.fls-item:hover .sliding_content {
    transform: translateY(0);
	visibility: visible;
	opacity: 1;
}

/* hover section responsive */
@media (max-width: 1459px) {
	/* correct translate position */
	.fls_content {
		top: 0px;
		transform: translateY(170px);
	}
	
	/* correct font size */
	.fls_content .title,
	.fls_content .title a {
		font-size: 20px;
	}
	
	/* correct spacing */
	.fls_content .title,
	.fls_content .nOpis	{
		margin-bottom: 20px;
	}
}

@media (max-width: 1299px) {
	/* correct translate position */
	.fls_content {
		top: 50px;
		transform: translateY(200px);
	}
}

@media (max-width: 1199px) {
	/* correct translate position */
	.fls_content {
		top: 0px;
		transform: translateY(170px);
	}
}

@media (max-width: 991px) {
	/* correct translate position */
	.fls_content {
		top: 50px;
		transform: translateY(180px);
	}
	
	/* correct font size */
	.fls_content .title, .fls_content .title a {
		font-size: 19px;
	}
}

@media (max-width: 767px) {
	/* remove transform on mobile */
	.fls_content {
		top: auto;
		transform: none;
		bottom: 30px;
	}
	
	/* make slider image cover full space */
	.footer_links_section .slick-slide img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	
	/* remove transform of sliding content */
	.sliding_content {
		transform: none;
		display: none;
	}

}

@media (max-width: 575px) {
	/* remove transform of sliding content */
	.sliding_content {
		transform: none;
		visibility: visible;
		opacity: 1;
		display: block;
	}
		
	/* correct font size */
	.fls_content .title {
		font-size: 20px;
	}
	
	 .fls_content .title a {
		font-size: 18px; 
	}
} 


@media (max-width: 359px) {
	/* adjust position */
	.fls_content {
		bottom: 10px;
	}
	
	/* remove additional content on extra small screens */
	.sliding_content {
		display: none;
	}
	
	/* correct font size */
	.fls_content .title {
		font-size: 18px;
	}
} 



/* footer  */
.footer_list {
	margin-top: 30px;
}

.footer_list .footer-nav__item:last-child {
    width: 100%;
}

.admin_liste {
	display: flex;
	flex-wrap: wrap;
}

.admin_liste ul {
    width: 33%;
	margin-top: 15px;
}

.admin_liste ul li {
    margin: 5px 0;
}

.admin_liste ul li a {
    color: #636666;
}

.admin_liste ul li a:hover {
    color: #E31F24;
}

.admin_liste ul li ul {
	margin: 10px 0 1rem 20px;
	width: 100%;
}

.admin_liste ul li ul li {
	position: relative;
}

.admin_liste ul li ul li::before {
    content: url('../img/list_marker.svg');
    display: inline-block;
    width: 16px;        
    height: 16px;  
	position: absolute;
	top: 0;
	left: -20px;
}

/* footer responsive */
@media screen and (max-width: 991px) {
	.admin_liste ul {
		width: 50%;
	}
}

/* viSte boxevi novi */
.istaknuto.viSte_novo {
	padding-bottom: 60px;
	background: #fff;
}

.viSte_boxevi {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-gap: 90px;
}

@media screen and (max-width: 1199px) {
	.viSte_boxevi {
		grid-gap: 60px;
	}
}

@media (max-width: 991px) {
	.viSte_boxevi {
		grid-template-columns: repeat(2,1fr);
		grid-row-gap: 60px;
	}
}

@media screen and (max-width: 575px) {
	.viSte_boxevi {
		grid-gap: 30px;
	}
}


.vs_box {
    display: flex;
    flex-direction: column;
}

.vs_img {
	border: 3px solid #d3d3d3;
	background: transparent;
	border-radius: 6px;
	padding: 30px;
	position: relative;
	text-align: center;
	min-height: 300px;
	transition: all 0.5s ease;
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vs_box:hover .vs_img {
	background: #E4E9E3;
}

.vs_img img {
	height: 75px;
	width: auto;
	margin: 0 0 30px 0;
}

.vs_box:hover .arrow_btn::after {
    width: 115px;
}

.vs_img h3 {
	color: #0D0C0C;
	font-size: 30px;
	font-weight: 700;
}

.vs_img h3::after {
	left: 50%;
	transform: translateX(-50%);
	background: transparent;
	transition: all 0.5s ease;
}

.vs_box:hover .vs_img h3::after {
    background: #e31f24;
}

.vs_opis {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.vs_text {
    color: #0D0C0C;
    font-weight: 400;
	font-size: 15px;
    font-family: 'Open Sans';
}

.vs_more_wrap {
	margin-top: 30px;
}

.vs_more_wrap .arrow_btn {
	cursor: pointer;
	display: inline-block;
	font-size: 15px;
}

/* vi ste sekcija nova responsive */
@media (max-width: 1299px) {
	.vs_img {
		padding: 15px;
		min-height: 250px;
	}
	
	.vs_img h3 {
		font-size: 22px;
	}
	
	.vs_img img {
		height: 65px;
	}
}

@media (max-width: 767px) {
	.vs_img img {
		height: 55px;
	}
}

@media (max-width: 479px) {
	.viSte_boxevi {
		grid-gap: 15px;
		grid-row-gap: 50px;
		grid-template-columns: repeat(1, 1fr);
	}
	
	.vs_img {
		min-height: 200px;
	}
	
	.vs_img h3 {
		font-size: 17px;
	}
	
	.vs_opis {
		margin-top: 20px;
	}
	
	.vs_text {
		font-size: 14px;
	}
	
	.vs_more_wrap {
		margin-top: 20px;
	}
	
	.vs_more_wrap .arrow_btn {
		font-size: 14px;
	}
	
}

@media (max-width: 374px) {
	
	.vs_img h3 {
		font-size: 14px;
	}
	
	.vs_opis {
		margin-top: 15px;
	}
	
	.vs_text {
		font-size: 13px;
	}
	
	.vs_more_wrap {
		margin-top: 15px;
	}
	
	.vs_more_wrap .arrow_btn {
		font-size: 13px;
	}
	
}



