﻿* {
	margin:0;
	padding:0;
	box-sizing: border-box;	
	}

html{
	height:100%;
	}

body {	
		width:100%;	
		height:100%;	
		font-size: 16px;
		padding-top:55px;
		letter-spacing: 0.2px;	 
		font-family: 'Open Sans', sans-serif;
		font-family: 'Montserrat', ;
		font-family: 'Open Sans', ;
		font-family: 'Lato', ;			
		font-weight:300;
	}
	
						.slid {
							position: relative;
							height: 250px;
						}

						.text-block {
							position: absolute;
							bottom: 20%;
							left: 40%;
							color: white;
							text-align: center;
						}
						
						.text-block h3{color:white;}

						.carouselExampleIndicators p, h1, h2, h3 {
							color: #fff;
						}

						.index_ikona {
							color: #fff;
							position: relative;
							animation: mymove 6s infinite;
						}

						@keyframes mymove {
							0% { right: 0px; }
							20% { right: -100px; }
							30% { right: 75px; }
							35% { right: -50px; }
							40% { right: 40px; }
							44% { right: -30px; }
							48% { right: 30px; }
							52% { right: -20px; }
							55% { right: 20px; }
							57% { right: -10px; }
							59% { right: 0px; }
							100% { right: 0px; }
						}
						
						

						/* Stilizacija indikatora */
						.carousel-indicators li {
							width: 30px; /* Širina crtice */
							height: 5px; /* Visina crtice */
							background-color: #fff; /* Boja crtice */
							border-radius: 0; /* Ukloni zaobljene uglove */
						}

						/* Sakrij brojeve ispod indikatora */
						.carousel-indicators {
							list-style: none; /* Ukloni listu */
						}
						
						/* Sakrij brojeve ispod indikatora */
						.carousel-indicators h3{
							display:none;
							color:#fff;
						}						

						.carousel-indicators li::before,
						.carousel-indicators li::after {
							content: none; /* Ukloni dodatne pseudo-elemente */
						}

						.carousel-indicators .active {
							background-color: #000; /* Boja aktivnog indikatora */
						}

						.carousel-item {
							height: 100%;
							min-height: 250px; /* Visina slidova */
						}
						
						.mySlides {display: none;}
						img {vertical-align: middle;}

						/* Slideshow container */
						.slideshow-container {
						  max-width: 1000px;
						  position: relative;
						  margin: auto;
						}

						/* 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;
						}


						.active {
						  background-color: #717171;
						}

						/* Fading animation */
						.fade {
						  animation-name: fade;
						  animation-duration: 1.5s;
						}

						@keyframes fade {
						  from {opacity: .4} 
						  to {opacity: 1}
						}

						/* On smaller screens, decrease text size */
						@media only screen and (max-width: 300px) {
						  .text {font-size: 11px}
						}	
						
						

						



	
	
		
		#omotac_1{
			font-family: 'Montserrat', ;
			font-family: 'Open Sans', ;
			font-family: 'Lato', ;	
			width:100%;	
			color:#666;
			padding:1% 2%;
			*overflow: hiden;	  
			box-sizing:border-box;
		}
	

										
										 

		h1, h2, h3, h4, p{
			color:#666;
			text-decoration: none;				
		}

		h5 {
			font-size:16px;
			color:#777;
			font-weight:100;
			margin:8px 0 ;
		}										
	
						
	
	hr {
		border-top: 1px solid #ddd;
		margin:10px 0;
		color:#ddd;
		background:#eee;
	}
	
	
			#naslov{
				font-family: Dancing Script;
				font-family: Poiret One ;
				font-family: Parisienne ;	
				font-size:40px;
				text-align:center;
				font-weight:100;
				margin-bottom:20px ; 
			}	
			
				@media screen and (max-width: 800px) {
				  #naslov {
					width: 100%;
					font-size:30px;			
					margin-bottom:20px;
				  }
				}

	
	
					/* kartica index */	

					.card_index {	
					  position: relative;
					  width:98%;
					  border-radius:8px;
					  margin:6% 2%;					  
					  text-align: center;
					  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); 
					  opacity:1; 
					  transition: 1s;
					}
					
					.card_naslov {
					  position: absolute;
					  color: #fff;
					  left:10%;
					  bottom:-15px;
					  *background: rgb(250, 250, 250); /* Fallback color */
					  background: rgba(20, 20, 10, 0.5); /* Black background with 0.5 opacity */
					  text-align: left;
					  width: 80%;
					  height:60px;
					  min-height:60px;  
					  padding: 5px 10px;
					  box-shadow:10px 10px 20px #ccc;				  
					  transition: 1s;
					  text-align:center !important;							  
					}
					
					.card_naslov_p{	
					  text-align:center !important;	
					  font-size:15px !important;
					  letter-spacing: 1.5px;
					  font-weight:200 !important;	
					  color:#fff !important;	
					}				
					
					.card_body{	
					  height:80px;
					  min-height:80px;
					}
					
					.card_index {
						transition: transform 0.3s ease;
					}
					
					.card_index:hover {
						transform: scale(0.98);
					}					


					.card_index:hover {	
					  opacity:0.8;
					  box-shadow: 0 0 0 rgba(0, 0, 0, 0.5); 					  
						  .card_naslov { 
							position: absolute; 
							bottom:0; 
							background:rgba(0, 180, 0, 0.9); 
							box-shadow:0 0 0 #ccc;
							width: 78%;
							left:11%;
						  }
					}

					@media screen and (max-width: 800px) {
					  .card_index{
						width: 96%;
						margin:0 2% 20px 2%;
					  }
					}

					.respon_50{
					  float:left;
					  width:46%;
					  margin:10px 1%;
					}	

					@media screen and (max-width: 800px) {
					  .respon_50 {
						width: 94%; 
					  }
					}
	
			#clanak{
				width:100%; 
				color:#666;
			}
			
			#clanak span {
				font-size:16px;		
			}
			
			#clanak p {
				font-size:16px;		
			}
			
				@media screen and (max-width: 800px) {
					  #clanak {
						width: 96%; 
						margin:0 auto;
					  }
					}

			
			
		/*	Članak glavna slika članka */
	
			.container_cl {
				position: relative;
				margin: 0 auto;  
			}
			
			.container_naslov {
				text-decoration: none;		
				color:#666;
				font-size:14pt;
				margin:0;
				padding:10px;
				font-weight:300;    
				vertical-align: middle;	
				background-color: #f9f6fe; 
			}			

			.container_cl img{
				width:100%;
			}
			
			.container_cl .content_cl {
			  position: absolute;
			  top:0;
			  background: rgb(0, 0, 0); /* Fallback color */
			  background: rgba(0, 10, 10, 0.5); /* Black background with 0.5 opacity */
			  color: #ddd;
			  width: 100%;
			  font-size:18px;
			  padding: 10px 3%;
			}
			
			.container_cl .content_cl h1, h2, h3,h4,h5{
				color:#eee;
			}				

				.container_cl .content_cl h1{
					font-size:28px;
					color:#fff;
					font-weight:100;
				}

					@media screen and (max-width: 1100px) {
					  .container_cl .content_cl h1{
					   font-size:4vw;
						margin-top:0;
					  }
					}						

							.sadrzaj{
								padding:10px;
							}
					
								.sadrzaj table {
								  border-collapse: collapse;
								  width: 100%;
								}

								.sadrzaj td, .sadrzaj th {
								  border: 1px solid #999;
								  padding:10px;
								}

								.sadrzaj tr:hover {background-color: #ddd;}

								.sadrzaj th {
								  padding-top: 12px;
								  padding-bottom: 12px;
								  text-align: left;
								  background-color: #4CAF50;
								  color: white;
								}

					
	.footer {
		font-family: Poiret One;			
		width: 100%;	
		background: #fff; 
		color: #999;
		text-align: center;
		font-size: 12px;  
		padding:20px;
		box-shadow: 0 -6px 10px #eee;	
		margin-top:30px;
	}

	.footer h2{
		font-size: 18px; 
		margin:2px;
		color:#000040;		
	}

	.footer h4{
		font-size:16px;	
		margin:2px;
		color:#000040;		
	}	
	
	.footer h4 a{
		font-size:16px;	
		margin:2px;
		color:#000040;
		text-decoration: none;				
	}
	
	.footer h4 a:hover{
		color:red;
		font-weight:800;
		text-decoration: none;		
	}		

		

				
				
				
				/* Blokovi su nevidljivi prije nego uđu u viewport */
				.animate-on-scroll {
				  opacity: 0;
				  transform: translateY(50px);
				  transition: all 2s ease-out;
				}  

				/* Kad postanu vidljivi, primijeni animaciju */
				.animate-on-scroll.visible {
				  opacity: 1;
				  transform: translateY(0);
				}

				
				/* Osigurajte da slike uvijek imaju vidljivost nakon učitavanja */
				img {
				  opacity: 1; /* Početno nevidljivo */
				  transition: opacity 0.5s ease-in; /* Glatko prijelazno učitavanje */
				}

				img[data-src] {
				  opacity: 1; /* Kad je `data-src` postavljen, prikaži sliku */
				  transition: opacity 0.5s ease-in;
				}

				/* Osiguravanje da slike budu vidljive na malim zaslonima */
				@media (max-width: 576px) {
				  .animate-on-scroll {
					opacity: 1; /* Prikaži blokove bez animacije na malim zaslonima */
					transform: none;
				  }
				}				