* {
	margin: 0;
	padding: 0;
}
:root {
    --width: clamp(320px, 90vw, 1020px);
}
body {


font-family: Verdana, Arial, Helvetica, sans-serif;

line-height: 17px;
font-size: 11px;
color : #666;

 background: #003250 url(../images/1.jpg) no-repeat center center fixed;
    webkit-background-size: cover;
    moz-background-size: cover;
    o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/1.jpg',     sizingMethod='scale');
    -ms-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/1', sizingMethod='scale');

}
.tekstboks-2{
  border: 1px solid #cccccc;
  padding: 4px;
  font: 100% Verdana;
  color: #727272;
  width: 40px;
  text-align: left;
}

.tekstboks-1{
  border: 1px solid #cccccc;
  padding: 4px;
  font: 100% Verdana;
  color: #727272;
  width: 60px;
  text-align: left;
}

.tekstboks{
  border: 1px solid #cccccc;
  padding: 4px;
  font: 100% Verdana;
  color: #727272;
  width: 90px;
  text-align: left;
}
.tekstboks1_1{
  border: 1px solid #cccccc;
  padding: 4px;
  font: 100% Verdana;
  color: #727272;
  width: 120px;
  text-align: left;
}
.tekstboks1{
  border: 1px solid #cccccc;
  padding: 4px;
  font: 100% Verdana;
  color: #727272;
  width: 150px;
}

.tekstboks2{
  border: 1px solid #cccccc;
  padding: 4px;
  font: 100% Verdana;
  color: #727272;
  width: 200px;
  margin:0 0 auto auto;
  text-align: left;
}


.tekstboks3{
  border: 1px solid #cccccc;
  padding: 4px;
  font: 100% Verdana;
  color: #727272;
  width: 250px;
}

.tekstboks4{
  border: 1px solid #cccccc;
  padding: 4px;
  font: 100% Verdana;
  color: #727272;
  width: 300px;
} 

.tekstboks5{
  border: 1px solid #cccccc;
  padding: 4px;
  font: 100% Verdana;
  color: #727272;
  width: 350px;
} 
.tekstboks6{
  border: 1px solid #cccccc;
  padding: 4px;
  font: 100% Verdana;
  color: #727272;
  width: 400px;
} 
.tekstboks7{
  border: 1px solid #cccccc;
  padding: 4px;
  font: 100% Verdana;
  color: #727272;
  width: 450px;
} 

.tekstboks8{
  border: 1px solid #cccccc;
  padding: 4px;
  font: 100% Verdana;
  color: #727272;
  width: 500px;
} 
.tekstboks9{
  border: 1px solid #cccccc;
  padding: 4px;
  font: 100% Verdana;
  color: #727272;
  width: 620px;
} 

a {
text-decoration: none;
color: #663333;
font-weight: heavy;
cursor: pointer;
}
a:hover {
text-decoration: underline;
color: #cc9933;
cursor: pointer;
}


#customers
{
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
width:100%;
border-collapse:collapse;
}
#customers td, #customers th 
{
font-size:1em;
border:1px solid #006666;
padding:3px 7px 2px 7px;
}
#customers th 
{
font-size:1.1em;
text-align:left;
padding-top:5px;
padding-bottom:4px;
background-color:#003250;
color:#ffffff;
}
#customers tr.alt td 
{
color:#000000;
background-color:#EAF2D3;
}


#wrap {
width : var(--width);
border : 5px solid #fff;
margin-top : 20px;
margin-left : auto;
margin-right : auto;
margin-bottom : 20px;
padding : 10px;
color : #666;
min-height:400px;
background : #FFFAF0;

}

#header {
background: #003250; 
height: 40px;
}
#header h1 { 
font-size: 21px;

padding: 10px 0 0 25px;
color: #fff;
}
#header h1 a { 
color: #37AB96;
text-decoration: none;
font-weight: 100;
letter-spacing: -2px;
}
#header h1 a:hover {
color: #fff;
}
#header h2 {
font-size: 13px;
color: #fff;
margin:-35px 0 0 670px;

letter-spacing: 0px;
font-weight: 100;
}

#header h2 a { 
color: #fff;
text-decoration:underline;
font-weight: 100;
letter-spacing: 0px;
}
#header h2 a:hover {
color: #663300;
}

#menu {
clear : both;
width : 100%;
}
#menu ul {
float : left;
width : 100%;
padding-left : 0;
margin-left : 0;
background: #003250 ;
color : #fff;
}
#menu ul li {
display : inline;
}
#menu ul li a {
float : left;
padding : 0.2em 1em;
text-decoration : none;
border-right : 1px solid #fff;
background: #003250 ;
color : #fff;
}
#menu ul li a:hover {
background : #52658c;
color : #fff;
}

#menu li a.current{background: #2580a2; color: #fff;}


#active a:link, #active a:visited, #active a:hover {
background : #52658c;
color : #fff;
}
#content {

padding: 0 0px 20px 0px;
min-height:300px;
   
}


#content td{
      text-align: left;
      
        }


.login_okvir {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -115px;
    margin-left: -180px;
    width: 100px;
    height: 100px;

       
}
.login{
       border: 3px solid #cccccc;
       border-radius: 1em;
       background : #003250 url(../images/login.png) no-repeat left center;
       width: 320px;
       height: 210px;
       padding-left:40px;
}
.login p
{
    color: #fff;
    font-size: 13px;
    line-height: 20px; 
    font-weight: bold; 
}

.right {
float: right;
width: calc(var(--width) - 210px);
text-align: justify;
padding-top: 5px;
}

.right img { padding:0 10px 0 10px;
       
       }
.right h1 {
margin: 10px 0 0 0;
padding-left: 10px;
font-size: 140%;
}

.right h2 {
margin: 10px 0 0 0;
padding-left: 10px;
height: 24px;
line-height: 24px;
background: #003250 url(../images/bgd1.jpg) repeat;
color: #fff;
font-size: 13px;
text-align: left;

}

.divh2 {
margin: 10px 0 0 0;
padding-left: 10px;
height: 24px;
line-height: 24px;
background: #663300 ;
color: #fff;
font-size: 13px;
text-align: left;
font-weight: bold;

}

.linkh2 {
margin: 0px 10px 0 0;

float: right;
font-weight: bold;
color: #fff;
cursor: pointer;
}

 

.linkh2 a{
text-decoration: none;
font-weight: bold;
background : #003250;
color: #fff;
margin-top: 4px; 
padding: 2px 2px 2px 2px;
height: 12px;
}

.linkh2 a:hover {
background : #52658c;

color : #fff;
}

.divh2lijevo {
float: left;
}

.right h2 a {
margin: 0px 0px 0 350px;
color: #fff;
text-decoration: none;


}
.right h2 a:hover {
color: #F5DEB3;
}

.right h3 {
font-size: 13px;
color: #ff0000;
margin:0px 5px 0 5px;
letter-spacing: 0px;
font-weight: 100;
}

.right h4 {
margin: 10px 0 0 0;
padding-left: 10px;
height: 24px;
line-height: 24px;
background: #003250 ;
color: #fff;
font-size: 13px;
}


.right h4 a {
margin: 0px 20px 0 10px;
color: #fff;
text-decoration: none;


}
.right h4 a:hover {
color: #F5DEB3;
}


.r_desno {
float: right;
width: 190px;
text-align: justify;
padding-top: 5px;
}

.r_lijevo {
float: left;
width: 380px;
text-align: justify;
padding-top: 5px;
}

.left {
float: left;
width : 195px;
padding : 5px 0 0 0;

}
.left h2 {
margin: 10px 0 0 0;
padding-left: 10px;
height: 24px;
line-height: 24px;
background: #003250 url(../images/bgd1.jpg) repeat;
color: #fff;
font-size: 13px;
}

.left h2 a {
display : block;
text-decoration : none;
padding : 0 0 0 0;
color : #fff;
}
.left h2 a:hover {
background : #996633;
color : #fff;
}


.left ul {
margin : 0;
padding : 5px 0 0 0;
list-style-type : none;
}
.left li {
margin : 0 0 0.1em 0;
}
.left a {
display : block;
width : 177px;
padding : 0.2em 0.8em;
text-decoration : none;
color : #fff;
background: #003250 ;
}
.left a:hover {
background : #52658c;
color : #fff;
}

#popup {
width : 430px;
border : 5px solid #fff;
margin-top : 20px;
margin-left : auto;
margin-right : auto;
margin-bottom : 20px;
padding : 10px;
color : #666;
min-height:350px;
background : #f2f2f5;

}

.popup_right {
float: left;
width: 420px;
text-align: justify;
padding-top: 5px;
font-size: 11px;

}

.popup_right h2 {
margin: 10px 0 0 0;
padding-left: 10px;
height: 24px;
line-height: 24px;
background: #663300 ;
color: #fff;
font-size: 13px;
}

.popup_right tekstboks2{
  border: 1px solid #cccccc;
  padding: 4px;
  font: 100% Verdana;
  color: #727272;
  width: 200px;
  margin:0 0 auto auto;
  text-align: left;
}
.popup_gornji_dio {
float: left;
width: 420px;
text-align: justify;
padding-top: 5px;
font-size: 11px;
min-height:150px;

}


.popup_smrznuta_tabela
{
   	float: left;
	width: 400px;
	height: 150px;
	overflow: auto;
	padding: 10px;
}


.smrznuta_sredina
{
   	float: left;
	width: 640px;
	height: 300px;
	overflow: auto;
	padding: 0px;
}



#bottom {
background: #fff;
padding: 0px 0;
}

#footer {
text-align: center;
font-size: 11px;
}

.nav{
  width: 550px;
  height: 20px;
  font: 90% Verdana;
  float: left;
  margin: 0;
  padding: 0;
  text-align: right;
}


.adresa_lijevo {
  float: left;
  background: #fff8dc;
  font: 11px Verdana;
  width: 290px;
  height:120px;
  border : 1px solid #ccc;
  padding:0px 10px 0 10px;
  margin:0 0 15px 0;
}


.adresa_lijevo h4 {
height: 24px;
line-height: 24px;
background: #663300;
color: #fff;
font-size: 12px;


}


.adresa_lijevo h4 a {
color: #fff;
text-decoration: none;


}
.adresa_lijevo h4 a:hover {
color: #F5DEB3;
}


.adresa_desno {
  float: right;
  background: #fff8dc;
  font: 11px Verdana;
  width: 290px;
  height:120px;
  border : 1px solid #ccc;
  padding:0px 10px 0 10px;
  margin:0 0 15px 0;
}

.adresa_desno h4 {
height: 24px;
line-height: 24px;
background: #663300;
color: #fff;
font-size: 12px;

}


.adresa_desno h4 a {
color: #fff;
text-decoration: none;


}
.adresa_desno h4 a:hover {
color: #F5DEB3;
}

.adresa {
  float: left;
  background: #fff8dc;
  font: 11px Verdana;
  width: 618px;

  border : 1px solid #ccc;
  padding:0px 10px 10px 10px;
  margin:15px 0 15px 0;
}


.slijedeca {
  float: right;
  background: url(slike/strelica_desno.gif) right no-repeat;
  font: 11px Verdana;
  padding-right: 28px;
}

.prethodna {
  float: left;
  background: url(slike/strelica_lijevo.gif) left no-repeat;
  font: 11px Verdana;
  padding-left: 29px;
}
#footer {
clear : both;
padding : 5px;
margin-top : 5px;
color : #fff;
background: #003250 ;
}
#footer a:link, #footer a:visited {
background : inherit;
color : #eee;
text-decoration : none;
}
#footer a:hover {
border-bottom : 1px dashed #f2f2f5;
background : inherit;
color : #f2f2f5;
}


.lijevo {
        float: left;
        width: 280px;
}

.desno {
        float: right;
        width: 330px;



}

.desno h3 {
height: 24px;
line-height: 24px;
background: #663300;
color: #fff;
font-size: 15px;

}
.statistika {
        float: left;
        background: 	#CCA352;



}

 

.login_txtbox {
    -moz-box-shadow: 17px -9px 18px -8px #000000;
    -webkit-box-shadow: 17px -9px 18px -8px #000000;
    box-shadow: 17px -9px 18px -8px #000000;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #599bb3), color-stop(1, #408c99));
    background:-moz-linear-gradient(top, #599bb3 5%, #408c99 100%);
    background:-webkit-linear-gradient(top, #599bb3 5%, #408c99 100%);
    background:-o-linear-gradient(top, #599bb3 5%, #408c99 100%);
    background:-ms-linear-gradient(top, #599bb3 5%, #408c99 100%);
    background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#599bb3', endColorstr='#408c99',GradientType=0);
    background-color:#599bb3;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    display:inline-block;
    color:#ffffff;
    font-family:arial;
    font-size:13px;
    font-weight:bold;
    padding:4px 12px;
    text-decoration:none;
    text-shadow:0px 1px 0px #3d768a;
} 

.button {
    -moz-box-shadow: 17px -9px 18px -8px #000000;
    -webkit-box-shadow: 17px -9px 18px -8px #000000;
    box-shadow: 17px -9px 18px -8px #000000;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #599bb3), color-stop(1, #408c99));
    background:-moz-linear-gradient(top, #599bb3 5%, #408c99 100%);
    background:-webkit-linear-gradient(top, #599bb3 5%, #408c99 100%);
    background:-o-linear-gradient(top, #599bb3 5%, #408c99 100%);
    background:-ms-linear-gradient(top, #599bb3 5%, #408c99 100%);
    background:linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#599bb3', endColorstr='#408c99',GradientType=0);
    background-color:#599bb3;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    border-radius:8px;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:arial;
    font-size:13px;
    font-weight:bold;
    padding:4px 12px;
    text-decoration:none;
    text-shadow:0px 1px 0px #3d768a;
}
.button:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #408c99), color-stop(1, #599bb3));
    background:-moz-linear-gradient(top, #408c99 5%, #599bb3 100%);
    background:-webkit-linear-gradient(top, #408c99 5%, #599bb3 100%);
    background:-o-linear-gradient(top, #408c99 5%, #599bb3 100%);
    background:-ms-linear-gradient(top, #408c99 5%, #599bb3 100%);
    background:linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#408c99', endColorstr='#599bb3',GradientType=0);
    background-color:#408c99;
}
.button:active {
    position:relative;
    top:1px;
}


a.skladiste {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/skladiste.png");
    background-position: 0 0; /* početna pozicija – normalna slika */
    }

a.skladiste:hover {
    background-position: -182px 0;
    } 
    
a.radni_nalog {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/radni_nalog.png");
    }

a.radni_nalog:hover {
    background-position: -182px 0;
    } 
a.h_r {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/hr.png");
    }

a.h_r:hover {
    background-position: -182px 0;
    }
     
a.h_r_o {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/hr_engleski.png");
    }

a.h_r_o:hover {
    background-position: -182px 0;
    }

a.postavke {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/postavke.png");
    }

a.postavke:hover {
    background-position: -182px 0;
    }
    
a.logout {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 30px;
    text-decoration: none;
    background: url("/images/logout.png");
    }

a.logout:hover {
    background-position: -182px 0;
    }
    
a.promjena_lozinke {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 30px;
    text-decoration: none;
    background: url("/images/promjena_lozinke.png");
    }

a.promjena_lozinke:hover {
    background-position: -182px 0;
    }
    
a.fakturisanje {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/fakture.png");
    }

a.fakturisanje:hover {
    background-position: -182px 0;
    }
 
a.logistika {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/logistika.png");
    }

a.logistika:hover {
    background-position: -182px 0;
    }

a.interne-greske {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/greske-dorade.png");
    }

a.interne-greske:hover {
    background-position: -182px 0;
    }
    
a.todo {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/todo_lista.png");
    }

a.todo:hover {
    background-position: -182px 0;
    }
a.planiranje {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/planiranje.png");
    }

a.planiranje:hover {
    background-position: -182px 0;
    }
    
a.oprema {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/oprema.png");
    }

a.oprema:hover {
    background-position: -182px 0;
    }  
    
    
a.putni_nalog {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/rentacar.png");
    }

a.putni_nalog:hover {
    background-position: -182px 0;
    }  
a.finansije {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/finansije.png");
    }

a.finansije:hover {
    background-position: -182px 0;
    }
    
a.reporting {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/reporting.png");
    }

a.reporting:hover {
    background-position: -182px 0;
    }

a.mackay {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/mackay.png");
    }

a.mackay:hover {
    background-position: -182px 0;
    }
a.cnc {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/CNC.png");
    }

a.cnc:hover {
    background-position: -182px 0;
    }    
a.matrica_znanja {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/kompatrix.png");
    }

a.matrica_znanja:hover {
    background-position: -182px 0;
    }   
a.planiranje_sup {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/planiranje_sup.png");
    }

a.resl:hover {
    background-position: -182px 0;
    }    
a.resl {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/resl_ico.png");
    }
a.nabava:hover {
    background-position: -182px 0;
    }    
a.nabava {
    margin: 3px 0 3px 0;
    display: block;
    width: 180px;
    height: 180px;
    text-decoration: none;
    background: url("/images/nabava.png");
    }

a.planiranje_sup:hover {
    background-position: -182px 0;
    }  
.currlist {
    width:220px;
    margin-left:40px;
    background:#FFF;
}


#tabovi {
clear : both;
width : 100%;
}
#tabovi ul {
float : left;
width : 100%;
padding-left : 0;
margin-left : 0;
background: #003250 ;
color : #fff;
}
#tabovi ul li {
display : inline;
}
#tabovi ul li a {
float : left;
padding : 0.2em 1em;
text-decoration : none;
border-right : 1px solid #fff;
background: #003250 ;
color : #fff;
}
#tabovi ul li a:hover {
background : #52658c;
color : #fff;
}

#tabovi li a.current{background: #2580a2; color: #fff;}

.prozorcic_izracun_cijene
{
   width:250px; height:100px; background:#003250; float:right; margin: 250px 0 10px 330px; position:absolute; font-size:18px; padding:10px 10px 10px 10px; 
}




a.button.facebook {
    background: #99b6df;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#99b6df), to(#638ec8));
    background: -moz-linear-gradient(#99b6df, #638ec8);
    background: linear-gradient(#99b6df, #638ec8);
    border: solid 1px #6d94ce;
    border-bottom: solid 3px #3867ac;
    box-shadow: inset 0 0 0 1px #bbcfeb;
    color: #fff;
    text-shadow: 0 1px 0 #3c61ab; }
    
a.button.facebook:hover {
    background: #638ec8;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#638ec8), to(#99b6df));
    background: -moz-linear-gradient(#638ec8, #99b6df);
    background: linear-gradient(#638ec8, #99b6df);
    border: solid 1px #6d94ce;
    border-bottom: solid 3px #3867ac;
    box-shadow: inset 0 0 0 1px #bbcfeb; }
    
a.button.facebook:active {
    background: #638ec8;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#638ec8), to(#99b6df));
    background: -moz-linear-gradient(#638ec8, #99b6df);
    background: linear-gradient(#638ec8, #99b6df);
    border: solid 1px #6d94ce;
    box-shadow: inset 0 10px 15px 0 #4176c4; }

.simulacija_ugasenog_dugmeta {
    background: #d1d1d1;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#d1d1d1), to(#afafaf));
    background: -moz-linear-gradient(#d1d1d1, #afafaf);
    background: linear-gradient(#d1d1d1, #afafaf);
    border: solid 1px #b4b4b4;
    border-bottom: solid 3px #878787;
    box-shadow: inset 0 0 0 1px #e3e3e3;
    color: #555;
    text-shadow: 0 1px 0 #d6d6d6;

    font-family: arial;
    font-size: 13px;
    font-weight: bold;
    padding: 4px 12px;
    
    border-radius: 8px;
    font-weight: bold; text-align: center;
}
 
 
 
 
   
    
.radio_grupa{
  margin-bottom : 1.5em;
  
}

/*
input[type=radio   ]:not(old){
  width   : 28px;
  margin  : 0;
  padding : 0;
  opacity : 0;
}


input[type=radio   ]:not(old) + label{
  display      : inline-block;
  margin-left  : -28px;
  padding-left : 28px;
  background   : url('../images/.png') no-repeat 0 0;
  line-height  : 24px;
}


input[type=radio]:not(old):checked + label{
  background-position : 0 -48px;
}         */
.myButton {
    -moz-box-shadow: 3px 4px 0px 0px #9fb4f2;
    -webkit-box-shadow: 3px 4px 0px 0px #9fb4f2;
    box-shadow: 3px 4px 0px 0px #9fb4f2;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #7892c2), color-stop(1, #476e9e));
    background:-moz-linear-gradient(top, #7892c2 5%, #476e9e 100%);
    background:-webkit-linear-gradient(top, #7892c2 5%, #476e9e 100%);
    background:-o-linear-gradient(top, #7892c2 5%, #476e9e 100%);
    background:-ms-linear-gradient(top, #7892c2 5%, #476e9e 100%);
    background:linear-gradient(to bottom, #7892c2 5%, #476e9e 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#7892c2', endColorstr='#476e9e',GradientType=0);
    background-color:#7892c2;
    -moz-border-radius:18px;
    -webkit-border-radius:18px;
    border-radius:18px;
    border:1px solid #4e6096;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:Arial;
    font-size:12px;
    font-weight:bold;
    padding:7px 26px;
    text-decoration:none;
    text-shadow:0px -1px 5px #283966;
}
.myButton:hover {
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #476e9e), color-stop(1, #7892c2));
    background:-moz-linear-gradient(top, #476e9e 5%, #7892c2 100%);
    background:-webkit-linear-gradient(top, #476e9e 5%, #7892c2 100%);
    background:-o-linear-gradient(top, #476e9e 5%, #7892c2 100%);
    background:-ms-linear-gradient(top, #476e9e 5%, #7892c2 100%);
    background:linear-gradient(to bottom, #476e9e 5%, #7892c2 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#476e9e', endColorstr='#7892c2',GradientType=0);
    background-color:#476e9e;
}
.myButton:active {
    position:relative;
    top:1px;
}


#rowClick.placeno{
    color:#000;
    background-color:#4CAF50;
    }

#rowClick{
    color:#000;
    background-color:#FA3232;
    }
    
.btn-info {
    padding: 8px 8px;
    margin-left:5px; 

    display: inline; 
    border: 1px solid #3085d6;
    border-radius: 5px;
    background-color: #3085d6;
    box-shadow: none;
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer; }
.btn-info:hover {
    background-color: #297dce; }
.btn-info:focus {
    outline: none;
    box-shadow: 0 0 0 0.125em #f2f4f6, 0 0 0 0.25em #a7adb2; }
.btn-info::-moz-focus-inner {
    border: 0; }
.btn-info:active {
    background-color: #236bb0; }

.btn-info:disabled {

    background-color: #b2b2b2;
    border: 1px solid #dcdcdc;
    cursor: not-allowed ;
}

.btn-info-sm {
    padding: 4px 4px;
    margin-left:5px; 

    display: inline; 
    border: 1px solid #3085d6;
    border-radius: 5px;
    background-color: #3085d6;
    box-shadow: none;
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer; }
.btn-info-sm:hover {
    background-color: #297dce; }
.btn-info-sm:focus {
    outline: none;
    box-shadow: 0 0 0 0.125em #f2f4f6, 0 0 0 0.25em #a7adb2; }
.btn-info-sm::-moz-focus-inner {
    border: 0; }
.btn-info-sm:active {
    background-color: #236bb0; }

.btn-info-sm:disabled {

    background-color: #b2b2b2;
    border: 1px solid #dcdcdc;
    cursor: not-allowed ;
}

.btn-zuto-sm {
    padding: 4px 4px;
    margin-left:5px; 
     
    display: inline; 
    border: 1px solid #E4B216;
    border-radius: 5px;
    background-color: #E4B216;
    box-shadow: none;
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer; }
.btn-zuto-sm:hover {
    background-color: #B18A11;
    color: #fff; 
    text-decoration: none;
    }
.btn-zuto-sm:focus {
    outline: none;
    box-shadow: 0 0 0 0.125em #f2f4f6, 0 0 0 0.25em #a7adb2; }
.btn-zuto-sm::-moz-focus-inner {
    border: 0; }
.btn-zuto-sm:active {
    background-color: #E4B216; }

.btn-zuto-sm:disabled {

    background-color: #b2b2b2;
    border: 1px solid #dcdcdc;
    cursor: not-allowed ;
}

.btn-success-sm {
    padding: 4px 4px;
    margin-left:5px; 

    display: inline; 
    border: 1px solid #40bf80;
    border-radius: 5px;
    background-color: #40bf80;
    box-shadow: none;
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer; }
.btn-success-sm:hover {
    background-color: #339966;
    border-color: #398439;}
.btn-success-sm:focus {
    outline: none;
    box-shadow: 0 0 0 0.125em #f2f4f6, 0 0 0 0.25em #a7adb2; }
.btn-success-sm::-moz-focus-inner {
    border: 0; }
.btn-success-sm:active {
    background-color: #236bb0; }

.btn-success-sm:disabled {

    background-color: #b2b2b2;
    border: 1px solid #dcdcdc;
    cursor: not-allowed ;
}

.btn-danger-sm {
    padding: 4px 4px;
    margin-left:5px; 

    display: inline; 
    border: 1px solid #e60000;
    border-radius: 5px;
    background-color: #e60000;
    box-shadow: none;
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer; }
.btn-danger-sm:hover {
    background-color: #b30000;
    border-color: #800000;}
.btn-danger-sm:focus {
    outline: none;
    box-shadow: 0 0 0 0.125em #f2f4f6, 0 0 0 0.25em #a7adb2; }
.btn-danger-sm::-moz-focus-inner {
    border: 0; }
.btn-danger-sm:active {
    background-color: #236bb0; }

.btn-danger-sm:disabled {

    background-color: #b2b2b2;
    border: 1px solid #dcdcdc;
    cursor: not-allowed ;
}

.btn-print-sm {
    padding: 4px 4px;
    margin-left:5px; 

    display: inline; 
    border: 1px solid #0099ff;
    border-radius: 5px;
    background-color: #0099ff;
    box-shadow: none;
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer; }
.btn-print-sm:hover {
    background-color: #007acc;
    border-color: #005c99;}
.btn-print-sm:focus {
    outline: none;
    box-shadow: 0 0 0 0.125em #f2f4f6, 0 0 0 0.25em #a7adb2; }
.btn-print-sm::-moz-focus-inner {
    border: 0; }
.btn-print-sm:active {
    background-color: #236bb0; }

.btn-print-sm:disabled {

    background-color: #b2b2b2;
    border: 1px solid #dcdcdc;
    cursor: not-allowed ;
}

.krug-slovo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 10px;
    color: #fff;
    text-align: center;
    line-height: 1;
}

.krug-slovo.zeleno {
    background: #28a745;
}

.krug-slovo.zuto {
    background: #f1c40f;
    color: #000;
}


/* osnovni stil dugmeta */
.btn-soft {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}
.btn-soft {
    box-shadow: 0 1px 2px rgba(0,0,0,0.53);
}
/* hover */
.btn-soft:hover {
    opacity: 0.85;
    text-decoration: none !important;
}

/* Uključen - zelena pastel */
.btn-ukljucen {
    background-color: #d4edda;
    color: #2e7d32;
    border-color: #c3e6cb;
}

/* Isključen - crvena pastel */
.btn-iskljucen {
    background-color: #f8d7da;
    color: #c62828;
    border-color: #f5c6cb;
}

/* Izmjeni - plava pastel */
.btn-izmjeni {
    background-color: #d6e4ff;
    color: #1e40af;
    border-color: #c7d2fe;
}

/* Obriši - jača crvena pastel */
.btn-obrisi {
    background-color: #ffe0e0;
    color: #b71c1c;
    border-color: #ffcdd2;
}

.btn-delete {
    background-color: #b71c1c;
    color: #ffcdd2;
    border-color: #b71c1c;
}

/* Grupa / Dodaj - narandžasta pastel */
.btn-grupa {
    background-color: #fff3cd;
    color: #b26a00;
    border-color: #ffeeba;
}


.btn-dodaj {
    background-color: #c8e6c9;
    color: #1b5e20;
    font-weight: 700;
}

/* hover */
.btn-dodaj:hover {
    background-color: #d4edda;
    color: #145a18;
}

.align-right {
    float: right;
}

/* smanji visinu ćelija */
#tbl_art td, 
#tbl_art th {
    padding: 8px 6px !important;
    line-height: 1.2;
    vertical-align: middle;
}



.upload-box {
    background: #ffffff;
    border: 1px solid #dfe6ee;
    border-radius: 10px;
    padding: 14px;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.upload-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.file-input-wrap {
    position: relative;
    display: inline-block;
}

.file-input-wrap input[type="file"] {
    position: absolute;
    left: -9999px;
}

.file-label {
    display: inline-block;
    padding: 6px 14px;
    background: #f4f7fb;
    border: 1px solid #d7e0ea;
    border-radius: 7px;
    cursor: pointer;
    font-size: 13px;
    color: #34495e;
    transition: all 0.2s ease;
}

.file-label:hover {
    background: #ebf1f7;
    border-color: #c9d4df;
}

.btn-upload {
    background: #e7f6ea;
    border-color: #cfe8d4;
    color: #2e7d32;
    font-weight: 600;
}

.btn-upload:hover {
    background: #daf0de;
}

.btn-upload:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.upload-progress-wrap {
    width: 100%;
    height: 22px;
    margin-top: 12px;
    background: #eef3f8;
    border: 1px solid #d8e1ea;
    border-radius: 999px;
    overflow: hidden;
}

.upload-progress-bar {
    width: 0%;
    height: 100%;
    line-height: 20px;
    text-align: center;
    background: linear-gradient(90deg, #6fb1fc, #4364f7);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    transition: width 0.2s ease;
}

.upload-status {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 13px;
    background: #f8fafc;
    border: 1px solid #e3eaf1;
    color: #475569;
    min-height: 18px;
}

.upload-status.success {
    background: #edf8ef;
    border-color: #cfe8d4;
    color: #2e7d32;
}

.upload-status.error {
    background: #fff1f1;
    border-color: #f0caca;
    color: #b42318;
}

.upload-status.info {
    background: #eef6ff;
    border-color: #cfe0f2;
    color: #1d4f91;
}

.file-list {
    margin-top: 14px;
}

.file-list table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    overflow: hidden;
}

.file-list thead th {
    background: #f4f7fb;
    color: #334155;
    font-weight: 600;
    padding: 10px 12px;
    border-bottom: 1px solid #dbe3ec;
    text-align: left;
    white-space: nowrap;
}

.file-list tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
    color: #334155;
}

.file-list tbody tr:last-child td {
    border-bottom: none;
}

.file-list tbody tr:hover {
    background: #fafcff;
}

.file-list a {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    margin-right: 4px;
}

 

.file-preview {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed #d8e1ea;
}


.pdf-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pdf-modal.show {
    display: block;
}

.pdf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.pdf-modal-dialog {
    position: relative;
    width: 92%;
    max-width: 1300px;
    height: 88vh;
    margin: 3vh auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.pdf-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f4f7fb;
    border-bottom: 1px solid #dbe3ec;
}

.pdf-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #334155;
}

.pdf-modal-close {
    border: none;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    padding: 0 4px;
}

.pdf-modal-close:hover {
    color: #0f172a;
}

.pdf-modal-body {
    flex: 1;
    padding: 10px;
    background: #fff;
    position: relative;
}

.pdf-preview-loading {
    padding: 10px 12px;
    margin-bottom: 10px;
    background: #eef6ff;
    border: 1px solid #cfe0f2;
    border-radius: 8px;
    color: #1d4f91;
    font-size: 13px;
    font-weight: 600;
}

.pdf-preview-frame {
    width: 100%;
    height: calc(100% - 10px);
    min-height: 400px;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #fff;
}

.pdf-modal-footer {
    padding: 10px 16px;
    background: #fafbfc;
    border-top: 1px solid #edf2f7;
    text-align: right;
}

.btn-close-preview {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
}

.btn-close-preview:hover {
    background: #e5e7eb;
}


.btn-delete-confirm {
    background: #fdecec;
    border: 1px solid #f5c2c2;
    color: #b42318;
}

.btn-delete-confirm:hover {
    background: #fbd5d5;
}


