
body {
	/*position: relative;*/
}

.noscroll {
	overflow: hidden;
}

.grid-wrap {
	margin: 0 auto 0;
	max-width: 1190px;
	width: 100%;
	padding: 0;
	-webkit-perspective: 1500px;
	perspective: 1500px;
}

.grid {
	position: relative;
	-webkit-transition: all 0.5s cubic-bezier(0,0,0.25,1);
	transition: all 0.5s cubic-bezier(0,0,0.25,1);
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.view-full .grid {
	-webkit-transform: translateZ(-1500px);
	transform: translateZ(-1500px);
}

.grid figure,
.grid .placeholder {
	width: 360px;
	height: 340px;
	position:relative;
}


.grid figure {
	margin: 2px;
	display: inline-block;
	cursor: pointer;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	box-shadow: 0 0 8px #888888;
	
	transition: opacity .25s ease-in-out;
   -moz-transition: opacity .25s ease-in-out;
   -webkit-transition: opacity .25s ease-in-out;  
}

.sivo {
	filter: url(filters.svg#grayscale);
	filter: gray;
	-webkit-filter: grayscale(1);
	opacity:.6;
	box-shadow:none;	
	}
.grid figure.active {
	opacity: 0;
}

.grid figure:hover {
	/*opacity:.8;
	box-shadow:none;*/
	}

.grid .placeholder {
	pointer-events: none;
	position: absolute;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}

.placeholder > div {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.placeholder .front img {
	width: 100%;
	height: 100%;
}

.placeholder .back {
	background: white;
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.view-full .placeholder {
	-webkit-transition: all 0.5s 0.1s cubic-bezier(0,0,0.25,1);
	transition: all 0.5s 0.1s cubic-bezier(0,0,0.25,1);
}

.vertical .view-full .placeholder {
	-webkit-transform: translateZ(1500px) rotateX(-179.9deg);
	transform: translateZ(1500px) rotateX(-179.9deg); /* FF, Chrome, can we agree on one direction, pleeease? */
}

.horizontal .view-full .placeholder {
	-webkit-transform: translateZ(1500px) rotateY(-179.9deg);
	transform: translateZ(1500px) rotateY(-179.9deg);
}

.grid figure img {
	display: block;
	width: 100%;
}

.content,
.loading {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none; /* Careful, does not work in IE < 11 http://caniuse.com/#search=pointer-events */
}

.content {
	overflow-y: scroll;
	height: 0; /* What seems to be the problem, officer? Well, we have a second scroll bar in Chrome! */
	background: url(../img/carbon.jpg) no-repeat center center fixed;
	visibility: hidden;
	z-index: 400;
	-webkit-overflow-scrolling: touch;
}

.loading {
	opacity: 0;
	z-index: 1;
	background: transparent url(../img/preloader2.gif) no-repeat center center;
	-webkit-transform: scale(0.5);
	transform: scale(0.5);
	-webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
	transition: opacity 0.5s, transform 0.5s;
}

.loading.show {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.content.show {
	height: auto;
	pointer-events: auto;
	visibility: visible;
}

.content > div {
	z-index: 10;
	position: absolute;
	top: 0;
	width: 100%;
	overflow: hidden;
	height: 0;
	opacity: 0;

	background: url(../img/carbon.jpg) no-repeat center center fixed;
}

.content > div.show {
	height: auto;
	opacity: 1;	
	-webkit-transition: opacity 0.6s;
	transition: opacity 0.6s;
}

.icon:before {
	font-family: 'Exo', sans-serif;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.close-content {
	position: fixed;
	z-index: 1000;
	top: 0;
	right: 17px;
	font-size: 1.6em;
	color: #000;
	cursor: pointer;
	pointer-events: none;
	/*padding: 0px 10px;*/
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
	background:#f6f51f;
	WIDTH: 40px;
	height: 40px;
}

.close-content:hover {
	color: #999;
}

.content > div.show ~ .close-content {
	opacity: 1;
	pointer-events: auto;
}

.close-content:before {
	/*content: "X";*/
	/*content: "\e602";*/
}

/* Dummy content */

.dummy-img,
.dummy-text {
	max-width: 600px;
	width: 90%;
	opacity: 0;
	-webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
	transition: opacity 0.5s, transform 0.5s;
}

.vertical .dummy-img,
.vertical .dummy-text {
	-webkit-transform: translateY(100px);
	transform: translateY(100px);
}

.horizontal .dummy-img,
.horizontal .dummy-text {
	-webkit-transform: translateX(-100px);
	transform: translateX(-100px);
}

.content > div.show .dummy-img,
.content > div.show .dummy-text {
	opacity: 1;
}

.vertical .content > div.show .dummy-img,
.vertical .content > div.show .dummy-text {
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

.horizontal .content > div.show .dummy-img,
.horizontal .content > div.show .dummy-text {
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

p.dummy-text:nth-child(2) {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

p.dummy-text:nth-child(3) {
	-webkit-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

.dummy-img {
	height: 400px;
	background-color: #ddd;
	margin: 30px auto;
}

.dummy-text {
	text-align: left;
	margin: 0 auto;
	padding: 10px 0;
	color: #ddd;
	font-size: 14px;
	font-family: 'Exo', sans-serif;
}

.dummy-text:last-child {
	padding-bottom: 100px;
}

/* Simple fallback */
/* if any of these are not supported, a simple fallback will be shown */
.no-pointerevents .content,
.no-csstransforms3d .content,
.no-csstransitions .content,
.no-pointerevents .content > div,
.no-csstransforms3d .content > div,
.no-csstransitions .content > div,
.no-pointerevents .close-content,
.no-csstransforms3d .close-content,
.no-csstransitions .close-content {
	opacity: 1;
	visibility: visible;
	display: none;
	height: auto;
}

.no-pointerevents .show .close-content,
.no-csstransforms3d .show .close-content,
.no-csstransition .show .close-content,
.no-pointerevents div.show,
.no-csstransforms3d div.show,
.no-csstransitions div.show,
.no-csstransitions .dummy-img,
.no-csstransitions .dummy-text,
.no-csstransforms3d .dummy-img,
.no-csstransforms3d .dummy-text, 
.no-pointerevents .dummy-img,
.no-pointerevents .dummy-text {
	display: block !important;
	opacity: 1;
}

#zatvori {display:none;}

@media screen and (min-height: 670px) and (max-height: 770px) {

	.container {margin-top: 60px !important;}
	
	.home {
		width: 318px !important;
		height: 300px  !important;
	}

}




@media screen and (max-width: 1000px) {

	.grid figure,
	.grid .placeholder {
		width: 300px;
		height: 283px;
	}

}

@media screen and (max-width: 640px) {

	.grid figure,
	.grid .placeholder {
		width: 192px;
		height: 181px;
	}

	.menu{display:none;}
	
	#nazad {display:block !important; line-height: 0px !important;}
	.mobilna {display:none  !important;}

	.content > div {
		top: 60px !important;
	}
	
	.container {
	margin-top: 60px;
	}
	
	.close-content 
	{
		width: 100% !important;
		height: 40px !important;
		border-right: solid 40px #f6f51f !important;
		background:#000 !important;
		right: 0;
	}
	
		.no_efects {
		width: 98%  !important;
		height: 320px  !important;
	}
	
	
	.figure h5 {
		font-size: 13px !important;
	}
	
	#faq_sub {display:none;}
	
	#zatvori {display:block;}

}


@media screen and (max-width: 480px) {

	.grid figure,
	.grid .placeholder {
		width: 143px;
		height: 135px;
	}
	.container {margin-top: 60px !important;}
	.menu{display:none;}
	
	.no_efects {
		width: 98% !important;
		height: 360px  !important;
	}
	
	
	.nazad_wrap {
		display: block;
		float: left;
		width: 100%;
		height: 65px;
		background:#000 !important;	
		}
	

}


@media screen and (width: 360px) and (height: 480px) {
	.grid figure,
	.grid .placeholder {
		width: 143px;
		height: 135px;
	}
}

@media screen and (width: 360px) and (height: 640px) {
	.grid figure,
	.grid .placeholder {			
		width: 170px;
		height: 161px;
	}
}



@media screen and (max-width: 360px) {


	.naslov {font-size:15px !important;}
	.okvir {height: 66px;}
	
	
	.container {margin-top: 60px !important;}
	.menu{display:none;}
	
	.no_efects {
		width: 98%  !important;
		height: 405px  !important;
	}



}


figure h1 {	
	font-family: 'Exo', sans-serif;
	font-size:20px;
	color:#fff;
	text-shadow:1px 1px #000;
	line-height:28px;
	margin:0;
	padding:0;
	}
figure h5 {
	font-family: 'Exo', sans-serif;
	font-size:12px;
	color:#fff;
	text-shadow:1px 1px #000;
	line-height:16px;
	margin:0;
	padding:0;
	}
.okvir {
	width:100%;
	padding:2%;
	position:absolute;
	bottom:0;
	left:0;
	background:rgba(0,0,0,.7);
	}
.okvir_txt{
	width:100%;
	height:100%;
	padding:4%;
	position:absolute;
	top:0;
	left:0;
	}	
.no_efects {box-shadow:none !important;}	
figure p, figure ul, figure li {
	text-align: justify;
	color: #ddd;
	font-size: 1em;
	font-family: 'Exo', sans-serif;
	font-size:13px;
	line-height:15px;
}
figure li {margin-top:4px; margin-bottom:4px;}
.veci_razmak {
	margin-top: 10px !important;
	margin-bottom: 16px !important;
	}
	
.malo_veci_razmak {
	margin-bottom: 9px !important;
	}

.naslov {font-size:16px; font-weight:bold;margin-top: 7px;text-align: left;}
.zuti {color:#f6f51f !important;}
figure ul {
	margin: 0 0 0 -26px;}

.siva_1 {background:#474747 !important;}
.siva_1 p, .siva_1 li {color:#fff;}

.siva_2 {background:#98978e !important;}
.siva_2 p, .siva_2 li {color:#0a0a0a;}

.zuta {background:#fff220 !important;}
.zuta p, .zuta li {color:#0a0a0a !important;}

.kockica {
	background: #f6f51f;
	display: block;
	width: 40px;
	height: 40px;
	position: absolute;
	right: 0;
	top: 0;
	}
.slogan {
	color: #fff;
	font-size: 22px;
	position: absolute;
	top: 17px;
	right: 60px;
	font-weight: bold;
}

.naslovna {
	color: #fff;
	font-size: 14px;
	position: absolute;
	top: 35px;
	right: 60px;
	font-weight: bold;
}
	
.F_BIG {font-size: 14px; padding: 10PX 0 0 95px;}	


@media (min-width: 1620px)
{	
	.kockica
	{
		width:60px;
		height:60px;
	}
	
	.slogan {
		font-size: 25px;
		top: 30px;
		right: 80px;
	}


}




.content > div.show ~ .menu
{
	opacity: 1;
	position: relative;
	width: 100%;
	height: 50px;
	z-index: 99999;
	top: 0 !important;
	margin: 0 auto;
	text-align: center;
	max-width: 1105px;
	padding: 0;
}


.content > div.show > div.menu ~ .menu_item {

}

.menu_item a {
	color: #000;
	font-size: 12px;
	width: 184px;
	float: left;
	margin: 0;;
	background: #333;
	padding: 10px 0;
	font-weight:bold;	
	}
.menut_item a:hover
{
	opacity:.5;
}
.m0 {color:#fff !important;  background:#474747 !important; }
.m1 {background:#c9c9c9 !important;}
.m2 {background:#b2b4b3 !important;}
.m3 {background:#98988e !important;}
.m4 {background:#dcd7d3 !important;}
.m5 {background:#cdccca  !important;}
.m6 {background:#b3b3ae !important;}
/*
.content > div.show ~ .close-content {
	opacity: 1;
	pointer-events: auto;
}
*/
.m0:hover,
.m1:hover,
.m2:hover,
.m3:hover,
.m4:hover,
.m5:hover,
.m6:hover
 {opacity:1.0; border-bottom:solid 3px #f6f51f;}

#nazad {display:none;}
.kontakt
 	{
	background: url(../img/kontakt_ico.png) no-repeat;
	display: block;
	width: 88px;
	height: 221px;
	float: left;
	/* margin: -12px 0 0 0; */
	position: absolute;
	left: 30px;
	top: 70px;
	}