/* @charset "UTF-8"; */
/* CSS Document */

body {
	background:#fff;
	margin:0;
	padding:0;
	font-family: 'Open Sans', sans-serif;

}

h1, h2, h3, h4, h5, h6 {font-family: 'Oswald', sans-serif;margin:0 0 0.5em;}
img {max-width:100%;}
p {margin:0 0 0.5em;}
a:link,a:visited {color:#094186;text-decoration:none;}
a:hover {color:#326aae;}

/*Show/hide navigation menu*/
#respmenu {
	display:none;
}

 /* =================================================== */
			/*TOP */
/*
- .wrapper
- #header
- .logo
- #nav
- .negativ
- .dugme
*/


.wrapper {
	width:1200px;
	margin:0 auto;
	overflow:hidden;
}

#header {
	background:white;
	padding:20px;
}

.logo {
	float:left;
	/* margin-left:300px; */
	width:300px;
	height:auto;
	background-size: cover;
}

#nav {
	float:right;
}
#nav ul {
	list-style:none;
	margin:0;
	padding:0;
}
#nav ul li {
	float:left;
}

.negativ {
	color:white;
}
.negativ a:link,
.negativ a:visited {
	color:blue;
	text-decoration:none;
}
.negativ a:hover {	color:rgb(41, 38, 219);}
.negativ .dugme {
    border: 2px solid blue;
    color: black;
}
.negativ .dugme:hover {
	background: rgba(255, 255, 255, 1);
    color: #094186;
}


.dugme {
	background: rgba(9, 65, 134, 0);
    border: 2px solid #094186;
    border-radius: 25px;
    color: #094186;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    padding: 14px 28px 13px;
	margin:20px 5px;
    text-transform: uppercase;
    transition: all 0.2s ease;
}
.dugme:hover {
	background: rgba(9, 65, 134, 1);
	color:#fff;
}

/*============================================================================*/
/*MIDDLE*/

/* Section #prvi =============================================== */
#prvi {
	background:url(images/computer.jpg) center center no-repeat;
	background-size:cover;
	color:#fff;
	padding:100px 0;
	text-align:center;
	font-size:17px;
	font-weight:bold;
	text-shadow: 2px 2px 5px black;
}
#prvi h1 {
	font-size:60px;
	margin-bottom:20px;
}

/* Section #drugi ============================================== */
#drugi {
	padding:100px 0;
	text-align:center;
	overflow:hidden;
}

/*Klasa za pop-up prozor*/
.tri {
	width:350px;
	height:300px;
	margin:40px 75px 0 0;
	overflow:hidden;
	position:relative;
	float:left;
}
.tri:nth-of-type(3n) {
	margin-right:0;
}
.triTekst {
	background:rgba(255,255,255,0.3);
	width:300px;
	height:250px;
	padding:25px;
	left:0;
	top:350px;
	position:absolute;
    transition: all 0.6s ease;
}
.tri:hover .triTekst {
	background:rgba(255,255,255,0.8);
	top:0;
	
}

/*Section #idea ================================================ */
#idea {
	background:#094186;
	padding:20px;
	overflow:hidden;
}

/* Animation */
#sijalica {
	float:left;
	margin-right:50px;
	-webkit-animation: sijalica 2s infinite;
	-moz-animation: sijalica 2s infinite;
	-o-animation: sijalica 2s infinite;
	animation: sijalica 2s infinite;
}

@-webkit-keyframes sijalica {
 0% {	 opacity:0; }
 30% {	 opacity:0.7; }
 40% {	 opacity:0.3; }
 50% {	 opacity:1; }
 90% {	 opacity:1; }
 100% {	 opacity:0; }
}

@-moz-keyframes sijalica {
 0% {	 opacity:0; }
 30% {	 opacity:0.7; }
 40% {	 opacity:0.3; }
 50% {	 opacity:1; }
 90% {	 opacity:1; }
 100% {	 opacity:0; }
}

@-o-keyframes sijalica {
 0% {	 opacity:0; }
 30% {	 opacity:0.7; }
 40% {	 opacity:0.3; }
 50% {	 opacity:1; }
 90% {	 opacity:1; }
 100% {	 opacity:0; }
}

@keyframes sijalica {
 0% {	 opacity:0; }
 30% {	 opacity:0.7; }
 40% {	 opacity:0.3; }
 50% {	 opacity:1; }
 90% {	 opacity:1; }
 100% {	 opacity:0; }
}

/*Section #about ======================================================= */
#about {
	background:url(images/about.jpg) center center no-repeat;
	background-size:cover;
	padding:120px 0;
}

/* #topLink Button for navigate to the top of the site */
#topLink {
	display:inline-block;
	/* position:fixed; */
	/* bottom:-100px; */
	right:50px;
	color:blue;
	/* background:#094186; */
	background:silver;
	padding:10px;
    transition: all 0.2s ease;
}
#topLink:hover {
	color:#094186;
	background:#fff;
}
/* #topLink.down {
	bottom:0;
} */

/* Section videoback ========================================= */
#videoback {
	padding:300px 0;
	position:relative;
	overflow:hidden;
	text-align:center;
}
#bgvid {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width:auto;
	height:auto;
	z-index: -100;
	-webkit-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	/* background: url(video/background.jpg) no-repeat; */
	background-size: cover;
}

/* Section footer ================================================== */
#footer {
	background:#094186;
	padding:20px 0;
	text-align:center;
	font-size:12px;
}


/* Responsive and menu: ================================================== */
/* ======================================================================== */
/* ======================================================================== */
@media screen and (min-width:1024px) and (max-width:1260px) {
	.wrapper {
		width:960px;
	}

	.tri {
		width:300px;
		height:257px;
		margin-right:30px;
	}
	.triTekst {
		top:257px;
		width:250px;
	}


}
/*min-width:768px and max-width:1023px ========================================*/
@media screen and (min-width:768px) and (max-width:1023px) {
	.wrapper {
		width:680px;
	}

	.tri { /* vracamo sve u normalni tok za ovu rezoluciju */
		width:auto;
		height:auto;
		margin:40px 0;
		padding:0;
		float:none;
		background:#eee;
	}
	.tri img {
		float:left;
	}
	.triTekst {
		position:relative;
		transition:none;
		top:0;
		left:0;
		float:right;
		width:270px;
	}


}
/*max-width:767px ====================================================*/
@media screen and (max-width:767px) {
	.wrapper {
		width:80%;
	}

	#header {
		text-align:center;
		height:80px;
		height:auto;
	}

	#nav,
	.logo {
		float:none;
	}
	#nav ul li {
		float:none;
	}
	#nav ul li a {
		display:block;
		margin:7px 5px;
	}

	#respmenu {
		display:block;
		background:rgba(255,255,255,0.1);
		background:#eee;
		padding:10px;
    	border-radius: 25px; 
	}

	#nav ul {
		display:none;
	}

	.tri { /* vracamo sve u normalni tok za ovu rezoluciju */
		width:auto;
		height:auto;
		margin:40px 0;
		padding:0;
		float:none;
		background:#eee;
	}
	.tri img {
		float:none;
	}
	.triTekst {
		position:relative;
		transition:none;
		top:0;
		left:0;
		float:right;
		width:auto;
		height:auto;
		display:block;
	}


}




















