body {
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Raleway' ;
	color: #404040;
	font-size: 14pt;
	line-height: 1.6;
	background-color: #e5f0f2;
}

/* Tekst */

h1, h2, h3 {
	margin: 0;
	padding: 1em 0;
}

p {
	margin: 0;
	padding: 1em 0;
}

.centriranje {
	text-align: center;
	font-size: 11pt;
}

/* Navigacija  */
.navigacija ul {
	display: grid;
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(4, 1fr);
}

.navigacija a {
	background-color: #006f85;
	display: block;
	text-decoration: none;
	padding: 1rem;
	text-align: center;
	color: #fff;
	text-transform: uppercase;
	font-size: 1rem;
	box-shadow:  0 1px 5px rgba(104, 104, 104, 0.8);
}

.navigacija a:hover {
	background-color: #99c5ce;
	color: #333;
	transition: 0.6s ease;
}

.zaglavlje {
	background-color: #b8dee6;
	text-align: center;
}

.zaglavlje img {
	width: 100%;
	display: block;
	margin: 0 auto;
}
.naslov, .utrke {
	margin: 1em 0 0;
	padding: 0;
	font-size: 30pt;
	color: #39433c;
}

.naslov {
	font-family: 'Bad Script';
	font-weight: bold;
	font-style: italic;
}

.opis {
	font-family: 'Rajdhani';
	font-size: 14pt;
	margin: 0 0 1em;
	font-weight: bold;
	color: #39433c;
}

.naslov-stranice {
	text-align: center;
	color: #606862;
	font-size: 17pt;
}

.sadrzaj {
	background-color: #fff;
	padding: 3em;
	text-align: justify;	
}

/* Tablice */
table {
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
	padding: 1em;
}

tr:nth-child(even) {
  background-color: #e5f0f2;
}

.linkovi {
	font-weight: bold;
	color: #006f85;
	text-decoration: none;
}	
 .linkovi:hover {
	text-decoration: underline;
}
 
.video {
	display: block;
	margin: 0 auto;
	height: 350px;
	width: 100%;
}

.podnozje {
	padding: 1em 2em;
	background-color: #006f85;
	color: #fff;
	text-align: center;
}

/* Galerija */

.mySlides {
	display: none; 
	box-sizing: border-box;
}

img {
	vertical-align: middle;
	width:100%;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Number text (1/4 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

/* MEDIA BUTTONS */
.fa {
  padding: 18px;
  font-size: 18px;
  width: 18px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
}

.fa:hover {
    opacity: 0.8;
}

.fa-facebook {
  background: #3D5B99;
  color: white;
}

.fa-instagram {
  background: #CB4162;
  color: white;
}

.fa-google {
  background: #dd4b39;
  color: white;
}
