
body{border:none; overflow-x:hidden; padding:0; box-sizing:border-box; margin:0; font-size:1em}

header{display:block; width:100vw; height:8em; position:fixed; border:none; top:0; left:0; /*opacity:.25;*/
	background-color:white; transition:.5s; z-index:1000;}
	#header_logo{height:4em; width:16em; position:fixed; left:calc(50vw - 8em); top:2em; z-index:100; transition:.5s;
				background-image:url('/slike/header-logo.svg'); background-size:100% auto; background-position:top center;
				background-repeat:no-repeat; color:#aaa; cursor:pointer;
				padding-top:3.3em; box-sizing:border-box; text-align:center; font-family:lato, sans-serif;}	
	#header_menu_za_mobitel{display:none}		
	nav{height:100%; width:70em; margin-left:calc(50vw - 35em); overflow:hidden; transition:.5s; padding-top:2.5em; 
			box-sizing:border-box;}
		.header_polovica{float:left; width:50%; height:100%; box-sizing:border-box; background-color:white; margin:0; overflow:hidden}
		.header_polovica:nth-of-type(1){padding-right:10em}
		.header_polovica:nth-of-type(2){padding-left:10em}
		.header_polovica:nth-of-type(1) button{float:right; }
		.header_polovica:nth-of-type(2) button{float:left;}
			nav button{background-color:rgba(0,0,0,0); color:black; border:none; opacity:.5; height:100%; box-sizing:border-box; padding:.5em; 
						font-size: 1em; transition:.3s; font-family:ekmukta, sans-serif;  margin:0 .25em; cursor:pointer; 
						background-size:auto .8em; background-position:left center; background-repeat:no-repeat;
						text-transform:uppercase}
			nav button:hover{opacity:.8}
			nav button:disabled{opacity:1; cursor:default}	
			/*.header_polovica:nth-of-type(2) button:nth-of-type(2){background-image:url('/slike/ikonice-trazi.svg'); padding-left:1em}	*/
	/*TRAŽILICA samo za index.php*/
	#trazilica_box{margin-bottom:3em; width:100%; display:flex; justify-content: center;}	
		#trazilica_box [type="text"] {margin:0 2%; padding:1em; border: none; box-shadow:0 0.25em .5em .1em #ccc}	
		#trazilica_box [type="text"]:nth-of-type(1) {width:35%; margin:0 0.5%; padding:1em}					
		#trazilica_box [type="text"]:nth-of-type(2) {width:20%; margin:0 0.5%; padding:1em}					
		#trazilica_box [type="submit"]{width:3em; height:3em; margin-top:0.5em; background-color:white; border:none; cursor:pointer;
						background-image:url('/slike/ikonice-trazi.svg'); background-size:80% auto; 
						background-position:center; background-repeat:no-repeat; opacity:.5; transition:.25s}
		#trazilica_box [type="submit"]:hover{opacity:1}			
		
main{width:70em; margin-left:calc(50vw - 35em); padding-top:10em /*pomak zbog headera*/; border:none; box-sizing:border-box; font-size:1em; 
	font-family:lato, sans-serif; height:auto; overflow-x:hidden; }
	.main_ikonica{float:left; width:18%; height:12em; box-sizing:border-box; margin:1em 1%; border:none; cursor:pointer; padding:0;
			cursor:pointer; transition:.35s; overflow:hidden; color:#515457; 
			background-image:none; background-position:center; background-size:contain; background-repeat:no-repeat /*ovo je za admin */}
		.main_ikonica:hover{color:black; }	
		.main_ikonica:hover .main_ikonica_slika{width:60%; height:45%; margin:13% 20%;}	
	.main_ikonica_slika{height:40%; width:50%; margin:15% 25%;  
						background-size:contain; background-position:center; background-repeat:no-repeat; transition:.25s;}
	.main_ikonica_tekst{background-color:white; padding:.35em .5em 10em .5em;
						font-size:.9em; text-align:center; box-sizing:border-box}
	main h1{margin:1%}
	
footer{position:static; height:auto; padding:5em 0; width:100vw; overflow:hidden; font-family:lato, sans-serif; color:gray; font-size:.8em}	
	#footer_copyright{float:left; width:50vw; text-align:right; padding-right:1em; box-sizing:border-box;}
	#footer_uvjeti_koristenja{float:left; width:AUTO; text-align:left; padding:0 1em; box-sizing:border-box; border-LEFT:1px solid gray;}
	
a{text-decoration:none; color:#888}
a:hover{color:black}

h1{font-size:2em; color:#515457; font-family:"Trebuchet MS", sans-serif; font-weight:bold}
h3{line-height:.5em; font-weight:normal; color:black}		
p{font-size:1em; color:black; text-align: justify; text-justify:auto; font-family: alegreya, sans-serif;}		
@font-face{font-family:ekmukta; src: url(/fontovi/ekmukta.ttf);}
@font-face{font-family:alegreya; src: url(/fontovi/alegreyasansregular.ttf);}
@font-face{font-family:lato; src: url(/fontovi/latoregular.ttf);}
@font-face{font-family:latobold; src: url(/fontovi/latobold.ttf);}
@font-face{font-family:latoblack; src: url(/fontovi/latoblack.ttf);}

input, select,textarea, button {padding:1em; padding-left:.5em; margin-bottom:.65em; margin-left:.25em; cursor:pointer}
input[type=submit]{padding-left:1em;}
input:disabled, select:disabled, textarea:disabled, button:disabled{cursor:default}

/* -----------------------------------MOBITEL VERZIJA --------------------------------------- */
@media only screen and (max-width: 70em) { 
body{font-size:3vw;}
header{width:100vw; height:auto; position:static; padding:0; margin:10vh 0}
	#header_logo{font-size:6vw; height:auto; width:80vw; height:auto; padding:18vw 0 0 0; position:static; margin:0 10vw;}	
	#header_menu_za_mobitel{width:100vw; height:5vh; display:block; background-image:url('/slike/header-menu_za_mob.svg'); 
						background-size:contain; background-position:center; background-repeat:no-repeat; margin:4vh 0; opacity:.6}	
	#header_menu_za_mobitel:hover{opacity:1; cursor:pointer}					
	nav{position:static; height:0vw; width:100%; margin:0; padding:0; box-sizing:border-box;}
		.header_polovica{float:left; width:100%; height:auto; box-sizing:border-box; background-color:white; margin:0; overflow:hidden}
		.header_polovica:nth-of-type(1){padding-right:0em}
		.header_polovica:nth-of-type(2){padding-left:0em}
		.header_polovica:nth-of-type(1) button{float:left; }
		.header_polovica:nth-of-type(2) button{float:left;}
			nav button{opacity:.5; height:auto; padding:0vw; width:100%;
						font-size:5vw; margin:1vh 0; border-bottom:1px solid #ddd}
			.header_polovica:nth-of-type(2) button:nth-of-type(2){background-image:none; padding-left:0}	
	#header_trazilica{display:none; position:fixed; height:100vh; width:100vw; left:0; top:-100vh;
						z-index:1000; background-color:#eee; box-shadow:0 0 5em -.5em rgba(0,0,0,0.5); transition:.5s}	
		#header_trazilica [type="text"]{border:1px solid #ccc; padding:1em; width:28em;margin-left:7em; margin-top:4.25em}					
		#header_trazilica [type="submit"]{width:3.5em; height:3.5em; margin-left:0; background-color:none; border:none; cursor:pointer;
						background-image:url('/slike/ikonice-trazi.svg'); background-size:80% auto; 
						background-position:center; background-repeat:no-repeat;opacity:.7; transition:.25s}
		#header_trazilica [type="submit"]:hover{opacity:1}		
		#trazilica_iks{width:1.15em; height:1em; position:absolute; top:.5em; right:.5em; z-index:1; cursor:pointer; transition:.25s; opacity:.7}			
		#trazilica_iks:hover{opacity:1}		
		
main{width:100vw; margin-left:0; padding:2vh 2vw /*zbog headera*/; border:none; font-size:4vw }
	.main_ikonica{float:left; width:30vw; height:30vw; margin:1vw 1vw; }
	.main_ikonica_tekst{font-size:2.5vw; padding:.35vw .5vw 10vw .5vw;}
	main h1{margin:1%}
	
footer{position:static; padding:5vh 0; font-size:3vw}	
	#footer_copyright{float:left; width:100vw; text-align:center; padding-right:0;border-right:none}
	#footer_uvjeti_koristenja{float:left; width:100vw; text-align:center; padding-left:0; box-sizing:border-box; padding-top:2vh}
	
a{text-decoration:none; color:#888}
a:hover{color:black}

h1{font-size:6vw; }
h3{font-size:4vw; line-height:4vw; font-weight:normal; color:black}		
p{font-size:3vw; }								
}


