﻿/* YUMIYA WE CMS - AGNI © 2019 */

/*--- Osnovna podešavanja --------------------------------------------------------------------- */

body {
	margin: 0 ;
	padding: 0;			
	background: rgb(255,255,255);
	background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(215,229,252,1) 100%);
	font-family: "ArealRNIDS", Georgia;
	font-feature-settings: "kern" on;
}

a {
	text-decoration: none;
}

/*--- Glavni stilovi stranice --------------------------------------------------------------------- */

header {
	margin: 0;		
}

header img {
	border: none;
	height: 350px;
	width: 100%;
}

main {
	width: 930px;
	border: 1px solid #8a8075;
	border-radius: 10px;
	margin: 5px auto 5px auto;
	padding: 10px;
	display: flex;
	flex-direction: row;
	background-color: #f0f0f0;
}

section {
	float:left;
	width: 100%;
	padding: 10px;
	overflow: hidden;
	background-color: #f0f0f0;
	
	font-family: "ArealRNIDS", Georgia;
	font-feature-settings: "kern";  /* kern */
}

h1 {
	font-size: 24px;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 0.7em;
}

h2 {
	font-size: 20px;
	font-weight: bold;
	font-style: italic;
	margin-bottom: 0.5em;
}

h3 {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 0.3em;
}

p {
	font-size: 18px;
	line-height: 1.3em;
	text-align: justify;	
}

li {
	line-height: 1.3em;
	text-align: justify;
	font-size: 18px;
}

img {
	margin: 0px;
	border: solid 1px black;
}

section img {

	border: solid 1px black;
	owerflow: auto;
}

footer {
	clear: both;
	width: 100%;
	height: 50px;
}

footer #footerc {
	margin: 0 auto 0 auto;
	padding: 10px;
	width: 930px;
	color: #000000;
}

footer #footerc p {
	margin: 0;	
	font-size: 12px;
	text-align: left;
	color: #e8e8e6;
	line-height: 1.5em;
}

footer #footerc a {
	color: #000000;
}

footer #footerc a:hover {
	color: #990000;
}

/*--- Navigacioni meni (gornji) --------------------------------------------------------------------- */

nav {
	display: normal;
	border: 1px solid #292624;
	width:100%;
	margin-top:-4px;
	background: rgb(209,221,228);
	background: linear-gradient(0deg, rgba(209,221,228,1) 0%, rgba(237,245,250,1) 50%, rgba(209,221,228,1) 100%);
}

nav #inboundh {
	margin: 0px auto 0 auto;
	width: 930px;
	overflow: hidden;
}

nav #inboundh a {
    float: left;
	font-size: 22px;
    color: #041a29;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
	margin: 40px 0 5px 0;
}

nav #inboundh a:hover {
    background-color: #c2cbd6;
	color: black;
	border-radius: 10px;
}

.selected {
	font-weight: bold;	
}

nav #inboundh img {
	border: 0px;
	float: left;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

/*--- Forma --------------------------------------------------------------------- */

input[type=text], select, textarea {
	width: 100%; 
	padding: 10px; 
	border: 1px solid #ccc; 
	border-radius: 4px; 
	box-sizing: border-box; 
	margin-top: 3px; 
	margin-bottom: 3px; 
	font-family: "ArealRNIDS", Georgia;
	font-size: 14px;
	resize: vertical 
}

select {
	font-family: "ArealRNIDS", Georgia;
	font-size: 14px;
}

input[type=submit] {
	background-color: #3385ff;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
    font-family: "ArealRNIDS", Georgia;
	cursor: pointer;
}

input[type=reset] {
	background-color: #9494b8;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
    font-family: "ArealRNIDS", Georgia;
	cursor: pointer;
}

input[type=submit]:hover {
	background-color: #005ce6;
}

input[type=reset]:hover {
	background-color: #7575a3;
}

/*--- Galerija ----------------------------------------------- */

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
  margin:0;
  border:none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  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);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 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}
}

/*--- Tabela ----------------------------------------------- */

#tabela {
	width: 100%;
}

#tabela td, #tabela th {
	border: 1px solid #ddd;
	padding: 8px;
	border-radius: 6px;
}

#tabela td  a {

	color:#000000;
}

#tabela td  a:hover {

	color:#bb0000;
}

.desno {
	text-align:center;
	vertical-align:middle;
}

#tabela tr {background-color: #ccc;}
#tabela tr:nth-child(odd){background-color: #ddd;}

#tabela th {
	padding-top: 12px;
	padding-bottom: 12px;
	background-color: #8a8a5c;
	border-radius: 6px;
	color: white;
}

/*--- Hero ------------------------------------------------- */

.bg-text {
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.4); 
  color: white;
  font-weight: bold;
  border: 3px solid #f1f1f1;
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 880px;
  padding: 20px;
  text-align: center;
}

.bg-text h1 {
	font-size: 48px;
}

.bg-text p { text-align: center;}

/*--- Slider ------------------------------------------------- */

.karusel {
	height: 100%;
	width: 100%;
	margin: 10px 0 0 0;
}

.karusel img {
	border: solid 1px #404040;
	margin: 0;
	width: 888px;	
}

.slajd {display:none; animation: fade 5s;}

@keyframes fade
{
  0%    {opacity:0.2}
  50%	{opacity:1}		
 }

/*--- Parallax ------------------------------------------------- */

.parallax { 
  background-image: url("img/BGR.jpg");
  height: 450px; 
  background-attachment: fixed;
  background-position: top;
  background-repeat: no-repeat;
}

/*--- Prikaz na mobilnim uređajima ----------------------------------------------- */

@media screen and (max-width: 600px) {
  
	header { width: 100%;}
	main { width: 100%; display: block;}
	footer { width: 100%}
	img { width: 100%;}
	h1 { font-size: 48px;}
	h1 { font-size: 36px;}
	h1 { font-size: 24px;}
	p {font-size: 18px;}
	nav #inboundh { width: 100%;}
	nav #inboundh a {
		float: none;
		display: block;
		text-align: left;
	}
	section { float: none;}
    aside { float: none;}
	#gallery img { height: 100%;}
	    
}

/*--- Novi fontovi ----------------------------------------------- */

@font-face {
    font-family: 'ArealRNIDS';
    src: url('ttf/ArealRNIDS-Regular.woff2') format('woff2'); /* Modern Browsers */
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'ttf/ArealRNIDS';
    src: url('ArealRNIDS-Bold.woff2') format('woff2');	 /* Modern Browsers */
    font-style: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'ttf/ArealRNIDS';
    src: url('ArealRNIDS-BoldItalic.woff2') format('woff2'); /* Modern Browsers */
    font-style: italic;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'ttf/ArealRNIDS';
    src: url('ArealRNIDS-Italic.woff2') format('woff2'); /* Modern Browsers */
    font-style: italic;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}


types {
    font/woff2  woff2;
}


