  /* Extra small devices (phones, 600px and down) */
  @media only screen and (max-width: 600px) {
    .example {background: red;}
  }
  
  /* Small devices (portrait tablets and large phones, 600px and up) */
  @media only screen and (min-width: 600px) {
    .example {background: green;}
  }
  
  /* Medium devices (landscape tablets, 768px and up) */
  @media only screen and (min-width: 768px) {
    .example {background: blue;}
  } 
  
  /* Large devices (laptops/desktops, 992px and up) */
  @media only screen and (min-width: 992px) {
    .example {background: orange;}
  } 
  
  /* Extra large devices (large laptops and desktops, 1200px and up) */
  @media only screen and (min-width: 1200px) {
    .example {background: pink;}
  }
  /* ---------------------------- završeno uvodno --------------------------------- */ 
  /* ------------------------------------------------------------------------------ */ 
  /* -------------------- OPĆENITE POSTAVKE TIJELA STRANICE ------------------------*/

    body{
      width: 100%;
      height: 100%;
      font-family: Arial, Helvetica, sans-serif;
      font-size: medium;
    /*  overflow: hidden; */
    }  
  
    /* svi pravokutnici sa dodacima margina*/
  *{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    }
  /* svi iframe bez okvirnih linija*/
  iframe{
    border: none;
    }
/* -----------------------završene općenite postavke ---------------------------- */     
/* ------------------------------------------------------------------------------ */    
/* --------------------------- 1. OSNOVNA ------------------------------ */

/*----- Zaglavlje osnovne stranice */
  .a{
    width:100%;
    height: 40px;
    line-height: 30px;
    position: fixed;
    top: 0;
    left:0;
    display: grid;
    grid-template-columns: 170px  30px auto 50px 50px 50px;
    grid-template-rows: 30px;
    background-color: whitesmoke;
    border-bottom: solid 0.1px gray;
    padding: 5px;
    }

 .logo{
    height: 30px;
    width:auto;
    padding-left: 5px;
    }

 .ikone{
    height: 20px;
    width:auto;
    background-color: whitesmoke;
    }
  
  .ikone_1{
     /*  border: solid thin grey;*/
     text-align: center;
     padding-top: 4px;
     height: 20px;
     width: auto;
    }

/* ----- Radna površina osnovne stranice */
 .iframe{
    width:100%;
    height: 87%;
    position: fixed;
    top: 40px;
    left:0;
    z-index: 0;
    padding: 5px;
    }

/* ----- Podnožje osnovne stranice */
  .d{
    width:100%;
    height: 20px;
    line-height: 20px;
    position: fixed;
    bottom: 0px;
    left: 0;
    display: grid;
    font-size: 10px;
    font-style: normal;
    color: gray;
    grid-template-columns: 20vw auto 20vw;
    grid-template-rows: 20px;
    background-color: whitesmoke;
   }
  
  .d1{
    text-align: left;
    padding-left: 5px;
    }
  
  .d2{
    text-align: center;
    font-style: italic;
    }
  
  .d3{
    text-align: right;
    padding-right: 5px;
    }

/* ------------------------ završena osnovna stranica --------------------------- */    
/* ------------------------------------------------------------------------------ */
/* ----------------------------------- 2.IZBORNIK   ----------------------------- */  

  .izbornik{
    width:95vw;
    height: 95vh;
    display: grid;
    grid-template-columns: 31vw 31vw 31vw;
    grid-template-rows: 31vh 31vh 31vh;
    gap: 5px;
    /*background-color: whitesmoke;
    border-bottom: solid 0.1px rgba(184, 18, 18, 0.856);
    padding: 0px;*/
    }

  .izbornik_okvir {
    overflow: hidden;
    border: solid 0.1px violet;
    text-align: center;
    }

  .izbornik_slike {
    width:auto;
    height: 29vh;
    margin-top: 1vh;
    margin-bottom: 1vh;
    }

/* -------------------završena stranica poglavlja (izbornika)-------------------- */
/* ------------------------------------------------------------------------------ */    
/* ------------------------------------ 3. SADRŽAJA ----------------------------- */  

.sadrzaj_stranica{
  width: 100%;
  height:auto;
  background-color: rgb(248, 248, 152);
  }

.sadrzaj_naslovna{
  width:96vw;
  height: 20px;
  display: grid;
  font-size: small;
  grid-template-columns: auto 30px 40px;
  background-color: rgb(248, 240, 152);
  border-bottom: solid 0.1px gray;
  padding: 3px;
  }

  #c5_3 {
    display: none; /* Početno stanje */
}

.c5_gumb{
text-align: right;
padding-top: 0;
}

  .c1gumbi{
    background-color: white;
    border:solid thin goldenrod;
    color: blue; 
    cursor: pointer;
    height: 20px;
    width:30px;
    padding-top: 2px;
  }

/* glavne stavke u sadržaju*/
.sadrzaj_stavke {
  width: 100wv;
  overflow: auto;
}



/*navigacija  sustav stabla*/
ul, #sadrzaj_stavka_ul {
  list-style-type: none;
}
#sadrzaj_stavka_ul {
  margin: 0;
  padding: 0;
}

/*OMOT*/
.stavka_omot {
  cursor: pointer;
  -webkit-user-select: none; /* Safari 3.1+ */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
  font-size: medium;
  text-transform: uppercase;

}

.stavka_omot::before {
  content: "\1F4C2";
  color: black;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  margin-top: 5px;
}


/*STRANICA*/
.stavka_stranica {
  cursor: pointer;
  -webkit-user-select: none; /* Safari 3.1+ */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
  font-size: medium;
  text-decoration: none;
}
.stavka_stranica::before {
  content: "\1F4C3";
  color: black;
  display: inline-block;
  margin-left: 0px;
  margin-right: 5px;
}


/*SADRŽAJ U OMOTU*/
.stavka_omotano {
  display: block;  /* otvorene mape u sadržaju*/
  font-size: medium;
  margin-left: 25px;
  text-align: left;
  background-color: inherit;
  border: solid thin gray;
  padding:0;
  margin-left: 5px;
  margin-bottom: 15px;
}


.sadrzaj_ol {
  font-size: medium;
  text-align: left;
  text-decoration: none;
  padding: 0;
  }

.active {
  display: block;
  }








  .stavka{
    width:95vw;
    display: grid;
    grid-template-columns: 30px auto 30px;
    border: solid thin grey;
    /*background-color: lemonchiffon;*/
    padding: 5px;
    margin-top: 5px;
    }
  
  .stavka_2{
    width:95vw;
    display: grid;
    grid-template-columns: 7% auto 30%;
    border: solid thin grey;
   /* background-color: rgb(225, 248, 247);*/
    padding: 5px;
    margin-top: 5px;
    }

  .stavka_3{
    width:95vw;
    display: grid;
    grid-template-columns: 7% auto 30%;
    border: solid thin grey;
    background-color: rgb(225, 248, 247);
    padding: 5px;
    margin-top: 5px;
    }

  .stavka_aktivna{
    text-align: right;
    font-weight: bold;
    font-size: x-large;
    color: darkgrey;
    text-decoration: none;
    }
  
  .stavka_arhiva{
    text-align: right;
    font-weight: bold;
    font-size: x-large;
    text-decoration: none;
    }
  

/* ---------------------------završena stranica sadržaja ------------------------ */
/* ------------------------------------------------------------------------------ */    
/* ------------------------------------- 4. POPIS ------------------------------- */




/* --------------------------- završena stranica popisa ------------------------- */
/* ------------------------------------------------------------------------------ */    
/* ----------------------------------- 5. DETALJI ------------------------------- */



/* ---------------------------završena stranica detalja ------------------------- */
/* ------------------------------------------------------------------------------ */    
/* ---------------------------------- 6. ZAJEDNICA ------------------------------ */



/* ---------------------------završena stranica zajednice ----------------------- */
/* ------------------------------------------------------------------------------ */    
/* ----------------------------------- 7. OSOBINE ------------------------------- */



/* ---------------------------završena stranica osobina ------------------------- */
/* ------------------------------------------------------------------------------ */    
/* ----------------------------------- 8. UVJERENJA ----------------------------- */


/* ---------------------------završena stranica uvjerenja ----------------------- */
/* ------------------------------------------------------------------------------ */    
/* ----------------------------------- 9. KANDIDATI ----------------------------- */



/* ---------------------------završena stranica kandidata ----------------------- */
/* ------------------------------------------------------------------------------ */    
/* ---------------------------------- 10. IZABRANICI ---------------------------- */



/* ----------------završena stranica sadržaja (stavke poglavlja)----------------- */
/* ------------------------------------------------------------------------------ */    
/* ------------------ TEMATSKE STRANICE (STRANICE SA DETALJIMA) ----------------- */  

.centar_vodoravno{
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  }


.grafika_1 {
      text-align: left;
      margin: 0;
      width: 100%;
      height: 100%;
      align-items: center;
      justify-content: center;
      margin: 5px;
      padding-left: 10vw;
  }

  .grafika_2 {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 10px;
  }
  .centered-paragraph {
      text-align: left;
      width: 50%; /* Možete prilagoditi širinu po potrebi */
  }

  
  .img_grafika {
      max-width: 70%;
  }


  /* ----------------završena stranica tematskih (stranicasa detaljima)----------------- */
/* ------------------------------------------------------------------------------ */    
/* ------------------ STRANICE HIJERARHIJSKIH LINIJA 1-4 (OSOBE I TEME) ----------------- */  
.osobe{
  width: 100%;
  height:auto;
  background-color: skyblue;
  }

.osobe_naslovna{
  width:96vw;
  height: 20px;
  display: grid;
  font-size: small;
  grid-template-columns: auto 30px;
  background-color: skyblue;
  border-bottom: solid 0.1px gray;
  padding: 3px;
  }

  .osobe_stavke{
    width:96vw;
    display: grid;
    font-size: small;
    grid-template-columns:77px auto 50px;
    background-color: rgb(218, 240, 249);
    border-bottom: solid 0.1px gray;
    padding-top: 3px;
    margin-top: 5px;
    }

  .osoba_foto{
    width: 70px;
    height: auto;
    margin-left: 3px;
  }

  .osoba_detalji {
    text-align: center;
    align-items: center;
    justify-content: center;
    align-content: center;
    cursor: pointer;
}



  /* ----------------završena stranica tematskih (stranicasa detaljima)----------------- */
/* ------------------------------------------------------------------------------ */    
/* ------------------ STRANICE OBRAZACA (OSOBE I TEME) ----------------- */  
.prist{
  width:100%;
  height: 90%;
  display: grid;
  grid-template-columns: 40px 40px auto;
  grid-template-rows: auto;
  background-color: whitesmoke;
  padding: 5px;
}

.traka_0{
   grid-template-rows: 10% auto;
   grid-template-columns:auto;
   background-color:rgba(198, 216, 248, 0.664);
   text-align: center;
   margin-bottom: 5px;
 
}
.traka_1{

  background-color: #FFF59B;
  text-align: center;
  margin-bottom: 5px;

}

.traka_2{

  background-color: #8EC89A;
  text-align: center;
  margin-bottom: 5px;

}

.traka_3{
 
  background-color: #F3997C;
  text-align: center;
  margin-bottom: 5px;

}

.traka_4{
  background-color: lightyellow;
  text-align: center;
  margin-bottom: 5px;

}

.traka1_0{
background-color: blue;
color: white;
text-align: center;
margin-bottom: 5px;
font-size: larger;
}

.traka1_1{
  background-color:#FFED00;
  color: white;
  text-align: center;
  margin-bottom: 5px;
  font-size: larger;
  }

  .traka1_2{
    background-color:#009846;
    color: white;
    text-align: center;
    margin-bottom: 5px;
    font-size: larger;
    }

    .traka1_3{
      background-color:#E31E24;
      color: white;
      text-align: center;
      margin-bottom: 5px;
      font-size: larger;
        }

      .traka1_4{
        background-color:#F3997C;
        color: white;
        text-align: center;
        margin-bottom: 5px;
        font-size: larger;
        }



.traka2{
  padding-left: 10px;
  color: black;
  text-align: center;
  writing-mode: vertical-lr;
  text-orientation: upright;
  margin-bottom: 5px;
  }


.redbr{
  display: grid;
  grid-template-rows: 10% 10% 10% 10% 10% 10% 10% 10% 10% auto;
  grid-template-columns:auto;
  text-align: left;
  background-color: whitesmoke;
  
}

.redbroj{

  color: gray;
  padding: 5px;
  margin-bottom: 5px;
  margin-left: 5px;
  background-color: whitesmoke;
  border: solid thin gray;
  text-align: center;
}
.redbroj10{

  color: gray;
  padding: 5px;
  margin-left: 5px;
  background-color: whitesmoke;
  border: solid thin gray;
  text-align: center;
}


.pristup{
  width:100%;
  height: 90%;
  display: grid;
  grid-template-columns: 40px 70px auto;
  grid-template-rows: auto;
  background-color: whitesmoke;
  padding: 5px;
}

.osobine{
  display: grid;
  grid-template-rows: 10% 10% 10% 10% 10% 10% 10% 10% 10% auto;
  grid-template-columns:auto;
  text-align: left;
  background-color: whitesmoke;
  
}

.osobroj{
  width: 100%;
  color: black;
  padding: 5px;
  margin-bottom: 5px;
  background-color: white;
  border: solid thin gray;
  text-align: left;
  font-size: medium;
}

.osobroj_1{
  width: 100%;
  color: black;
  padding: 5px;
  margin-bottom: 5px;
  background-color: white;
  border: solid thin gray;
  text-align: left;
  font-size: small;
}





.osobroj10{
  width: 100%;
  color: black;
  padding: 5px;
  background-color: white;
  border: solid thin gray;
  text-align: left;
  font-size: medium;
}







.paragr{
 text-align: justify;
 margin-right: 10px;
 margin-left: 30px;
}

.slanje{
display: grid;
grid-template-columns:47% auto 47%;
margin: 5px;
}


.centrirano{
text-align: center;

}


.izbornik_okvir_nevidljivo{
  visibility: hidden;
  
  }


  .zapis{
    position: fixed;
    top: 0;
    left:0;
    display: grid;
    grid-template-columns: 170px auto;
    grid-template-rows: 30px;
    background-color: red;
    border-bottom: solid 0.1px gray;
    padding: 5px;
    }

    .zapis_naslovna{
    position: fixed;
    top: 33px;
    left:0;
    display: grid;
    grid-template-columns: 170px auto;
    grid-template-rows: 30px;
    background-color: blue;
    color: white;
    border-bottom: solid 0.1px gray;
    padding: 5px;
    }

    .zapis_rb{
      position: fixed;
      top: 0;
      left:0;
      display: grid;
      grid-template-columns: 170px auto;
      grid-template-rows: 30px;
      background-color: whitesmoke;
      border-bottom: solid 0.1px gray;
      padding: 5px;
      }