@font-face {
    font-family: 'Involve semibold';
    src: url(../assets/font/TTF/Involve-SemiBold.ttf);
}

@font-face {
    font-family: 'Involve bold';
    src: url(../assets/font/TTF/Involve-Bold.ttf);
}

:root{
  --background-color: #eaeae2;
  --primary-color: #072c2c;
  --secondary-color: #c5c5ad;
  --accent-color: #ff5f02;
  --text-color: #000000;
  --nav-height: 70px;

  --spec-boja:#bdc7bd;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header{
  background-color: var(--primary-color) !important;
  width: 100vw;
}

body {
    background-color: #eaeae2 !important;
    padding-top: var(--nav-height);
}

::selection {
    background: #ff5f02a4;
    color: #ffffff;
}

::-moz-selection { /* Firefox */
    background: #ff5f02a4;
    color: #ffffff;
}

@media screen and (max-width: 600px) {
  :root { --nav-height: 40px; }
  body { padding-top: var(--nav-height); }
}


/*pocetna stranica */
.hero1-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../assets/main/indexHero.jpg");
  min-height: 80vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
@media screen and (max-width: 600px) {
  .hero1-image{
    min-height: 30vh;
  }
}

.hero1-text {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
  color: var(--background-color);
}


.naslov {
  font-weight: bolder;
  font-size: clamp(28px, 5vw, 72px);
}

.hero2-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../assets/main/citatSK.jpg");
  height: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;

  background-attachment: fixed;
}
@media screen and (max-width: 600px) {
  .hero2-image{
    height: 20%;
  }
}

.citat{
  font-style: italic;
  font-family: 'Times New Roman', Times, serif;
}

.split-section {
  background: linear-gradient(to bottom, #dfeeee, #f4fbfb);
  padding: 120px 0;
}

.split-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 120px;
}


.split-image {
  width: 62%;
}

.split-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.split-card {
  position: absolute;
  top: 36%;
  transform: none;
  width: 51%;
  background-color: var(--primary-color);
  padding: 56px;

  border-radius: 4px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}
.split-card h2{
  font-family: 'Involve semibold';
}
.split-right .split-card {
  right: 0;
}

.split-left .split-card {
  left: 0;
}

.split-right .split-image {
  margin-right: auto;
}

.split-left .split-image {
  margin-left: auto;
}

.split-card h2 {
  margin-top: 15px;
  font-size: 34px;
  line-height: 1.2;
  color: #e6e6cf;
  margin-bottom: 20px;
}
.split-card:hover h2{
  color: var(--accent-color);
}
.split-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #e6e6cf;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .split-inner {
    padding: 0 16px;
  }

  .split-image,
  .split-card {
    position: static;
    width: 100%;
  }
  .split-image img{
    height: 30%;
  }
  .split-card {
    margin-top: -48px;
    padding: 32px;
  }
}
div.scroll-container {
  background-color: var(--primary-color);
  overflow: auto;
  white-space: nowrap;
  padding: 10px;
}

div.scroll-container img {
  padding: 10px;
}

#slikekont{
  padding-top: 30px;
  color: var(--background-color);
  background-color: var(--primary-color);
  text-align: center;
}


@keyframes slide {
  0% {
    transform: translateX(0);
  }
  33% {
    transform: translateX(0);
  }
  38% {
    transform: translateX(-100%);
  }
  66% {
    transform: translateX(-100%);
  }
  71% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(-200%);
  }
}

.mapa-container {
  display: flex;
  gap: 20px;
  align-items: center;       
  justify-content: center;   
  flex-wrap: wrap;
  background-color: var(--background-color);
}

.mapa-text {
  flex: 1 1 300px;
  text-align: center;
  margin-bottom: 0%;
  color: var(--primary-color);
}

.mapa {
  flex: 1 1 500px; 
  min-height: 200px;
  width: 50%;
  border: 0;
  margin-top: 50px;
  margin-bottom: 20px;
  margin-right: 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
  .mapa-container {
    flex-direction: column; 
    align-items: center;
    gap: 50px; 
  }

  .split-card h2 {
    margin-top: 30px;
    font-size: 34px;
    line-height: 1.2;
    color: #e6e6cf;
    margin-bottom: 15px;
  }

  .mapa-text {
    width: auto;
    max-height: max-content;
    margin-top: 40px;
  }

  .mapa {
    width: 100%;
    margin-top: 0;
    margin-right: 0;
  }
}

div.scroll-container {
  background-color: var(--primary-color);
  overflow: auto;
  white-space: nowrap;
  padding: 10px;
}

div.scroll-container img {
  padding: 10px;
}

#slikekont{
  padding-top: 30px;
  color: var(--background-color);
  background-color: var(--primary-color);
  text-align: center;
}

/**/
.d-block{
    height: 90vh;
}


.div-slika-vest{
  display: flex;
  justify-content: center;
  margin-top: 70px;
}

.slika-vest{
  height:400px;
}

.naslov-vesti{
    font-family: 'Involve bold';
    padding-bottom: 1.5rem;
    margin-top: 2.5rem;
    
}

.vest-boks{
    margin-top: 50px;
    margin-bottom: 50px;
    margin-right: 20vw;
    margin-left: 20vw;
}

@media(max-width: 900px){

.div-slika-vest{
  margin-top: 15px;
}

  .slika-vest{
  height: auto;
  width: 100%;
}
  .vest-boks{
    margin-top: 50px;
    margin-bottom: 50px;
    margin-right: 10vw;
    margin-left: 10vw;
}

}

.tekst-vesti{
    font-family: 'Involve semibold';
}

.vest-datum{
  text-align: right;
  padding-right: 1rem;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.vesticard{
    border: none !important;
}

h1{
	margin: 0;
    font-family: 'Involve semibold';
}


/*sledeci deo koda se odnosi na takmicenja.html*/
article {
	max-width: 70rem;
	margin: 0 auto;
	padding: clamp(1rem, 2vw, 3rem);
	border-radius: 0.5rem;
  margin-top: 0px;
  margin-bottom: 100px;
}
.tak{
  text-align: center;
  margin-bottom: 40px;
}

article > * + * {
	margin-top: 1rem;
}

dl {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
	gap: 1rem;
}

dl > div {
	background: var(--primary-color);
  color: var(--background-color);
	padding: 1rem;
  border-radius: 0.8rem;
}

dl > div:nth-child(2n) {
	background:#465b49;
}

dl > div.djakgen {
  background: #dd5201e3;
  width: min(100%, 21rem);
}

dl.djakgen-wrap {
  display: flex;
  justify-content: center;
}

dt {
	font-weight: 700;
	font-size: 1.3rem;
}

dd {
	margin: 0;
}

#nav-tab {
    margin-top: 70px;
    margin-left: 80px;
    margin-right: 80px;
}

.nav-tabs {
    --bs-nav-tabs-border-color: var(--primary-color) !important;
    --bs-nav-tabs-link-hover-border-color: var(--primary-color) !important;
    --bs-nav-tabs-link-active-border-color: var(--primary-color) !important;
}

.nav-tabs .nav-link {
    color: rgb(125, 125, 125) !important;
}

.nav-tabs .nav-link:active {
    color: var(--accent-color)!important;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color) !important;
    background-color: var(--background-color) !important;

    border-color: var(--primary-color) var(--primary-color) var(--background-color) !important;
    border-width: 1px 1px 0 !important;
    border-style: solid;
}

#datumi-takmicenja{
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
}

.btn{
    background-color: var(--primary-color) !important;
    border: var(--primary-color) !important;
    padding: 10px 15px !important;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    outline: none;
    color: var(--background-color) !important;
    background-color: #04AA6D;
    border: none;
    border-radius: 15px;
    box-shadow: 0 9px #bdc7bd;
}

.btn.active{
  background-color: var(--accent-color) !important;
}

.btn:hover{
    background-color: #d97338 !important;
    
    box-shadow: 0 9px #f6f0d9;
}
.btn:active {
  background-color: var(--accent-color) !important;
  box-shadow: 0 5px #f6f0d9;
  transform: translateY(4px);
}
.poznata{
    border: 1px solid rgb(163, 163, 163) !important;
}


.poznata:hover{
    transform: scale(1.01);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.vesticard{
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/*predmeti.html*/

.predmeti{
    width: 85vw;
    align-items: center;
    display: flex;
    flex-flow: column;
    margin-left: 5vw;
    
}

.predmeti-box{
  width: 100%;
  position: relative;
  padding: 40px 30px;
}

.predmet-link {
  text-decoration: none;
  color: var(--accent-color);
}

.predmeti-box-bordered{
  width: 100%;
  border-bottom: 2px solid #072c2c;
  position: relative;
  padding: 40px 30px;
  min-height: auto;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.predmeti-box-bordered .predmeti-text{
  flex: 1 1 auto;
}

.predmeti-box-bordered .predmeti-media{
  flex: 0 0 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.predmeti-box-bordered .predmeti-media img{
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 6px;
}

.naslovPredmeta{
  margin-top: 30px;
  border-top: 5px solid #ff5f02;
}

ul li.izborni-item::marker {
  color: #ff5f02 !important;
}

/**/

/*ovo je za informacije.html ne diraj nista*/

.p-oskoli {
    font-family: 'Involve semibold';
    text-align: center;
    margin: 40px 100px 100px 100px;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    padding: 30px;
}

@media screen and (max-width: 600px) {
    .p-oskoli {
        margin: 20px 15px 30px 15px;
        padding: 20px;
    }

}

section.brojke {
  padding: 60px 20px;
  margin: 0;
  text-align: center;
  font-family: 'Involve semibold';
  background-color: var(--primary-color);
  color: var(--background-color);
}
section.brojke .inner {
  max-width: 1100px;
  margin: auto;
}


section.brojke h2 {
font-size: 36px;
margin-bottom: 10px;
}

section.brojke p.subtitle {
font-size: 18px;
color: #babeb2;
margin-bottom: 40px;
}

.brojke-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 25px;
}

.brojke-card {
background: var(--background-color);
padding: 30px;
border-radius: 14px;
box-shadow: 0 30px 16px rgba(0, 0, 0, 0.08);
}

.broj {
font-size: 48px;
font-weight: bold;
color: var(--accent-color);
margin-bottom: 10px;
opacity: 0;
transform: translateY(15px);
}

.opis {
font-size: 18px;
color: #444;}



.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--secondary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background-color: var(--background-color);
  border: 4px solid var(--accent-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}
.left::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 30px;
  border-width: 10px 0 10px 10px;
  border-style: solid;
  border-color: transparent transparent transparent var(--primary-color);
  z-index: 3;
}


.right::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 30px;
  border-width: 10px 10px 10px 0;
  border-style: solid;
  border-color: transparent var(--primary-color) transparent transparent;
  z-index: 3;
}


.right::after {
  left: -11px;
}

.content {
  padding: 20px 30px;
  background-color: var(--primary-color);
  color: var(--background-color);
  position: relative;
  border-radius: 6px;
}

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

  .predmeti-box,
  .predmeti-box-bordered{
    width: 100%;
    padding: 16px;
    background-image: none;
    min-height: auto;
  }

  .predmeti-box-bordered{
    flex-direction: column;
  }

  .predmeti-box-bordered .predmeti-media{
    flex: 0 0 auto;
    width: 100%;
  }

  .predmeti-box-bordered .predmeti-media img{
    height: auto;
    max-width: 100%;
    margin-top: 12px;
  }

  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-container.left::before {
    left: 60px;
    right: auto;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--primary-color) transparent transparent;
  }

  .timeline-container.right::before {
    left: 60px;
    right: auto;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--primary-color) transparent transparent;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-container::after {
    left: 15px;
    right: auto;
  }

  .right {
    left: 0%;
  }
}

/*uspesni-ucenici.html*/

body, html {
  height: 100%;
  margin: 0;
  font-family: 'Involve semibold';
}

.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../assets/kompanije/NaturoVibe_pobeda.jpg");
  height: 70%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

@media screen and (max-width: 600px) {
  .hero-image{
    height: 30%;
  }
  .naslovuspeha{
    font-size: 40px !important;
  }
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.easter-egg{
  text-decoration: none;
  color: #e6e6cf;

}

#jumpscare{
    position: fixed;
    margin-left: 10vw;
    height: 100%;
    object-fit: cover;

    display: none;
    z-index: 9999;
}

.title {
  padding: 20px;
  margin-top: 40px;
  background-color: var(--spec-boja);
}


.par{
  font-size: large; 
  font-family: 'Involve semibold';
  margin-left: 7px;
}

.predstava {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 40px;

  background-color: var(--spec-boja); /*PROSLO JE BILO RUZNO*/
  border-radius: 10px;
}

.predstava .tekst {
  flex: 1;
}

.predstava .slika {
  flex: 0 0 300px; 
  margin-right: 60px;
}
.slikepredstave:hover{
  transform: scale(1.01);
}
.predstava .slikepredstave {
  width: 100%;
  border-radius: 10px;
}
@media (max-width: 768px) {
    .predstava {
        flex-direction: column;
    }

    .predstava .slika {
        flex: none;
        width: 100%;
    }
    
}
.naslovuspeha{
  font-size: 50px;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}
.predstava1{
  width: 30vw;
}

.djaci{
  font-family: 'Involve semibold';
  font-size: 130%;
  margin-left: 4%;
}

ol li::marker {
    color: var(--accent-color);
}
#vukovci{
  color: var(--primary-color);
  
}
#vukovci:hover{
  color: var(--accent-color);
}

.kompanija {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  margin-top: 40px;

  background-color: #bdc7bd; /*PROSLO JE BILO RUZNO*/
  border-radius: 10px; 
}

.neprelazi{
  white-space: nowrap;
}

.kompanija .tekst {
  flex: 1;
  margin: 50px;
}


.kompanija .slika {
  flex: 0 0 400px; 
  margin-right: 60px;
}

.kompanija .slikekompanije {
  width: 100%;
  border-radius: 10px;
}

.overlay {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
  border-radius: 10px;
}
.cont {
  position: relative;
  width: 100%;
}
.cont:hover .overlay {
  bottom: 0;
  height: 100%;
}

.text {
  color: white;
  font-size: clamp(17px, 3vw, 18px);
  line-height: 1.5;
  font-family: 'Involve semibold';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  box-sizing: border-box;
  overflow-y: auto;
  text-align: center;

}

@media (max-width: 768px) {
    .kompanija {
        flex-direction: column;
    }

    .kompanija .slika {
        flex: none;
        width: 100%;
    }
    .kompanija .tekst{
      margin: 5px;
    }
}

.ikona{
  color: var(--primary-color);
}
/* raspored zvona */

@keyframes fadeInFromTop {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tabele {
  margin: 70px 0 50px;
}

.naslov-tabele {
  text-align: center;
  font-family: 'Involve bold';
  margin: 20px 80px 30px;

  opacity: 0;
  animation: fadeInFromTop 0.8s ease-out forwards;
}

.raspored {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 15px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);

  opacity: 0;
  animation: fadeInFromTop 0.8s ease-out forwards;
}

.raspored th,
.raspored td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid var(--secondary-color);
}

.raspored thead th {
  background-color: var(--primary-color);
  color: var(--background-color);
  font-weight: 600;
}

.raspored td {
  background-color: rgba(66, 97, 78, 0.066);
  color: #000;
}

.raspored tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.089);
}

.separator {
  width: 40px;
  border: none;
  background: transparent;
}

.desktop-only {
  display: table;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: table;
    margin-bottom: 2rem;
  }

  .tabele {
    margin-top: 0;
  }

  .naslov-tabele {
    margin: 20px 20px 30px;
  }
}
/*odeljenja i staresine*/

.wrapper {
  display: flex;
  align-items: center;
  min-height: 100vh;
  background-color: var(--background-color);
}

.scroll-list {
  width: 100%;
  max-width: 700px;
  padding: 25px;
  margin: 10px auto 0;
}

@media (max-width: 768px) {
  .scroll-list {
    margin-top: 20px;
  }
}

.scroll-list__wrp {
  width: 100%;
  height: 700px;
  overflow: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0px 7px 46px rgba(93, 103, 95, 0.45);
  background-color: var(--primary-color);
  padding: 50px;
}
.scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.scrollbar-thumb {
  background-color: var(--accent-color);
  border-radius: 6px;
}


@media (max-width: 768px) {
  .scroll-list__wrp {
    padding: 25px;
  }
}

.scroll-list__item {
  display: flex;
  width: 100%;
  height: 155px;
  margin-bottom: 15px;
  border-radius: 8px;
  background-color: var(--background-color);
  box-shadow: 0px 7px 16px rgba(41, 53, 108, 0.25);
  color: var(--primary-color);
  transition: all 0.35s ease-in-out;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform-origin: center center;
  font-family: 'Involve bold';
  font-size: 150%;
  opacity: 0;
  transform: scale(0.7);
}

.scroll-list__item.item-hide {
  opacity: 0;
  transform: scale(0.7);
}

.scroll-list__item.item-focus {
  opacity: 1;
  transform: scale(1);
}

.scroll-list__item.item-next {
  opacity: 1;
  transform: scale(1);
}

.scroll-list__item.item-next + .scroll-list__item {
  opacity: 1;
  transform: scale(1);
}

.scroll-list__item:last-child {
  margin-bottom: 155px;
}

.odeljenja-naslov{
  margin-top: 50px;
  margin-bottom: 0;
  text-align: center;
}

/*custom scrollbar*/

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: white; 
  border-radius: 10px;
}
 
::-webkit-scrollbar-thumb {
  background: rgb(82, 100, 82); 
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color); 
}

/*Zaposleni*/
#mobilniFilter.form-select {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border: 1px solid #1aa3a3 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23ffffff' d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592c.86 0 1.319 1.013.753 1.658L8.753 11.14a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e");
}

#mobilniFilter.form-select option {
    background-color: #072c2c !important;
    color: #ffffff !important;
}
/*#ff5f02*/
#mobilniFilter.form-select:focus {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 95, 2,0.5) !important;
}

#mobilniFilterRC.form-select {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border: 1px solid #1aa3a3 !important;
    margin-top: 3vh;
    margin-left: 1vw;
    margin-right: 1vw;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='%23ffffff' d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592c.86 0 1.319 1.013.753 1.658L8.753 11.14a1 1 0 0 1-1.506 0z'/%3e%3c/svg%3e");
}

#mobilniFilterRC.form-select option {
    background-color: #072c2c !important;
    margin-left: 1vw;
    margin-right: 1vw;
    color: #ffffff !important;
}
/*#ff5f02*/
#mobilniFilterRC.form-select:focus {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 95, 2,0.5) !important;
}

.zaposleni-filter a.active {
            border: 2px solid #0d6efd;
            font-weight: bold;
        }
        .poznata img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }

        .poznata {
            max-width: 260px;      
            margin: 0 auto;        
        }

        .zaposleni-dugmici {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            padding: 30px 20px;
        }


        .zaposleni-dugmici .btn {
            width: auto;
            white-space: nowrap;
            font-size: 16px;
            padding: 8px 14px;
        }

       .dugme-item {
            font-size: 18px;
            padding: 10px 16px;
            white-space: nowrap;
        }

        @media (max-width: 576px) {
            .zaposleni-dugmici {
                justify-content: center;
                gap: 6px;
            }

            .dugme-item {
                font-size: 14px;
                padding: 8px 12px;
                border-radius: 12px;
            }
        }

/* Mobilni slider za tabove */
@media (max-width: 768px) {
  .nav-wrapper .nav-tabs {
    flex-wrap: nowrap;        
    overflow-x: auto;         
    overflow-y: hidden;
    white-space: nowrap;      
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color);
  }

  .nav-wrapper .nav-tabs::-webkit-scrollbar {
    height: 8px;
  }

  .nav-wrapper .nav-tabs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
  }

  .nav-wrapper .nav-tabs::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
  }

  .nav-wrapper .nav-tabs::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
  }

  .nav-wrapper .nav-tabs .nav-link {
    flex: 0 0 auto;
    margin-right: 5px;
  }
}

/* kriterijumi ocenjivanja */
a.ko, h5.ko{
  text-decoration: none !important;
  color: var(--primary-color);
}

a.ko:hover, h5.ko:hover{
  color: var(--accent-color);
}

a.ko:active, h5.ko:active{
  color: var(--accent-color);
}

/* Raspored casova*/

.rc {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 15px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  background-color: white;
  text-align: center;
  border: 2px solid var(--primary-color);

  opacity: 0;
  animation: fadeInFromTop 0.8s ease-out forwards;
}

#pdf-container {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

canvas {
  width: 100%;
  height: auto;
  display: block;
}

/* Kontejner za kontrole */
.pdf-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Dugmad (strelice) */
.pdf-btn {
    background-color: #ff5f02;
    color: #072c2c;
    border: none;
    padding: 6px 12px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover i klik */
.pdf-btn:hover,
.pdf-btn:active {
    background-color: #072c2c;
    color: #ff5f02;
}

/* Input za stranicu */
.pdf-controls input[type="number"] {
    width: 60px;
    text-align: center;
    padding: 4px;
    font-size: 14px;
}

/* Tekst */
.pdf-controls span {
    font-size: 14px;
}

@media screen and (max-width: 600px) {
  .rc{
    width: 100%;
  }
}

.n2-raspored{
  color: var(--primary-color);
}

.n1-raspored{
  color: var(--primary-color);
  text-decoration: underline 2px solid #ff5f02;
}

.zaposleni-slika{
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}
