* {
	box-sizing: border-box; 
	font-family: "ArealRNIDS", Tahoma;
	font-feature-settings: "kern";  /* kern */
}

body {}

a {text-decoration: none;}

main {
	/* margin-top: 145px; */
	display:block;
	border: solid 2px #f0f0f0;
	border-radius: 5px;
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	padding: 0.85em;
	line-height: 1.5; /*normal*/
}	

p, li {text-align: justify;}
header#main_header {
	display:block;
	/*
	position: fixed;
	overflow: hidden;
	top: 0px;
    */
	/* border: solid 1px black; */
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;	
	vertical-align: middle;		
	background-color: white; 
}

div#logo_header {
	display:flex;
	flex-direction: row;
	flex: 1 1 auto;
	align-items:center; /* vertikalno centriranje */
	justify-content: center; /* horizontalno centriranje */
	gap: 1em; /* razmak između elemenata */
	border: solid 2px #f0f0f0;
	border-radius: 5px;
	
}

.logo-txt {
	display: flex;
	flex-direction: row;
	flex-grow: 0;
	align-items:center; /* vertikalno centriranje */
	justify-content: center; /* horizontalno centriranje */
	gap: 0.5em; /* razmak između elemenata */
	/* border: solid 1px black; */
}

.flf-logo-txt {
	display: inline-block;
	/* border: solid 1px black; */ 
	font-weight: normal;
	font-size: 140%;
	text-shadow: 1px 1px #7a7a79;
	color: #3c3c3b;
	
}



nav {
	display:block;
	/* border: solid 1px black; */
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}		
nav ul.menu {
	margin: 0;
	list-style-type: none;
	border: solid 2px #f0f0f0;
	border-radius: 5px;

	padding: 0;
	text-align: center;
	background-color: #003a6f;
}
nav ul.menu > li {
	display: inline-block;
	position: relative;
	padding: 0.5em;
	color: white;
	/* border: solid 1px black; */
}
nav a {
	color: white;
}
ul.sub-menu {
	display: none;
	list-style-type: none;
	background-color: #003a6f;
	margin-left: -0.5em;
	padding: 0.5em;
}
nav ul.menu > li:hover > ul.sub-menu {
	display: block;
	white-space: nowrap;
	min-width: 100%;
	position: absolute;
	top: 2em; 
	z-index: 1;
	border: solid 1px white;
}







/* poništavanje podešavanja u style.css	itd. */


/* */


main p {margin-bottom: 0px; }

#site-title 
{
	letter-spacing: normal;
} 		
/*		
#access a {
  line-height: normal;   menu.css 
}		

#access ul ul a {
  line-height: normal;   menu.css 
}
*/			

h2#site-description	{text-align: center;} /* ne radi */

/* prikaz BibTeX-a	*/
div#bibtex_display {
   counter-reset: bibtexlist;
}

.well pre {
	display: block;
	padding: 0.59375em;
	margin: 0 0 0.625em;
	font-size: 0.8125em;
	line-height: 1.42857143;
	color: #333;
	word-break: break-all;
	word-wrap: break-word;
	background-color: #f5f5f5;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.well {
	min-height: 1.25em;
	padding: 1.1875em;
	margin-bottom: 1.25em;
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}

.collapse {
  display: none;
}

div#bibtex_display .bibtexentry {
	line-height: 1.5;
	margin-bottom: 1em;
	counter-increment: bibtexlist;
}
div#bibtex_display .bibtexentry::before {
	content: "[" counter(bibtexlist) "] ";
}

/*
div#bibtex_display .referenca {
	line-height: 1.5;
	margin-bottom: 1em;
	counter-increment: bibtexlist;
}
div#bibtex_display .referenca::before {
	content: "[" counter(bibtexlist) "] ";
}
*/
h1.YEAR {
	font-size: 1.0625em;
	font-weight: bold;
	display: inline;
	margin-left: 0.5em;
}

/* kontakt */

#contact ul 
{
	list-style-type: none;
} 
#affiliation
{
	list-style-type: none;
} 
a.contact 
{ 
	text-decoration: none; color: black; 
	font-weight: bold;
} 
a.contact:hover
{ 
	color: red; 
} 
a.affiliation, a.konsultacije
{ 
	text-decoration: none; color: black; 
} 
a.affiliation:hover, a.konsultacije:hover
{
			color: red; 
}
.obavestenje 
{
	   color: red;
}
#obavestenja details.aktuelno summary {color: red;}
#obavestenja details.aktuelno[open] { border: solid 1px black;}
#obavestenja details.aktuelno[open] p { 
	 margin-bottom : 0em;
	 margin-left: 1em;
	 margin-right: 1em;
	 text-align: justify;
}
 


a[id] {color: black;}
a[href]:hover {color: red;}
/*
#nastava h2 {font-size: 14pt;}
#nastava h3 {font-size: 12pt;}
*/		
h2 {font-size: 14pt;}
h3 {font-size: 12pt;}

#nastava ul.predmeti li,    #nastava section ul li
{
  list-style-type: disc;
  margin-left: 1.27cm;
}
#nastava section#osnovne details > summary { 
			 font-size: 12pt;
			 font-weight: bold;
}

.testoviZimski td, 	.predispitneZimski td, 	.testoviLetnji td, 	.predispitneLetnji td 
{
  text-align: left;
}

section.rasporedCasova img {height: 1em;}
address {font-style: normal;}
address span.imejl{font-family: 'Courier New'; font-size: 10pt;}

:is(#testovi, #predispitne, #praktikumi) table {
	
	border: solid 1px black;
	border-collapse: collapse;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

#predispitne table {
	width: 60%;
}

:is(#testovi, #predispitne, #praktikumi) table td {
	
	border: solid 1px black;
	padding-top: 0.5em;
	padding-left: 0.5em;
}

:is(#testovi, #predispitne, #praktikumi) table tr:nth-child(odd) {
  background: #f2f9ff;
}

:is(#testovi, #predispitne, #praktikumi) table tr:hover {
  background-color: #fffff2
}

:is(#testovi, #predispitne, #praktikumi) table tr:nth-child(1) td {
  font-weight: bold;
  text-align: center;
}

#testovi table tr td:not(:nth-child(2)) {
  text-align: center;
}

#predispitne table tr td:nth-child(2) {
  text-align: center;
}

#praktikumi table tr td:not(:nth-child(2)) {
  text-align: center;
}