﻿* {
	margin:0;
	padding:0;
	box-sizing: border-box;	
	}

html{
	height:100%;
	}

body {	
		width:100%;	
		height:100%;	
		font-size: 16px;
		letter-spacing: 0.2px;	 
		font-family: 'Open Sans', sans-serif;
		font-family: 'Montserrat', ;
		font-family: 'Open Sans', ;
		font-family: 'Lato', ;			
		font-weight:300;
	}
	

						
						.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 {
			font-size: clamp(1.3rem, 4vw, 3rem);
			color:#666;
			text-decoration: none;
		}
							
										 

		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;
					  *float:left;
					  width:98%;
					  border-radius:8px;
					  margin:6% 2%;					  
					  text-align: center;
					  box-shadow: 0 0 25px 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;  
					  font-size:12px;
					  font-weight:700;
					  padding: 5px 10px;
					  box-shadow:10px 10px 30px #ccc;
					  transition: 1s;
					}
					
					.card_body{	
					  height:80px;
					  min-height:80px;
					}


					.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: 98%;
						margin-bottom:20px;
					  }
					}

					.respon_50{
					  float:left;
					  width:46%;
					  margin:10px 1%;
					}	

					@media screen and (max-width: 800px) {
					  .respon_50 {
						width: 94%; 
					  }
					}	
	
	
	#clanak{
		width:70%; 
		float:left;
		color:#666;
		padding:1%;
		margin-right:1%;
	}
	
	#clanak span {
		font-size:16px;		
	}
	
	#clanak p {
		font-size:16px;		
	}
	
		@media screen and (max-width: 800px) {
			  #clanak {
				width: 98%; 
				margin:0;
			  }
			}

	
	
/*	Č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:#999;
			}				

				.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;
								}




	#drugi_stupac{
		float:left;	 	
		width:25%;
		color:#666;
		border-top:2px	solid #ddd; 
		padding-top:5px;
		margin-top:10px;
	}
	
					@media screen and (max-width: 800px) {
					  #drugi_stupac {
						width: 96%; /* The width is 100%, when the viewport is 800px or smaller */
					  }
					}	
	
				/* index okviri u stupcima članci i novosti  */	
	
				div.gallery {                  
					min-height:10px;
					margin:1% 0;
					padding:5px;  
				}

					div.gallery:hover {
						box-shadow: 0 0 10px #ccc;
					}					

					div.gallery img {
						max-width: 100%;						
						height:auto;					
						box-shadow: 8px -2px 13px -8px #aaa;
					}					
					
					div.index_img_clanak {
						float:left;
						max-width: 20%;						
						height:auto;					
						box-shadow: 8px -2px 13px -8px #aaa;
					}										

					div.desc_clanak {       
						float:left;
						max-width: 76%;	
						padding:0 1% 0 3%;
						vertical-align: middle;	
					}

					div.desc_clanak h4{
							text-decoration: none;		
							color:#666;
							font-size:11pt;
							margin:0; 
							font-weight:200;
							vertical-align: middle;	
						}
						
					div.index_img_vijest {
						float:left;
						max-width: 30%;						
						height:auto;
						box-shadow: 8px -2px 13px -8px #aaa;
					}						

					div.desc_vijesti {
						float:left;  
						max-width: 65%;	
						padding:0 1% 0 3%;
						vertical-align: middle;	
						font-size:10pt;
						
					}
					
					
					div.desc_vijesti h4{
							float:left;
							text-decoration: none;		
							font-weight:900;
							color:#666;
							font-size:9pt;
							margin:0; 	
							
						}					
					
					div.desc_vijesti p{
						float:left;
						font-weight:200;
						color:#999;
						font-size:8pt;
					}					
						
	.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;		
	}		

		
							
			#slideshow {
			  background:#fff;
			  margin: 15px 0 0 0;
			  position: relative;
			  width:100%;
			  height:60px; 								  
			}

			#slideshow > div {
			  position: absolute;
			}	
			
				.img_back_slideshow {            /* div naslovne slike i bloka */
					width:100%;
					min-height:120px;      
					background-repeat: no-repeat;
					background-attachment: fixed;
					background-position: center; 
					background-size:cover; 
				}	

				.text-block-slideshow {
					position: absolute;
					*width:80%;  
					*height:100%;
					bottom: 0;
					right: 0;
					color: white;
					padding:10px 30px;
					opacity: 0.7;		
				}

				.text-block-slideshow h3{
					color:#eee;
					font-size:18px;
					margin:0;
				}
				
				/* za slike u texteditoru odmak margine */
				
				.note-float-left{margin-right:10px;}
				.note-float-right{margin-left:10px;}