* {
  margin: 0;
  padding: 0;
}

body { /* Pozadina */
  background-color: #383838;
opacity: 1;
background-image:  linear-gradient(30deg, #e15a1f 12%, transparent 12.5%, transparent 87%, #e15a1f 87.5%, #e15a1f), linear-gradient(150deg, #e15a1f 12%, transparent 12.5%, transparent 87%, #e15a1f 87.5%, #e15a1f), linear-gradient(30deg, #e15a1f 12%, transparent 12.5%, transparent 87%, #e15a1f 87.5%, #e15a1f), linear-gradient(150deg, #e15a1f 12%, transparent 12.5%, transparent 87%, #e15a1f 87.5%, #e15a1f), linear-gradient(60deg, #e15a1f77 25%, transparent 25.5%, transparent 75%, #e15a1f77 75%, #e15a1f77), linear-gradient(60deg, #e15a1f77 25%, transparent 25.5%, transparent 75%, #e15a1f77 75%, #e15a1f77);
background-size: 80px 140px;
background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}

.prvoTijelo {
	background-color: white;
	height: 100%;
  }

.drugoTijelo {
  background-color: white;
  height: cover;
}
/* off-white #f9f9f9; */

h1 {
  font-size: 3pc;
  padding-top: 8%;
  padding-bottom: 8%;
  text-align: center;
  font-family: sans-serif;
}

h2 {
  padding: 3%;
  font-size: 30px;
  font-family: sans-serif;
  font-style: oblique;
}

h4 {
  padding: 3%;
  font: 10pc;
  font-family: sans-serif;
}

p {
  font-family: sans-serif;
  font-size: 18px;
}

.naslovnaStrana {
  text-align: center;
}

.opis {
  border-left: 4px solid orange;
  margin-bottom: 5%;
  background-color: tan;
  font-style: italic;
  padding: 5px;
}

ul {
    padding: 0;
}
ul, li {
  list-style: none;
}
a {
  font-family: sans-serif;
  text-decoration: none;
}

.column {
  float: left;
  width: 50%;
 padding-left: 6%;  /* OVO JE ZA OBLIK TEKSTA */
}

.slika {
	padding-left: 5%;
}

.video {
	padding-left: 6%;
}

#nav {
  width: 60em;
  position: absolute;
  left: 50%;
  margin-left: -30em;
}

/*TIMELINE*/
.timeline {
	padding: 10px 0px;
	width: 100%;
	margin-left: 10%;
	margin-bottom: 40px;
}

.timeline .column {
	margin: 30px 40px 40px 120px;
}

.timeline .column .title h1 {
	font-size: 13px;
	letter-spacing: 1px;
  font-family: serif;
}

.timeline .column .title h3 {
  font-family: sans-serif;
}

.timeline .column .description {
  border-left: 4px solid orange;
  background-color: tan;
  font-family: serif;
  padding: 5px;
}

/*Kraj TIMELINE*/

#nav > a {
  display: none;
}
#nav li {
  position: relative;
}
#nav li a {
  color: #fff;
  display: block;
}
#nav li a:active {
  background-color: #c00 !important;
}
#nav span:after {
  width: 0;
  height: 0;
  border: 0.313em solid transparent;
	border-bottom: none;
	border-top-color: #efa585;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
	right: -0.313em;
}

#nav > ul {
	height: 3.75em;
	background-color: #e15a1f;
}
#nav > ul > li {
	width: 25%;
	height: 100%;
	float: left;
}
#nav > ul > li > a {
	height: 100%;
	font-size: 1.5em;
	line-height: 2.5em;
	text-align: center;
}
#nav > ul > li:not( :last-child ) > a {
	border-right: 1px solid #cc470d;
}
#nav > ul > li:hover > a,
#nav > ul:not( :hover ) > li.active > a {
	background-color: #cc470d;
}
/*  */
#nav li ul {
	background-color: #cc470d;
	display: none;
	position: absolute;
	top: 100%;
}
#nav li:hover ul {
	display: block;
	left: 0;
	right: 0;
}
#nav li:not( :first-child ):hover ul {
	left: -1px;
}
#nav li ul a {
	font-size: 1.25em;
	border-top: 1px solid #e15a1f;
	padding: 0.75em;
}
#nav li ul li a:hover,
#nav li ul:not( :hover ) li.active a {
	background-color: #e15a1f;
}
@media only screen and ( max-width: 62.5em ) { /* Srednja i manja veličina prozora */
	#nav {
		width: 60%;
		position: static;
		margin-left: 24%;
	}

	.topBanner {
		margin-left: 30%;
	}
}
@media only screen and ( max-width: 40em )
{
	html {
		font-size: 75%;
	}
	#nav {
		position: relative;
		top: auto;
		left: auto;
	}
	#nav > a { /*Gumb*/
		width: 3.125em;
		height: 3.125em;
		text-align: left;
		text-indent: -9999px; /* Sakriva tekst oko gumba? */
		background-color: #e15a1f;
		position: relative;
	}
	#nav > a:before, /*Gumb*/
	#nav > a:after {
		position: absolute;
		border: 2px solid #fff;
		top: 35%;
		left: 25%;
		right: 25%;
		content: '';
	}
	#nav > a:after {
		top: 60%;
	}
	#nav:not( :target ) > a:first-of-type,
	#nav:target > a:last-of-type {
		display: block;
	}
	/* Prvo */
	#nav > ul {
		height: auto;
		display: none;
		position: absolute;
		left: 0;
		right: 0;
	}
	#nav:target > ul {
		display: block;
	}
	#nav > ul > li {
		width: 100%;
		float: none;
	}
	#nav > ul > li > a {
		height: auto;
		text-align: left;
		padding: 0 0.833em;
	}
	#nav > ul > li:not( :last-child ) > a {
		border-right: none;
		border-bottom: 1px solid #cc470d;
	}
	/* Drugo */
	#nav li ul {
		position: static;
		padding: 1.25em;
		padding-top: 0;
	}
}

/*Galerija*/
.carousel-wrapper{
  height:400px;
  position:relative;
  width: 80%;
  margin:0 auto;
}
.carousel-item{
  position:absolute;
  top:5px;
  bottom:0;
  left:0;
  right:0;
  padding:25px 50px;
  opacity:0;
  transition: all 0.4s ease-in-out;
}
.arrow{
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 12px;
}

.arrow-prev{
  left:-30px;
  position:absolute;
  top:50%;
  transform:translateY(-50%) rotate(135deg);
}

.arrow-next{
  right:-30px;
  position:absolute;
  top:50%;
  transform:translateY(-50%) rotate(-45deg);
  }

.light{
  color:white;
}

@media (max-width: 480px) {
      .arrow, .light .arrow {
        background-size: 10px;
        background-position: 10px 50%;
      }
    }
}

[id^="item"] {
    display: none;
  }
/* Slike i gradienti */
.item-1 {
    z-index: 2;
    opacity: 1;
  background-image: linear-gradient(0deg, #ffffff44 1%, #00000088 60%), url("slike/spec.jpg");
  background-size:cover;
  }
.item-2{
  background-image: linear-gradient(0deg, #ffffff44 9%, #00000088 60%), url("slike/cause.jpg");
   background-size:cover;
}
.item-3{
  background-image: linear-gradient(0deg, #ffffff44 1%, #00000088 60%), url("slike/sim.jpg");
   background-size:cover;
}

*:target ~ .item-1 {
    opacity: 0;
  }

#item-1:target ~ .item-1 {
    opacity: 1;
  }

#item-2:target ~ .item-2, #item-3:target ~ .item-3 {
    z-index: 3;
    opacity: 1;
  }
}
