
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
body{
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
}

.h1, h1, .h2, h2{
	font-family: Arial, Helvetica, sans-serif;
	font-style: normal;
	font-weight: bold;
}
header h1{
	font-size: 60px;
	line-height: 66px;
}
header ul{
	padding-top: 30px;
}
header ul li{
	padding-top: 10px;
}
.pull-right{
	float: right;
}


footer{
	
	background-color: rgb(100, 100, 100, 0.5);
	position: absolute;
	width: 100%;
	bottom: 0;
}
footer{
	font-size: 12px;
	line-height: 16px;
}
footer .row{	
	bottom: 0;  
	padding: 10px 0;
}
@media only screen and (max-width: 767px) {
	footer{
		
		font-size: 14px;
		line-height: 18px;		
	}
	.pull-right{
		float: none;
	}
}




.list-inline {
    padding-left: 0;
    margin-left: -5px;
    list-style: none;
}
.list-inline > li {
    display: inline-block;
    padding-right: 5px;
    padding-left: 5px;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
}




.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    line-height: 1.4;
    margin: 0;
}
.h2, h2{
	font-size: 40px;
	line-height: 1.2;
}
.h3, h3 {
    font-size: 24px;
}
p {
	font-size: 15px;
	line-height: 19px;
	margin: 0 0 5px 0;
}

.countdown {
    width: 100%;
    margin-top: 25px;
	font-size: 60px;
	line-height: 1.2;
	font-weight: 700;
}
.countdown ul#countdown {
    padding: 0;
    position: relative;
	list-style: none;
	margin: 0;
}
.countdown ul#countdown li:first-child {
    margin-left: 0;
}
.countdown ul#countdown li {
    position: relative;
    display: inline-block;
    margin: 0 0 0 45px;
    padding: 0;
    line-height: 60px;
    font-size: 60px;
}
.countdown ul#countdown li span {
    font-size: 11px;
    position: absolute;
    right: -60px;
    bottom: 45px;
    padding-top: 10px;
    transform: rotate(270deg);
    text-align: left;
    width: 100px;
    height: 30px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}
@media (max-width: 479px) {
	.h2, h2{
		font-size: 30px;
	}
	.countdown ul#countdown li {
		font-size: 38px;
		margin-left: 20px;
	}
	.countdown ul#countdown li span {
		font-size: 9px;
	}
}


/* Samo za jednu pozadinsku sliku: */
#wraper-bck{
	position: relative;
	width: 100%;
	height: 100%; 	
	/* Background image is centered vertically and horizontally at all times */
	background-position: center center;

	/* Background image doesn't tile */
	background-repeat: no-repeat;

	/* Background image is fixed in the viewport so that it doesn't move when 
	the content's height is greater than the image's height */
	background-attachment: fixed;
    
    background-size: 130%;

	/* Set a background color that will be displayed
	while the background image is loading */
	background-color: #fff;

	background-image: url(../images/inventum_koncept_white400.png);
}
@media only screen and (min-width: 768px) {
	#wraper-bck {
	 	background-image: url(../images/inventum_koncept_white800.png);
	}
  }
@media only screen and (min-width: 1024px) {
	#wraper-bck {
	 	background-image: url(../images/inventum_koncept_white.png);
	}
}



#wraper{
	position: relative;
}
#sadrzaj{
    position: relative;
	z-index: 100;
	
	height: 100vh;
	width: 100vw;
}

#CrossFade, #CrossFade:after {
	background: #fff;	
	height: 100vh;
	width: 100vw;
	overflow: hidden;

	z-index: -100;
	position: fixed;
    top: 0;
    left: 0;
}
#CrossFade:after {
	position: absolute;
   	content: '';
	background-color: transparent;
	background-repeat: repeat;
	background-position: top left;
	/*background-image: url(../images/pattern.png);*/
	/*background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUeNpiYGBgePz//38GRhABAgABBgBFTAbfCBNE2AAAAABJRU5ErkJggg==');
	*/
}

#CrossFade picture {
	position: absolute;
	min-width: 100%;
	min-height: 100%;
	height: auto;
	background: #000;
	-webkit-backface-visibility: hidden;
			backface-visibility: hidden;
	opacity: 0;
	-webkit-transform: scale(1.4) rotate(12deg);
			transform: scale(1.4) rotate(12deg);
	-webkit-animation: CrossFade 24s infinite;
			animation: CrossFade 24s infinite;
}
#CrossFade picture:nth-child(3) {
	-webkit-animation-delay: 6s;
			animation-delay: 6s;
}
#CrossFade picture:nth-child(2) {
	-webkit-animation-delay: 12s;
			animation-delay: 12s;
}
#CrossFade picture:nth-child(1) {
	-webkit-animation-delay: 18s;
			animation-delay: 18s;
}
/* 
$duration = 12
$slides = 4
$step = $duration/$slides
setDelayRevers($duration, $slides)

for index in (2..$slides)
	&:nth-child({index -1}) 
	animation-delay ($step*index)s

#CrossFade
height 100vh
overflow hidden
position relative

display flex
img
	align-self center
	position absolute
	
	min-width 100%
	min-height 100%
	height auto
	
	backface-visibility hidden
	opacity 0

	transform scale(1.4) rotate(12deg)
	animation CrossFade ($duration)s infinite 
	setDelayRevers($duration, $slides)   
@keyframes CrossFade
25%
	opacity 1
	transform scale(1) rotate(0)
40%
	opacity 0
	
*/
@-webkit-keyframes CrossFade {
	25% {
		opacity: 1;
		-webkit-transform: scale(1) rotate(0);
				transform: scale(1) rotate(0);
	}
	40% {
		opacity: 0;
	}
}
@keyframes CrossFade {
	25% {
		opacity: 1;
		-webkit-transform: scale(1) rotate(0);
				transform: scale(1) rotate(0);
	}
	40% {
		opacity: 0;
	}
}

